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
- All Implemented Interfaces:
- Item, Node, Version
public class ClientVersion
- extends ClientNode
- implements Version
Local adapter for the JCR-RMI
RemoteVersion
interface. This class makes a remote version locally available using
the JCR Version
interface.
- See Also:
Version
,
RemoteVersion
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
Methods inherited from interface javax.jcr.Item |
accept, getAncestor, getDepth, getName, getParent, getPath, getSession, isModified, isNew, isNode, isSame, refresh, remove, save |
ClientVersion
public ClientVersion(Session session,
RemoteVersion remote,
LocalAdapterFactory factory)
- Creates a local adapter for the given remote version.
- Parameters:
session
- current sessionremote
- remote versionfactory
- local adapter factory
getCreated
public Calendar getCreated()
throws RepositoryException
-
- Specified by:
getCreated
in interface Version
- Throws:
RepositoryException
getSuccessors
public Version[] getSuccessors()
throws RepositoryException
-
- Specified by:
getSuccessors
in interface Version
- Throws:
RepositoryException
getPredecessors
public Version[] getPredecessors()
throws RepositoryException
-
- Specified by:
getPredecessors
in interface Version
- Throws:
RepositoryException
getContainingHistory
public VersionHistory getContainingHistory()
throws RepositoryException
-
- Specified by:
getContainingHistory
in interface Version
- Throws:
RepositoryException
getFrozenNode
public Node getFrozenNode()
throws RepositoryException
- Specified by:
getFrozenNode
in interface Version
- Throws:
RepositoryException
getLinearPredecessor
public Version getLinearPredecessor()
throws RepositoryException
- Specified by:
getLinearPredecessor
in interface Version
- Throws:
RepositoryException
getLinearSuccessor
public Version getLinearSuccessor()
throws RepositoryException
- Specified by:
getLinearSuccessor
in interface Version
- Throws:
RepositoryException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.