|
|||||||||
| 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.OofSettings
public final class OofSettings
Represents a user's Out of Office (OOF) settings.
| Constructor Summary | |
|---|---|
OofSettings()
Initializes a new instance of OofSettings. |
|
| Method Summary | |
|---|---|
OofExternalAudience |
getAllowExternalOof()
Gets a value indicating the authorized external OOF notifications. |
TimeWindow |
getDuration()
Gets the duration of the OOF status when State is set to OofState.Scheduled. |
OofExternalAudience |
getExternalAudience()
Gets a value indicating who should receive external OOF messages. |
OofReply |
getExternalReply()
Gets the OOF response sent to addresses outside the user's domain or trusted domain. |
OofReply |
getInternalReply()
Gets the OOF response sent other users in the user's domain or trusted domain. |
OofState |
getState()
Gets the user's OOF state. |
void |
setAllowExternalOof(OofExternalAudience allowExternalOof)
Sets a value indicating the authorized external OOF notifications. |
void |
setDuration(TimeWindow duration)
Sets the duration of the OOF status when State is set to OofState.Scheduled. |
void |
setExternalAudience(OofExternalAudience externalAudience)
Sets a value indicating who should receive external OOF messages. |
void |
setExternalReply(OofReply externalReply)
Sets the OOF response sent to addresses outside the user's domain or trusted domain. |
void |
setInternalReply(OofReply internalReply)
Sets the OOF response sent other users in the user's domain or trusted domain. |
void |
setState(OofState state)
Sets the user's OOF state. |
protected boolean |
tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Tries to read element from XML. |
void |
validate()
Validates this instance. |
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, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, writeAttributesToXml, writeToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OofSettings()
| Method Detail |
|---|
protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
tryReadElementFromXml in class ComplexPropertyreader - The reader
Exception - the exception
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws Exception
writeElementsToXml in class ComplexPropertywriter - The writer
Exception - the exceptionpublic OofState getState()
public void setState(OofState state)
state - the new statepublic OofExternalAudience getExternalAudience()
public void setExternalAudience(OofExternalAudience externalAudience)
externalAudience - the new external audiencepublic TimeWindow getDuration()
public void setDuration(TimeWindow duration)
duration - the new durationpublic OofReply getInternalReply()
public void setInternalReply(OofReply internalReply)
internalReply - the new internal replypublic OofReply getExternalReply()
public void setExternalReply(OofReply externalReply)
externalReply - the new external replypublic OofExternalAudience getAllowExternalOof()
public void setAllowExternalOof(OofExternalAudience allowExternalOof)
allowExternalOof - the new allow external oof
public void validate()
throws Exception
validate in class ComplexPropertyException - the exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||