public class ServerVersionManager extends ServerObject implements RemoteVersionManager
ref| Constructor and Description |
|---|
ServerVersionManager(javax.jcr.Session session,
javax.jcr.version.VersionManager manager,
RemoteAdapterFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelMerge(String absPath,
String versionIdentifier) |
RemoteVersion |
checkin(String absPath)
Remote version of the
VersionManager.checkin(String)
method. |
void |
checkout(String absPath)
Remote version of the
VersionManager.checkout(String)
method. |
RemoteVersion |
checkpoint(String absPath)
Remote version of the
VersionManager.checkpoint(String)
method. |
RemoteNode |
createActivity(String title) |
RemoteNode |
createConfiguration(String absPath) |
void |
doneMerge(String absPath,
String versionIdentifier) |
RemoteNode |
getActivity() |
RemoteVersion |
getBaseVersion(String absPath) |
RemoteVersionHistory |
getVersionHistory(String absPath) |
boolean |
isCheckedOut(String absPath)
Remote version of the
VersionManager.isCheckedOut(String)
method. |
RemoteIterator |
merge(String activityNodeIdentifier) |
RemoteIterator |
merge(String absPath,
String srcWorkspace,
boolean bestEffort) |
RemoteIterator |
merge(String absPath,
String srcWorkspace,
boolean bestEffort,
boolean isShallow) |
void |
removeActivity(String activityNodeIdentifier) |
void |
restore(String[] versionIdentifiers,
boolean removeExisting) |
void |
restore(String versionIdentifier,
boolean removeExisting) |
void |
restore(String absPath,
String versionName,
boolean removeExisting) |
void |
restoreByLabel(String absPath,
String versionLabel,
boolean removeExisting) |
void |
restoreVI(String absPath,
String versionIdentifier,
boolean removeExisting) |
RemoteNode |
setActivity(String activityNodeIdentifier) |
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValuesclone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic ServerVersionManager(javax.jcr.Session session,
javax.jcr.version.VersionManager manager,
RemoteAdapterFactory factory)
throws RemoteException
RemoteExceptionpublic RemoteVersion checkin(String absPath) throws javax.jcr.RepositoryException, RemoteException
RemoteVersionManagerVersionManager.checkin(String)
method.checkin in interface RemoteVersionManagerabsPath - an absolute path.javax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorspublic void checkout(String absPath) throws javax.jcr.RepositoryException
RemoteVersionManagerVersionManager.checkout(String)
method.checkout in interface RemoteVersionManagerabsPath - an absolute path.javax.jcr.RepositoryException - on repository errorspublic RemoteVersion checkpoint(String absPath) throws javax.jcr.RepositoryException, RemoteException
RemoteVersionManagerVersionManager.checkpoint(String)
method.checkpoint in interface RemoteVersionManagerabsPath - an absolute path.javax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorspublic RemoteNode createActivity(String title) throws javax.jcr.RepositoryException, RemoteException
createActivity in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionpublic RemoteNode createConfiguration(String absPath) throws javax.jcr.RepositoryException, RemoteException
createConfiguration in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionpublic RemoteNode getActivity() throws javax.jcr.RepositoryException, RemoteException
getActivity in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionpublic RemoteVersion getBaseVersion(String absPath) throws javax.jcr.RepositoryException, RemoteException
getBaseVersion in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionpublic RemoteVersionHistory getVersionHistory(String absPath) throws javax.jcr.RepositoryException, RemoteException
getVersionHistory in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionpublic boolean isCheckedOut(String absPath) throws javax.jcr.RepositoryException
RemoteVersionManagerVersionManager.isCheckedOut(String)
method.isCheckedOut in interface RemoteVersionManagerabsPath - an absolute path.javax.jcr.RepositoryException - on repository errorspublic RemoteIterator merge(String absPath, String srcWorkspace, boolean bestEffort) throws javax.jcr.RepositoryException, RemoteException
merge in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionpublic RemoteIterator merge(String absPath, String srcWorkspace, boolean bestEffort, boolean isShallow) throws javax.jcr.RepositoryException, RemoteException
merge in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionpublic void restore(String absPath, String versionName, boolean removeExisting) throws javax.jcr.RepositoryException
restore in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionpublic void restoreByLabel(String absPath, String versionLabel, boolean removeExisting) throws javax.jcr.RepositoryException
restoreByLabel in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionpublic void cancelMerge(String absPath, String versionIdentifier) throws javax.jcr.RepositoryException, RemoteException
cancelMerge in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionpublic void doneMerge(String absPath, String versionIdentifier) throws javax.jcr.RepositoryException, RemoteException
doneMerge in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionpublic void restore(String[] versionIdentifiers, boolean removeExisting) throws javax.jcr.RepositoryException, RemoteException
restore in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionpublic void restore(String versionIdentifier, boolean removeExisting) throws javax.jcr.RepositoryException, RemoteException
restore in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionpublic RemoteNode setActivity(String activityNodeIdentifier) throws javax.jcr.RepositoryException, RemoteException
setActivity in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionpublic void removeActivity(String activityNodeIdentifier) throws javax.jcr.RepositoryException, RemoteException
removeActivity in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionpublic RemoteIterator merge(String activityNodeIdentifier) throws javax.jcr.RepositoryException, RemoteException
merge in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionpublic void restoreVI(String absPath, String versionIdentifier, boolean removeExisting) throws javax.jcr.RepositoryException, RemoteException
restoreVI in interface RemoteVersionManagerjavax.jcr.RepositoryExceptionRemoteExceptionCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.