org.enhydra.shark
Class WfAssignmentEventAuditWrapper

java.lang.Object
  extended by org.enhydra.shark.WfEventAuditWrapper
      extended by org.enhydra.shark.WfAssignmentEventAuditWrapper
All Implemented Interfaces:
java.io.Serializable, BaseBusinessObject, WfAssignmentEventAudit, WfEventAudit, PersistenceInterface, WfAssignmentEventAuditInternal, WfEventAuditInternal

public class WfAssignmentEventAuditWrapper
extends WfEventAuditWrapper
implements WfAssignmentEventAuditInternal

WfEventAuditImpl - Workflow Event Audit implementation

Author:
Sasa Bojanic
See Also:
Serialized Form

Field Summary
protected  boolean isAccepted
           
protected  java.lang.String newResourceKey
           
protected  java.lang.String newResourceName
           
protected  java.lang.String oldResourceKey
           
protected  java.lang.String oldResourceName
           
 
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
 
Constructor Summary
protected WfAssignmentEventAuditWrapper(WMSessionHandle shandle, AssignmentEventAuditPersistenceObject po)
          Used to create object when restoring it from database.
protected WfAssignmentEventAuditWrapper(WMSessionHandle shandle, WfActivityInternal activity, WfResourceInternal oldRes, WfResourceInternal newRes, boolean isAccepted)
           
 
Method Summary
 void delete(WMSessionHandle sh)
           
protected  void fillPersistentObject(EventAuditPersistenceInterface po)
           
 boolean is_accepted()
           
 java.lang.String new_resource_key()
           
 java.lang.String new_resource_name()
           
 java.lang.String old_resource_key()
           
 java.lang.String old_resource_name()
           
 void persist(WMSessionHandle sh)
           
 void refresh()
           
protected  void restore(EventAuditPersistenceInterface po)
           
 
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
 
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
 
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
 

Field Detail

oldResourceKey

protected java.lang.String oldResourceKey

oldResourceName

protected java.lang.String oldResourceName

newResourceKey

protected java.lang.String newResourceKey

newResourceName

protected java.lang.String newResourceName

isAccepted

protected boolean isAccepted
Constructor Detail

WfAssignmentEventAuditWrapper

protected WfAssignmentEventAuditWrapper(WMSessionHandle shandle,
                                        WfActivityInternal activity,
                                        WfResourceInternal oldRes,
                                        WfResourceInternal newRes,
                                        boolean isAccepted)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

WfAssignmentEventAuditWrapper

protected WfAssignmentEventAuditWrapper(WMSessionHandle shandle,
                                        AssignmentEventAuditPersistenceObject po)
Used to create object when restoring it from database.

Method Detail

old_resource_key

public java.lang.String old_resource_key()
                                  throws java.lang.Exception
Specified by:
old_resource_key in interface WfAssignmentEventAudit
Throws:
java.lang.Exception

old_resource_name

public java.lang.String old_resource_name()
                                   throws java.lang.Exception
Specified by:
old_resource_name in interface WfAssignmentEventAudit
Throws:
java.lang.Exception

new_resource_key

public java.lang.String new_resource_key()
                                  throws java.lang.Exception
Specified by:
new_resource_key in interface WfAssignmentEventAudit
Throws:
java.lang.Exception

new_resource_name

public java.lang.String new_resource_name()
                                   throws java.lang.Exception
Specified by:
new_resource_name in interface WfAssignmentEventAudit
Throws:
java.lang.Exception

is_accepted

public boolean is_accepted()
                    throws java.lang.Exception
Specified by:
is_accepted in interface WfAssignmentEventAudit
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