info.magnolia.module.admininterface.trees
Class WebsiteTreeHandler
java.lang.Object
info.magnolia.cms.servlets.MVCServletHandlerImpl
info.magnolia.cms.servlets.CommandBasedMVCServletHandler
info.magnolia.module.admininterface.AdminTreeMVCHandler
info.magnolia.module.admininterface.trees.WebsiteTreeHandler
- All Implemented Interfaces:
- MVCServletHandler
public class WebsiteTreeHandler
- extends AdminTreeMVCHandler
- Version:
- $Id$
- Author:
- philipp
Fields inherited from class info.magnolia.module.admininterface.AdminTreeMVCHandler |
browseMode, COMMAND_ACTIVATE, COMMAND_COPY_NODE, COMMAND_CREATE_NODE, COMMAND_DEACTIVATE, COMMAND_DELETE_NODE, COMMAND_MOVE_NODE, COMMAND_SAVE_VALUE, COMMAND_SHOW_TREE, configuration, createItemType, displayValue, newNodeName, newPath, path, pathOpen, pathSelected, rootPath, tree, VIEW_COPY_MOVE, VIEW_CREATE, VIEW_NOTHING, VIEW_TREE, VIEW_VALUE |
Constructor Summary |
WebsiteTreeHandler(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class info.magnolia.module.admininterface.AdminTreeMVCHandler |
copy, copyMoveNode, copyNode, deactivateNode, delete, deleteNode, deleteNode, encodeHTML, findCommand, getActivationSyndicator, getCommandContext, getConfiguration, getConfigurationClass, getCreateItemType, getHierarchyManager, getI18nBasename, getNewNodeName, getPath, getPathSelected, getRepository, getRootPath, getTree, getTreeClass, getViewNameAfterExecution, init, isBrowseMode, isEnableDeleteConfirmation, move, moveNode, pasteNode, rename, renameNode, renderHeaderIncludes, renderHtml, renderTree, saveValue, setBrowseMode, setConfiguration, setConfigurationClass, setCreateItemType, setEnableDeleteConfirmation, setI18nBasename, setNewNodeName, setRepository, setRootPath, setTree, setTreeClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebsiteTreeHandler
public WebsiteTreeHandler(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
createNode
public String createNode()
- Description copied from class:
AdminTreeMVCHandler
- Create a new node and show the tree
- Overrides:
createNode
in class AdminTreeMVCHandler
- Returns:
- newly created content node
getDefaultTemplate
protected TemplateDefinition getDefaultTemplate(javax.jcr.Node node)
show
public String show()
- Description copied from class:
AdminTreeMVCHandler
- Show the tree
- Overrides:
show
in class AdminTreeMVCHandler
getCommand
public String getCommand()
- Description copied from class:
AdminTreeMVCHandler
- Depending on the request it is generating a logical command name
- Specified by:
getCommand
in interface MVCServletHandler
- Overrides:
getCommand
in class AdminTreeMVCHandler
- Returns:
- name of the command
getTemplatesHtml
public String getTemplatesHtml()
checkIfChildrenModified
public String checkIfChildrenModified()
copyOrMove
protected void copyOrMove(int action)
throws ExchangeException,
javax.jcr.RepositoryException
- Overrides:
copyOrMove
in class AdminTreeMVCHandler
- Throws:
ExchangeException
javax.jcr.RepositoryException
isCopyOrMoveAvailable
protected boolean isCopyOrMoveAvailable(String targetPath,
String pagePath)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
isGetAvailableTemplates
public boolean isGetAvailableTemplates()
setGetAvailableTemplates
public void setGetAvailableTemplates(boolean getAvailableTemplates)
isCheckIfChildrenModified
public boolean isCheckIfChildrenModified()
setCheckIfChildrenModified
public void setCheckIfChildrenModified(boolean checkIfChildrenModified)
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.