|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.enterprise.Simple
wt.workflow.engine.WfEventAudit
The WfEventAudit
provides audit records of workflow event
information. It provides information on the source of the event and
contains specific event data. Workflow events include state changes,
change of a resource assignment, and data changes. Workflow events are
persistent and can be accessed navigating the history relationship of
a WfExecutionObject. Workflow audit events are not part of the persistent
state of their source workflow object.
A workflow event audit object is created whe a workflow object changes its status (state change, process data change or assignment change); its lifetime is not limited by the lifetime of the event source object.
Note: It is possible to specify which events are actually recorded
in a per template or per process basis. The default configuration of
which events are recorded is defined in the wt.properties file.
Supported API: false
Extendable: false
Field Summary | |
static String |
ACTIVITY_KEY
Label for the attribute; Identifies the WfActivity associated with the event; null for process events. |
static String |
ACTIVITY_NAME
Label for the attribute; Name of the WfActivity associated with the event; null for process events. |
private static int |
ACTIVITY_NAME_UPPER_LIMIT
|
private long |
activityKey
|
private String |
activityName
|
private static String |
CLASSNAME
|
static String |
EVENT_TYPE
Label for the attribute; Describes the audit event type. |
private static int |
EVENT_TYPE_UPPER_LIMIT
|
private WfEventAuditType |
eventType
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
static String |
PROCESS_KEY
Label for the attribute; Identifies the WfProcess associated with the event. |
static String |
PROCESS_NAME
Label for the attribute; Name of the process associated with the event. |
private static int |
PROCESS_NAME_UPPER_LIMIT
|
static String |
PROCESS_TEMPLATE_NAME
Label for the attribute; Name of the process template associated with the event. |
private static int |
PROCESS_TEMPLATE_NAME_UPPER_LIMIT
|
static String |
PROCESS_TEMPLATE_VERSION
Label for the attribute; Version of the process template. |
private static int |
PROCESS_TEMPLATE_VERSION_UPPER_LIMIT
|
private long |
processKey
|
private String |
processName
|
private String |
processTemplateName
|
private String |
processTemplateVersion
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private Timestamp |
timestamp
|
static String |
TIMESTAMP
Label for the attribute; Records time of the event. |
static String |
TRIP_COUNT
Label for the attribute. |
private int |
tripCount
|
static String |
USER_REF
Label for the attribute. |
private WTPrincipalReference |
userRef
|
Fields inherited from class wt.enterprise.Simple |
|
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.fc.BusinessInformation |
BUSINESS_TYPE, IDENTITY |
Fields inherited from interface wt.notify.Notifiable |
EVENT_SET |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
WfEventAudit()
|
Method Summary | |
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
long |
getActivityKey()
Gets the value of the attribute: ACTIVITY_KEY. |
String |
getActivityName()
Gets the value of the attribute: ACTIVITY_NAME. |
WfEventAuditType |
getEventType()
Gets the value of the attribute: EVENT_TYPE. |
long |
getProcessKey()
Gets the value of the attribute: PROCESS_KEY. |
String |
getProcessName()
Gets the value of the attribute: PROCESS_NAME. |
String |
getProcessTemplateName()
Gets the value of the attribute: PROCESS_TEMPLATE_NAME. |
String |
getProcessTemplateVersion()
Gets the value of the attribute: PROCESS_TEMPLATE_VERSION. |
WfExecutionObject |
getSource()
Returns the execution object that was the source of the event. |
Timestamp |
getTimestamp()
Gets the value of the attribute: TIMESTAMP. |
int |
getTripCount()
Gets the value of the attribute: TRIP_COUNT. |
WTPrincipalReference |
getUserRef()
Gets the value of the attribute: USER_REF. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
protected void |
initialize(WTContainerRef container_ref)
Supported API: false |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(WfEventAudit thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setActivityKey(long a_ActivityKey)
Sets the value of the attribute: ACTIVITY_KEY. |
void |
setActivityName(String a_ActivityName)
Sets the value of the attribute: ACTIVITY_NAME. |
void |
setEventType(WfEventAuditType a_EventType)
Sets the value of the attribute: EVENT_TYPE. |
void |
setProcessKey(long a_ProcessKey)
Sets the value of the attribute: PROCESS_KEY. |
void |
setProcessName(String a_ProcessName)
Sets the value of the attribute: PROCESS_NAME. |
void |
setProcessTemplateName(String a_ProcessTemplateName)
Sets the value of the attribute: PROCESS_TEMPLATE_NAME. |
void |
setProcessTemplateVersion(String a_ProcessTemplateVersion)
Sets the value of the attribute: PROCESS_TEMPLATE_VERSION. |
void |
setTimestamp(Timestamp a_Timestamp)
Sets the value of the attribute: TIMESTAMP. |
void |
setTripCount(int a_TripCount)
Sets the value of the attribute: TRIP_COUNT. |
void |
setUserRef(WTPrincipalReference a_UserRef)
Sets the value of the attribute: USER_REF. |
String |
toString()
Returns a string representation of the connector object. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class wt.enterprise.Simple |
getBusinessType, getDomainRef, getEventSet, getIdentity, initialize, isInheritedDomain, readVersion, setDomainRef, setEventSet, setInheritedDomain |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo, getConceptualClassname |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String TIMESTAMP
private Timestamp timestamp
public static final String EVENT_TYPE
private static int EVENT_TYPE_UPPER_LIMIT
private WfEventAuditType eventType
public static final String ACTIVITY_KEY
private long activityKey
public static final String ACTIVITY_NAME
private static int ACTIVITY_NAME_UPPER_LIMIT
private String activityName
public static final String PROCESS_KEY
private long processKey
public static final String PROCESS_NAME
private static int PROCESS_NAME_UPPER_LIMIT
private String processName
public static final String PROCESS_TEMPLATE_NAME
private static int PROCESS_TEMPLATE_NAME_UPPER_LIMIT
private String processTemplateName
public static final String PROCESS_TEMPLATE_VERSION
private static int PROCESS_TEMPLATE_VERSION_UPPER_LIMIT
private String processTemplateVersion
public static final String USER_REF
private WTPrincipalReference userRef
public static final String TRIP_COUNT
private int tripCount
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public WfEventAudit()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Simple
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Simple
input
-
IOException
ClassNotFoundException
protected boolean readVersion(WfEventAudit thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class Simple
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class Simple
input
-
SQLException
DatastoreException
public Timestamp getTimestamp()
public void setTimestamp(Timestamp a_Timestamp)
a_Timestamp
- public WfEventAuditType getEventType()
public void setEventType(WfEventAuditType a_EventType)
a_EventType
- public long getActivityKey()
public void setActivityKey(long a_ActivityKey)
a_ActivityKey
- public String getActivityName()
public void setActivityName(String a_ActivityName)
a_ActivityName
- public long getProcessKey()
public void setProcessKey(long a_ProcessKey)
a_ProcessKey
- public String getProcessName()
public void setProcessName(String a_ProcessName)
a_ProcessName
- public String getProcessTemplateName()
public void setProcessTemplateName(String a_ProcessTemplateName)
a_ProcessTemplateName
- public String getProcessTemplateVersion()
public void setProcessTemplateVersion(String a_ProcessTemplateVersion)
a_ProcessTemplateVersion
- public WTPrincipalReference getUserRef()
public void setUserRef(WTPrincipalReference a_UserRef)
a_UserRef
- public int getTripCount()
public void setTripCount(int a_TripCount)
a_TripCount
- public WfExecutionObject getSource() throws WTException
WTException
public String toString()
toString
in class WTObject
protected void initialize(WTContainerRef container_ref) throws WTException
container_ref
-
WTException
public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class Simple
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class Simple
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |