public interface ControllerMVCResponseService
extends org.springframework.roo.project.Feature
| Modifier and Type | Method and Description |
|---|---|
void |
addFinders(org.springframework.roo.model.JavaType controller,
List<String> finders)
This operation adds finders to the specified controller annotation.
|
void |
annotate(org.springframework.roo.model.JavaType controller)
This operation annotates a controller with the annotation defined by
getAnnotation() operation.
|
org.springframework.roo.model.JavaType |
getAnnotation()
This operation returns the annotation type that identifies the implementation
response.
|
org.springframework.roo.model.JavaType |
getMainController()
This operation returns the main controller generated by implementation.
|
org.springframework.roo.model.JavaType |
getMainControllerAnnotation()
This operation returns the annotation type that identifies the main
controller generated by implementation
|
String |
getResponseType()
This operation returns the implementation response type.
|
boolean |
hasResponseType(org.springframework.roo.model.JavaType controller)
This operation will check if some controller has the implemented
response type.
|
void |
install(org.springframework.roo.project.maven.Pom module)
This operation will install all the necessary items to be able to use
the implemented responseType.
|
String getResponseType()
org.springframework.roo.model.JavaType getAnnotation()
void annotate(org.springframework.roo.model.JavaType controller)
controller - JavaType with the controller to be annotated.void addFinders(org.springframework.roo.model.JavaType controller,
List<String> finders)
controller - JavaType with the controller to be updated with
the finders.finders - List with finder names to be added.boolean hasResponseType(org.springframework.roo.model.JavaType controller)
controller - JavaType with controller to checkvoid install(org.springframework.roo.project.maven.Pom module)
module - Pom with the module where this responsetype should
be installed.org.springframework.roo.model.JavaType getMainControllerAnnotation()
org.springframework.roo.model.JavaType getMainController()
Copyright © 2009–2016. All rights reserved.