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(forRemoval=true) public class ServerVersionManager extends ServerObject implements RemoteVersionManager
Deprecated, for removal: This API element is subject to removal in a future version.- 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, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
cancelMerge(String absPath, String versionIdentifier)
Deprecated, for removal: This API element is subject to removal in a future version.RemoteVersion
checkin(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersionManager.checkin(String)
method.void
checkout(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersionManager.checkout(String)
method.RemoteVersion
checkpoint(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersionManager.checkpoint(String)
method.RemoteNode
createActivity(String title)
Deprecated, for removal: This API element is subject to removal in a future version.RemoteNode
createConfiguration(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.void
doneMerge(String absPath, String versionIdentifier)
Deprecated, for removal: This API element is subject to removal in a future version.RemoteNode
getActivity()
Deprecated, for removal: This API element is subject to removal in a future version.RemoteVersion
getBaseVersion(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.RemoteVersionHistory
getVersionHistory(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isCheckedOut(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersionManager.isCheckedOut(String)
method.RemoteIterator
merge(String activityNodeIdentifier)
Deprecated, for removal: This API element is subject to removal in a future version.RemoteIterator
merge(String absPath, String srcWorkspace, boolean bestEffort)
Deprecated, for removal: This API element is subject to removal in a future version.RemoteIterator
merge(String absPath, String srcWorkspace, boolean bestEffort, boolean isShallow)
Deprecated, for removal: This API element is subject to removal in a future version.void
removeActivity(String activityNodeIdentifier)
Deprecated, for removal: This API element is subject to removal in a future version.void
restore(String[] versionIdentifiers, boolean removeExisting)
Deprecated, for removal: This API element is subject to removal in a future version.void
restore(String versionIdentifier, boolean removeExisting)
Deprecated, for removal: This API element is subject to removal in a future version.void
restore(String absPath, String versionName, boolean removeExisting)
Deprecated, for removal: This API element is subject to removal in a future version.void
restoreByLabel(String absPath, String versionLabel, boolean removeExisting)
Deprecated, for removal: This API element is subject to removal in a future version.void
restoreVI(String absPath, String versionIdentifier, boolean removeExisting)
Deprecated, for removal: This API element is subject to removal in a future version.RemoteNode
setActivity(String activityNodeIdentifier)
Deprecated, for removal: This API element is subject to removal in a future version.-
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, 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, for removal: This API element is subject to removal in a future version.- Throws:
RemoteException
-
-
Method Detail
-
checkin
public RemoteVersion checkin(String absPath) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RemoteVersionManager
Remote version of theVersionManager.checkin(String)
method.- Specified by:
checkin
in 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, for removal: This API element is subject to removal in a future version.Description copied from interface:RemoteVersionManager
Remote version of theVersionManager.checkout(String)
method.- Specified by:
checkout
in interfaceRemoteVersionManager
- Parameters:
absPath
- an absolute path.- Throws:
RepositoryException
- on repository errors
-
checkpoint
public RemoteVersion checkpoint(String absPath) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RemoteVersionManager
Remote version of theVersionManager.checkpoint(String)
method.- Specified by:
checkpoint
in 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, for removal: This API element is subject to removal in a future version.- Specified by:
createActivity
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
createConfiguration
public RemoteNode createConfiguration(String absPath) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createConfiguration
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
getActivity
public RemoteNode getActivity() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getActivity
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
getBaseVersion
public RemoteVersion getBaseVersion(String absPath) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getBaseVersion
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
getVersionHistory
public RemoteVersionHistory getVersionHistory(String absPath) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getVersionHistory
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
isCheckedOut
public boolean isCheckedOut(String absPath) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RemoteVersionManager
Remote version of theVersionManager.isCheckedOut(String)
method.- Specified by:
isCheckedOut
in 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, for removal: This API element is subject to removal in a future version.- Specified by:
merge
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
merge
public RemoteIterator merge(String absPath, String srcWorkspace, boolean bestEffort, boolean isShallow) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
merge
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
restore
public void restore(String absPath, String versionName, boolean removeExisting) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
restore
in interfaceRemoteVersionManager
- Throws:
RepositoryException
-
restoreByLabel
public void restoreByLabel(String absPath, String versionLabel, boolean removeExisting) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
restoreByLabel
in interfaceRemoteVersionManager
- Throws:
RepositoryException
-
cancelMerge
public void cancelMerge(String absPath, String versionIdentifier) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
cancelMerge
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
doneMerge
public void doneMerge(String absPath, String versionIdentifier) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
doneMerge
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
restore
public void restore(String[] versionIdentifiers, boolean removeExisting) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
restore
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
restore
public void restore(String versionIdentifier, boolean removeExisting) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
restore
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
setActivity
public RemoteNode setActivity(String activityNodeIdentifier) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setActivity
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
removeActivity
public void removeActivity(String activityNodeIdentifier) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
removeActivity
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
merge
public RemoteIterator merge(String activityNodeIdentifier) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
merge
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
restoreVI
public void restoreVI(String absPath, String versionIdentifier, boolean removeExisting) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
restoreVI
in interfaceRemoteVersionManager
- Throws:
RepositoryException
RemoteException
-
-