|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.clients.favorites.IdentityFavoritesStore
public class IdentityFavoritesStore
Identity Store based implementation of IFavoritesStore
Constructor Summary | |
---|---|
IdentityFavoritesStore()
|
Method Summary | |
---|---|
void |
connect(TFSTeamProjectCollection tpc,
java.lang.String filterNamespace,
com.microsoft.tfs.util.GUID identity)
Provides uniform Connection Mechanism for store instances. |
FavoriteItem[] |
getFavorites()
Gets Favorite items associated with connection state. |
com.microsoft.tfs.util.GUID |
getIdentity()
Provides the Identity associated with the stored user, which is unique within scope of the TPC. |
boolean |
isConnected()
Indicates if the Favorites Store is connected. |
void |
remove(com.microsoft.tfs.util.GUID[] items)
Removes specified favorites - Flushes immediately. |
void |
updateFavorites(FavoriteItem[] items)
Updates Favorites store with supplied items - Flushes immediately. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdentityFavoritesStore()
Method Detail |
---|
public void connect(TFSTeamProjectCollection tpc, java.lang.String filterNamespace, com.microsoft.tfs.util.GUID identity)
Initializes store, if the supplied Team Project Collection supports Identity Management Service 2, which is currently required for using Identity based Favorites.
connect
in interface IFavoritesStore
public boolean isConnected()
IFavoritesStore
isConnected
in interface IFavoritesStore
public FavoriteItem[] getFavorites()
IFavoritesStore
getFavorites
in interface IFavoritesStore
public void updateFavorites(FavoriteItem[] items)
IFavoritesStore
updateFavorites
in interface IFavoritesStore
public void remove(com.microsoft.tfs.util.GUID[] items)
IFavoritesStore
remove
in interface IFavoritesStore
public com.microsoft.tfs.util.GUID getIdentity()
IFavoritesStore
getIdentity
in interface IFavoritesStore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |