Package org.apache.jackrabbit.rmi.server
Class ServerVersionManager
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- org.apache.jackrabbit.rmi.server.ServerObject
-
- org.apache.jackrabbit.rmi.server.ServerVersionManager
-
- All Implemented Interfaces:
Serializable,Remote,RemoteVersionManager
@Deprecated public class ServerVersionManager extends ServerObject implements RemoteVersionManager
Deprecated.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor Description ServerVersionManager(Session session, VersionManager manager, RemoteAdapterFactory factory)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcancelMerge(String absPath, String versionIdentifier)Deprecated.RemoteVersioncheckin(String absPath)Deprecated.Remote version of theVersionManager.checkin(String)method.voidcheckout(String absPath)Deprecated.Remote version of theVersionManager.checkout(String)method.RemoteVersioncheckpoint(String absPath)Deprecated.Remote version of theVersionManager.checkpoint(String)method.RemoteNodecreateActivity(String title)Deprecated.RemoteNodecreateConfiguration(String absPath)Deprecated.voiddoneMerge(String absPath, String versionIdentifier)Deprecated.RemoteNodegetActivity()Deprecated.RemoteVersiongetBaseVersion(String absPath)Deprecated.RemoteVersionHistorygetVersionHistory(String absPath)Deprecated.booleanisCheckedOut(String absPath)Deprecated.Remote version of theVersionManager.isCheckedOut(String)method.RemoteIteratormerge(String activityNodeIdentifier)Deprecated.RemoteIteratormerge(String absPath, String srcWorkspace, boolean bestEffort)Deprecated.RemoteIteratormerge(String absPath, String srcWorkspace, boolean bestEffort, boolean isShallow)Deprecated.voidremoveActivity(String activityNodeIdentifier)Deprecated.voidrestore(String[] versionIdentifiers, boolean removeExisting)Deprecated.voidrestore(String versionIdentifier, boolean removeExisting)Deprecated.voidrestore(String absPath, String versionName, boolean removeExisting)Deprecated.voidrestoreByLabel(String absPath, String versionLabel, boolean removeExisting)Deprecated.voidrestoreVI(String absPath, String versionIdentifier, boolean removeExisting)Deprecated.RemoteNodesetActivity(String activityNodeIdentifier)Deprecated.-
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
-
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
-
-
-
Constructor Detail
-
ServerVersionManager
public ServerVersionManager(Session session, VersionManager manager, RemoteAdapterFactory factory) throws RemoteException
Deprecated.- Throws:
RemoteException
-
-
Method Detail
-
checkin
public RemoteVersion checkin(String absPath) throws RepositoryException, RemoteException
Deprecated.Description copied from interface:RemoteVersionManagerRemote version of theVersionManager.checkin(String)method.- Specified by:
checkinin interfaceRemoteVersionManager- Parameters:
absPath- an absolute path.- Returns:
- the created version.
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
checkout
public void checkout(String absPath) throws RepositoryException
Deprecated.Description copied from interface:RemoteVersionManagerRemote version of theVersionManager.checkout(String)method.- Specified by:
checkoutin interfaceRemoteVersionManager- Parameters:
absPath- an absolute path.- Throws:
RepositoryException- on repository errors
-
checkpoint
public RemoteVersion checkpoint(String absPath) throws RepositoryException, RemoteException
Deprecated.Description copied from interface:RemoteVersionManagerRemote version of theVersionManager.checkpoint(String)method.- Specified by:
checkpointin interfaceRemoteVersionManager- Parameters:
absPath- an absolute path.- Returns:
- the created version.
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
createActivity
public RemoteNode createActivity(String title) throws RepositoryException, RemoteException
Deprecated.- Specified by:
createActivityin interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
createConfiguration
public RemoteNode createConfiguration(String absPath) throws RepositoryException, RemoteException
Deprecated.- Specified by:
createConfigurationin interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
getActivity
public RemoteNode getActivity() throws RepositoryException, RemoteException
Deprecated.- Specified by:
getActivityin interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
getBaseVersion
public RemoteVersion getBaseVersion(String absPath) throws RepositoryException, RemoteException
Deprecated.- Specified by:
getBaseVersionin interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
getVersionHistory
public RemoteVersionHistory getVersionHistory(String absPath) throws RepositoryException, RemoteException
Deprecated.- Specified by:
getVersionHistoryin interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
isCheckedOut
public boolean isCheckedOut(String absPath) throws RepositoryException
Deprecated.Description copied from interface:RemoteVersionManagerRemote version of theVersionManager.isCheckedOut(String)method.- Specified by:
isCheckedOutin interfaceRemoteVersionManager- Parameters:
absPath- an absolute path.- Returns:
- a boolean
- Throws:
RepositoryException- on repository errors
-
merge
public RemoteIterator merge(String absPath, String srcWorkspace, boolean bestEffort) throws RepositoryException, RemoteException
Deprecated.- Specified by:
mergein interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
merge
public RemoteIterator merge(String absPath, String srcWorkspace, boolean bestEffort, boolean isShallow) throws RepositoryException, RemoteException
Deprecated.- Specified by:
mergein interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
restore
public void restore(String absPath, String versionName, boolean removeExisting) throws RepositoryException
Deprecated.- Specified by:
restorein interfaceRemoteVersionManager- Throws:
RepositoryException
-
restoreByLabel
public void restoreByLabel(String absPath, String versionLabel, boolean removeExisting) throws RepositoryException
Deprecated.- Specified by:
restoreByLabelin interfaceRemoteVersionManager- Throws:
RepositoryException
-
cancelMerge
public void cancelMerge(String absPath, String versionIdentifier) throws RepositoryException, RemoteException
Deprecated.- Specified by:
cancelMergein interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
doneMerge
public void doneMerge(String absPath, String versionIdentifier) throws RepositoryException, RemoteException
Deprecated.- Specified by:
doneMergein interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
restore
public void restore(String[] versionIdentifiers, boolean removeExisting) throws RepositoryException, RemoteException
Deprecated.- Specified by:
restorein interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
restore
public void restore(String versionIdentifier, boolean removeExisting) throws RepositoryException, RemoteException
Deprecated.- Specified by:
restorein interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
setActivity
public RemoteNode setActivity(String activityNodeIdentifier) throws RepositoryException, RemoteException
Deprecated.- Specified by:
setActivityin interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
removeActivity
public void removeActivity(String activityNodeIdentifier) throws RepositoryException, RemoteException
Deprecated.- Specified by:
removeActivityin interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
merge
public RemoteIterator merge(String activityNodeIdentifier) throws RepositoryException, RemoteException
Deprecated.- Specified by:
mergein interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
restoreVI
public void restoreVI(String absPath, String versionIdentifier, boolean removeExisting) throws RepositoryException, RemoteException
Deprecated.- Specified by:
restoreVIin interfaceRemoteVersionManager- Throws:
RepositoryExceptionRemoteException
-
-