public class DefaultAbsenceInformation extends java.lang.Object implements WorklistUpdateManager.AbsenceInformation, java.io.Serializable
| Constructor and Description |
|---|
DefaultAbsenceInformation(QualifiedAgent absentee,
long from,
long to,
java.lang.String substitutionRule)
Creates a Default Absence Information containing the provided values
|
| Modifier and Type | Method and Description |
|---|---|
QualifiedAgent |
getAbsentee()
Gets the agent for which this absence information applies.
|
long |
getFromDate()
Gets the date (as long, that is milliseconds) from which on the agent is
absent.
|
java.lang.String |
getSubstitutionRule()
Gets the substitution rule which applies for all work items of the absent
agent.
|
long |
getToDate()
Gets the date (as long, that is milliseconds) until the agent is expected
to be absent.
|
public DefaultAbsenceInformation(QualifiedAgent absentee, long from, long to, java.lang.String substitutionRule)
absentee - The agent for which this absence information applies.from - The date (as long, that is milliseconds) from which on the
agent is absent.to - The date (as long, that is milliseconds) until the agent is
expected to be absent.substitutionRule - The substitution rule which applies for all work
items of the absent agent.public QualifiedAgent getAbsentee()
WorklistUpdateManager.AbsenceInformationgetAbsentee in interface WorklistUpdateManager.AbsenceInformationpublic long getFromDate()
WorklistUpdateManager.AbsenceInformationgetFromDate in interface WorklistUpdateManager.AbsenceInformationpublic java.lang.String getSubstitutionRule()
WorklistUpdateManager.AbsenceInformationnull if the absence is without substitution.getSubstitutionRule in interface WorklistUpdateManager.AbsenceInformationnull if the absence is without substitution.public long getToDate()
WorklistUpdateManager.AbsenceInformationgetToDate in interface WorklistUpdateManager.AbsenceInformation