Modifier and Type | Method and Description |
---|---|
VersionHistory |
getContainingHistory()
Returns the
VersionHistory that contains this Version . |
java.util.Calendar |
getCreated()
Returns the date this version was created.
|
Version[] |
getPredecessors()
Returns the predecessor versions of this version.
|
Version[] |
getSuccessors()
Returns the successor versions of this version.
|
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
accept, getAncestor, getDepth, getName, getParent, getPath, getSession, isModified, isNew, isNode, isSame, refresh, remove, save
VersionHistory getContainingHistory() throws RepositoryException
VersionHistory
that contains this Version
.VersionHistory
that contains this Version
.RepositoryException
- if an error occurs.java.util.Calendar getCreated() throws RepositoryException
jcr:created
property in the nt:version
node that represents this version.Calendar
objectRepositoryException
- if an error occurs.Version[] getSuccessors() throws RepositoryException
nt:version
nodes referenced by the jcr:successors
multi-value property in the nt:version
node that represents this version.Version
array.RepositoryException
- if an error occurs.Version[] getPredecessors() throws RepositoryException
nt:version
nodes whose jcr:successors
property includes a reference to the nt:version
node that represents this version.Version
array.RepositoryException
- if an error occurs.Copyright © 2004-2005 Day Software Management AG. All Rights Reserved.