org.enhydra.shark.api.client.wfmodel
Interface WfAssignmentEventAudit

All Superinterfaces:
BaseBusinessObject, java.io.Serializable, WfEventAudit
All Known Subinterfaces:
WfAssignmentEventAuditInternal

public interface WfAssignmentEventAudit
extends WfEventAudit

OMG definition: This interface specializes WfEventAudit for assignment change events. The event records resource and assignment status before and after the change. The event_type is activityAssignmentChanged. An assignment change event is signaled when assignments for an activity are created (in this case the old_... data is NULL), when the status of an assignment is changed, or when an existing assignment is reassigned to another resource. The WfActivity associated with the assignment is reported as the source of the event.

We extended OMG's interface by adding additional method for getting accepted status property.


Method Summary
 boolean is_accepted()
          Returns the accepted status of assignment after the change is recorded.
 java.lang.String new_resource_key()
          Returns the resource key of the assignment after the change is recorded.
 java.lang.String new_resource_name()
          Returns the resource name of the assignment after the change is recorded.
 java.lang.String old_resource_key()
          Returns the resource key of the assignment before the change may be recorded.
 java.lang.String old_resource_name()
          Returns the resource name of the assignment before the change may be recorded.
 
Methods inherited from interface org.enhydra.shark.api.client.wfmodel.WfEventAudit
activity_key, activity_name, event_type, process_key, process_mgr_name, process_mgr_version, process_name, source, time_stamp
 

Method Detail

old_resource_key

java.lang.String old_resource_key()
                                  throws java.lang.Exception
Returns the resource key of the assignment before the change may be recorded. This event also covers creation of a new assignment; in this case, the before event information is NULL.

Throws:
java.lang.Exception

old_resource_name

java.lang.String old_resource_name()
                                   throws java.lang.Exception
Returns the resource name of the assignment before the change may be recorded. This event also covers creation of a new assignment; in this case, the before event information is NULL.

Throws:
java.lang.Exception

new_resource_key

java.lang.String new_resource_key()
                                  throws java.lang.Exception
Returns the resource key of the assignment after the change is recorded.

Throws:
java.lang.Exception

new_resource_name

java.lang.String new_resource_name()
                                   throws java.lang.Exception
Returns the resource name of the assignment after the change is recorded.

Throws:
java.lang.Exception

is_accepted

boolean is_accepted()
                    throws java.lang.Exception
Returns the accepted status of assignment after the change is recorded.

Throws:
java.lang.Exception