com.microsoft.tfs.core.clients.workitem.query
Interface StoredQueryCollection


public interface StoredQueryCollection

Represents the stored queries collection from a project or work item store.

Since:
TEE-SDK-10.1

Method Summary
 void add(StoredQuery storedQuery)
           
 StoredQuery getByGUID(com.microsoft.tfs.util.GUID guid)
           
 StoredQuery[] getQueriesByScope(QueryScope scope)
           
 StoredQuery getQuery(int index)
           
 StoredQuery getQueryByNameAndScope(java.lang.String name, QueryScope scope)
           
 void refresh()
           
 void remove(StoredQuery storedQuery)
           
 int size()
           
 

Method Detail

add

void add(StoredQuery storedQuery)
         throws InvalidQueryTextException
Throws:
InvalidQueryTextException

getQuery

StoredQuery getQuery(int index)

getByGUID

StoredQuery getByGUID(com.microsoft.tfs.util.GUID guid)

refresh

void refresh()

remove

void remove(StoredQuery storedQuery)

size

int size()

getQueryByNameAndScope

StoredQuery getQueryByNameAndScope(java.lang.String name,
                                   QueryScope scope)

getQueriesByScope

StoredQuery[] getQueriesByScope(QueryScope scope)


© 2015 Microsoft. All rights reserved.