org.wfmc.audit
Class WMAAuditBase

java.lang.Object
  extended byorg.wfmc.audit.WMAAuditEntry
      extended byorg.wfmc.audit.WMAAuditBase
All Implemented Interfaces:
CWADPrefix, CWADSuffix, java.io.Serializable
Direct Known Subclasses:
WMAAssignProcessInstanceAttributeData, WMAChangeActivityInstanceStateData, WMAChangeProcessDefinitionState, WMAChangeProcessInstanceStateData, WMAChangeWorkItemStateData, WMACreateProcessInstanceData, WMADiscretionaryAuditData, WMAPrivateAuditData, WMASessionManagementAuditData

public abstract class WMAAuditBase
extends WMAAuditEntry
implements CWADSuffix

Abstract base class for all audit data classes.

Author:
Antony Lodge
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.wfmc.audit.WMAAuditEntry
WFMC
 
Constructor Summary
protected WMAAuditBase()
          Empty constructor to enable subclass JavaBean compliance.
protected WMAAuditBase(CWADPrefix p, CWADSuffix s)
           
protected WMAAuditBase(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)
          Constructor that takes all the CWADPrefix fields.
protected WMAAuditBase(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)
          Constructor that takes all the CWADPrefix and CWADSuffix fields.
 
Method Summary
 java.lang.String formatCwadSuffix()
           
 byte getAccountCode()
           
 CWADSuffix getCwadSuffix()
           
 short getExtensionCodePage()
           
 java.lang.Object getExtensionContent()
           
 short getExtensionLength()
           
 short getExtensionNumber()
           
 byte getExtensionType()
           
 void setAccountCode(byte accountCode)
           
 void setCwadSuffix(CWADSuffix suffix)
           
 void setExtensionCodePage(short extensionCodePage)
           
 void setExtensionContent(java.lang.Object extensionContent)
           
 void setExtensionLength(short extensionLength)
           
 void setExtensionNumber(short extensionNumber)
           
 void setExtensionType(byte extensionType)
           
 
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, valueOf, valueOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMAAuditBase

protected WMAAuditBase()
Empty constructor to enable subclass JavaBean compliance.


WMAAuditBase

protected WMAAuditBase(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)
Constructor that takes all the CWADPrefix fields.

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

WMAAuditBase

protected WMAAuditBase(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)
Constructor that takes all the CWADPrefix and CWADSuffix fields.

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

WMAAuditBase

protected WMAAuditBase(CWADPrefix p,
                       CWADSuffix s)
Parameters:
p - Prefix information
s - Suffix information.
Method Detail

getCwadSuffix

public CWADSuffix getCwadSuffix()
Returns:
The audit data suffix information.

setCwadSuffix

public final void setCwadSuffix(CWADSuffix suffix)
Parameters:
suffix -

formatCwadSuffix

public java.lang.String formatCwadSuffix()

getAccountCode

public byte getAccountCode()
Specified by:
getAccountCode in interface CWADSuffix
Returns:
Accounting Code used for item of work

setAccountCode

public void setAccountCode(byte accountCode)
Parameters:
accountCode - Accounting Code used for item of work

getExtensionNumber

public short getExtensionNumber()
Specified by:
getExtensionNumber in interface CWADSuffix
Returns:
Number of extensions in suffix information

setExtensionNumber

public void setExtensionNumber(short extensionNumber)
Parameters:
extensionNumber - Number of extensions in suffix information

getExtensionType

public byte getExtensionType()
Specified by:
getExtensionType in interface CWADSuffix
Returns:
Type of extension

setExtensionType

public void setExtensionType(byte extensionType)
Parameters:
extensionType - Type of extension

getExtensionLength

public short getExtensionLength()
Specified by:
getExtensionLength in interface CWADSuffix
Returns:
Total length of extension values

setExtensionLength

public void setExtensionLength(short extensionLength)
Parameters:
extensionLength - Total length of extension values

getExtensionCodePage

public short getExtensionCodePage()
Specified by:
getExtensionCodePage in interface CWADSuffix
Returns:
The code page used by this audit extension.

setExtensionCodePage

public void setExtensionCodePage(short extensionCodePage)
Parameters:
extensionCodePage -

getExtensionContent

public java.lang.Object getExtensionContent()
Specified by:
getExtensionContent in interface CWADSuffix
Returns:
Content, defined by Extension Type and Length

setExtensionContent

public void setExtensionContent(java.lang.Object extensionContent)
Parameters:
extensionContent - Content, defined by Extension Type and Length


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