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, getSerialValues
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
public ServerVersionManager(Session session, VersionManager manager, RemoteAdapterFactory factory) throws RemoteException
RemoteException
public RemoteVersion checkin(String absPath) throws RepositoryException, RemoteException
RemoteVersionManager
VersionManager.checkin(String)
method.checkin
in interface RemoteVersionManager
absPath
- an absolute path.RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic void checkout(String absPath) throws RepositoryException
RemoteVersionManager
VersionManager.checkout(String)
method.checkout
in interface RemoteVersionManager
absPath
- an absolute path.RepositoryException
- on repository errorspublic RemoteVersion checkpoint(String absPath) throws RepositoryException, RemoteException
RemoteVersionManager
VersionManager.checkpoint(String)
method.checkpoint
in interface RemoteVersionManager
absPath
- an absolute path.RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic RemoteNode createActivity(String title) throws RepositoryException, RemoteException
createActivity
in interface RemoteVersionManager
RepositoryException
RemoteException
public RemoteNode createConfiguration(String absPath) throws RepositoryException, RemoteException
createConfiguration
in interface RemoteVersionManager
RepositoryException
RemoteException
public RemoteNode getActivity() throws RepositoryException, RemoteException
getActivity
in interface RemoteVersionManager
RepositoryException
RemoteException
public RemoteVersion getBaseVersion(String absPath) throws RepositoryException, RemoteException
getBaseVersion
in interface RemoteVersionManager
RepositoryException
RemoteException
public RemoteVersionHistory getVersionHistory(String absPath) throws RepositoryException, RemoteException
getVersionHistory
in interface RemoteVersionManager
RepositoryException
RemoteException
public boolean isCheckedOut(String absPath) throws RepositoryException
RemoteVersionManager
VersionManager.isCheckedOut(String)
method.isCheckedOut
in interface RemoteVersionManager
absPath
- an absolute path.RepositoryException
- on repository errorspublic RemoteIterator merge(String absPath, String srcWorkspace, boolean bestEffort) throws RepositoryException, RemoteException
merge
in interface RemoteVersionManager
RepositoryException
RemoteException
public RemoteIterator merge(String absPath, String srcWorkspace, boolean bestEffort, boolean isShallow) throws RepositoryException, RemoteException
merge
in interface RemoteVersionManager
RepositoryException
RemoteException
public void restore(String absPath, String versionName, boolean removeExisting) throws RepositoryException
restore
in interface RemoteVersionManager
RepositoryException
public void restoreByLabel(String absPath, String versionLabel, boolean removeExisting) throws RepositoryException
restoreByLabel
in interface RemoteVersionManager
RepositoryException
public void cancelMerge(String absPath, String versionIdentifier) throws RepositoryException, RemoteException
cancelMerge
in interface RemoteVersionManager
RepositoryException
RemoteException
public void doneMerge(String absPath, String versionIdentifier) throws RepositoryException, RemoteException
doneMerge
in interface RemoteVersionManager
RepositoryException
RemoteException
public void restore(String[] versionIdentifiers, boolean removeExisting) throws RepositoryException, RemoteException
restore
in interface RemoteVersionManager
RepositoryException
RemoteException
public void restore(String versionIdentifier, boolean removeExisting) throws RepositoryException, RemoteException
restore
in interface RemoteVersionManager
RepositoryException
RemoteException
public RemoteNode setActivity(String activityNodeIdentifier) throws RepositoryException, RemoteException
setActivity
in interface RemoteVersionManager
RepositoryException
RemoteException
public void removeActivity(String activityNodeIdentifier) throws RepositoryException, RemoteException
removeActivity
in interface RemoteVersionManager
RepositoryException
RemoteException
public RemoteIterator merge(String activityNodeIdentifier) throws RepositoryException, RemoteException
merge
in interface RemoteVersionManager
RepositoryException
RemoteException
public void restoreVI(String absPath, String versionIdentifier, boolean removeExisting) throws RepositoryException, RemoteException
restoreVI
in interface RemoteVersionManager
RepositoryException
RemoteException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.