|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.LiveObject.WebCacheLiveObject
com.starteam.TrackedObject.WebCacheTrackedObject
com.starteam.VersionedObject.WebCacheVersionedObject
com.starteam.ViewMember.WebCacheViewMember
com.starteam.Item.WebCacheItem
com.starteam.Folder.WebCacheFolder
public static class Folder.WebCacheFolder
Item accessor for cached SDK Items contained objects are obtained from the artifact cache
| Method Summary | |
|---|---|
static Folder.WebCacheFolder |
create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent)
Creates a Folder on the server. |
Folder.WebCacheFolder |
findSubFolder(java.lang.String name)
Find an immediate sub folder with the given name |
java.lang.String |
getDescription()
Returns the description of this folder. |
java.lang.String |
getEffectiveExcludeList()
Returns the fully resolved exclude list. |
Folder.ExcludeFlags |
getExcludeFlags()
Returns the ExcludeFlags representing the method by which
the exclude list is determined. |
java.lang.String |
getExcludeList()
Returns the portion of the exclude list that this folder contributes. |
java.lang.String |
getFolderHierarchy()
Gets the fully-qualified name of this folder. |
Item.WebCacheItem[] |
getItems(Item.Type.WebCacheItemType typ,
Filter.WebCacheFilter fltr,
boolean dscndnts)
Returns a sorted set of ViewMembers visible to the specified user, from the set of available view members for the type (specified by the filter) sorted, grouped and constrained by the provided filter criteria The returned ViewMembers are pure 'data objects' without a Server Connection No server calls can be made through these objects. |
java.lang.String |
getName()
Returns the name of the folder. |
Folder.WebCacheFolder |
getParentFolder()
Returns the folder that contains this folder, or null if
this is the root folder. |
ACE.WebCacheACE[] |
getRights(Type.WebCacheType typ)
Query this folder for the access rights assigned to the specified type |
TreeItem.WebCacheTreeItem[] |
getRootTreeItems(TreeItem.Type.WebCacheTreeItemType typ,
Filter.WebCacheFilter fltr)
Returns a set of root TreeItems visible to the specified user, from the set of available tree items for the type within the specified folder Root Tree Items are those tree items who have no parent tree item. |
Folder.WebCacheFolder[] |
getSubFolders(Filter.WebCacheFilter fltr)
given a Folder from the ArtifactCache, return all those of its children visible to the specified user. |
void |
setDescription(java.lang.String description)
Sets this folder's description. |
void |
setExcludeFlags(Folder.ExcludeFlags flags)
Sets the exclude flag for this folder. |
void |
setExcludeList(java.lang.String excludeList)
Sets this folder's local exclude list. |
void |
setName(java.lang.String name)
Sets the name of this folder. |
void |
setRights(Type.WebCacheType typ,
ACE.WebCacheACE[] aces)
Assign the specified access rights to this folder contained type |
| Methods inherited from class com.starteam.Item.WebCacheItem |
|---|
create, getLabels, getLinks, moveTo, moveTo |
| Methods inherited from class com.starteam.ViewMember.WebCacheViewMember |
|---|
getAttachments, getComment, getDisplayValue, getDotNotation, getExternalID, getExternalURL, getHistory, getLocker, getPresentationID, getRights, getShareTree, getTraces, getView, isDeleted, isFloating, isPinned, isUnread, lock, lock, modifyReadStatus, pinTo, setAttachments, setExternalID, setExternalURL, setRights, unlock, unpin, updateRevisionComment |
| Methods inherited from class com.starteam.VersionedObject.WebCacheVersionedObject |
|---|
getRevisionNumber, getRootObjectID, getViewVersion, isFromHistory |
| Methods inherited from class com.starteam.TrackedObject.WebCacheTrackedObject |
|---|
getModifiedBy, getModifiedTime |
| Methods inherited from class com.starteam.LiveObject.WebCacheLiveObject |
|---|
addTo, equals, getContext, getCreatedBy, getCreatedTime, getDisplayName, getID, getObjectID, getServer, getType, getValue, getValue, hashCode, hasValue, isDirty, isNew, refresh, remove, removeFrom, setValue, setValue, toStarTeamURL, update |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Folder.WebCacheFolder create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent)
Folder on the server.
This folder may be saved by assigning the various properties and then calling
update() on the WebCacheFolder object, or it may be added to a
WebCacheViewMemberCollection, which is then saved in a transaacted context.
cntxt - the ArtifactCacheManager User Session Contextparent - the parent folder in which this new folder will be created.
The parent folder should be from the artifact cache
Folder.WebCacheFolder, wrapping a new Folder
public void setRights(Type.WebCacheType typ,
ACE.WebCacheACE[] aces)
typ - the type to assign rights foraces - the rightspublic ACE.WebCacheACE[] getRights(Type.WebCacheType typ)
typ - the contained type
public java.lang.String getFolderHierarchy()
public java.lang.String getName()
Folder.Type.PropertyCollection.NAME,
LiveObject.Type.NamePropertypublic java.lang.String getEffectiveExcludeList()
Folder.WebCacheFolder.getExcludeFlags()public void setName(java.lang.String name)
name - the new folder name.Folder.Type.PropertyCollection.NAME,
LiveObject.Type.NamePropertypublic java.lang.String getDescription()
LiveObject.Type.DescriptionProperty,
Folder.Type.PropertyCollection.DESCRIPTIONpublic void setDescription(java.lang.String description)
description - the new description for this folder.LiveObject.Type.DescriptionProperty,
Folder.Type.PropertyCollection.DESCRIPTIONpublic Folder.WebCacheFolder[] getSubFolders(Filter.WebCacheFilter fltr)
fltr - the Filter to be applied for sorting or NULL.
public Folder.WebCacheFolder findSubFolder(java.lang.String name)
name - the name of the subfolder
public Folder.ExcludeFlags getExcludeFlags()
ExcludeFlags representing the method by which
the exclude list is determined.
Folder.ExcludeFlags.NONE,
Folder.ExcludeFlags.LOCAL,
Folder.ExcludeFlags.INHERITpublic void setExcludeFlags(Folder.ExcludeFlags flags)
flags - the exclude type to be used for this folder's exclude listFolder.ExcludeFlags.NONE,
Folder.ExcludeFlags.LOCAL,
Folder.ExcludeFlags.INHERITpublic java.lang.String getExcludeList()
Folder.WebCacheFolder.getEffectiveExcludeList()public void setExcludeList(java.lang.String excludeList)
excludeList - this folder's local exclude listFolder.WebCacheFolder.getExcludeList(),
Folder.WebCacheFolder.getEffectiveExcludeList(),
Folder.WebCacheFolder.getExcludeFlags()public Folder.WebCacheFolder getParentFolder()
null if
this is the root folder.
getParentFolder in class Item.WebCacheItemDisembodiedException - if the Folder is disembodiedViewMember.isDisembodied()
public TreeItem.WebCacheTreeItem[] getRootTreeItems(TreeItem.Type.WebCacheTreeItemType typ,
Filter.WebCacheFilter fltr)
typ - The type of artifact to be retrievedfltr - the Filter to be applied for sorting or NULL.
ArtifactCache.cacheViewMembers(com.starteam.ViewMember.Type.WebCacheViewMemberType[])
public Item.WebCacheItem[] getItems(Item.Type.WebCacheItemType typ,
Filter.WebCacheFilter fltr,
boolean dscndnts)
typ - The type of artifact to be retrieved, may NOT be NULLfltr - The filter which defines the constraints to be applied,
including the query to be evaluated, sorting & grouping
May or may not be NULL, If NULL, the returned results are not sorted.
If fltr is not NULL, then fltr MUST be of the same type as typdscndnts - true if descendant folders should be included
ArtifactCache.cacheViewMembers(com.starteam.ViewMember.Type.WebCacheViewMemberType[])
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||