|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
com.microsoft.tfs.core.clients.webservices.TeamFoundationIdentity
public class TeamFoundationIdentity
Wrapper class for the _TeamFoundationIdentity
proxy object.
See IdentityAttributeTags
for property names for use with
getAttribute(String, String)
and
setAttribute(String, String)
.
IdentityAttributeTags
Field Summary |
---|
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
---|
webServiceObject |
Constructor Summary | |
---|---|
TeamFoundationIdentity(ms.ws._TeamFoundationIdentity webServiceObject)
Wrapper constructor |
|
TeamFoundationIdentity(IdentityDescriptor descriptor,
java.lang.String displayName,
boolean isActive,
IdentityDescriptor[] members,
IdentityDescriptor[] memberOf)
|
Method Summary | |
---|---|
java.lang.String |
getAttribute(java.lang.String name,
java.lang.String defaultValue)
Deprecated. use getProperty(String) |
IdentityDescriptor |
getDescriptor()
|
java.lang.String |
getDisplayName()
|
IdentityDescriptor[] |
getMemberOf()
|
IdentityDescriptor[] |
getMembers()
|
java.util.Set<java.lang.String> |
getModifiedPropertiesLog(IdentityPropertyScope propertyScope)
Modified properties, to be processed on update. |
java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.Object>> |
getProperties()
Property bag. |
java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.Object>> |
getProperties(IdentityPropertyScope propertyScope)
Property bag. |
java.lang.Object |
getProperty(IdentityPropertyScope propertyScope,
java.lang.String name)
Property accessor. |
java.lang.Object |
getProperty(java.lang.String name)
Property accessor. |
com.microsoft.tfs.util.GUID |
getTeamFoundationID()
|
java.lang.String |
getUniqueName()
A human-readable string that can be used to reference the identity. |
int |
getUniqueUserID()
|
ms.ws._TeamFoundationIdentity |
getWebServiceObject()
Returns the wrapped proxy object. |
boolean |
isActive()
|
boolean |
isContainer()
|
void |
removeProperty(IdentityPropertyScope propertyScope,
java.lang.String name)
Remove property, if it exists. |
void |
removeProperty(java.lang.String name)
Remove property, if it exists. |
void |
resetModifiedProperties()
|
void |
setAttribute(java.lang.String name,
java.lang.String value)
Deprecated. use setProperty(String, Object) |
void |
setDisplayName(java.lang.String displayName)
|
void |
setProperty(IdentityPropertyScope propertyScope,
java.lang.String name,
java.lang.Object value)
Sets a property, will overwrite if already set. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets a property, will overwrite if already set. |
boolean |
tryGetProperty(IdentityPropertyScope propertyScope,
java.lang.String name,
java.util.concurrent.atomic.AtomicReference<java.lang.Object> value)
Property accessor. |
boolean |
tryGetProperty(java.lang.String name,
java.util.concurrent.atomic.AtomicReference<java.lang.Object> value)
Property accessor. |
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TeamFoundationIdentity(IdentityDescriptor descriptor, java.lang.String displayName, boolean isActive, IdentityDescriptor[] members, IdentityDescriptor[] memberOf)
public TeamFoundationIdentity(ms.ws._TeamFoundationIdentity webServiceObject)
Method Detail |
---|
public ms.ws._TeamFoundationIdentity getWebServiceObject()
public boolean tryGetProperty(java.lang.String name, java.util.concurrent.atomic.AtomicReference<java.lang.Object> value)
public boolean tryGetProperty(IdentityPropertyScope propertyScope, java.lang.String name, java.util.concurrent.atomic.AtomicReference<java.lang.Object> value)
public java.lang.Object getProperty(java.lang.String name)
public java.lang.Object getProperty(IdentityPropertyScope propertyScope, java.lang.String name)
public java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.Object>> getProperties()
This method differs from the Visual Studio implementation in that it returns a read-only collection.
public java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.Object>> getProperties(IdentityPropertyScope propertyScope)
This method differs from the Visual Studio implementation in that it returns a read-only collection.
public void setProperty(java.lang.String name, java.lang.Object value)
name
- the name of the propertyvalue
- the value of the propertypublic void setProperty(IdentityPropertyScope propertyScope, java.lang.String name, java.lang.Object value)
name
- the name of the propertyvalue
- the value of the propertypropertyScope
- indiciates if local or global property is setpublic void removeProperty(java.lang.String name)
propertyName
- the name of the propertypublic void removeProperty(IdentityPropertyScope propertyScope, java.lang.String name)
propertyName
- the name of the property@Deprecated public java.lang.String getAttribute(java.lang.String name, java.lang.String defaultValue)
getProperty(String)
@Deprecated public void setAttribute(java.lang.String name, java.lang.String value)
setProperty(String, Object)
public boolean isContainer()
public java.util.Set<java.lang.String> getModifiedPropertiesLog(IdentityPropertyScope propertyScope)
public void resetModifiedProperties()
public boolean isActive()
public com.microsoft.tfs.util.GUID getTeamFoundationID()
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
public java.lang.String getUniqueName()
Examples are CONTOSO\jsmith
and
jsmith@contoso.com
.
public int getUniqueUserID()
public IdentityDescriptor getDescriptor()
public IdentityDescriptor[] getMembers()
public IdentityDescriptor[] getMemberOf()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |