|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
interface ViewFinder
Interface for grailsViewFinder bean used to see if GSP views and layouts exist. Implementations may vary based on Grails version
Method Summary | |
---|---|
java.lang.String
|
getFullPathToAppViews()
|
java.lang.String
|
getFullPathToPluginViews(org.codehaus.groovy.grails.plugins.GrailsPlugin plugin)
|
java.lang.String
|
getPathToAppViews()
|
java.lang.String
|
getPathToPluginViews(org.codehaus.groovy.grails.plugins.GrailsPlugin plugin)
|
boolean
|
layoutExists(java.lang.String name)
@param name The path of the layout view relative to grails-views/layouts/ and excluding the .gsp part |
java.util.List
|
listAppViewFoldersAt(java.lang.String path, java.lang.String markerView)
|
java.util.List
|
listAppViewsAt(java.lang.String path)
|
java.util.List
|
listPluginViewFoldersAt(org.codehaus.groovy.grails.plugins.GrailsPlugin plugin, java.lang.String path, java.lang.String markerView)
|
java.util.List
|
listPluginViewsAt(org.codehaus.groovy.grails.plugins.GrailsPlugin plugin, java.lang.String path)
|
boolean
|
templateExists(java.lang.String name)
@param name The path of the view relative to grails-views/ and excluding the .gsp part, but containing relevant underscores |
boolean
|
templateExists(java.lang.String name, org.codehaus.groovy.grails.plugins.GrailsPlugin plugin)
@param name The path of the view relative to grails-views/ and excluding the .gsp part, but containing relevant underscores |
Method Detail |
---|
java.lang.String getFullPathToAppViews()
java.lang.String getFullPathToPluginViews(org.codehaus.groovy.grails.plugins.GrailsPlugin plugin)
java.lang.String getPathToAppViews()
java.lang.String getPathToPluginViews(org.codehaus.groovy.grails.plugins.GrailsPlugin plugin)
boolean layoutExists(java.lang.String name)
name
- The path of the layout view relative to grails-views/layouts/ and excluding the .gsp part
java.util.List listAppViewFoldersAt(java.lang.String path, java.lang.String markerView)
java.util.List listAppViewsAt(java.lang.String path)
java.util.List listPluginViewFoldersAt(org.codehaus.groovy.grails.plugins.GrailsPlugin plugin, java.lang.String path, java.lang.String markerView)
java.util.List listPluginViewsAt(org.codehaus.groovy.grails.plugins.GrailsPlugin plugin, java.lang.String path)
boolean templateExists(java.lang.String name)
name
- The path of the view relative to grails-views/ and excluding the .gsp part, but containing relevant underscores
boolean templateExists(java.lang.String name, org.codehaus.groovy.grails.plugins.GrailsPlugin plugin)
name
- The path of the view relative to grails-views/ and excluding the .gsp part, but containing relevant underscores
Groovy Documentation