|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ControllerOperations
Provides Controller configuration operations.
| Method Summary | |
|---|---|
void |
createAutomaticController(org.springframework.roo.model.JavaType controller,
org.springframework.roo.model.JavaType entity,
Set<String> disallowedOperations,
String path)
Creates a new Spring MVC controller which will be automatically scaffolded. |
void |
generateAll(org.springframework.roo.model.JavaPackage javaPackage)
Creates Spring MVC controllers for all JPA entities in the project. |
boolean |
isControllerInstallationPossible()
|
boolean |
isNewControllerAvailable()
Deprecated. |
void |
setup()
|
| Method Detail |
|---|
void createAutomaticController(org.springframework.roo.model.JavaType controller,
org.springframework.roo.model.JavaType entity,
Set<String> disallowedOperations,
String path)
Request mappings assigned by this method will always commence with "/" and end with "/**". You may present this prefix and/or this suffix if you wish, although it will automatically be added should it not be provided.
controller - the controller class to create (required)entity - the entity this controller should edit (required)disallowedOperations - specify a set of disallowed operation names
(required, but can be empty)path - the path which the controller should be accessible via REST
requestsvoid generateAll(org.springframework.roo.model.JavaPackage javaPackage)
javaPackage - The package where the new controllers are scaffolded.boolean isControllerInstallationPossible()
@Deprecated boolean isNewControllerAvailable()
void setup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||