info.magnolia.module.admininterface.lists
Class VersionsList
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.lists.AbstractList
info.magnolia.module.admininterface.lists.VersionsList
- All Implemented Interfaces:
- MVCServletHandler
- Direct Known Subclasses:
- WebsiteVersionsList
public abstract class VersionsList
- extends AbstractList
- Version:
- $Revision: 41137 $ ($Author: gjoseph $)
- Author:
- Philipp Bracher
Field Summary |
protected java.lang.String |
path
The path of the node |
Constructor Summary |
VersionsList(java.lang.String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class info.magnolia.module.admininterface.lists.AbstractList |
addContextMenuItem, getContextMenu, getFunctionBar, getGroupBy, getGroupByOrder, getLanguage, getList, getRenderKit, getSortBy, getSortByOrder, getTemplateName, getURI, initList, onRenderHeader, setFunctionBar, setGroupBy, setGroupByOrder, setList, setSortBy, setSortByOrder, show |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
path
protected java.lang.String path
- The path of the node
VersionsList
public VersionsList(java.lang.String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Parameters:
name
- request
- response
-
- Throws:
java.lang.Exception
getModel
public ListModel getModel()
- Description copied from class:
AbstractList
- Returns the model used by this list
- Specified by:
getModel
in class AbstractList
- See Also:
AbstractList.getModel()
getMaxShowedVersions
protected int getMaxShowedVersions()
- Check the version rollover. The latest can not get restored therfore we don't show it.
configureList
public void configureList(ListControl list)
- Specified by:
configureList
in class AbstractList
getOnShowFunction
public abstract java.lang.String getOnShowFunction()
- The script executed on a show link
configureContextMenu
protected void configureContextMenu(ContextMenu menu)
- Description copied from class:
AbstractList
- Override to configure the menu
- Overrides:
configureContextMenu
in class AbstractList
isSupportsDiff
protected boolean isSupportsDiff()
configureFunctionBar
protected void configureFunctionBar(FunctionBar bar)
- Description copied from class:
AbstractList
- Override to configure the bar
- Overrides:
configureFunctionBar
in class AbstractList
- See Also:
AbstractList.configureFunctionBar(info.magnolia.cms.gui.control.FunctionBar)
getNode
protected Content getNode()
throws javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException,
AccessDeniedException
- Returns:
-
- Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
AccessDeniedException
restore
public java.lang.String restore()
restoreRecursive
public java.lang.String restoreRecursive()
getPath
public java.lang.String getPath()
- Returns:
- Returns the path.
setPath
public void setPath(java.lang.String path)
- Parameters:
path
- The path to set.
getRepository
public java.lang.String getRepository()
- Returns:
- Returns the repository.
setRepository
public void setRepository(java.lang.String repository)
- Parameters:
repository
- The repository to set.
onRender
public java.lang.String onRender()
- Description copied from class:
AbstractList
- Do some additional rendering in the subclass
- Overrides:
onRender
in class AbstractList
getVersionLabel
public java.lang.String getVersionLabel()
- Returns:
- Returns the versionLabel.
setVersionLabel
public void setVersionLabel(java.lang.String versionLabel)
- Parameters:
versionLabel
- The versionLabel to set.
getOnDiffFunction
public java.lang.String getOnDiffFunction()
getJsExecutedAfterSaving
public java.lang.String getJsExecutedAfterSaving()
setJsExecutedAfterSaving
public void setJsExecutedAfterSaving(java.lang.String jsExecutedAfterSaving)
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.