|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.ClientItem
org.apache.jackrabbit.rmi.client.ClientNode
org.apache.jackrabbit.rmi.client.ClientVersion
public class ClientVersion
Local adapter for the JCR-RMI
RemoteVersion
interface. This class makes a remote version locally available using
the JCR Version
interface.
Version
,
RemoteVersion
Constructor Summary | |
---|---|
ClientVersion(Session session,
RemoteVersion remote,
LocalAdapterFactory factory)
Creates a local adapter for the given remote version. |
Method Summary | |
---|---|
VersionHistory |
getContainingHistory()
|
Calendar |
getCreated()
|
Version[] |
getPredecessors()
|
Version[] |
getSuccessors()
|
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientNode |
---|
accept, addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, getBaseVersion, getCorrespondingNodePath, getDefinition, getIndex, getLock, getMixinNodeTypes, getNode, getNodes, getNodes, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperty, getReferences, getUUID, getVersionHistory, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isNode, isNodeType, lock, merge, orderBefore, removeMixin, restore, restore, restore, restoreByLabel, 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.Node |
---|
addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, getBaseVersion, getCorrespondingNodePath, getDefinition, getIndex, getLock, getMixinNodeTypes, getNode, getNodes, getNodes, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperty, getReferences, getUUID, getVersionHistory, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isNodeType, lock, merge, orderBefore, removeMixin, restore, restore, restore, restoreByLabel, 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 |
Constructor Detail |
---|
public ClientVersion(Session session, RemoteVersion remote, LocalAdapterFactory factory)
session
- current sessionremote
- remote versionfactory
- local adapter factoryMethod Detail |
---|
public Calendar getCreated() throws RepositoryException
getCreated
in interface Version
RepositoryException
public Version[] getSuccessors() throws RepositoryException
getSuccessors
in interface Version
RepositoryException
public Version[] getPredecessors() throws RepositoryException
getPredecessors
in interface Version
RepositoryException
public VersionHistory getContainingHistory() throws RepositoryException
getContainingHistory
in interface Version
RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |