|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VersionHistory
Version history interface. Collects the versions that make-up a version history.
Method Summary | |
---|---|
java.util.Collection |
getAllVersions()
Gets a collection containing all the versions within the version history. |
Version |
getHeadVersion()
Gets the head (current / most recent) version of the version history. |
Version |
getPredecessor(Version version)
Gets the predecessor of a specified version |
Version |
getRootVersion()
Gets the root (initial / least recent) version of the version history. |
java.util.Collection |
getSuccessors(Version version)
Gets the succeeding versions of a specified version. |
Version |
getVersion(java.lang.String versionLabel)
Gets a version with a specified version label. |
Method Detail |
---|
Version getRootVersion()
Version getHeadVersion()
java.util.Collection getAllVersions()
Versions are returned in descending create date order (most recent first).
Version getPredecessor(Version version)
version
- the version object
java.util.Collection getSuccessors(Version version)
version
- the version object
Version getVersion(java.lang.String versionLabel)
versionLabel
- the version label
VersionDoesNotExistException
- indicates requested version does not exisit
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |