public interface GrailsControllerClass extends InjectableGrailsClass
Represents a controller class in Grails.
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.String |
actionUriToViewName(java.lang.String actionUri) |
|
public java.util.Set<java.lang.String> |
getActions()
|
|
public java.lang.String |
getDefaultAction() Returns the default action for this Controller. |
|
public java.lang.String |
getNamespace()
|
|
public java.lang.String |
getScope()
|
|
public void |
initialize() Initialize the controller class |
|
public java.lang.Object |
invoke(java.lang.Object controller, java.lang.String action) Invokes a controller action on the given controller instance |
|
public boolean |
isSingleton()
|
|
public boolean |
mapsToURI(java.lang.String uri) Tests if a controller maps to a given URI. |
|
public void |
registerUrlConverter(UrlConverter urlConverter) Register a new UrlConverter with the controller |
Methods inherited from class | Name |
---|---|
interface InjectableGrailsClass |
byName, byType, getAvailable |
interface GrailsClass |
getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPluginName, getPropertyName, getPropertyValue, getPropertyValue, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance |
interface GrailsApplicationAware |
setGrailsApplication |
Returns the default action for this Controller.
Initialize the controller class
Invokes a controller action on the given controller instance
controller
- The controller instanceaction
- The action
Tests if a controller maps to a given URI.
Register a new UrlConverter with the controller
urlConverter
- The UrlConverter to register