org.enhydra.shark
Class WfEventAuditIteratorWrapper

java.lang.Object
  extended byorg.enhydra.shark.BaseIteratorWrapper
      extended byorg.enhydra.shark.WfEventAuditIteratorWrapper
All Implemented Interfaces:
BaseIterator, java.io.Serializable, WfEventAuditIterator

public class WfEventAuditIteratorWrapper
extends BaseIteratorWrapper
implements WfEventAuditIterator

Iterator for event audits of activity or the process. The following names may be used: time_stamp, username, event_type, activity_key, activity_name, process_key, process_name, process_mgr_name, process_mgr_version, package_id, process_definition_id, process_definition_name, activity_definition_id, activity_definition_name and activity_definition_type that will be applied for all event types.

Here are the list of attributes that if specified will be applied to specific event type:

WfCreateProcessEventAudit: p_activity_key, p_process_key, p_process_name, p_process_mgr_name, p_process_mgr_version, p_package_id, p_process_definition_id, p_process_definition_name, p_activity_definition_id and p_activity_definition_name

WfDataEventAudit: old_data_varId and new_data_varId, where varId is the Id of variable from appropriate process/activity

WfStateEventAudit: old_state and new_state

WfAssignmentEventAudit: old_res, new_res and is_accepted

Author:
Sasa Bojanic
See Also:
Serialized Form

Field Summary
protected  java.lang.String actId
           
protected  java.lang.String procId
           
 
Fields inherited from class org.enhydra.shark.BaseIteratorWrapper
eval, ignoreUsedContext, limit, namesInExpression, objectList, objectListIterator, queryExpression, queryGrammar, shandle, sqlWhere, startAt, usedContext
 
Constructor Summary
protected WfEventAuditIteratorWrapper(WMSessionHandle shandle, java.lang.String procId)
           
protected WfEventAuditIteratorWrapper(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId)
           
 
Method Summary
protected  void fillObjectList()
           
 WfEventAudit[] get_next_n_sequence(int max_number)
           
 WfEventAudit get_next_object()
           
 WfEventAudit[] get_previous_n_sequence(int max_number)
           
 WfEventAudit get_previous_object()
           
 
Methods inherited from class org.enhydra.shark.BaseIteratorWrapper
checkSecurity, clearObjectList, getNextNSequence, getNextObject, getPreviousNSequence, getPreviousObject, goto_end, goto_start, how_many, names_in_expression, query_expression, query_grammar, set_names_in_expression, set_query_expression, set_query_grammar, setObjectList, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.enhydra.shark.api.client.wfbase.BaseIterator
goto_end, goto_start, how_many, names_in_expression, query_expression, query_grammar, set_names_in_expression, set_query_expression, set_query_grammar
 

Field Detail

procId

protected java.lang.String procId

actId

protected java.lang.String actId
Constructor Detail

WfEventAuditIteratorWrapper

protected WfEventAuditIteratorWrapper(WMSessionHandle shandle,
                                      java.lang.String procId)
                               throws java.lang.Exception

WfEventAuditIteratorWrapper

protected WfEventAuditIteratorWrapper(WMSessionHandle shandle,
                                      java.lang.String procId,
                                      java.lang.String actId)
                               throws java.lang.Exception
Method Detail

get_next_object

public WfEventAudit get_next_object()
                             throws java.lang.Exception
Specified by:
get_next_object in interface WfEventAuditIterator
Throws:
java.lang.Exception

get_previous_object

public WfEventAudit get_previous_object()
                                 throws java.lang.Exception
Specified by:
get_previous_object in interface WfEventAuditIterator
Throws:
java.lang.Exception

get_next_n_sequence

public WfEventAudit[] get_next_n_sequence(int max_number)
                                   throws java.lang.Exception
Specified by:
get_next_n_sequence in interface WfEventAuditIterator
Throws:
java.lang.Exception

get_previous_n_sequence

public WfEventAudit[] get_previous_n_sequence(int max_number)
                                       throws java.lang.Exception
Specified by:
get_previous_n_sequence in interface WfEventAuditIterator
Throws:
java.lang.Exception

fillObjectList

protected void fillObjectList()
                       throws java.lang.Exception
Specified by:
fillObjectList in class BaseIteratorWrapper
Throws:
java.lang.Exception