public class PerformedActivityRecord extends Object
| Constructor and Description |
|---|
PerformedActivityRecord(Actor actor,
ActivityRecord ar,
ActivitySummary asumm)
Construct a PerformedActivityRecord, for an initial insert.
|
PerformedActivityRecord(Actor actor,
ActivityRecord ar,
ResultSet rset)
Construct a PerformedActivityRecord.
|
PerformedActivityRecord(Actor actor,
ResultSet rset)
Construct a PerformedActivityRecord.
|
| Modifier and Type | Method and Description |
|---|---|
ActivityRecord |
getActivityRecord()
Gets the target ActivityRecord.
|
long |
getActivitySpecificationId()
Gets the ID of the associated ActivitySpecification.
|
ActivitySummary |
getActivitySummary()
Gets the ActivitySummary that summarizes the performed activity.
|
Actor |
getActor()
Gets the target Actor.
|
Date |
getLastPerformedActionDate()
Gets the date of the last action performed by the Actor associated
with this record.
|
long |
getLastPerformedActionId()
Gets the AuditEvent ID for the last performed action.
|
int |
getLastPerformedActionType()
Gets the last action performed by the Actor associated
with this record.
|
LibrarySession |
getSession()
Returns the session being used by this Selector.
|
boolean |
isActivityRecordFreed()
Returns indication as to whether or not the
target ActivityRecord has been freed.
|
boolean |
isActivityRecordUndiscoverable()
Returns indication as to whether or not the target
ActivityRecord is undiscoverable by the session selecting the record.
|
void |
setLastPerformedActionInfo(int lastActionType,
Date lastActionDate)
Sets the last action information, reflecting the last Action performed
by the Actor associated with this record.
|
void |
setValuesForInsert(IfsPreparedStatement stmt)
Set the values for a prepared Insert statement for a new
PerformedActivityRecord.
|
public PerformedActivityRecord(Actor actor, ActivityRecord ar, ActivitySummary asumm) throws IfsException
actor - the activity-performing Actorar - the ActivityRecord on which activity was performedasumm - the (empty) ActivitySummaryIfsException - if operation fails.public PerformedActivityRecord(Actor actor, ResultSet rset) throws SQLException, IfsException
actor - the activity-performing Actorrset - the resultSet selected from
within PerformedActivitySelectorIfsException - if operation fails.SQLException - if operation fails.public PerformedActivityRecord(Actor actor, ActivityRecord ar, ResultSet rset) throws SQLException, IfsException
actor - the activity-performing Actorrset - the resultSet selected from
within PerformedActivitySelectorIfsException - if operation fails.SQLException - if operation fails.public void setValuesForInsert(IfsPreparedStatement stmt) throws SQLException, IfsException
stmt - the prepared insert statementSQLException - if operation fails.IfsException - if operation fails.public LibrarySession getSession()
public Actor getActor()
public ActivityRecord getActivityRecord()
Will be null if the target ActivityRecord was freed or is undiscoverable by the session selecting the record.
public boolean isActivityRecordFreed()
public boolean isActivityRecordUndiscoverable()
public ActivitySummary getActivitySummary()
public long getActivitySpecificationId()
public long getLastPerformedActionId()
public Date getLastPerformedActionDate()
public int getLastPerformedActionType()
public void setLastPerformedActionInfo(int lastActionType,
Date lastActionDate)
lastActionType - the last Action type executedlastActionDate - the date the last Action was executedCopyright © 2025. All rights reserved.