| |
|
| java.lang.Object org.garret.perst.Persistent org.garret.rdf.VersionHistory
VersionHistory | public class VersionHistory extends Persistent (Code) | | Class representing object (collection of its verions)
|
versions | public Link versions(Code) | | Vector of object versions (the latest version is the last element of the vector)
|
getLatest | public Thing getLatest()(Code) | | Get latest version in version history
|
getLatestBefore | public Thing getLatestBefore(Date timestamp)(Code) | | Get latest version in version history prior to the specified timestamp
Parameters: timestamp - timestamp The latest version in version history prior to the specified timestamp or null if no such version is found |
getOldestAfter | public Thing getOldestAfter(Date timestamp)(Code) | | Get oldest version in version history released after the specified timestamp
Parameters: timestamp - timestamp The oldest version in version history released after the specified timestamp |
getVersion | public Thing getVersion(SearchKind kind, Date timestamp)(Code) | | Get version correponding to the specified search kind and timestamp
Parameters: kind - One of SearchKind.LAtestVersion, SearchKind.LatestBefore and SearchKind.OldestAfter Parameters: timestamp - Version natching time criteria or null if not found |
|
|
|