public class ServerVersionManager extends ServerObject implements RemoteVersionManager
ref| Constructor and Description |
|---|
ServerVersionManager(Session session,
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(Session session, VersionManager manager, RemoteAdapterFactory factory) throws RemoteException
RemoteExceptionpublic RemoteVersion checkin(String absPath) throws RepositoryException, RemoteException
RemoteVersionManagerVersionManager.checkin(String)
method.checkin in interface RemoteVersionManagerabsPath - an absolute path.RepositoryException - on repository errorsRemoteException - on RMI errorspublic void checkout(String absPath) throws RepositoryException
RemoteVersionManagerVersionManager.checkout(String)
method.checkout in interface RemoteVersionManagerabsPath - an absolute path.RepositoryException - on repository errorspublic RemoteVersion checkpoint(String absPath) throws RepositoryException, RemoteException
RemoteVersionManagerVersionManager.checkpoint(String)
method.checkpoint in interface RemoteVersionManagerabsPath - an absolute path.RepositoryException - on repository errorsRemoteException - on RMI errorspublic RemoteNode createActivity(String title) throws RepositoryException, RemoteException
createActivity in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionpublic RemoteNode createConfiguration(String absPath) throws RepositoryException, RemoteException
createConfiguration in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionpublic RemoteNode getActivity() throws RepositoryException, RemoteException
getActivity in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionpublic RemoteVersion getBaseVersion(String absPath) throws RepositoryException, RemoteException
getBaseVersion in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionpublic RemoteVersionHistory getVersionHistory(String absPath) throws RepositoryException, RemoteException
getVersionHistory in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionpublic boolean isCheckedOut(String absPath) throws RepositoryException
RemoteVersionManagerVersionManager.isCheckedOut(String)
method.isCheckedOut in interface RemoteVersionManagerabsPath - an absolute path.RepositoryException - on repository errorspublic RemoteIterator merge(String absPath, String srcWorkspace, boolean bestEffort) throws RepositoryException, RemoteException
merge in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionpublic RemoteIterator merge(String absPath, String srcWorkspace, boolean bestEffort, boolean isShallow) throws RepositoryException, RemoteException
merge in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionpublic void restore(String absPath, String versionName, boolean removeExisting) throws RepositoryException
restore in interface RemoteVersionManagerRepositoryExceptionpublic void restoreByLabel(String absPath, String versionLabel, boolean removeExisting) throws RepositoryException
restoreByLabel in interface RemoteVersionManagerRepositoryExceptionpublic void cancelMerge(String absPath, String versionIdentifier) throws RepositoryException, RemoteException
cancelMerge in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionpublic void doneMerge(String absPath, String versionIdentifier) throws RepositoryException, RemoteException
doneMerge in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionpublic void restore(String[] versionIdentifiers, boolean removeExisting) throws RepositoryException, RemoteException
restore in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionpublic void restore(String versionIdentifier, boolean removeExisting) throws RepositoryException, RemoteException
restore in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionpublic RemoteNode setActivity(String activityNodeIdentifier) throws RepositoryException, RemoteException
setActivity in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionpublic void removeActivity(String activityNodeIdentifier) throws RepositoryException, RemoteException
removeActivity in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionpublic RemoteIterator merge(String activityNodeIdentifier) throws RepositoryException, RemoteException
merge in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionpublic void restoreVI(String absPath, String versionIdentifier, boolean removeExisting) throws RepositoryException, RemoteException
restoreVI in interface RemoteVersionManagerRepositoryExceptionRemoteExceptionCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.