org.enhydra.shark
Class WfStateEventAuditWrapper
java.lang.Object
org.enhydra.shark.WfEventAuditWrapper
org.enhydra.shark.WfStateEventAuditWrapper
- All Implemented Interfaces:
- java.io.Serializable, BaseBusinessObject, WfEventAudit, WfStateEventAudit, PersistenceInterface, WfEventAuditInternal, WfStateEventAuditInternal
public class WfStateEventAuditWrapper
- extends WfEventAuditWrapper
- implements WfStateEventAuditInternal
WfStateEventAuditImpl - Workflow Event Audit implementation.
- Author:
- Sasa Bojanic
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
newState
|
protected java.lang.String |
oldState
|
Fields inherited from class org.enhydra.shark.WfEventAuditWrapper |
activityDefinitionId, activityDefinitionName, activityDefinitionType, activityDescription, activityId, activityLimit, activityName, activityPriority, eventType, packageId, processDefinitionId, processDefinitionName, processDescription, processId, processLimit, processMgrName, processMgrVersion, processName, processPriority, shandle, timeStamp, username, version |
Methods inherited from class org.enhydra.shark.WfEventAuditWrapper |
activity_definition_id, activity_definition_name, activity_definition_type, activity_description, activity_key, activity_limit, activity_name, activity_priority, checkSecurity, event_type, initEventObject, package_id, process_definition_id, process_definition_name, process_description, process_key, process_limit, process_mgr_name, process_mgr_version, process_name, process_priority, source, time_stamp, username |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.enhydra.shark.api.internal.working.WfEventAuditInternal |
activity_definition_id, activity_definition_name, activity_definition_type, activity_description, activity_limit, activity_priority, package_id, process_definition_id, process_definition_name, process_description, process_limit, process_priority, username |
oldState
protected java.lang.String oldState
newState
protected java.lang.String newState
WfStateEventAuditWrapper
protected WfStateEventAuditWrapper(WMSessionHandle shandle,
WfExecutionObjectInternal object,
java.lang.String eventType,
java.lang.String oldState,
java.lang.String newState)
throws java.lang.Exception
- Throws:
java.lang.Exception
WfStateEventAuditWrapper
protected WfStateEventAuditWrapper(WMSessionHandle shandle,
StateEventAuditPersistenceObject po)
- Used to create object when restoring it from database.
old_state
public java.lang.String old_state()
throws java.lang.Exception
- Specified by:
old_state
in interface WfStateEventAudit
- Throws:
java.lang.Exception
new_state
public java.lang.String new_state()
throws java.lang.Exception
- Specified by:
new_state
in interface WfStateEventAudit
- Throws:
java.lang.Exception
persist
public void persist(WMSessionHandle sh)
throws java.lang.Exception
- Specified by:
persist
in interface PersistenceInterface
- Throws:
java.lang.Exception
refresh
public void refresh()
delete
public void delete(WMSessionHandle sh)
throws java.lang.Exception
- Specified by:
delete
in interface PersistenceInterface
- Throws:
java.lang.Exception
fillPersistentObject
protected void fillPersistentObject(EventAuditPersistenceInterface po)
- Overrides:
fillPersistentObject
in class WfEventAuditWrapper
restore
protected void restore(EventAuditPersistenceInterface po)
- Overrides:
restore
in class WfEventAuditWrapper