|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xiruss.xirussrepository.client.RepositoryObjectProxy
org.xiruss.xirussrepository.client.BranchProxy
public class BranchProxy
| Field Summary |
|---|
| Fields inherited from class org.xiruss.xirussrepository.client.RepositoryObjectProxy |
|---|
cHelper, logger, objectTypeCode, pathToMe |
| Constructor Summary | |
|---|---|
BranchProxy(XirussHttpApiClientHelper helper,
org.w3c.dom.Element dataSource)
|
|
| 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. |
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 class org.xiruss.xirussrepository.client.RepositoryObjectProxy |
|---|
accept, compareTo, doPost, doStringReturnPost, equals, getBooleanValue, getId, getName, getOriginalClassName, getPathToMe, getProperties, getProperty, getPropertyNames, getRepository, getStringReturnValue, getStringSetReturnValue, getType, hasProperty, initialize, initialize, isNull, loadRepositoryObjectData, setId, setName, setProperty, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xiruss.snapcm.api.Branch |
|---|
getRepository |
| Methods inherited from interface org.xiruss.snapcm.api.RepositoryObject |
|---|
accept, compareTo, getId, getName, getProperties, getProperty, getPropertyNames, getType, hasProperty, initialize, isNull, setId, setName, setProperty, toString |
| Constructor Detail |
|---|
public BranchProxy(XirussHttpApiClientHelper helper,
org.w3c.dom.Element dataSource)
throws XirussRepositoryException
XirussRepositoryException| Method Detail |
|---|
public SnapshotMap getSnapshots()
Branch
getSnapshots in interface Branch
public SnapshotMap getSnapshots(long startIndex,
long count)
Branch
getSnapshots in interface Branch
public Snapshot commitSnapshot(MutableSnapshot snapshot)
throws VersionCommitException,
SnapshotException
Branch
commitSnapshot in interface BranchSnapshotException
VersionCommitExceptionpublic Snapshot getSnapshot(java.lang.String objId)
Branch
getSnapshot in interface BranchobjId - Object ID of the snapshot to getpublic Snapshot getInitialSnapshot()
Branch
getInitialSnapshot in interface Branchpublic Snapshot getLatestSnapshot()
Branch
getLatestSnapshot in interface Branchpublic long getSnapshotCount()
Branch
getSnapshotCount in interface Branchpublic java.util.Iterator getSnapshotIterator()
Branch
getSnapshotIterator in interface Branchpublic void addMutableSnapshot(MutableSnapshot snapshot)
Branch
addMutableSnapshot in interface Branchpublic MutableSnapshot getMutableSnapshot(java.lang.String objId)
Branch
getMutableSnapshot in interface Branchpublic int getMutableSnapshotCount()
Branch
getMutableSnapshotCount in interface Branchpublic SnapshotMap getMutableSnapshots()
Branch
getMutableSnapshots in interface Branchpublic java.util.Iterator getMutableSnapshotIterator()
Branch
getMutableSnapshotIterator in interface Branch
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||