public class DelegateVersionManagerWrapper extends Object implements javax.jcr.version.VersionManager
Modifier | Constructor and Description |
---|---|
protected |
DelegateVersionManagerWrapper(javax.jcr.version.VersionManager versionManager) |
Modifier and Type | Method and Description |
---|---|
void |
cancelMerge(String absPath,
javax.jcr.version.Version version) |
javax.jcr.version.Version |
checkin(String absPath) |
void |
checkout(String absPath) |
javax.jcr.version.Version |
checkpoint(String absPath) |
javax.jcr.Node |
createActivity(String title) |
javax.jcr.Node |
createConfiguration(String absPath) |
void |
doneMerge(String absPath,
javax.jcr.version.Version version) |
javax.jcr.Node |
getActivity() |
javax.jcr.version.Version |
getBaseVersion(String absPath) |
javax.jcr.version.VersionHistory |
getVersionHistory(String absPath) |
javax.jcr.version.VersionManager |
getWrappedVersionManager() |
boolean |
isCheckedOut(String absPath) |
javax.jcr.NodeIterator |
merge(javax.jcr.Node activityNode) |
javax.jcr.NodeIterator |
merge(String absPath,
String srcWorkspace,
boolean bestEffort) |
javax.jcr.NodeIterator |
merge(String absPath,
String srcWorkspace,
boolean bestEffort,
boolean isShallow) |
void |
removeActivity(javax.jcr.Node activityNode) |
void |
restore(String absPath,
String versionName,
boolean removeExisting) |
void |
restore(String absPath,
javax.jcr.version.Version version,
boolean removeExisting) |
void |
restore(javax.jcr.version.Version[] versions,
boolean removeExisting) |
void |
restore(javax.jcr.version.Version version,
boolean removeExisting) |
void |
restoreByLabel(String absPath,
String versionLabel,
boolean removeExisting) |
javax.jcr.Node |
setActivity(javax.jcr.Node activity) |
void |
setWrappedVersionManager(javax.jcr.version.VersionManager versionManager) |
String |
toString() |
protected DelegateVersionManagerWrapper(javax.jcr.version.VersionManager versionManager)
public javax.jcr.version.VersionManager getWrappedVersionManager()
public void setWrappedVersionManager(javax.jcr.version.VersionManager versionManager)
public javax.jcr.version.Version checkin(String absPath) throws javax.jcr.version.VersionException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.InvalidItemStateException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
checkin
in interface javax.jcr.version.VersionManager
javax.jcr.version.VersionException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.InvalidItemStateException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
public void checkout(String absPath) throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
checkout
in interface javax.jcr.version.VersionManager
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
public javax.jcr.version.Version checkpoint(String absPath) throws javax.jcr.version.VersionException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.InvalidItemStateException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
checkpoint
in interface javax.jcr.version.VersionManager
javax.jcr.version.VersionException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.InvalidItemStateException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
public boolean isCheckedOut(String absPath) throws javax.jcr.RepositoryException
isCheckedOut
in interface javax.jcr.version.VersionManager
javax.jcr.RepositoryException
public javax.jcr.version.VersionHistory getVersionHistory(String absPath) throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
getVersionHistory
in interface javax.jcr.version.VersionManager
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public javax.jcr.version.Version getBaseVersion(String absPath) throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
getBaseVersion
in interface javax.jcr.version.VersionManager
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public void restore(javax.jcr.version.Version[] versions, boolean removeExisting) throws javax.jcr.ItemExistsException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
restore
in interface javax.jcr.version.VersionManager
javax.jcr.ItemExistsException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
public void restore(String absPath, String versionName, boolean removeExisting) throws javax.jcr.version.VersionException, javax.jcr.ItemExistsException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
restore
in interface javax.jcr.version.VersionManager
javax.jcr.version.VersionException
javax.jcr.ItemExistsException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
public void restore(javax.jcr.version.Version version, boolean removeExisting) throws javax.jcr.version.VersionException, javax.jcr.ItemExistsException, javax.jcr.InvalidItemStateException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
restore
in interface javax.jcr.version.VersionManager
javax.jcr.version.VersionException
javax.jcr.ItemExistsException
javax.jcr.InvalidItemStateException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
public void restore(String absPath, javax.jcr.version.Version version, boolean removeExisting) throws javax.jcr.PathNotFoundException, javax.jcr.ItemExistsException, javax.jcr.version.VersionException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
restore
in interface javax.jcr.version.VersionManager
javax.jcr.PathNotFoundException
javax.jcr.ItemExistsException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
public void restoreByLabel(String absPath, String versionLabel, boolean removeExisting) throws javax.jcr.version.VersionException, javax.jcr.ItemExistsException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
restoreByLabel
in interface javax.jcr.version.VersionManager
javax.jcr.version.VersionException
javax.jcr.ItemExistsException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
public javax.jcr.NodeIterator merge(String absPath, String srcWorkspace, boolean bestEffort) throws javax.jcr.NoSuchWorkspaceException, javax.jcr.AccessDeniedException, javax.jcr.MergeException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
merge
in interface javax.jcr.version.VersionManager
javax.jcr.NoSuchWorkspaceException
javax.jcr.AccessDeniedException
javax.jcr.MergeException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
public javax.jcr.NodeIterator merge(String absPath, String srcWorkspace, boolean bestEffort, boolean isShallow) throws javax.jcr.NoSuchWorkspaceException, javax.jcr.AccessDeniedException, javax.jcr.MergeException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
merge
in interface javax.jcr.version.VersionManager
javax.jcr.NoSuchWorkspaceException
javax.jcr.AccessDeniedException
javax.jcr.MergeException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
public void doneMerge(String absPath, javax.jcr.version.Version version) throws javax.jcr.version.VersionException, javax.jcr.InvalidItemStateException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
doneMerge
in interface javax.jcr.version.VersionManager
javax.jcr.version.VersionException
javax.jcr.InvalidItemStateException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public void cancelMerge(String absPath, javax.jcr.version.Version version) throws javax.jcr.version.VersionException, javax.jcr.InvalidItemStateException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
cancelMerge
in interface javax.jcr.version.VersionManager
javax.jcr.version.VersionException
javax.jcr.InvalidItemStateException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public javax.jcr.Node createConfiguration(String absPath) throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
createConfiguration
in interface javax.jcr.version.VersionManager
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public javax.jcr.Node setActivity(javax.jcr.Node activity) throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
setActivity
in interface javax.jcr.version.VersionManager
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public javax.jcr.Node getActivity() throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
getActivity
in interface javax.jcr.version.VersionManager
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public javax.jcr.Node createActivity(String title) throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
createActivity
in interface javax.jcr.version.VersionManager
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public void removeActivity(javax.jcr.Node activityNode) throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.version.VersionException, javax.jcr.RepositoryException
removeActivity
in interface javax.jcr.version.VersionManager
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.version.VersionException
javax.jcr.RepositoryException
public javax.jcr.NodeIterator merge(javax.jcr.Node activityNode) throws javax.jcr.version.VersionException, javax.jcr.AccessDeniedException, javax.jcr.MergeException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
merge
in interface javax.jcr.version.VersionManager
javax.jcr.version.VersionException
javax.jcr.AccessDeniedException
javax.jcr.MergeException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.