de.danet.an.workflow.omgcore
Interface WfAuditEvent

All Known Subinterfaces:
ProcessClosedAuditEvent, WfAssignmentAuditEvent, WfCreateProcessAuditEvent, WfDataAuditEvent, WfStateAuditEvent

public interface WfAuditEvent

A WfAuditEvent provides an audit record of workflow event information.

It provides information on the source of the event and contains specific event data. Workflow events include state changes, change of a resource assignment, and data changes. Workflow events are persistent and can be accessed navigating the history relationship of a WfExecutionObject.

Workflow audit event objects are not part of the persistent state of their source workflow object.


Field Summary
static java.lang.String ACTIVITY_ASSIGNMENT_CHANGED
          An identifier for the event type "activityAssignmentChanged"
static java.lang.String ACTIVITY_CONTEXT_CHANGED
          An identifier for the event type "activityContextChanged"
static java.lang.String ACTIVITY_RESULT_CHANGED
          An identifier for the event type "activityResultChanged"
static java.lang.String ACTIVITY_STATE_CHANGED
          An identifier for the event type "activityStateChanged"
static java.lang.String PROCESS_CONTEXT_CHANGED
          An identifier for the event type "processContextChanged"
static java.lang.String PROCESS_CREATED
          An identifier for the event type "processCreated"
static java.lang.String PROCESS_STATE_CHANGED
          An identifier for the event type "processStateChanged"
 
Method Summary
 java.lang.String activityKey()
          Returns the current value of the attribute activityKey.
 java.lang.String activityName()
          Returns the current value of the attribute activityName.
 java.lang.String eventType()
          Returns the current value of the attribute eventType.
 java.lang.String processKey()
          Returns the current value of the attribute processKey.
 java.lang.String processMgrName()
          Returns the current value of the attribute processMgrName.
 java.lang.String processMgrVersion()
          Returns the current value of the attribute processMgrVersion.
 java.lang.String processName()
          Returns the current value of the attribute processName.
 WfExecutionObject source()
          Returns the current value of the attribute source.
 java.util.Date timeStamp()
          Returns the current value of the attribute timeStamp.
 

Field Detail

PROCESS_CREATED

public static final java.lang.String PROCESS_CREATED
An identifier for the event type "processCreated"

See Also:
Constant Field Values

PROCESS_STATE_CHANGED

public static final java.lang.String PROCESS_STATE_CHANGED
An identifier for the event type "processStateChanged"

See Also:
Constant Field Values

PROCESS_CONTEXT_CHANGED

public static final java.lang.String PROCESS_CONTEXT_CHANGED
An identifier for the event type "processContextChanged"

See Also:
Constant Field Values

ACTIVITY_STATE_CHANGED

public static final java.lang.String ACTIVITY_STATE_CHANGED
An identifier for the event type "activityStateChanged"

See Also:
Constant Field Values

ACTIVITY_CONTEXT_CHANGED

public static final java.lang.String ACTIVITY_CONTEXT_CHANGED
An identifier for the event type "activityContextChanged"

See Also:
Constant Field Values

ACTIVITY_RESULT_CHANGED

public static final java.lang.String ACTIVITY_RESULT_CHANGED
An identifier for the event type "activityResultChanged"

See Also:
Constant Field Values

ACTIVITY_ASSIGNMENT_CHANGED

public static final java.lang.String ACTIVITY_ASSIGNMENT_CHANGED
An identifier for the event type "activityAssignmentChanged"

See Also:
Constant Field Values
Method Detail

source

public WfExecutionObject source()
                         throws SourceNotAvailableException
Returns the current value of the attribute source. The source of the event is the WfExceutionObject associated to the event, i.e. that triggered the event.

Returns:
the current value of the attribute.
Throws:
SourceNotAvailableException - if the source is not available.

timeStamp

public java.util.Date timeStamp()
Returns the current value of the attribute timeStamp.

Returns:
the current value of the attribute.

eventType

public java.lang.String eventType()
Returns the current value of the attribute eventType.

Returns:
the current value of the attribute.

activityKey

public java.lang.String activityKey()
Returns the current value of the attribute activityKey.

Returns:
the current value of the attribute.

activityName

public java.lang.String activityName()
Returns the current value of the attribute activityName.

Returns:
the current value of the attribute.

processKey

public java.lang.String processKey()
Returns the current value of the attribute processKey.

Returns:
the current value of the attribute.

processName

public java.lang.String processName()
Returns the current value of the attribute processName.

Returns:
the current value of the attribute.

processMgrName

public java.lang.String processMgrName()
Returns the current value of the attribute processMgrName.

Returns:
the current value of the attribute.

processMgrVersion

public java.lang.String processMgrVersion()
Returns the current value of the attribute processMgrVersion.

Returns:
the current value of the attribute.