public class DefaultGroovyPagesUriService extends GroovyPagesUriSupport
EXTENSION, PATH_TO_VIEWS, SUFFIXBEAN_ID| Constructor and Description |
|---|
DefaultGroovyPagesUriService() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
java.lang.String |
getDeployedViewURI(java.lang.String controllerName,
java.lang.String viewName)
Obtains a view URI when deployed within the /WEB-INF/grails-app/views context
|
java.lang.String |
getLogicalControllerName(groovy.lang.GroovyObject controller) |
java.lang.String |
getNoSuffixViewURI(groovy.lang.GroovyObject controller,
java.lang.String viewName)
Obtains a view URI of the given controller and view name without the suffix
|
java.lang.String |
getNoSuffixViewURI(java.lang.String controllerName,
java.lang.String viewName)
Obtains a view URI of the given controller name and view name without the suffix
|
java.lang.String |
getTemplateURI(groovy.lang.GroovyObject controller,
java.lang.String templateName)
Obtains a template URI for the given controller instance and template name
|
java.lang.String |
getTemplateURI(java.lang.String controllerName,
java.lang.String templateName)
Obtains the URI to a template using the controller name and template name
|
getAbsoluteTemplateURI, getAbsoluteViewURI, getDeployedAbsoluteViewURI, getViewURI, getViewURIpublic java.lang.String getTemplateURI(java.lang.String controllerName,
java.lang.String templateName)
GroovyPagesUriSupportgetTemplateURI in interface GroovyPagesUriServicegetTemplateURI in class GroovyPagesUriSupportcontrollerName - The controller nametemplateName - The template namepublic java.lang.String getDeployedViewURI(java.lang.String controllerName,
java.lang.String viewName)
GroovyPagesUriSupportgetDeployedViewURI in interface GroovyPagesUriServicegetDeployedViewURI in class GroovyPagesUriSupportcontrollerName - The name of the controllerviewName - The name of the viewpublic java.lang.String getLogicalControllerName(groovy.lang.GroovyObject controller)
getLogicalControllerName in class GroovyPagesUriSupportpublic java.lang.String getNoSuffixViewURI(groovy.lang.GroovyObject controller,
java.lang.String viewName)
GroovyPagesUriSupportgetNoSuffixViewURI in interface GroovyPagesUriServicegetNoSuffixViewURI in class GroovyPagesUriSupportcontroller - The name of the controllerviewName - The name of the viewpublic java.lang.String getNoSuffixViewURI(java.lang.String controllerName,
java.lang.String viewName)
GroovyPagesUriSupportgetNoSuffixViewURI in interface GroovyPagesUriServicegetNoSuffixViewURI in class GroovyPagesUriSupportcontrollerName - The name of the controllerviewName - The name of the viewpublic java.lang.String getTemplateURI(groovy.lang.GroovyObject controller,
java.lang.String templateName)
GroovyPagesUriSupportgetTemplateURI in interface GroovyPagesUriServicegetTemplateURI in class GroovyPagesUriSupportcontroller - The controller instancetemplateName - The template namepublic void clear()
clear in interface GroovyPagesUriServiceclear in class GroovyPagesUriSupport