Interface IBranch
public interface IBranch
This interface is implemented by the focal point of all child objects.
The IBranch will also be the main entry point for all content in the branch.
-
Method Summary
Modifier and TypeMethodDescriptiongetAllVersionsFor
(IResource resource, int begin, int end) Get the list of all versions for a resource in a snapshotGet the latest versuined snapshot for the branchGet the description for the branchgetId()
Get the id for a branchgetName()
Get the name for the branchGet the sandbox for the branchgetSnapshots
(int begin, int end) Get a list of all of the snapshots for a rangegetTime()
Get the time that the branch was created
-
Method Details
-
getId
Get the id for a branch- Returns:
- String the id of the branch
- Throws:
VersionException
-
getName
Get the name for the branch- Parameters:
String
- the name of the branch- Throws:
VersionException
-
getDescription
Get the description for the branch- Returns:
- String the description of the branch
- Throws:
VersionException
-
getTime
Get the time that the branch was created- Returns:
- Time of the creation of the branch
- Throws:
VersionException
-
getDefaultSnapshot
Get the latest versuined snapshot for the branch- Returns:
- ISnapshot the default snapshot for the branch
- Throws:
VersionException
-
getSandbox
Get the sandbox for the branch- Returns:
- ISandbox the sandbox for the branch
- Throws:
VersionException
-
getSnapshots
Get a list of all of the snapshots for a range- Parameters:
begin
- the starting versionend
- the starting version- Returns:
- List a list of snapshot objects
- Throws:
VersionException
-
getAllVersionsFor
Get the list of all versions for a resource in a snapshot- Parameters:
resource
- the resource for a branchbegin
- the starting versionend
- the starting version- Returns:
- List a list of version objects
- Throws:
VersionException
-