|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectcontrollers.PageController
class PageController
Main controller for serving and editing CoW content.
Property Summary | |
---|---|
static String |
NEWPAGE
Constant for newpage flow |
static String |
SHOW404
Constant for newpage flow |
static def |
allowedMethods
Request method restrictions. |
static Map |
conf
Config |
def |
dependenciesService
Tasks related to Dependencies. |
def |
editFlow
Edit action. |
def |
history
View the subversion history of this page using sventon, if it is running. |
def |
index
The default action. |
def |
indexingService
Indexing service |
def |
newpageFlow
Validate the request and choose a state for the edit action. |
def |
pageService
Tasks related to page requests. |
def |
print
Print. |
def |
sandboxManager
|
def |
securityService
The security service |
def |
show
Show action. |
def |
sventonService
Tasks related to sventon history browsing. |
def |
upload
Upload a file in the current directory, including ZIP archive. |
def |
yamService
Tasks related to YAM files. |
Constructor Summary | |
PageController()
|
Method Summary | |
---|---|
String
|
renderBreadCrumb(String id, File pageFile)
Validate and triage the request. |
String
|
renderError(int code, String message)
Render an error template and set the response code. |
String
|
renderTemplate(String templateName, Map templateModel)
Render a template. |
private void
|
switchEditorType(boolean rich, def response)
Switch the saved "type of editor" preference. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Property Detail |
---|
static String NEWPAGE
static String SHOW404
static def allowedMethods
static Map conf
def dependenciesService
def editFlow
def history
def index
def indexingService
def newpageFlow
def pageService
def print
def sandboxManager
def securityService
def show
def sventonService
def upload
def yamService
Constructor Detail |
---|
PageController()
Method Detail |
---|
String renderBreadCrumb(String id, File pageFile)
String renderError(int code, String message)
String renderTemplate(String templateName, Map templateModel)
private void switchEditorType(boolean rich, def response)
Groovy Documentation