org.exoplatform.services.jcr.rmi.impl.server
Class ServerVersion
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.exoplatform.services.jcr.rmi.impl.server.ServerObject
org.exoplatform.services.jcr.rmi.impl.server.ServerItem
org.exoplatform.services.jcr.rmi.impl.server.ServerNode
org.exoplatform.services.jcr.rmi.impl.server.ServerVersion
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, RemoteItem, RemoteNode, RemoteVersion
public class ServerVersion
- extends ServerNode
- implements RemoteVersion
Remote adapter for the JCR Version interface. This class makes
a local version available as an RMI service using the
RemoteVersion interface.
- See Also:
Version,
RemoteVersion,
Serialized Form
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Methods inherited from class org.exoplatform.services.jcr.rmi.impl.server.ServerNode |
addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, getBaseVersion, getCorrespondingNodePath, getDefinition, getIndex, getLock, getMixinNodeTypes, getNode, getNodes, getNodes, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperty, getReferences, getUUID, getVersionByUUID, getVersionHistory, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isNodeType, lock, merge, orderBefore, removeMixin, restore, restore, restoreByLabel, restoreByUUID, setProperty, setProperty, setProperty, setProperty, unlock, update |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, 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.exoplatform.services.jcr.rmi.api.remote.RemoteNode |
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, restoreByLabel, restoreByUUID, setProperty, setProperty, setProperty, setProperty, unlock, update |
ServerVersion
public ServerVersion(javax.jcr.version.Version version,
RemoteAdapterFactory factory)
throws java.rmi.RemoteException
- Creates a remote adapter for the given local version.
- Parameters:
version - local versionfactory - remote adapter factory
- Throws:
java.rmi.RemoteException - on RMI errors
getCreated
public java.util.Calendar getCreated()
throws javax.jcr.RepositoryException
- Remote version of the
Version.getCreated()
method.
- Specified by:
getCreated in interface RemoteVersion
- Returns:
- a
Calendar object.
- Throws:
javax.jcr.RepositoryException - on repository errors
getSuccessors
public RemoteVersion[] getSuccessors()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Remote version of the
Version.getSuccessors()
method.
- Specified by:
getSuccessors in interface RemoteVersion
- Returns:
- a
RemoteVersion array.
- Throws:
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
getPredecessors
public RemoteVersion[] getPredecessors()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Remote version of the
Version.getPredecessors() method.
- Specified by:
getPredecessors in interface RemoteVersion
- Returns:
- a
RemoteVersion array.
- Throws:
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
getContainingHistory
public RemoteVersionHistory getContainingHistory()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Remote version of the
Version.getContainingHistory()
Version.getContainingHistory()} method.
- Specified by:
getContainingHistory in interface RemoteVersion
- Returns:
- a
RemoteVersionHistory.
- Throws:
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
Copyright © 2010 eXo Platform SAS. All Rights Reserved.