|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.task.api.UserSubstitutionDetail
public class UserSubstitutionDetail
Handles the absence and substitution details of a user.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_
|
static java.lang.String |
NL
|
Constructor Summary | |
---|---|
UserSubstitutionDetail()
Default constructor to initialize the user absence and substitution details. |
|
UserSubstitutionDetail(java.util.List substitutes,
java.util.Calendar startDate,
java.util.Calendar endDate)
Constructor that creates a user substitution details object from the passed values. |
Method Summary | |
---|---|
java.util.Calendar |
getEndDate()
Returns the end date of the user's absence period. |
java.util.Calendar |
getStartDate()
Returns the start date of the user's absence period. |
java.util.List |
getSubstitutes()
Returns the user IDs of the substitutes. |
void |
setEndDate(java.util.Calendar endDate)
Sets the end date for the user's absence period. |
void |
setStartDate(java.util.Calendar startDate)
Sets the start date for the user's absence period. |
void |
setSubstitutes(java.util.List substitutes)
Sets the substitutes of the user. |
java.lang.String |
toString()
Returns a string representation of the UserSubstitutionDetail object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT_
public static final java.lang.String NL
Constructor Detail |
---|
public UserSubstitutionDetail()
public UserSubstitutionDetail(java.util.List substitutes, java.util.Calendar startDate, java.util.Calendar endDate)
substitutes
- The substitutes for the user during the absence period.
If null is specified, there are no substitutes.startDate
- The start date for the user's absence period.
If null is specified, the end date must also be null.
Note that validity checks are executed when the object is passed to the Human Task Manager -
refer to setUserSubstitutionDetail
.endDate
- The end date for the user's absence period.
If null is specified, the end date of user's absence is open.Method Detail |
---|
public java.util.List getSubstitutes()
public java.util.Calendar getStartDate()
public java.util.Calendar getEndDate()
public void setSubstitutes(java.util.List substitutes)
substitutes
- The substitutes for the user during the absence period.
If null is specified, there are no substitutes.public void setStartDate(java.util.Calendar startDate)
startDate
- The start date for the user's absence period.
If null is specified, the end date must also be null.
Note that validity checks are executed when the object is passed to the Human Task Manager -
refer to setUserSubstitutionDetail
.public void setEndDate(java.util.Calendar endDate)
endDate
- The end date for the user's absence period.
If null is specified, the end date of the user's absence is open.public java.lang.String toString()
toString
in class java.lang.Object
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |