Package org.apache.jackrabbit.rmi.server
Class ServerVersion
-
- All Implemented Interfaces:
Serializable
,Remote
,RemoteItem
,RemoteNode
,RemoteVersion
@Deprecated(forRemoval=true) public class ServerVersion extends ServerNode implements RemoteVersion
Deprecated, for removal: This API element is subject to removal in a future version.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Remote adapter for the JCR
Version
interface. This class makes a local version available as an RMI service using theRemoteVersion
interface.- See Also:
Version
,RemoteVersion
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor Description ServerVersion(Version version, RemoteAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a remote adapter for the given local version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RemoteVersionHistory
getContainingHistory()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getContainingHistory()
method.Calendar
getCreated()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getCreated()
method.RemoteNode
getFrozenNode()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getFrozenNode()
method.RemoteVersion
getLinearPredecessor()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getLinearPredecessor()
method.RemoteVersion
getLinearSuccessor()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getLinearSuccessor()
method.RemoteVersion[]
getPredecessors()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getPredecessors()
method.RemoteVersion[]
getSuccessors()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getSuccessors()
method.-
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerNode
addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, followLifecycleTransition, getAllowedLifecycleTransistions, getBaseVersion, getCorrespondingNodePath, getDefinition, getIdentifier, getIndex, getLock, getMixinNodeTypes, getNode, getNodes, getNodes, getNodes, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperties, getProperty, getReferences, getReferences, getSharedSet, getUUID, getVersionByUUID, getVersionHistory, getWeakReferences, getWeakReferences, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isNodeType, lock, merge, orderBefore, removeMixin, removeShare, removeSharedSet, restore, restore, restoreByLabel, restoreByUUID, setPrimaryType, setProperty, setProperty, setProperty, setProperty, unlock, update
-
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerItem
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
-
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
-
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteItem
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
-
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteNode
addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, followLifecycleTransition, getAllowedLifecycleTransistions, getBaseVersion, getCorrespondingNodePath, getDefinition, getIdentifier, getIndex, getLock, getMixinNodeTypes, getNode, getNodes, getNodes, getNodes, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperties, getProperty, getReferences, getReferences, getSharedSet, getUUID, getVersionHistory, getWeakReferences, getWeakReferences, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isNodeType, lock, merge, orderBefore, removeMixin, removeShare, removeSharedSet, restore, restore, restoreByLabel, restoreByUUID, setPrimaryType, setProperty, setProperty, setProperty, setProperty, unlock, update
-
-
-
-
Constructor Detail
-
ServerVersion
public ServerVersion(Version version, RemoteAdapterFactory factory) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates a remote adapter for the given local version.- Parameters:
version
- local versionfactory
- remote adapter factory- Throws:
RemoteException
- on RMI errors
-
-
Method Detail
-
getContainingHistory
public RemoteVersionHistory getContainingHistory() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getContainingHistory()
method.- Specified by:
getContainingHistory
in interfaceRemoteVersion
- Returns:
- a
RemoteVersionHistory
object. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getCreated
public Calendar getCreated() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getCreated()
method.- Specified by:
getCreated
in interfaceRemoteVersion
- Returns:
- a
Calendar
object. - Throws:
RepositoryException
- on repository errors
-
getLinearSuccessor
public RemoteVersion getLinearSuccessor() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getLinearSuccessor()
method.- Specified by:
getLinearSuccessor
in interfaceRemoteVersion
- Returns:
- a
RemoteVersion
ornull
if no linear successor exists. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
RemoteVersionHistory.getAllLinearVersions()
-
getSuccessors
public RemoteVersion[] getSuccessors() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getSuccessors()
method.- Specified by:
getSuccessors
in interfaceRemoteVersion
- Returns:
- a
RemoteVersion
array. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getLinearPredecessor
public RemoteVersion getLinearPredecessor() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getLinearPredecessor()
method.- Specified by:
getLinearPredecessor
in interfaceRemoteVersion
- Returns:
- a
RemoteVersion
ornull
if no linear predecessor exists. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
RemoteVersionHistory.getAllLinearVersions()
-
getPredecessors
public RemoteVersion[] getPredecessors() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getPredecessors()
method.- Specified by:
getPredecessors
in interfaceRemoteVersion
- Returns:
- a
RemoteVersion
array. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getFrozenNode
public RemoteNode getFrozenNode() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getFrozenNode()
method.- Specified by:
getFrozenNode
in interfaceRemoteVersion
- Returns:
- a
RemoteNode
object. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
-