|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.TypedResource
com.starteam.LiveObject
com.starteam.View
com.starteam.RecycleBin
public class RecycleBin
Provides access to the items that have been deleted from a view. The RecycleBin has properties that may be used to control which items are included. For example, IncludeDeletedFolders determines whether or not deleted folders are included in the folder tree. IncludeActiveItems determines whether or not active items are included along with deleted ones. Note that the recycle bin for a View with a rolled back ViewConfiguration (that is, a configuration other than the tip) reflects the state of deleted items as of the configuration time. If an item was active at the configuration time and deleted afterwards, it does not appear deleted in the recycle bin.
View.getRecycleBin(),
ViewMember.isDeleted()| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.starteam.View |
|---|
View.Type, View.ViewType, View.WebCacheView |
| Nested classes/interfaces inherited from class com.starteam.LiveObject |
|---|
LiveObject.WebCacheLiveObject |
| Nested classes/interfaces inherited from class com.starteam.TypedResource |
|---|
TypedResource.BranchState |
| Method Summary | |
|---|---|
void |
close()
Frees all cached resources associated with this view, and closes the associated view session. |
DateTime |
getDeletedAsOf()
Used to limit deleted folders and items to those that were after a given time. |
boolean |
getIncludeActiveItems()
Determines whether or not the resulting folders may contain active items. |
boolean |
getIncludeDeletedFolders()
Determines whether or not deleted child folders will be inserted into the copy of the folder tree. |
boolean |
getIncludeDeletedItems()
Determines whether or not the resulting folders may contain deleted items. |
boolean |
isRefreshFoldersRequired()
Returns true if a refreshFolders() operation might have resulted in Folder information being updated; returns false if and only if it is known that the folders had not been changed since the last refresh. |
void |
setDeletedAsOf(DateTime deletedAsOf)
Used to limit deleted folders and items to those that were after a given time. |
void |
setIncludeActiveItems(boolean isIncluded)
Sets whether or not the resulting folders may contain active items. |
void |
setIncludeDeletedFolders(boolean isIncluded)
Sets whether or not deleted folders will be inserted into the copy of the folder tree. |
void |
setIncludeDeletedItems(boolean isIncluded)
Sets whether or not the resulting folders may contain deleted items. |
| Methods inherited from class com.starteam.LiveObject |
|---|
getCreatedBy, toStarTeamURL |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.starteam.ISecurable |
|---|
getType |
| Method Detail |
|---|
public void close()
Many view-related resources, such as the folder tree, item lists and so on, can be discarded separately. Others, however, are freed only by an explicit call to close(), or to Server.disconnect().
After a view is closed, the view object is still useful. The view session is automatically re-opened when needed, and data is re-fetched from the server on demand.
close in class ViewView.discard(),
View.discardFolders(),
View.discardLabels(),
Folder.discardItems(com.starteam.Item.Type, int),
Server.disconnect()public boolean getIncludeDeletedFolders()
public void setIncludeDeletedFolders(boolean isIncluded)
isIncluded - true to include deleted folders in the folder tree; false to
include only active folders. Default value is true.public boolean getIncludeDeletedItems()
public void setIncludeDeletedItems(boolean isIncluded)
isIncluded - if the resulting folders may contain deleted items; false if
they may contain only active items. Default value is true. At
least one of IncludeDeletedItems and IncludeActiveItems is
always set.public boolean getIncludeActiveItems()
public void setIncludeActiveItems(boolean isIncluded)
isIncluded - if the resulting folders may contain active items; false if
they may contain only deleted items. Default value is false.
At least one of IncludeDeletedItems and IncludeActiveItems is
always set.public DateTime getDeletedAsOf()
public void setDeletedAsOf(DateTime deletedAsOf)
deletedAsOf - The deletion time. Only folders and/or item deleted after this
time are included. Default value is null, indicating that all
deleted folders and/or items are included.public boolean isRefreshFoldersRequired()
isRefreshFoldersRequired in class ViewRecycleBin.setIncludeDeletedFolders(boolean),
RecycleBin.setDeletedAsOf(com.starteam.util.DateTime),
View.isRefreshFoldersRequired()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||