|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.apps.provisioning.ManualWorkOrder
public class ManualWorkOrder
This class holds the work order details of a manual service or service connected in manual mode.
Nested Class Summary | |
---|---|
static class |
ManualWorkOrder.OperationType
The enum to represent the various types of valid operations. |
Constructor Summary | |
---|---|
ManualWorkOrder(Participant participant,
long escalationPeriod,
Participant escalationParticipant,
boolean defaultNotification,
java.util.HashMap<ManualWorkOrder.OperationType,NotificationTemplate> operationNotification)
Create a ManualWorkOrder object. |
Method Summary | |
---|---|
static ManualWorkOrder.OperationType[] |
getAllOperations()
Retrieves all the allowed operations as an array of type OperationType. |
Participant |
getEscalationParticipant()
Retrieves the participant involved when the activity is escalated. |
long |
getEscalationPeriod()
Retrieves the escalation period. |
NotificationTemplate |
getNotification(ManualWorkOrder.OperationType operation)
Retrieves the notification template associated with the operation. |
java.util.Map<ManualWorkOrder.OperationType,NotificationTemplate> |
getOperationNotifications()
Retrieves the map of operation notification template pairs. |
Participant |
getParticipant()
Retrieves the participant associated with the work order. |
boolean |
isUseDefaultNotification()
Specifies whether the default notification is being used. |
void |
setEscalationParticipant(Participant escalationParticipant)
Sets the participant when the activity is escalated. |
void |
setEscalationPeriod(long escalationPeriod)
Sets the escalation period. |
void |
setNotification(ManualWorkOrder.OperationType operation,
NotificationTemplate notification)
Sets the notification template for the specified operation. |
void |
setOperationNotification(java.util.HashMap<ManualWorkOrder.OperationType,NotificationTemplate> operationNotification)
Sets the map of operation notifications. |
void |
setParticipant(Participant participant)
Sets the participant to the specified value. |
void |
setUseDefaultNotification(boolean useDefaultNotification)
Sets whether to use the default notification. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManualWorkOrder(Participant participant, long escalationPeriod, Participant escalationParticipant, boolean defaultNotification, java.util.HashMap<ManualWorkOrder.OperationType,NotificationTemplate> operationNotification) throws com.ibm.itim.apps.ejb.service.InvalidOperationException
participant
- - Specifies the participant involved in the activity.escalationPeriod
- - Specifies the escalation period for the activity.escalationParticipant
- - Specifies ther participant involved when the activity escalates.defaultNotification
- - Specifies whether to use default notification.operationNotification
- - Specifies the map of notification operations.
com.ibm.itim.apps.ejb.service.InvalidOperationException
Method Detail |
---|
public Participant getParticipant()
Participant
public long getEscalationPeriod()
public Participant getEscalationParticipant()
Participant
public NotificationTemplate getNotification(ManualWorkOrder.OperationType operation)
operation
- OperationType associated with the NotificationTemplate
NotificationTemplate
public java.util.Map<ManualWorkOrder.OperationType,NotificationTemplate> getOperationNotifications()
public boolean isUseDefaultNotification()
public void setUseDefaultNotification(boolean useDefaultNotification)
useDefaultNotification
- - boolean Specifies whether to use the default notification.public void setParticipant(Participant participant)
participant
- - The participant value to set.public void setEscalationPeriod(long escalationPeriod)
escalationPeriod
- - Specifies the escalation period to set.public void setEscalationParticipant(Participant escalationParticipant)
escalationParticipant
- - Specifies the participant to be set when the activity is escalated.public void setNotification(ManualWorkOrder.OperationType operation, NotificationTemplate notification) throws com.ibm.itim.apps.ejb.service.InvalidOperationException
operation
- - Specifies the OperationType to setnotification
- - Specifies the NotificationTemplate to set
com.ibm.itim.apps.ejb.service.InvalidOperationException
public void setOperationNotification(java.util.HashMap<ManualWorkOrder.OperationType,NotificationTemplate> operationNotification) throws com.ibm.itim.apps.ejb.service.InvalidOperationException
operationNotification
-
com.ibm.itim.apps.ejb.service.InvalidOperationException
public static ManualWorkOrder.OperationType[] getAllOperations()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |