|
Oracle Beehive Java Content Repository Java API Reference Release 1 (1.5) E14840-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OracleVersion
A Version object wraps an nt:version node. It provides convenient access to version information.
| Method Summary | |
|---|---|
javax.jcr.version.VersionHistory |
getContainingHistory()Returns the VersionHistory that contains this Version. |
java.util.Calendar |
getCreated()Returns the date this version was created. |
javax.jcr.version.Version[] |
getPredecessors()Returns the predecessor versions of this version. |
javax.jcr.version.Version[] |
getSuccessors()Returns the successor versions of this version. |
| 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 |
| Method Detail |
|---|
javax.jcr.version.VersionHistory getContainingHistory()
throws javax.jcr.RepositoryException
VersionHistory that contains this Version.getContainingHistory in interface javax.jcr.version.VersionVersionHistory that contains this Version.javax.jcr.RepositoryException - if an error occurs.
java.util.Calendar getCreated()
throws javax.jcr.RepositoryException
jcr:created property in the nt:version node that represents this version.getCreated in interface javax.jcr.version.VersionCalendar objectjavax.jcr.RepositoryException - if an error occurs.
javax.jcr.version.Version[] getSuccessors()
throws javax.jcr.RepositoryException
nt:version nodes referenced by the jcr:successors multi-value property in the nt:version node that represents this version.getSuccessors in interface javax.jcr.version.VersionVersion array.javax.jcr.RepositoryException - if an error occurs.
javax.jcr.version.Version[] getPredecessors()
throws javax.jcr.RepositoryException
nt:version nodes whose jcr:successors property includes a reference to the nt:version node that represents this version.getPredecessors in interface javax.jcr.version.VersionVersion array.javax.jcr.RepositoryException - if an error occurs.
|
Oracle Beehive Java Content Repository Java API Reference Release 1 (1.5) E14840-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||