public class RecycleBin extends View
View.getRecycleBin()
,
ViewMember.isDeleted()
View.ScmBranch, View.Type, View.ViewType, View.WebCacheView
LiveObject.WebCacheLiveObject
TypedResource.BranchState
Modifier and Type | Method and Description |
---|---|
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.
|
addExcludedGroup, addExcludedUser, addFolderListener, addFolderUpdateListener, addItemListener, addItemListener, addItemUpdateListener, addLabelListener, addViewListener, addViewMemberListener, addViewMemberListener, addViewMemberUpdateListener, cloneRevisionLabel, cloneViewLabel, copy, createCheckinManager, createCheckinManager, createCheckoutManager, createCheckoutManager, createChildViewShareAllItems, createChildViewShareDefaultItems, createChildViewShareNoItems, createChildViewShareTheseItems, createLightWeightWorkView, createLightWeightWorkViewWithPulsePullRequests, createRevisionLabel, createViewLabel, discard, discardActiveLabels, discardFolders, discardLabels, equals, fetchAllLabels, fetchAllLabels, findDerivedView, findFolder, findItem, findItem, findLabel, findLabel, findViewMember, getActiveLabels, getAlternatePath, getBaseConfiguration, getChangePackages, getCloneTime, getConfiguration, getCreatedTime, getDefaultPath, getDerivedViews, getDescription, getDisembodiedItem, getDisembodiedViewMember, getEndDate, getExcludedGroups, getExcludedUsers, getFileStatusManager, getFullName, getHighestChangePackageID, getID, getLabels, getName, getNewNotificationItems, getParentContainer, getParentView, getPath, getPresentationID, getProject, getPromotionModel, getProperties, getRecycleBin, getRights, getRights, getRootFolder, getServer, getStartDate, getStatusMethodOverride, getTraces, getValue, getViewID, getViewMembers, getViewType, getWorkflow, getWorkspaceModifiedTime, hashCode, hasNewNotificationItems, hasPermissions, hasPermissions, isAccessible, isBranch, isBranchAll, isBranchNone, isBranchOnShare, isDeleted, isEqualTo, isLightWeightWorkView, isNonDerived, isReadOnly, isReference, isRefreshActiveLabelsRequired, isRefreshLabelsRequired, isRefreshRequired, isRoot, isVCMCodeReviewRequired, isVCMCommitEnforced, populate, refresh, refreshActiveLabels, refreshFolders, refreshLabels, refreshPromotionModel, remove, removeExcludedGroup, removeExcludedUser, removeFolderListener, removeFolderUpdateListener, removeItemListener, removeItemUpdateListener, removeLabelListener, removeViewListener, removeViewMemberListener, removeViewMemberUpdateListener, removeWorkflow, resolveLinkEndpoint, setAlternatePath, setBranchOnShare, setCloneTime, setDefaultPath, setDescription, setEndDate, setName, setRights, setRights, setStartDate, setStatusMethodOverride, setValue, setVCMCodeReviewRequired, setVCMCommitEnforced, setViewType, supportsPullRequests, toString, update
getCreatedBy, toStarTeamURL
addToIntegerArray, getBooleanValue, getByteArrayValue, getCachedProperties, getContentValue, getDateTimeValue, getDateValue, getDisplayName, getDoubleValue, getEnumDisplayName, getEnumeratedValues, getIntegerArrayValue, getIntegerValue, getLinkValue, getLongValue, getObjectID, getPossibleValues, getStringValue, getTimeSpanValue, getType, hasCachedProperties, hasValue, isDirty, isDirty, isNew, removeFromIntegerArray, setBooleanValue, setByteArrayValue, setContentValue, setDateTimeValue, setDateValue, setDoubleValue, setEnumeratedValue, setEnumeratedValues, setIntegerArrayValue, setIntegerValue, setLinkValue, setLongValue, setStringValue, setTimeSpanValue
getType
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 View
View.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 View
RecycleBin.setIncludeDeletedFolders(boolean)
,
RecycleBin.setDeletedAsOf(com.starteam.util.DateTime)
,
View.isRefreshFoldersRequired()
StarTeam SDK 17.0, Build 34
Copyright © 2019 Micro Focus or one of its affiliates. All rights reserved.