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 public class ClientVersion extends ClientNode implements Version
Deprecated.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
RemoteVersioninterface. This class makes a remote version locally available using the JCRVersioninterface.- 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.Creates a local adapter for the given remote version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VersionHistorygetContainingHistory()Deprecated.CalendargetCreated()Deprecated.NodegetFrozenNode()Deprecated.VersiongetLinearPredecessor()Deprecated.VersiongetLinearSuccessor()Deprecated.Version[]getPredecessors()Deprecated.Version[]getSuccessors()Deprecated.-
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.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.- Specified by:
getCreatedin interfaceVersion- Throws:
RepositoryException
-
getSuccessors
public Version[] getSuccessors() throws RepositoryException
Deprecated.- Specified by:
getSuccessorsin interfaceVersion- Throws:
RepositoryException
-
getPredecessors
public Version[] getPredecessors() throws RepositoryException
Deprecated.- Specified by:
getPredecessorsin interfaceVersion- Throws:
RepositoryException
-
getContainingHistory
public VersionHistory getContainingHistory() throws RepositoryException
Deprecated.- Specified by:
getContainingHistoryin interfaceVersion- Throws:
RepositoryException
-
getFrozenNode
public Node getFrozenNode() throws RepositoryException
Deprecated.- Specified by:
getFrozenNodein interfaceVersion- Throws:
RepositoryException
-
getLinearPredecessor
public Version getLinearPredecessor() throws RepositoryException
Deprecated.- Specified by:
getLinearPredecessorin interfaceVersion- Throws:
RepositoryException
-
getLinearSuccessor
public Version getLinearSuccessor() throws RepositoryException
Deprecated.- Specified by:
getLinearSuccessorin interfaceVersion- Throws:
RepositoryException
-
-