public class OutOfOffice
extends java.lang.Object
| Constructor and Description |
|---|
OutOfOffice()
Initializes a new instance of the OutOfOffice class.
|
OutOfOffice(OutOfOfficeState state)
Initializes a new instance of the OutOfOffice class.
|
| Modifier and Type | Method and Description |
|---|---|
TimeDuration |
getDuration()
Gets the duration for which the OOF status is enabled if the OOF state in the
|
ExternalAudience |
getExternalAudience()
Gets how external users are handled.
|
ReplyBody |
getExternalReply()
Gets the body of the OOF response message that is sent to external users.
|
ReplyBody |
getInternalReply()
Gets the body of the OOF response message that is sent to internal users.
|
OutOfOfficeState |
getState()
Gets the user's OOF state.
|
void |
setDuration(TimeDuration duration)
Sets the duration for which the OOF status is enabled if the OOF state in the
|
void |
setExternalAudience(ExternalAudience externalAudience)
Sets how external users are handled.
|
void |
setExternalReply(ReplyBody externalReply)
Sets the body of the OOF response message that is sent to external users.
|
void |
setInternalReply(ReplyBody internalReply)
Sets the body of the OOF response message that is sent to internal users.
|
void |
setState(OutOfOfficeState state)
Sets the user's OOF state.
|
public OutOfOffice()
public OutOfOffice(OutOfOfficeState state)
state - the statepublic OutOfOfficeState getState()
public void setState(OutOfOfficeState state)
state - the new statepublic ExternalAudience getExternalAudience()
public void setExternalAudience(ExternalAudience externalAudience)
externalAudience - the new external audiencepublic TimeDuration getDuration()
public void setDuration(TimeDuration duration)
duration - the new durationpublic ReplyBody getInternalReply()
public void setInternalReply(ReplyBody internalReply)
internalReply - the new internal replypublic ReplyBody getExternalReply()
public void setExternalReply(ReplyBody externalReply)
externalReply - the new external reply