| |
|
| javax.jcr.version.Version
Version | public interface Version extends Node(Code) | | A Version object wraps an nt:version node. It
provides convenient access to version information.
|
getCreated | public Calendar getCreated() throws RepositoryException(Code) | | Returns the date this version was created. This corresponds to the value
of the jcr:created property in the nt:version
node that represents this version.
a Calendar object throws: RepositoryException - if an error occurs. |
getPredecessors | public Version[] getPredecessors() throws RepositoryException(Code) | | Returns the predecessor versions of this version. This corresponds to
returning all the nt:version nodes whose
jcr:successors property includes a reference to the
nt:version node that represents this version.
a Version array. throws: RepositoryException - if an error occurs. |
getSuccessors | public Version[] getSuccessors() throws RepositoryException(Code) | | Returns the successor versions of this version. This corresponds to
returning all the nt:version nodes referenced by the
jcr:successors multi-value property in the
nt:version node that represents this version.
a Version array. throws: RepositoryException - if an error occurs. |
|
|
|