|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutOfOfficeInfo
Manages Out of Office settings for the current user. Also manages Out of Office settings for other users if the current user is an administrator.
Method Summary | |
---|---|
java.util.List |
getDateRanges()
Returns a List of out of office ranges during which the current user is Out of Office. |
UserDef |
getOutOfOfficeDesignate()
Returns a fully-populated UserDef object for the user
who is designated to receive tasks when the current user is Out of office. |
java.util.List |
getProcessSpecificDesignates()
Retrieves the process-specific rules that assign designated tasks to alternate users while the current user is Out of office. |
boolean |
isNoPrimaryDesignate()
Determines whether the current user has no designate for Out of office tasks. |
boolean |
isOutOfOffice()
Indicates whether the current user is Out of Office |
void |
setDateRanges(java.util.List dateRanges)
Sets a list of out of office date ranges during which the current user is out of office. |
void |
setNoPrimaryDesignate(boolean noDesignate)
Sets whether the current user designates an alternate user. |
void |
setOutOfOffice(boolean isOutOfOffice)
Specifies whether the current user is out of office. |
void |
setOutOfOfficeDesignate(UserDef user)
Designates an alternate user who receives new tasks when the current user is Out of office. |
void |
setProcessSpecificDesignates(java.util.List designates)
Sets process-specific rules that assign designated tasks to alternate users while the current user is Out of office. process-specific designates are used before the global designate. |
Method Detail |
---|
boolean isOutOfOffice()
void setOutOfOffice(boolean isOutOfOffice)
isOutOfOffice
- set to true if the user is out of officejava.util.List getDateRanges()
void setDateRanges(java.util.List dateRanges)
List<OutOfOfficeDateRange>
. When you provide a List, the existing date ranges
defined on the server are replaced with the new ones.OutOfOfficeDateRange
. When you provide the OutOfOfficeDateRange type,
the new date range is appended to the existing date ranges.
dateRanges
- List of date rangesvoid setOutOfOfficeDesignate(UserDef user)
Calling this method clears any previous call to setNoPrimaryDesignate(true)
.
user
- a UserDef object populated with identifying information for the alternate user.UserDef getOutOfOfficeDesignate()
UserDef
object for the user
who is designated to receive tasks when the current user is Out of office.
Returns null if there is no user setup.
void setNoPrimaryDesignate(boolean noDesignate)
Specifying no designated user clears any previous calls
to setOutOfOfficeDesignate(userDef)
.
noDesignate
- A value of true
specifies that there is no designate for Out of office tasks.boolean isNoPrimaryDesignate()
true
indicates that there is no designate for Out of office tasks.void setProcessSpecificDesignates(java.util.List designates)
designates
- a List of designate objects to define who will receive OOO tasks for specific processesjava.util.List getProcessSpecificDesignates()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |