|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmicrosoft.exchange.webservices.data.ComplexProperty
microsoft.exchange.webservices.data.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(java.lang.String primarySmtpAddress)
* Initializes a new instance. |
Method Summary | |
---|---|
java.lang.String |
getDisplayName()
* Gets the display name of the user. |
java.lang.String |
getPrimarySmtpAddress()
* Gets the primary SMTP address or the user. |
java.lang.String |
getSID()
* Gets the SID of the user. |
StandardUser |
getstandardUser()
* Gets a value indicating which standard user the user represents. |
static UserId |
getUserId(java.lang.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(java.lang.String displayName)
Sets the display name. |
void |
setPrimarySmtpAddress(java.lang.String primarySmtpAddress)
Sets the primary smtp address. |
void |
setSID(java.lang.String sID)
Sets the sID. |
void |
setStandardUser(StandardUser standardUser)
Sets the standard user. |
protected boolean |
tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
* Tries to read element from XML. |
protected void |
writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
* Writes elements to XML. |
Methods inherited from class microsoft.exchange.webservices.data.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(java.lang.String primarySmtpAddress)
primarySmtpAddress
- the primary smtp addresspublic UserId(StandardUser standardUser)
standardUser
- the standard userMethod Detail |
---|
protected boolean isValid()
public java.lang.String getSID()
public void setSID(java.lang.String sID)
sID
- the new sIDpublic java.lang.String getPrimarySmtpAddress()
public void setPrimarySmtpAddress(java.lang.String primarySmtpAddress)
primarySmtpAddress
- the new primary smtp addresspublic java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName
- the new display namepublic StandardUser getstandardUser()
public void setStandardUser(StandardUser standardUser)
standardUser
- the new standard userpublic static UserId getUserId(java.lang.String primarySmtpAddress)
primarySmtpAddress
- the primary smtp address
public static UserId getUserIdFromStandardUser(StandardUser standardUser)
standardUser
- the standard user
protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
tryReadElementFromXml
in class ComplexProperty
reader
- the reader
java.lang.Exception
- the exceptionprotected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws javax.xml.stream.XMLStreamException, ServiceXmlSerializationException
writeElementsToXml
in class ComplexProperty
writer
- the writer
javax.xml.stream.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 |