|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Branch
Method Summary | |
---|---|
void |
addMutableSnapshot(MutableSnapshot snapshot)
Adds a mutable snapshot to the branch. |
Snapshot |
commitSnapshot(MutableSnapshot snapshot)
Commits a mutable snapshot to the branch and returns the resulting immutable snapshot. |
Snapshot |
getInitialSnapshot()
Returns the first immutable snapshot on the branch. |
Snapshot |
getLatestSnapshot()
Returns the last immutable snapshot on the branch. |
MutableSnapshot |
getMutableSnapshot(java.lang.String objId)
Returns a mutable snapshot with the specified ID, if it exists. |
int |
getMutableSnapshotCount()
Returns the number of mutable snapshots held by the branch. |
java.util.Iterator |
getMutableSnapshotIterator()
Returns an iterator over the mutable sandboxes held by the branch. |
SnapshotMap |
getMutableSnapshots()
Returns a map of the mutable snapshots on the branch. |
Repository |
getRepository()
|
Snapshot |
getSnapshot(java.lang.String objId)
Returns the specified snapshot if it is a snapshot on this branch. |
long |
getSnapshotCount()
Returns the number of immutable snapshots on the branch. |
java.util.Iterator |
getSnapshotIterator()
Returns an iterator over the immutable snapshots on the branch. |
SnapshotMap |
getSnapshots()
Get a map of all the immutable snapshots on the branch, indexed by ID. |
SnapshotMap |
getSnapshots(long startIndex,
long count)
Get a map of all the immutable snapshots on the branch, indexed by ID. |
Methods inherited from interface org.xiruss.snapcm.api.RepositoryObject |
---|
accept, compareTo, getId, getName, getProperties, getProperty, getPropertyNames, getType, hasProperty, initialize, isNull, setId, setName, setProperty, toString |
Method Detail |
---|
SnapshotMap getSnapshots()
SnapshotMap getSnapshots(long startIndex, long count)
Repository getRepository()
getRepository
in interface RepositoryObject
Snapshot commitSnapshot(MutableSnapshot snapshot) throws VersionCommitException, SnapshotException
SnapshotException
VersionCommitException
Snapshot getInitialSnapshot()
Snapshot getLatestSnapshot()
long getSnapshotCount()
java.util.Iterator getSnapshotIterator()
void addMutableSnapshot(MutableSnapshot snapshot)
snapshot
- MutableSnapshot getMutableSnapshot(java.lang.String objId)
objId
-
int getMutableSnapshotCount()
SnapshotMap getMutableSnapshots()
java.util.Iterator getMutableSnapshotIterator()
Snapshot getSnapshot(java.lang.String objId)
objId
- Object ID of the snapshot to get
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |