public interface ControllerMVCResponseService
extends org.springframework.roo.project.Feature
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getControllerNameModifier()
Return a string which should be added to controller name to identify this
kind of 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.
|
boolean |
requiresJsonDeserializer()
Informs if response type requires Json Deserializer classes
|
boolean |
requiresJsonMixin()
Informs if response type requires Json Mixin classes
|
String getResponseType()
org.springframework.roo.model.JavaType getAnnotation()
void annotate(org.springframework.roo.model.JavaType controller)
controller - JavaType with the controller to be annotated.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()
String getControllerNameModifier()
boolean requiresJsonDeserializer()
RooDeserializerboolean requiresJsonMixin()
RooJsonMixinCopyright © 2009–2016. All rights reserved.