org.wfmc.audit
Class WMAChangeWorkItemStateData

java.lang.Object
  extended byorg.wfmc.audit.WMAAuditEntry
      extended byorg.wfmc.audit.WMAAuditBase
          extended byorg.wfmc.audit.WMAChangeWorkItemStateData
All Implemented Interfaces:
CWADPrefix, CWADSuffix, java.io.Serializable
Direct Known Subclasses:
WMAAssignWorkItemData

public class WMAChangeWorkItemStateData
extends WMAAuditBase

Change Work Item State Audit Data.

Author:
Antony Lodge
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.wfmc.audit.WMAAuditEntry
WFMC
 
Constructor Summary
WMAChangeWorkItemStateData()
           
WMAChangeWorkItemStateData(java.lang.String processDefinitionId, java.lang.String activityDefinitionId, java.lang.String initialProcessInstanceId, java.lang.String currentProcessInstanceId, java.lang.String activityInstanceId, java.lang.String workItemId, int processState, WMAEventCode eventCode, java.lang.String domainId, java.lang.String nodeId, java.lang.String userId, java.lang.String roleId, java.util.Date timestamp, byte accountCode, short extensionNumber, byte extensionType, short extensionLength, short extensionCodePage, java.lang.Object extensionContent, int workItemState, int previousWorkItemState)
          Constructor that takes all fields (including the CWADPrefix and CWADSuffix).
WMAChangeWorkItemStateData(java.lang.String processDefinitionId, java.lang.String activityDefinitionId, java.lang.String initialProcessInstanceId, java.lang.String currentProcessInstanceId, java.lang.String activityInstanceId, java.lang.String workItemId, int processState, WMAEventCode eventCode, java.lang.String domainId, java.lang.String nodeId, java.lang.String userId, java.lang.String roleId, java.util.Date timestamp, int workItemState, int previousWorkItemState)
          Constructor that takes all fields (including the CWADPrefix).
 
Method Summary
 java.lang.String getPreviousWorkItemState()
           
 java.lang.String getWorkItemState()
           
 void setPreviousWorkItemState(java.lang.String workItemState)
           
 void setWorkItemState(java.lang.String workItemState)
           
 java.lang.String toString()
           
protected static java.lang.String valueOf(int state)
           
protected static int valueOf(java.lang.String state)
           
 
Methods inherited from class org.wfmc.audit.WMAAuditBase
formatCwadSuffix, getAccountCode, getCwadSuffix, getExtensionCodePage, getExtensionContent, getExtensionLength, getExtensionNumber, getExtensionType, setAccountCode, setCwadSuffix, setExtensionCodePage, setExtensionContent, setExtensionLength, setExtensionNumber, setExtensionType
 
Methods inherited from class org.wfmc.audit.WMAAuditEntry
formatCwadPrefix, getActivityDefinitionId, getActivityInstanceId, getCurrentProcessInstanceId, getCwadPrefix, getDomainId, getEventCode, getInformationId, getInitialProcessInstanceId, getNodeId, getProcessDefinitionId, getProcessState, getRoleId, getTimestamp, getUserId, getWorkItemId, setActivityDefinitionId, setActivityInstanceId, setCurrentProcessInstanceId, setCwadPrefix, setDomainId, setEventCode, setInformationId, setInitialProcessInstanceId, setNodeId, setProcessDefinitionId, setProcessState, setRoleId, setTimestamp, setUserId, setWorkItemId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WMAChangeWorkItemStateData

public WMAChangeWorkItemStateData()

WMAChangeWorkItemStateData

public WMAChangeWorkItemStateData(java.lang.String processDefinitionId,
                                  java.lang.String activityDefinitionId,
                                  java.lang.String initialProcessInstanceId,
                                  java.lang.String currentProcessInstanceId,
                                  java.lang.String activityInstanceId,
                                  java.lang.String workItemId,
                                  int processState,
                                  WMAEventCode eventCode,
                                  java.lang.String domainId,
                                  java.lang.String nodeId,
                                  java.lang.String userId,
                                  java.lang.String roleId,
                                  java.util.Date timestamp,
                                  int workItemState,
                                  int previousWorkItemState)
Constructor that takes all fields (including the CWADPrefix).

Parameters:
processDefinitionId -
activityDefinitionId -
initialProcessInstanceId -
currentProcessInstanceId -
activityInstanceId -
workItemId -
processState -
eventCode -
domainId -
nodeId -
userId -
roleId -
timestamp -
workItemState -
previousWorkItemState -

WMAChangeWorkItemStateData

public WMAChangeWorkItemStateData(java.lang.String processDefinitionId,
                                  java.lang.String activityDefinitionId,
                                  java.lang.String initialProcessInstanceId,
                                  java.lang.String currentProcessInstanceId,
                                  java.lang.String activityInstanceId,
                                  java.lang.String workItemId,
                                  int processState,
                                  WMAEventCode eventCode,
                                  java.lang.String domainId,
                                  java.lang.String nodeId,
                                  java.lang.String userId,
                                  java.lang.String roleId,
                                  java.util.Date timestamp,
                                  byte accountCode,
                                  short extensionNumber,
                                  byte extensionType,
                                  short extensionLength,
                                  short extensionCodePage,
                                  java.lang.Object extensionContent,
                                  int workItemState,
                                  int previousWorkItemState)
Constructor that takes all fields (including the CWADPrefix and CWADSuffix).

Parameters:
processDefinitionId -
activityDefinitionId -
initialProcessInstanceId -
currentProcessInstanceId -
activityInstanceId -
workItemId -
processState -
eventCode -
domainId -
nodeId -
userId -
roleId -
timestamp -
accountCode -
extensionNumber -
extensionType -
extensionLength -
extensionCodePage -
extensionContent -
workItemState -
previousWorkItemState -
Method Detail

valueOf

protected static java.lang.String valueOf(int state)

valueOf

protected static int valueOf(java.lang.String state)

getWorkItemState

public java.lang.String getWorkItemState()
Returns:
State of the work item

setWorkItemState

public void setWorkItemState(java.lang.String workItemState)
Parameters:
workItemState - State of the work item

getPreviousWorkItemState

public java.lang.String getPreviousWorkItemState()
Returns:
State of the work item

setPreviousWorkItemState

public void setPreviousWorkItemState(java.lang.String workItemState)
Parameters:
workItemState - State of the work item

toString

public java.lang.String toString()


SourceForge.net Logo OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.