com.ibm.task.clientmodel.bean

Class EscalationBean

  • java.lang.Object
    • com.ibm.task.clientmodel.bean.EscalationBean
  • All Implemented Interfaces:
    Escalation, java.io.Serializable


    public class EscalationBean
    extends java.lang.Object
    implements Escalation

    Accesses the properties of the original Escalation object and adds metadata for national language support and converters.

    An EscalationBean object can be instantiated from a QueryResultSet object.
    Only the following properties are loaded from the query result set:

    • ID
    • taskInstanceID
    • action
    • activationState
    • activationTime
    • atLeastExpectedState
    • name
    • priorityIncrease
    • state
    • taskName
    • taskOwner
    • escalationReceiver
    If the property is not found in the query result set, the property remains empty. Accessing an empty property requires the bean to load the missing information from the server.

    Use the static method getLabel(String, Locale) to retrieve the localized label for a property. Use the static method getConverter(String) to retrieve a converter for a property. The return value might be null because converters are optional.

    See Also:
    Escalation, QueryResultSet, Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        (C) Copyright IBM Corporation 2005, 2011.
        See Also:
        Constant Field Values
      • ACTION_PROPERTY

        public static final java.lang.String ACTION_PROPERTY
        Use the property name to determine labels and converters for the action property .
        See Also:
        Constant Field Values
      • ACTIVATIONSTATE_PROPERTY

        public static final java.lang.String ACTIVATIONSTATE_PROPERTY
        Use the property name to determine labels and converters for the activationState property.
        See Also:
        Constant Field Values
      • ACTIVATIONTIME_PROPERTY

        public static final java.lang.String ACTIVATIONTIME_PROPERTY
        Use the property name to determine labels and converters for the activationTime property.
        See Also:
        Constant Field Values
      • ATLEASTEXPECTEDSTATE_PROPERTY

        public static final java.lang.String ATLEASTEXPECTEDSTATE_PROPERTY
        Use the property name to determine labels and converters for the atLeastExpectedState property.
        See Also:
        Constant Field Values
      • DESCRIPTION_PROPERTY

        public static final java.lang.String DESCRIPTION_PROPERTY
        Use the property name to determine labels and converters for the description property.
        See Also:
        Constant Field Values
      • NAME_PROPERTY

        public static final java.lang.String NAME_PROPERTY
        Use the property name to determine labels and converters for the name property.
        See Also:
        Constant Field Values
      • DURATIONUNTILESCALATED_PROPERTY

        public static final java.lang.String DURATIONUNTILESCALATED_PROPERTY
        Use the property name to determine labels and converters for the durationUntilEscalated property.
        See Also:
        Constant Field Values
      • DURATIONUNTILREPEATED_PROPERTY

        public static final java.lang.String DURATIONUNTILREPEATED_PROPERTY
        Use the property name to determine labels and converters for the durationUntilRepeated property.
        See Also:
        Constant Field Values
      • PRIORITY_INCREASE_PROPERTY

        public static final java.lang.String PRIORITY_INCREASE_PROPERTY
        Use the property name to determine labels and converters for the priorityIncrease property.
        See Also:
        Constant Field Values
      • STATE_PROPERTY

        public static final java.lang.String STATE_PROPERTY
        Use the property name to determine labels and converters for the state property.
        See Also:
        Constant Field Values
      • TASK_OWNER_PROPERTY

        public static final java.lang.String TASK_OWNER_PROPERTY
        Use the property name to determine labels and converters for the taskOwner property.
        See Also:
        Constant Field Values
      • ESCALATION_RECEIVER_PROPERTY

        public static final java.lang.String ESCALATION_RECEIVER_PROPERTY
        Use the property name to determine labels and converters for the escalationReceiver property.
        See Also:
        Constant Field Values
      • FIRST_ESCALATION_ID_PROPERTY

        public static final java.lang.String FIRST_ESCALATION_ID_PROPERTY
        Use the property name to determine labels and converters for the firstEscalationID property.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EscalationBean

        public EscalationBean(QueryResultSet resultSet,
                      HTMConnection htmConnection)
        Constructs a new EscalationBean from a QueryResultSet.
        Parameters:
        resultSet - The result object of a query.
        htmConnection - The connection to the HumanTaskManagerService API.
      • EscalationBean

        public EscalationBean(Escalation esc,
                      HTMConnection htmConnection)
        Constructs a EscalationBean from an original Task object.
        Parameters:
        esc - The original data object.
        htmConnection - The connection to the HumanTaskManagerService API.
      • EscalationBean

        protected EscalationBean(ESIID id,
                      HTMConnection htmConnection,
                      java.util.Locale locale)
        Constructs a EscalationBean from an escalation instance id.
        Parameters:
        id - The escalation instance id.
        htmConnection - The connection to the HumanTaskManagerService API.
        locale - The locale of the locale dependant properties.
IBM Business Process ManagerTM
Release 8