public interface RemoteVersionHistory extends RemoteNode
VersionHistory
interface. Used by
the
ServerVersionHistory
and
ClientVersionHistory
adapters to provide transparent RMI access to remote version histories.
The methods in this interface are documented only with a reference to a corresponding VersionHistory method. The remote object will simply forward the method call to the underlying VersionHistory 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.
Version
,
ClientVersionHistory
,
ServerVersionHistory
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, restoreByLabel, restoreByUUID, setPrimaryType, setProperty, setProperty, setProperty, setProperty, unlock, update
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
String getVersionableUUID() throws RepositoryException, RemoteException
getVersionableIdentifier()
should be
used instead.VersionHistory.getVersionableUUID()
VersionHistory.getVersionableUUID()}
method.RepositoryException
- if an error occurs.RemoteException
- on RMI errorsString getVersionableIdentifier() throws RepositoryException, RemoteException
VersionHistory.getVersionableIdentifier()
VersionHistory.getVersionableIdentifier()}
method.RepositoryException
- if an error occurs.RemoteException
- on RMI errorsRemoteVersion getRootVersion() throws RepositoryException, RemoteException
VersionHistory.getRootVersion()
method.Version
object.RepositoryException
- if an error occurs.RemoteException
- on RMI errorsRemoteIterator getAllLinearVersions() throws RepositoryException, RemoteException
VersionHistory.getAllLinearVersions()
method.RepositoryException
- if an error occurs.RemoteException
- on RMI errorsRemoteIterator getAllVersions() throws RepositoryException, RemoteException
VersionHistory.getAllVersions()
method.RepositoryException
- if an error occurs.RemoteException
- on RMI errorsRemoteIterator getAllLinearFrozenNodes() throws RepositoryException, RemoteException
VersionHistory.getAllLinearFrozenNodes()
method.RepositoryException
- if an error occurs.RemoteException
- on RMI errorsRemoteIterator getAllFrozenNodes() throws RepositoryException, RemoteException
VersionHistory.getAllFrozenNodes()
method.RepositoryException
- if an error occurs.RemoteException
- on RMI errorsRemoteVersion getVersion(String versionName) throws RepositoryException, RemoteException
VersionHistory.getVersion(String)
method.versionName
- a version nameVersion
object.RepositoryException
- if an error occurs.RemoteException
- on RMI errorsRemoteVersion getVersionByLabel(String label) throws RepositoryException, RemoteException
VersionHistory.getVersionByLabel(String)
method.label
- a version labelVersion
object.RepositoryException
- if an error occurs.RemoteException
- on RMI errorsvoid addVersionLabel(String versionName, String label, boolean moveLabel) throws RepositoryException, RemoteException
VersionHistory.addVersionLabel(String, String, boolean)
method.versionName
- the name of the version to which the label is to be added.label
- the label to be added.moveLabel
- if true
, then if label
is already assigned to a version in
this version history, it is moved to the new version specified; if false
, then attempting
to assign an already used label will throw a VersionException
.RepositoryException
- if another error occurs.RemoteException
- on RMI errorsvoid removeVersionLabel(String label) throws RepositoryException, RemoteException
VersionHistory.removeVersionLabel(String)
method.label
- a version labelRepositoryException
- if another error occurs.RemoteException
- on RMI errorsboolean hasVersionLabel(String label) throws RepositoryException, RemoteException
VersionHistory.hasVersionLabel(String)
method.label
- a version labelboolean
RepositoryException
- on repository errorsRemoteException
- on RMI errorsboolean hasVersionLabel(String versionUUID, String label) throws RepositoryException, RemoteException
hasVersionLabel(Version, String)
method.versionUUID
- The UUID of the version whose labels are to be returned.label
- a version labelboolean
.RepositoryException
- if another error occurs.RemoteException
- on RMI errorsString[] getVersionLabels() throws RepositoryException, RemoteException
VersionHistory.getVersionLabels()
method.String
array containing all the labels of the version historyRepositoryException
- on repository errorsRemoteException
- on RMI errorsString[] getVersionLabels(String versionUUID) throws RepositoryException, RemoteException
VersionHistory.getVersionLabels(Version)
method.versionUUID
- The UUID of the version whose labels are to be returned.String
array containing all the labels of the given versionRepositoryException
- if another error occurs.RemoteException
- on RMI errorsvoid removeVersion(String versionName) throws RepositoryException, RemoteException
VersionHistory.removeVersion(String)
method.versionName
- the name of a version in this version history.RepositoryException
- if another error occurs.RemoteException
- on RMI errorsCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.