info.magnolia.cms.core.version
Class VersionManager
java.lang.Object
info.magnolia.cms.core.version.BaseVersionManager
info.magnolia.cms.core.version.VersionManager
@Singleton
public final class VersionManager
- extends BaseVersionManager
CE version of the VersionManager. Limited to one version only.
- Version:
- $Id$
Methods inherited from class info.magnolia.cms.core.version.BaseVersionManager |
addVersion, addVersion, checkAndAddMixin, createInitialStructure, createVersion, createVersion, getAllVersions, getBaseVersion, getSession, getSystemNode, getUsedFilter, getVersion, getVersionedNode, getVersionedNode, getVersionHistory, removeVersionHistory, restore, restore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionManager
public VersionManager()
- Don't instanciate.
getInstance
public static VersionManager getInstance()
isInvalidMaxVersions
public boolean isInvalidMaxVersions()
- Since version is set "only revert" always return true.
- Specified by:
isInvalidMaxVersions
in class BaseVersionManager
setMaxVersionHistory
public void setMaxVersionHistory(javax.jcr.Node node)
throws javax.jcr.RepositoryException
- Set version history to max version possible.
- Specified by:
setMaxVersionHistory
in class BaseVersionManager
- Parameters:
node
-
- Throws:
javax.jcr.RepositoryException
- if failed to get VersionHistory or fail to remove
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.