@Deprecated
public class GroovyPageUtils
extends java.lang.Object
DefaultGroovyPagesUriService,
GroovyPagesUriSupport| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PATH_TO_VIEWS
Deprecated.
|
| Constructor and Description |
|---|
GroovyPageUtils()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getDeployedViewURI(java.lang.String controllerName,
java.lang.String viewName)
Deprecated.
Obtains a view URI when deployed within the /WEB-INF/grails-app/views context
|
static java.lang.String |
getNoSuffixViewURI(groovy.lang.GroovyObject controller,
java.lang.String viewName)
Deprecated.
Obtains a view URI of the given controller and view name without the suffix
|
static java.lang.String |
getNoSuffixViewURI(java.lang.String controllerName,
java.lang.String viewName)
Deprecated.
Obtains a view URI of the given controller name and view name without the suffix
|
static java.lang.String |
getTemplateURI(groovy.lang.GroovyObject controller,
java.lang.String templateName)
Deprecated.
Obtains a template URI for the given controller instance and template name
|
static java.lang.String |
getTemplateURI(java.lang.String controllerName,
java.lang.String templateName)
Deprecated.
Obtains the URI to a template using the controller name and template name
|
static java.lang.String |
getViewURI(groovy.lang.GroovyObject controller,
java.lang.String viewName)
Deprecated.
Obtains a view URI of the given controller and view name
|
static java.lang.String |
getViewURI(java.lang.String controllerName,
java.lang.String viewName)
Deprecated.
Obtains a view URI of the given controller name and view name
|
public static final java.lang.String PATH_TO_VIEWS
public static java.lang.String getTemplateURI(groovy.lang.GroovyObject controller,
java.lang.String templateName)
controller - The controller instancetemplateName - The template namepublic static java.lang.String getViewURI(groovy.lang.GroovyObject controller,
java.lang.String viewName)
controller - The name of the controllerviewName - The name of the viewpublic static java.lang.String getNoSuffixViewURI(groovy.lang.GroovyObject controller,
java.lang.String viewName)
controller - The name of the controllerviewName - The name of the viewpublic static java.lang.String getTemplateURI(java.lang.String controllerName,
java.lang.String templateName)
controllerName - The controller nametemplateName - The template namepublic static java.lang.String getViewURI(java.lang.String controllerName,
java.lang.String viewName)
controllerName - The name of the controllerviewName - The name of the viewpublic static java.lang.String getNoSuffixViewURI(java.lang.String controllerName,
java.lang.String viewName)
controllerName - The name of the controllerviewName - The name of the viewpublic static java.lang.String getDeployedViewURI(java.lang.String controllerName,
java.lang.String viewName)
controllerName - The name of the controllerviewName - The name of the view