|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.property.complex.ComplexProperty
microsoft.exchange.webservices.data.property.complex.UserId
public class UserId
Represents the Id of a user.
| Constructor Summary | |
|---|---|
UserId()
Initializes a new instance. |
|
UserId(StandardUser standardUser)
Initializes a new instance. |
|
UserId(String primarySmtpAddress)
Initializes a new instance. |
|
| Method Summary | |
|---|---|
String |
getDisplayName()
Gets the display name of the user. |
String |
getPrimarySmtpAddress()
Gets the primary SMTP address or the user. |
String |
getSID()
Gets the SID of the user. |
StandardUser |
getstandardUser()
Gets a value indicating which standard user the user represents. |
static UserId |
getUserId(String primarySmtpAddress)
Implements an implicit conversion between a string representing a primary SMTP address and UserId. |
static UserId |
getUserIdFromStandardUser(StandardUser standardUser)
Implements an implicit conversion between StandardUser and UserId. |
protected boolean |
isValid()
Determines whether this instance is valid. |
void |
setDisplayName(String displayName)
Sets the display name. |
void |
setPrimarySmtpAddress(String primarySmtpAddress)
Sets the primary smtp address. |
void |
setSID(String sID)
Sets the sID. |
void |
setStandardUser(StandardUser standardUser)
Sets the standard user. |
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML. |
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML. |
| Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserId()
public UserId(String primarySmtpAddress)
primarySmtpAddress - the primary smtp addresspublic UserId(StandardUser standardUser)
standardUser - the standard user| Method Detail |
|---|
protected boolean isValid()
public String getSID()
public void setSID(String sID)
sID - the new sIDpublic String getPrimarySmtpAddress()
public void setPrimarySmtpAddress(String primarySmtpAddress)
primarySmtpAddress - the new primary smtp addresspublic String getDisplayName()
public void setDisplayName(String displayName)
displayName - the new display namepublic StandardUser getstandardUser()
public void setStandardUser(StandardUser standardUser)
standardUser - the new standard userpublic static UserId getUserId(String primarySmtpAddress)
primarySmtpAddress - the primary smtp address
public static UserId getUserIdFromStandardUser(StandardUser standardUser)
standardUser - the standard user
public boolean tryReadElementFromXml(EwsServiceXmlReader reader)
throws Exception
tryReadElementFromXml in class ComplexPropertyreader - the reader
Exception - the exception
public void writeElementsToXml(EwsServiceXmlWriter writer)
throws XMLStreamException,
ServiceXmlSerializationException
writeElementsToXml in class ComplexPropertywriter - the writer
XMLStreamException - the XML stream exception
ServiceXmlSerializationException - the service xml serialization exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||