|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryHierarchy
A QueryHierarchy
represents the tree of stored Work Item queries and
folders that contain them.
Method Summary | |
---|---|
QueryItem |
find(com.microsoft.tfs.util.GUID id)
Scans the query hierarchy recursively for a QueryItem with an id
matching the given id. |
void |
refresh()
Reloads the query hierarchy from the server. |
void |
reset()
Resets the query hierarchy to its original data, removing any unsaved changes. |
void |
save()
Saves any changes to the query hierarchy to the server. |
boolean |
supportsFolders()
Determines whether the server supports folders in the query hierarchy. |
boolean |
supportsPermissions()
Determines whether the server supports permissions on query items. |
Methods inherited from interface com.microsoft.tfs.core.clients.workitem.queryhierarchy.QueryFolder |
---|
add, contains, containsID, containsName, getItemByID, getItemByName, getItems, newDefinition, newFolder |
Methods inherited from interface com.microsoft.tfs.core.clients.workitem.queryhierarchy.QueryItem |
---|
delete, getID, getName, getOriginalName, getOriginalOwnerDescriptor, getOriginalParent, getOwnerDescriptor, getParent, getProject, getType, isDeleted, isDirty, isNew, isPersonal, setName, setOwnerDescriptor |
Method Detail |
---|
boolean supportsFolders()
true
if the server supports folders,
false
otherwise.boolean supportsPermissions()
true
if the server supports permissions,
false
otherwise.QueryItem find(com.microsoft.tfs.util.GUID id)
QueryItem
with an id
matching the given id.
id
- The id of the QueryItem
to query for (not
null
)
QueryItem
in the hierarchy, or
null
if no QueryItem
exists in the hierarchy
with the given id.void refresh()
void reset()
void save()
InvalidQueryTextException
- if any stored query's WIQL text is not valid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |