Modifier and Type | Method and Description |
---|---|
void |
addResource(IResource resource)
Add a resource to the IVersionedContainer
|
List<IVersionedContainer> |
list(ISnapshot snapshot,
int begin,
int end)
List all IVersionedContainer in the snapshot
|
List<IResource> |
listResources(int begin,
int end)
List all resources in the IVersionedContainer
|
void |
removeResource(IResource resource)
Remove the resource from the IVersionedContainer
|
getAllPrevious, getComment, getCreatedOn, getId, getName, getNext, getPrevious, getResource, getThingInfo, getTime, setComment, setName, setThingInfo
List<IVersionedContainer> list(ISnapshot snapshot, int begin, int end) throws VersionException
snapshot
- the snapshot to usebegin
- the index to start fromend
- the index to end withVersionException
List<IResource> listResources(int begin, int end) throws VersionException
begin
- the index to start fromend
- the index to end withIResource
VersionException
void addResource(IResource resource) throws VersionException
resource
- the resource to addVersionException
void removeResource(IResource resource) throws VersionException
resource
- the resource to removeVersionException