public interface VersionManager extends VersionManager
VersionManager
Modifier and Type | Method and Description |
---|---|
void |
remove(String absPath)
Removes the versionable node at
absPath together will all the version histories of each versionable node
in the subgraph, provided that only the root version exists for each versionable node and each versionable node is
not shared. |
cancelMerge, checkin, checkout, checkpoint, createActivity, createConfiguration, doneMerge, getActivity, getBaseVersion, getVersionHistory, isCheckedOut, merge, merge, merge, removeActivity, restore, restore, restore, restore, restoreByLabel, setActivity
void remove(String absPath) throws UnsupportedRepositoryOperationException, PathNotFoundException, RepositoryException
absPath
together will all the version histories of each versionable node
in the subgraph, provided that only the root version exists for each versionable node and each versionable node is
not shared.
session.save()
in order to persist the changes.absPath
- a String
the absolute path to a versionable node; never null
PathNotFoundException
- if no node exists at absPath
UnsupportedRepositoryOperationException
- if the given node is not mix:versionable
or any versionable node
in the hierarchy has a non-empty version history or any versionable node in the hierarchy is a shared node.RepositoryException
- if anything unexpected fails while performing the operationCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.