|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.web.pages.GroovyPagesUriSupport
public class GroovyPagesUriSupport
Methods to establish template names, paths and so on.
Field Summary | |
---|---|
static String |
PATH_TO_VIEWS
|
Constructor Summary | |
---|---|
GroovyPagesUriSupport()
|
Method Summary | |
---|---|
(package private) String |
getDeployedViewURI(String controllerName,
String viewName)
Obtains a view URI when deployed within the /WEB-INF/grails-app/views context |
(package private) String |
getLogicalControllerName(groovy.lang.GroovyObject controller)
|
(package private) String |
getNoSuffixViewURI(groovy.lang.GroovyObject controller,
String viewName)
Obtains a view URI of the given controller and view name without the suffix |
(package private) String |
getNoSuffixViewURI(String controllerName,
String viewName)
Obtains a view URI of the given controller name and view name without the suffix |
(package private) String |
getTemplateURI(groovy.lang.GroovyObject controller,
String templateName)
Obtains a template URI for the given controller instance and template name |
(package private) String |
getTemplateURI(String controllerName,
String templateName)
Obtains the URI to a template using the controller name and template name |
(package private) String |
getViewURI(groovy.lang.GroovyObject controller,
String viewName)
Obtains a view URI of the given controller and view name |
(package private) String |
getViewURI(String controllerName,
String viewName)
Obtains a view URI of the given controller name and view name |
(package private) String |
getViewURIInternal(String controllerName,
String viewName,
FastStringWriter buf,
boolean includeSuffix)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PATH_TO_VIEWS
Constructor Detail |
---|
public GroovyPagesUriSupport()
Method Detail |
---|
String getTemplateURI(groovy.lang.GroovyObject controller, String templateName)
controller
- The controller instancetemplateName
- The template name
String getViewURI(groovy.lang.GroovyObject controller, String viewName)
controller
- The name of the controllerviewName
- The name of the view
String getNoSuffixViewURI(groovy.lang.GroovyObject controller, String viewName)
controller
- The name of the controllerviewName
- The name of the view
String getLogicalControllerName(groovy.lang.GroovyObject controller)
String getTemplateURI(String controllerName, String templateName)
controllerName
- The controller nametemplateName
- The template name
String getViewURI(String controllerName, String viewName)
controllerName
- The name of the controllerviewName
- The name of the view
String getNoSuffixViewURI(String controllerName, String viewName)
controllerName
- The name of the controllerviewName
- The name of the view
String getDeployedViewURI(String controllerName, String viewName)
controllerName
- The name of the controllerviewName
- The name of the view
String getViewURIInternal(String controllerName, String viewName, FastStringWriter buf, boolean includeSuffix)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |