flux.audittrail
Interface AuditTrailFlowContext

All Superinterfaces:
java.io.Serializable, VariableManager
All Known Subinterfaces:
FlowContext, KeyFlowContext

public interface AuditTrailFlowContext
extends VariableManager

Contains FlowContext methods that may be used in an audit trail context.

Author:
Copyright 2014 Flux Corporation. All rights reserved.

Method Summary
 java.lang.String getActionName()
          Returns the name of the action that invoked this listener.
 Engine getEngine()
          Returns the engine that invoked an action.
 FlowChart getFlowChart()
          Returns the current flow chart.
 java.lang.Object getLastResult()
          Returns the result of the previous action's execute() method.
 java.lang.String getUsername()
          Returns the username that belongs to the security context in which this flow chart is executing.
 
Methods inherited from interface flux.VariableManager
clear, contains, get, getNames, put, put, put, put, put, put, put, put, put, putAll, remove, size
 

Method Detail

getActionName

java.lang.String getActionName()
Returns the name of the action that invoked this listener.

Returns:
The name of the action that invoked this listener.

getFlowChart

FlowChart getFlowChart()
Returns the current flow chart.

Returns:
The current flow chart.

getEngine

Engine getEngine()
Returns the engine that invoked an action.

Returns:
The engine that invoked an action.

getLastResult

java.lang.Object getLastResult()
Returns the result of the previous action's execute() method. This method may return null if the previous action's execute() method returned null or if the current action is the first action in the flow.

Returns:
The previous action's result.

getUsername

java.lang.String getUsername()
Returns the username that belongs to the security context in which this flow chart is executing. Returns null if the engine is unsecured or if this flow chart is running without a security context.

Returns:
The username that belongs to the security context in which this flow chart is executing. Returns null if the engine is unsecured or if this flow chart is running without a security context.


© 2014 Flux Corporation. All rights reserved.