public class EscalationTask
extends java.lang.Object
| Constructor and Description |
|---|
EscalationTask() |
| Modifier and Type | Method and Description |
|---|---|
MXLogger |
getLogger()
Returns the logger to be used to log messages.
|
UserInfo |
getUserInfo()
Returns the user information to be used to retrieve
the business objects.
|
protected boolean |
isCalendarBased(ReferencePointData refPointData)
Check is the escalation point has a calendar on it
|
void |
performTask(java.lang.String taskName,
java.lang.String instanceName)
Performs the escalation task using the escalation definition
and the associated reference points.
|
void |
setLogger(MXLogger logger)
Set the logger to be used to log messages.
|
void |
setUserInfo(UserInfo userInfo)
Sets the the user information to be used to retrieve
the business objects.
|
protected void |
storeNonRepeatableEscalationObject(MboRemote referencePoint,
MboRemote escObject)
Writes out a record in the ESCREPEATTRACK table to indicate that
the business object does not need to be escalated again when processing
the reference point.
|
protected void |
storeNonRepeatableEscalationObject(ReferencePointData refPointData,
boolean executedActions,
boolean executedNotifications,
MboRemote referencePoint,
MboRemote escObject)
Write the escrepeattrack record.
|
public void performTask(java.lang.String taskName,
java.lang.String instanceName)
taskName - task name used to identify the escalation.instanceName - instance name used to identify the escalation.protected void storeNonRepeatableEscalationObject(ReferencePointData refPointData, boolean executedActions, boolean executedNotifications, MboRemote referencePoint, MboRemote escObject)
refPointData - The refpointdata.executedActions - Flag to indicate whether actions have been executed.executedNotifications - Flag to indicate whether notifications have been sent.referencePoint - The reference point.escObject - The main object being escalated.protected void storeNonRepeatableEscalationObject(MboRemote referencePoint, MboRemote escObject)
referencePoint - reference pointescObject - business objectprotected boolean isCalendarBased(ReferencePointData refPointData)
refPointData - public MXLogger getLogger()
public void setLogger(MXLogger logger)
logger - the logger to be used to log messages.public UserInfo getUserInfo()
public void setUserInfo(UserInfo userInfo)
userInfo - the user information to be used to retrieve
the business objects.