|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.clients.teamstore.TeamProjectCollectionTeamStore
public class TeamProjectCollectionTeamStore
An in-memory cache of team information for a TFSTeamProjectCollection
. This service is more high-level and user-centric than TeamService
.
Do not construct a TeamProjectCollectionTeamStore
directly, use
TFSConnection.getClient(Class)
to get one.
Constructor Summary | |
---|---|
TeamProjectCollectionTeamStore(TFSTeamProjectCollection teamProjectCollection)
|
Method Summary | |
---|---|
TeamConfiguration |
getTeam(java.lang.String projectUri,
com.microsoft.tfs.util.GUID id)
Gets the corresponding TeamConfiguration object for the project. |
TeamConfiguration |
getTeam(java.lang.String projectUri,
java.lang.String teamName)
Gets the corresponding TeamConfiguration object for the project. |
TeamConfiguration[] |
getTeams(java.lang.String projectUri)
Gets all the corresponding TeamConfiguration objects for the
project that the current user belongs to. |
TeamConfiguration[] |
getTeamsForCurrentUser()
Gets all the Teams the active user is a member of for the selected project Uris (selected in the 'Initialize' or via the 'GetTeam' methods). |
void |
initializeTeamCache(ProjectInfo[] infos)
Initializes the cache with the TeamConfiguration for the
specified set of projects. |
void |
initializeTeamCache(java.lang.String[] projectUris)
Initializes the cache with the TeamConfiguration for the
specified set of projects. |
boolean |
supportsTeam()
Property used to determine if the server we are talking to supports the required services. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TeamProjectCollectionTeamStore(TFSTeamProjectCollection teamProjectCollection)
Method Detail |
---|
public boolean supportsTeam()
public void initializeTeamCache(ProjectInfo[] infos)
TeamConfiguration
for the
specified set of projects.
public void initializeTeamCache(java.lang.String[] projectUris)
TeamConfiguration
for the
specified set of projects.
public TeamConfiguration[] getTeamsForCurrentUser()
public TeamConfiguration getTeam(java.lang.String projectUri, java.lang.String teamName)
TeamConfiguration
object for the project.
projectUri
- The team project UriteamName
- The team namepublic TeamConfiguration getTeam(java.lang.String projectUri, com.microsoft.tfs.util.GUID id)
TeamConfiguration
object for the project.
projectUri
- The team project Uriid
- The TeamFoundationIdentity id for the teampublic TeamConfiguration[] getTeams(java.lang.String projectUri)
TeamConfiguration
objects for the
project that the current user belongs to.
projectUri
- The team project Uri
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |