|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.starbase.starteam.CacheRef
|
+--com.starbase.starteam.NamedCacheRef
|
+--com.starbase.starteam.TypedResource
|
+--com.starbase.starteam.SimpleTypedResource
|
+--com.starbase.starteam.Item
|
+--com.starbase.starteam.TreeItem
A type of item with children.
| Nested Class Summary |
| Nested classes inherited from class com.starbase.starteam.Item |
Item.LockType |
| Method Summary | |
TreeItem |
createChild()
Creates a new child item. |
int |
getParentID()
Gets the ObjectID of this item's parent. |
void |
move(Folder toFolder)
Deprecated. Use moveTo(). Note that move() does not work correctly for TreeItems, because it does not move child items or update the parent object IDs correctly. |
void |
moveTo(Folder toFolder)
Moves this item to the specified folder. |
void |
moveTo(TreeItem parent)
Moves this item to the specified parent. |
void |
remove()
Removes this item from its current folder. |
Item |
shareTo(Folder toFolder)
Shares this item to a new folder. |
| Methods inherited from class com.starbase.starteam.TypedResource |
addToIntArray, removeFromIntArray |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public TreeItem createChild()
DisembodiedItemException - If this is a disembodied item.public int getParentID()
public void move(Folder toFolder)
move in class ItemtoFolder - The new folder to which this item is to be moved.
DisembodiedItemException - if the Item is disembodiedItem.isDisembodied()public void moveTo(Folder toFolder)
moveTo in class ItemtoFolder - The new folder to which this item is to be moved.
DisembodiedItemException - if the Item is disembodiedItem.isDisembodied()public void moveTo(TreeItem parent)
parent - The new parent to which this item is to be moved.
DisembodiedItemException - if the Item is disembodiedItem.isDisembodied()public Item shareTo(Folder toFolder)
If this is a deleted item, shareTo() will create a new item with the same properties, but in the state it was in prior to being deleted. This provides a way to recover content from the recycle bin.
shareTo in class ItemtoFolder - The new parent folder.
DisembodiedItemException - if the Folder is disembodied.Item.isDisembodied(),
Item.moveTo(com.starbase.starteam.Folder),
Item.reverseShareTo(com.starbase.starteam.Folder),
Item.isDeleted(),
RecycleBinpublic void remove()
remove in class Item
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||