Package org.apache.jackrabbit.rmi.client
Class ClientVersion
- java.lang.Object
-
- org.apache.jackrabbit.rmi.client.ClientObject
-
- org.apache.jackrabbit.rmi.client.ClientItem
-
- org.apache.jackrabbit.rmi.client.ClientNode
-
- org.apache.jackrabbit.rmi.client.ClientVersion
-
@Deprecated(forRemoval=true) public class ClientVersion extends ClientNode implements Version
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.Local adapter for the JCR-RMI
RemoteVersion
interface. This class makes a remote version locally available using the JCRVersion
interface.- See Also:
Version
,RemoteVersion
-
-
Field Summary
-
Fields inherited from interface javax.jcr.Node
JCR_CHILD_NODE_DEFINITION, JCR_CONTENT, JCR_FROZEN_NODE, JCR_PROPERTY_DEFINITION, JCR_ROOT_VERSION, JCR_VERSION_LABELS
-
-
Constructor Summary
Constructors Constructor Description ClientVersion(Session session, RemoteVersion remote, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a local adapter for the given remote version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VersionHistory
getContainingHistory()
Deprecated, for removal: This API element is subject to removal in a future version.Calendar
getCreated()
Deprecated, for removal: This API element is subject to removal in a future version.Node
getFrozenNode()
Deprecated, for removal: This API element is subject to removal in a future version.Version
getLinearPredecessor()
Deprecated, for removal: This API element is subject to removal in a future version.Version
getLinearSuccessor()
Deprecated, for removal: This API element is subject to removal in a future version.Version[]
getPredecessors()
Deprecated, for removal: This API element is subject to removal in a future version.Version[]
getSuccessors()
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientNode
accept, 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, isNode, isNodeType, lock, merge, orderBefore, removeMixin, removeShare, removeSharedSet, restore, restore, restore, restoreByLabel, setPrimaryType, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, unlock, update
-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientItem
getAncestor, getDepth, getName, getParent, getPath, getSession, isModified, isNew, isSame, refresh, remove, save
-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.jcr.Item
accept, getAncestor, getDepth, getName, getParent, getPath, getSession, isModified, isNew, isNode, isSame, refresh, remove, save
-
Methods inherited from interface javax.jcr.Node
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, restore, restoreByLabel, setPrimaryType, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, unlock, update
-
-
-
-
Constructor Detail
-
ClientVersion
public ClientVersion(Session session, RemoteVersion remote, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a local adapter for the given remote version.- Parameters:
session
- current sessionremote
- remote versionfactory
- local adapter factory
-
-
Method Detail
-
getCreated
public Calendar getCreated() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getCreated
in interfaceVersion
- Throws:
RepositoryException
-
getSuccessors
public Version[] getSuccessors() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getSuccessors
in interfaceVersion
- Throws:
RepositoryException
-
getPredecessors
public Version[] getPredecessors() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPredecessors
in interfaceVersion
- Throws:
RepositoryException
-
getContainingHistory
public VersionHistory getContainingHistory() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getContainingHistory
in interfaceVersion
- Throws:
RepositoryException
-
getFrozenNode
public Node getFrozenNode() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getFrozenNode
in interfaceVersion
- Throws:
RepositoryException
-
getLinearPredecessor
public Version getLinearPredecessor() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getLinearPredecessor
in interfaceVersion
- Throws:
RepositoryException
-
getLinearSuccessor
public Version getLinearSuccessor() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getLinearSuccessor
in interfaceVersion
- Throws:
RepositoryException
-
-