public class ExecutedActionRetainedEvent extends RetainedEvent implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
static int | 
ACTIVITYRECORDID_COL_INDEX
Column position (zero-based) for the ActivityRecord id 
 | 
static int | 
AUDITEVENTID_COL_INDEX
Column position (zero-based) for the AuditEvent ID 
 | 
static int | 
COL_LENGTH
Number of columns used to define this retained event 
 | 
m_Values| Constructor and Description | 
|---|
ExecutedActionRetainedEvent()
Construct an empty ExecutedActionRetainedEvent. 
 | 
ExecutedActionRetainedEvent(ActivityRecord ar,
                           long eventId)
Construct a ExecutedActionRetainedEvent that reflects an executed Action. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RetainedEvent[] | 
constructArray(int size)
Construct an array of the specified size. 
 | 
RetainedEvent | 
constructInstance()
Construct a new unpopulated instance, of the correct type. 
 | 
ActivityRecord | 
getActivityRecord(LibrarySession session)
Returns the ActivityRecord that was the target of the executed Action. 
 | 
long | 
getAuditEventId()
Gets the AuditEvent ID that corresponds to the Action that was executed. 
 | 
protected RetainedEventDescriptor[] | 
getRetainedEventDescriptors()
Get name/type descriptors that define the payload for this
 retained event. 
 | 
String | 
getSequenceName()
Get sequence name used by this specific type of retained event. 
 | 
String | 
getTableName()
Get table name used to store the specific type of retained event. 
 | 
void | 
process(LibrarySession session)
Process this retained event. 
 | 
createDatabaseObjects, delete, dropDatabaseObjects, getCreateSequenceStatementSql, getCreateTableStatementSql, getDeleteStatementKey, getDeleteStatementSql, getDropSequenceStatementSql, getDropTableStatementSql, getId, getInsertStatementKey, getInsertStatementSql, getSelectStatementKey, getSelectStatementSql, getValues, insert, processAll, select, setValues, toStringpublic static final int COL_LENGTH
public static final int ACTIVITYRECORDID_COL_INDEX
public static final int AUDITEVENTID_COL_INDEX
public ExecutedActionRetainedEvent()
This variant is used when an instance is needed to select other instances of ExecutedActionRetainedEvent from the database.
public ExecutedActionRetainedEvent(ActivityRecord ar, long eventId) throws IfsException
ar - the ActivityRecord for which the Action was executedeventId - the ID of the AuditEvent that corresponds to the
                      Action that was executedIfsException - if the operation failspublic final String getTableName()
getTableName in class RetainedEventpublic String getSequenceName()
getSequenceName in class RetainedEventprotected RetainedEventDescriptor[] getRetainedEventDescriptors()
getRetainedEventDescriptors in class RetainedEventpublic RetainedEvent constructInstance()
constructInstance in class RetainedEventpublic RetainedEvent[] constructArray(int size)
constructArray in class RetainedEventsize - the array sizepublic ActivityRecord getActivityRecord(LibrarySession session) throws IfsException
session - the session contextIfsException - if the operation failspublic long getAuditEventId()
                     throws IfsException
IfsException - if the operation failspublic void process(LibrarySession session) throws IfsException
It is assumed that a transaction process has been established by the caller. Also, the caller will ensure that the event is properly disposed aftert this method completes.
process in class RetainedEventsession - session contextIfsException - if the operation failsCopyright © 2025. All rights reserved.