|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.ViewMemberCollection.WebCacheViewMemberCollection
public static class ViewMemberCollection.WebCacheViewMemberCollection
A collection to perform transacted operations on web cache view members. Add web cache view members in various states for creation, update, removal, etc in the repository. Call save to actually perform the operations in explicit (or implicit) transactions, as the case may be.
| Constructor Summary | |
|---|---|
ViewMemberCollection.WebCacheViewMemberCollection(ArtifactCacheManager.Context c)
Constructs this wrapper collection. |
|
| Method Summary | |
|---|---|
ViewMemberCollection.WebCacheViewMemberCollection |
create(ViewMember.WebCacheViewMember vm)
Set up a WebCacheViewMember to be created |
ViewMember.WebCacheViewMember |
find(int vmid)
return the ViewMember with this id or NULL The Viewmember will have had to have been placed in this collection for it to be found subsequently |
ViewMemberCollection.WebCacheViewMemberCollection |
lock(ViewMember.WebCacheViewMember vm)
Set up a WebCacheViewMember to be exclusively locked and break anyone else's lock if necessary |
ViewMemberCollection.WebCacheViewMemberCollection |
move(Item.WebCacheItem itm,
Folder.WebCacheFolder destination)
Set up a WebCacheItem to be moved to the specified destination |
ViewMemberCollection.WebCacheViewMemberCollection |
move(Item.WebCacheItem itm,
View.WebCacheView destination)
Set up a WebCacheItem to be moved to the specified destination |
ViewMemberCollection.WebCacheViewMemberCollection |
remove(ViewMember.WebCacheViewMember vm)
Set up a WebCacheViewMember to be removed |
ViewMember.WebCacheViewMember[] |
save()
Save the entire set of underlying web cache view members in the collection to the repository All operations are performed in a transaction, i.e. |
int |
size()
return the size of this collection |
ViewMemberCollection.WebCacheViewMemberCollection |
unlock(ViewMember.WebCacheViewMember vm)
Set up a WebCacheViewMember to be unlocked |
ViewMemberCollection.WebCacheViewMemberCollection |
update(ViewMember.WebCacheViewMember vm)
Set up a WebCacheViewMember to be updated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewMemberCollection.WebCacheViewMemberCollection(ArtifactCacheManager.Context c)
c - The ArtifactCacheManager.Context pointing at the underlying resources| Method Detail |
|---|
public int size()
public ViewMember.WebCacheViewMember find(int vmid)
vmid - the id
public ViewMemberCollection.WebCacheViewMemberCollection remove(ViewMember.WebCacheViewMember vm)
vm - the view member to remove
ViewMemberCollection.WebCacheViewMemberCollection.save()
public ViewMemberCollection.WebCacheViewMemberCollection move(Item.WebCacheItem itm,
View.WebCacheView destination)
itm - the item to movedestination - the destination view
ViewMemberCollection.WebCacheViewMemberCollection.save()
public ViewMemberCollection.WebCacheViewMemberCollection move(Item.WebCacheItem itm,
Folder.WebCacheFolder destination)
itm - the item to movedestination - the destination folder
ViewMemberCollection.WebCacheViewMemberCollection.save()public ViewMemberCollection.WebCacheViewMemberCollection update(ViewMember.WebCacheViewMember vm)
vm - the view member to update
ViewMemberCollection.WebCacheViewMemberCollection.save()public ViewMemberCollection.WebCacheViewMemberCollection create(ViewMember.WebCacheViewMember vm)
vm - the view member to create
public ViewMemberCollection.WebCacheViewMemberCollection lock(ViewMember.WebCacheViewMember vm)
vm - the view member to lock
ViewMemberCollection.WebCacheViewMemberCollection.save()public ViewMemberCollection.WebCacheViewMemberCollection unlock(ViewMember.WebCacheViewMember vm)
vm - the view member to unlock
public ViewMember.WebCacheViewMember[] save()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||