Class VersionManagerImpl
java.lang.Object
org.apache.jackrabbit.oak.jcr.version.VersionManagerImpl
- All Implemented Interfaces:
VersionManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelMerge
(String absPath, Version version) void
checkpoint
(String absPath) createActivity
(String title) createConfiguration
(String absPath) void
getBaseVersion
(String absPath) getVersionHistory
(String absPath) boolean
isCheckedOut
(@NotNull NodeDelegate nodeDelegate) boolean
isCheckedOut
(String absPath) void
removeActivity
(Node activityNode) void
void
void
void
void
restoreByLabel
(String absPath, String versionLabel, boolean removeExisting) setActivity
(Node activity)
-
Constructor Details
-
VersionManagerImpl
-
-
Method Details
-
setActivity
- Specified by:
setActivity
in interfaceVersionManager
- Throws:
RepositoryException
-
restoreByLabel
public void restoreByLabel(String absPath, String versionLabel, boolean removeExisting) throws RepositoryException - Specified by:
restoreByLabel
in interfaceVersionManager
- Throws:
RepositoryException
-
restore
public void restore(String absPath, Version version, boolean removeExisting) throws RepositoryException - Specified by:
restore
in interfaceVersionManager
- Throws:
RepositoryException
-
restore
public void restore(String absPath, String versionName, boolean removeExisting) throws RepositoryException - Specified by:
restore
in interfaceVersionManager
- Throws:
RepositoryException
-
restore
- Specified by:
restore
in interfaceVersionManager
- Throws:
RepositoryException
-
restore
public void restore(Version[] versions, boolean removeExisting) throws ItemExistsException, UnsupportedRepositoryOperationException, VersionException, LockException, InvalidItemStateException, RepositoryException - Specified by:
restore
in interfaceVersionManager
- Throws:
ItemExistsException
UnsupportedRepositoryOperationException
VersionException
LockException
InvalidItemStateException
RepositoryException
-
removeActivity
- Specified by:
removeActivity
in interfaceVersionManager
- Throws:
RepositoryException
-
merge
public NodeIterator merge(String absPath, String srcWorkspace, boolean bestEffort, boolean isShallow) throws RepositoryException - Specified by:
merge
in interfaceVersionManager
- Throws:
RepositoryException
-
merge
public NodeIterator merge(String absPath, String srcWorkspace, boolean bestEffort) throws RepositoryException - Specified by:
merge
in interfaceVersionManager
- Throws:
RepositoryException
-
merge
- Specified by:
merge
in interfaceVersionManager
- Throws:
RepositoryException
-
isCheckedOut
- Specified by:
isCheckedOut
in interfaceVersionManager
- Throws:
RepositoryException
-
getVersionHistory
- Specified by:
getVersionHistory
in interfaceVersionManager
- Throws:
RepositoryException
-
getBaseVersion
- Specified by:
getBaseVersion
in interfaceVersionManager
- Throws:
RepositoryException
-
getActivity
- Specified by:
getActivity
in interfaceVersionManager
- Throws:
RepositoryException
-
doneMerge
- Specified by:
doneMerge
in interfaceVersionManager
- Throws:
RepositoryException
-
createConfiguration
- Specified by:
createConfiguration
in interfaceVersionManager
- Throws:
RepositoryException
-
createActivity
- Specified by:
createActivity
in interfaceVersionManager
- Throws:
RepositoryException
-
checkpoint
- Specified by:
checkpoint
in interfaceVersionManager
- Throws:
RepositoryException
-
checkout
- Specified by:
checkout
in interfaceVersionManager
- Throws:
RepositoryException
-
checkin
- Specified by:
checkin
in interfaceVersionManager
- Throws:
RepositoryException
-
cancelMerge
- Specified by:
cancelMerge
in interfaceVersionManager
- Throws:
RepositoryException
-
isCheckedOut
- Throws:
RepositoryException
-