info.magnolia.module.admininterface.pages
Class DevelopmentUtilsPage

java.lang.Object
  extended by info.magnolia.cms.servlets.MVCServletHandlerImpl
      extended by info.magnolia.cms.servlets.CommandBasedMVCServletHandler
          extended by info.magnolia.module.admininterface.PageMVCHandler
              extended by info.magnolia.module.admininterface.TemplatedMVCHandler
                  extended by info.magnolia.module.admininterface.pages.DevelopmentUtilsPage
All Implemented Interfaces:
MVCServletHandler

public class DevelopmentUtilsPage
extends TemplatedMVCHandler

Utilities that can be used during development.

Version:
$Revision: 41137 $ ($Author: gjoseph $)
Author:
Fabrizio Giustina

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(java.lang.String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 java.lang.String backup()
           
 java.lang.String backupChildren()
           
 java.lang.String extractModuleFiles()
           
 java.lang.String getModule()
          Getter for module.
 java.util.Set getModules()
           
 java.lang.String getParentpath()
          Getter for parentpath.
 java.util.Iterator getRepositories()
           
 java.lang.String getRepository()
          Getter for repository.
 java.lang.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.
 java.lang.String reloadI18nMessages()
           
 void setDialogs(boolean dialogs)
          Setter for dialogs.
 void setGroups(boolean groups)
          Setter for groups.
 void setModule(java.lang.String module)
          Setter for module.
 void setPages(boolean pages)
          Setter for pages.
 void setParagraphs(boolean paragraphs)
          Setter for paragraphs.
 void setParentpath(java.lang.String parentpath)
          Setter for parentpath.
 void setRepository(java.lang.String repository)
          Setter for repository.
 void setRoles(boolean roles)
          Setter for roles.
 void setRootdir(java.lang.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

log

public static org.slf4j.Logger log
Logger.

Constructor Detail

DevelopmentUtilsPage

public DevelopmentUtilsPage(java.lang.String name,
                            javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
Parameters:
name -
request -
response -
Method Detail

isTemplates

public boolean isTemplates()
Getter for templates.

Returns:
Returns the templates.

isParagraphs

public boolean isParagraphs()
Getter for paragraphs.

Returns:
Returns the paragraphs.

isDialogs

public boolean isDialogs()
Getter for dialogs.

Returns:
Returns the dialogs.

isPages

public boolean isPages()
Getter for pages.

Returns:
Returns the pages.

setPages

public void setPages(boolean pages)
Setter for pages.

Parameters:
pages - The pages to set.

isWebsite

public boolean isWebsite()
Getter for website.

Returns:
Returns the website.

isUsers

public boolean isUsers()
Getter for users.

Returns:
Returns the users.

isGroups

public boolean isGroups()
Getter for groups.

Returns:
Returns the groups.

isRoles

public boolean isRoles()
Getter for roles.

Returns:
Returns the roles.

getRootdir

public java.lang.String getRootdir()
Getter for rootdir.

Returns:
Returns the rootdir.

getParentpath

public java.lang.String getParentpath()
Getter for parentpath.

Returns:
Returns the parentpath.

getRepository

public java.lang.String getRepository()
Getter for repository.

Returns:
Returns the repository.

setDialogs

public void setDialogs(boolean dialogs)
Setter for dialogs.

Parameters:
dialogs - The dialogs to set.

setParagraphs

public void setParagraphs(boolean paragraphs)
Setter for paragraphs.

Parameters:
paragraphs - The paragraphs to set.

setTemplates

public void setTemplates(boolean templates)
Setter for templates.

Parameters:
templates - The templates to set.

setRootdir

public void setRootdir(java.lang.String rootdir)
Setter for rootdir.

Parameters:
rootdir - The rootdir to set.

setWebsite

public void setWebsite(boolean website)
Setter for website.

Parameters:
website - The website to set.

setParentpath

public void setParentpath(java.lang.String parentpath)
Setter for parentpath.

Parameters:
parentpath - The parentpath to set.

setGroups

public void setGroups(boolean groups)
Setter for groups.

Parameters:
groups - The groups to set.

setRoles

public void setRoles(boolean roles)
Setter for roles.

Parameters:
roles - The roles to set.

setUsers

public void setUsers(boolean users)
Setter for users.

Parameters:
users - The users to set.

getModule

public java.lang.String getModule()
Getter for module.

Returns:
Returns the module.

setModule

public void setModule(java.lang.String module)
Setter for module.

Parameters:
module - The module to set.

setRepository

public void setRepository(java.lang.String repository)
Setter for repository.

Parameters:
repository - The repository to set.

isVirtualURIs

public boolean isVirtualURIs()
Getter for virtualURIs.

Returns:
Returns the virtualURIs.

setVirtualURIs

public void setVirtualURIs(boolean virtualURIs)
Setter for virtualURIs.

Parameters:
virtualURIs - The virtualURIs to set.

getRepositories

public java.util.Iterator getRepositories()

getModules

public java.util.Set getModules()

extractModuleFiles

public java.lang.String extractModuleFiles()

reloadI18nMessages

public java.lang.String reloadI18nMessages()

backup

public java.lang.String backup()

backupChildren

public java.lang.String backupChildren()


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.