Interface IVersionedContainer
- All Superinterfaces:
IVersion
This interface is for Container in the versioning system.
These methods provide a structure in the version control system.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addResource
(IResource resource) Add a resource to the IVersionedContainerList all IVersionedContainer in the snapshotlistResources
(int begin, int end) List all resources in the IVersionedContainervoid
removeResource
(IResource resource) Remove the resource from the IVersionedContainerMethods inherited from interface com.webmethods.portal.service.version.IVersion
getAllPrevious, getComment, getCreatedOn, getId, getName, getNext, getPrevious, getResource, getThingInfo, getTime, setComment, setName, setThingInfo
-
Method Details
-
list
List all IVersionedContainer in the snapshot- Parameters:
snapshot
- the snapshot to usebegin
- the index to start fromend
- the index to end with- Returns:
- a list of all IVersionedContainer
- Throws:
VersionException
-
listResources
List all resources in the IVersionedContainer- Parameters:
begin
- the index to start fromend
- the index to end with- Returns:
- a list of all
IResource
- Throws:
VersionException
-
addResource
Add a resource to the IVersionedContainer- Parameters:
resource
- the resource to add- Throws:
VersionException
-
removeResource
Remove the resource from the IVersionedContainer- Parameters:
resource
- the resource to remove- Throws:
VersionException
-