org.wfmc.audit
Class WMAChangeProcessDefinitionState

java.lang.Object
  extended byorg.wfmc.audit.WMAAuditEntry
      extended byorg.wfmc.audit.WMAAuditBase
          extended byorg.wfmc.audit.WMAChangeProcessDefinitionState
All Implemented Interfaces:
CWADPrefix, CWADSuffix, java.io.Serializable

public class WMAChangeProcessDefinitionState
extends WMAAuditBase

Section 9.1 of the Interface 5 WFMC standards When the state of the process definition is changed, the information is written to the audit data. A state change may occur as the result of a State Change API command or as the result of internal WFM Engine operations. This would correspond to the WMChangeProcessDefinitionState, which allows process definitions to be changed temporarily to a specific states, such as disabled or enabled.

Author:
Antony Lodge
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.wfmc.audit.WMAAuditEntry
WFMC
 
Constructor Summary
WMAChangeProcessDefinitionState()
           
WMAChangeProcessDefinitionState(java.lang.String processDefinitionId, 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 newProcessDefinitionState, int previousProcessDefinitionState)
           
WMAChangeProcessDefinitionState(java.lang.String processDefinitionId, 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 newProcessDefinitionState, int previousProcessDefinitionState)
           
 
Method Summary
 java.lang.String getNewProcessDefinitionState()
           
 java.lang.String getPreviousProcessDefinitionState()
           
 void setNewProcessDefinitionState(java.lang.String newProcessDefinitionState)
           
 void setPreviousProcessDefinitionState(java.lang.String previousProcessDefinitionState)
           
 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

WMAChangeProcessDefinitionState

public WMAChangeProcessDefinitionState()

WMAChangeProcessDefinitionState

public WMAChangeProcessDefinitionState(java.lang.String processDefinitionId,
                                       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 newProcessDefinitionState,
                                       int previousProcessDefinitionState)

WMAChangeProcessDefinitionState

public WMAChangeProcessDefinitionState(java.lang.String processDefinitionId,
                                       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 newProcessDefinitionState,
                                       int previousProcessDefinitionState)
Method Detail

valueOf

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

valueOf

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

getNewProcessDefinitionState

public java.lang.String getNewProcessDefinitionState()
Returns:
New state for the process definition

setNewProcessDefinitionState

public void setNewProcessDefinitionState(java.lang.String newProcessDefinitionState)
Parameters:
newProcessDefinitionState - New state for the process definition

getPreviousProcessDefinitionState

public java.lang.String getPreviousProcessDefinitionState()
Returns:
Previous state for process definition

setPreviousProcessDefinitionState

public void setPreviousProcessDefinitionState(java.lang.String previousProcessDefinitionState)
Parameters:
previousProcessDefinitionState - Previous state for process definition

toString

public java.lang.String toString()


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