org.apache.jackrabbit.rmi.remote
Interface RemoteVersion

All Superinterfaces:
Remote, RemoteItem, RemoteNode
All Known Implementing Classes:
ServerVersion

public interface RemoteVersion
extends RemoteNode

Remote version of the JCR Version interface. Used by the ServerVersion and ClientVersion adapters to provide transparent RMI access to remote versions.

The methods in this interface are documented only with a reference to a corresponding Version method. The remote object will simply forward the method call to the underlying Version instance. Argument and return values, as well as possible exceptions, are copied over the network. Complex return values (like Versions) are returned as remote references to the corresponding remote interfaces. Iterator values are transmitted as object arrays. RMI errors are signaled with RemoteExceptions.

See Also:
Version, ClientVersion, ServerVersion

Method Summary
 RemoteVersionHistory getContainingHistory()
          Remote version of the Version.getContainingHistory() Version.getContainingHistory()} method.
 Calendar getCreated()
          Remote version of the Version.getCreated() method.
 RemoteVersion[] getPredecessors()
          Remote version of the Version.getPredecessors() method.
 RemoteVersion[] getSuccessors()
          Remote version of the Version.getSuccessors() method.
 
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteNode
addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, getBaseVersion, getCorrespondingNodePath, getDefinition, getIdentifier, getIndex, getLock, getMixinNodeTypes, getNode, getNodes, getNodes, getNodes, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperties, getProperty, getReferences, 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
 
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteItem
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
 

Method Detail

getCreated

Calendar getCreated()
                    throws RepositoryException,
                           RemoteException
Remote version of the Version.getCreated() method.

Returns:
a Calendar object.
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors

getSuccessors

RemoteVersion[] getSuccessors()
                              throws RepositoryException,
                                     RemoteException
Remote version of the Version.getSuccessors() method.

Returns:
a RemoteVersion array.
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors

getPredecessors

RemoteVersion[] getPredecessors()
                                throws RepositoryException,
                                       RemoteException
Remote version of the Version.getPredecessors() method.

Returns:
a RemoteVersion array.
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors

getContainingHistory

RemoteVersionHistory getContainingHistory()
                                          throws RepositoryException,
                                                 RemoteException
Remote version of the Version.getContainingHistory() Version.getContainingHistory()} method.

Returns:
a RemoteVersionHistory.
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.