|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.servlets.MVCServletHandlerImpl info.magnolia.cms.servlets.CommandBasedMVCServletHandler info.magnolia.module.admininterface.PageMVCHandler info.magnolia.module.admininterface.TemplatedMVCHandler info.magnolia.module.admininterface.pages.DevelopmentUtilsPage
public class DevelopmentUtilsPage
Utilities that can be used during development.
Field Summary | |
---|---|
static org.slf4j.Logger |
log
Logger. |
Fields inherited from class info.magnolia.module.admininterface.PageMVCHandler |
---|
COMMAND_PARAMETER_NAME, COMMAND_SHOW, VIEW_SHOW |
Fields inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
---|
exception, request, response, VIEW_ERROR, VIEW_SUCCESS |
Fields inherited from interface info.magnolia.cms.servlets.MVCServletHandler |
---|
VIEW_NOTHING |
Constructor Summary | |
---|---|
DevelopmentUtilsPage(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Method Summary | |
---|---|
String |
backup()
|
String |
backupChildren()
|
String |
extractModuleFiles()
|
String |
getModule()
Getter for module . |
Set |
getModules()
|
String |
getParentpath()
Getter for parentpath . |
Iterator |
getRepositories()
|
String |
getRepository()
Getter for repository . |
String |
getRootdir()
Getter for rootdir . |
boolean |
isDialogs()
Getter for dialogs . |
boolean |
isGroups()
Getter for groups . |
boolean |
isPages()
Getter for pages . |
boolean |
isParagraphs()
Getter for paragraphs . |
boolean |
isRoles()
Getter for roles . |
boolean |
isTemplates()
Getter for templates . |
boolean |
isUsers()
Getter for users . |
boolean |
isVirtualURIs()
Getter for virtualURIs . |
boolean |
isWebsite()
Getter for website . |
String |
reloadI18nMessages()
|
void |
setChieldFilter(info.magnolia.cms.core.Content.ContentFilter chieldFilter)
Setter for chieldFilter . |
void |
setDialogs(boolean dialogs)
Setter for dialogs . |
void |
setGroups(boolean groups)
Setter for groups . |
void |
setModule(String module)
Setter for module . |
void |
setPages(boolean pages)
Setter for pages . |
void |
setParagraphs(boolean paragraphs)
Setter for paragraphs . |
void |
setParentpath(String parentpath)
Setter for parentpath . |
void |
setRepository(String repository)
Setter for repository . |
void |
setRoles(boolean roles)
Setter for roles . |
void |
setRootdir(String rootdir)
Setter for rootdir . |
void |
setTemplates(boolean templates)
Setter for templates . |
void |
setUsers(boolean users)
Setter for users . |
void |
setVirtualURIs(boolean virtualURIs)
Setter for virtualURIs . |
void |
setWebsite(boolean website)
Setter for website . |
Methods inherited from class info.magnolia.module.admininterface.TemplatedMVCHandler |
---|
getTemplateName, renderHtml |
Methods inherited from class info.magnolia.module.admininterface.PageMVCHandler |
---|
getForm, getI18nBasename, getMsgs, getParams, init, setForm, setI18nBasename, setMsgs, setParams, show |
Methods inherited from class info.magnolia.cms.servlets.CommandBasedMVCServletHandler |
---|
execute, findCommand, getCatalogueName, getCommandContext, getViewNameAfterExecution, setCatalogueName |
Methods inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
---|
getCommand, getException, getExceptionStackTrace, getName, getRequest, getResponse, populateFromRequest, setCommand, setRequest, setResponse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static org.slf4j.Logger log
Constructor Detail |
---|
public DevelopmentUtilsPage(String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
name
- request
- response
- Method Detail |
---|
public boolean isTemplates()
templates
.
public boolean isParagraphs()
paragraphs
.
public boolean isDialogs()
dialogs
.
public boolean isPages()
pages
.
public void setChieldFilter(info.magnolia.cms.core.Content.ContentFilter chieldFilter)
chieldFilter
.
This filter is used in the backupChildren method. Get all children of the current node that pass the current filter.
If no filter is set, ALL_NODES_EXCEPT_JCR_CONTENT_FILTER is then used.
public void setPages(boolean pages)
pages
.
pages
- The pages to set.public boolean isWebsite()
website
.
public boolean isUsers()
users
.
public boolean isGroups()
groups
.
public boolean isRoles()
roles
.
public String getRootdir()
rootdir
.
public String getParentpath()
parentpath
.
public String getRepository()
repository
.
public void setDialogs(boolean dialogs)
dialogs
.
dialogs
- The dialogs to set.public void setParagraphs(boolean paragraphs)
paragraphs
.
paragraphs
- The paragraphs to set.public void setTemplates(boolean templates)
templates
.
templates
- The templates to set.public void setRootdir(String rootdir)
rootdir
.
rootdir
- The rootdir to set.public void setWebsite(boolean website)
website
.
website
- The website to set.public void setParentpath(String parentpath)
parentpath
.
parentpath
- The parentpath to set.public void setGroups(boolean groups)
groups
.
groups
- The groups to set.public void setRoles(boolean roles)
roles
.
roles
- The roles to set.public void setUsers(boolean users)
users
.
users
- The users to set.public String getModule()
module
.
public void setModule(String module)
module
.
module
- The module to set.public void setRepository(String repository)
repository
.
repository
- The repository to set.public boolean isVirtualURIs()
virtualURIs
.
public void setVirtualURIs(boolean virtualURIs)
virtualURIs
.
virtualURIs
- The virtualURIs to set.public Iterator getRepositories()
public Set getModules()
public String extractModuleFiles()
public String reloadI18nMessages()
public String backup()
public String backupChildren()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |