public class ActivityRecord extends TieCategory
| Modifier and Type | Field and Description | 
|---|---|
| static String | ACTIONCOUNT_ATTRIBUTEThe number of Actions that have been executed for this instance. | 
| static String | ACTIVITYLEVEL_ATTRIBUTEThe calculated level of activity for this instance. | 
| static String | ACTIVITYSPECIFICATION_ATTRIBUTEThe ActivitySpecification which defines the relevant activity that will
 be tracked by this instance. | 
| static String | CLASS_NAMEThe name of the ClassObject representing this class. | 
| static String | EVENTHISTORY_ATTRIBUTEThe AuditSpecification which contains the event history for this instance. | 
| static String | INITIALACTOR_ATTRIBUTEThe initial Actor for this instance 
 (the Actor who initiated the recording of Activity). | 
| static String | LASTACTIONDATE_ATTRIBUTEThe Date of the last Action posted on this instance. | 
| static String | LASTACTIONID_ATTRIBUTEGets the ID of the AuditEvent for the last Action posted 
 on this instance. | 
| static String | LASTACTIONTYPE_ATTRIBUTEThe enumerated value describing the last Action posted on this instance. | 
| static String | LASTACTOR_ATTRIBUTEThe last Actor who acted upon this instance. | 
ASSOCIATEDPUBLICOBJECT_ATTRIBUTEACL_ATTRIBUTE, CREATEDATE_ATTRIBUTE, CREATOR_ATTRIBUTE, DELETOR_ATTRIBUTE, DESCRIPTION_ATTRIBUTE, EXPIRATIONDATE_ATTRIBUTE, FAMILY_ATTRIBUTE, FLAG_CATEGORY_EXISTS, FLAG_CONFIGURATIONCATEGORY_EXISTS, FLAG_MARKED, FLAG_NOINFERIOR, FLAG_NOSELECT, FLAG_NTFS_ARCHIVE, FLAG_NTFS_HIDDEN, FLAG_NTFS_READONLY, FLAG_NTFS_SYSTEM, FLAG_UNMARKED, FLAGS_ATTRIBUTE, LASTMODIFIER_ATTRIBUTE, LASTMODIFYDATE_ATTRIBUTE, LOCKENTRIES_ATTRIBUTE, LOCKOBJECT_ATTRIBUTE, NAME_ATTRIBUTE, OWNER_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PRIMARYPARENTFOLDER_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE, RESOLVEDPUBLICOBJECT_ATTRIBUTE, SECURINGPUBLICOBJECT_ATTRIBUTEDOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session| Modifier | Constructor and Description | 
|---|---|
| protected  | ActivityRecord(LibrarySession session,
              Long id,
              Long classId,
              S_LibraryObjectData data)Construct a ActivityRecord object. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getActionCount()Gets the number of Actions that have been executed for this instance. | 
| int | getActivityLevel()Gets the calculated level of activity for this instance. | 
| ActivityProcessor | getActivityProcessor()Gets the ActivityProcessor of this instance's ActivitySpecification. | 
| ActivitySpecification | getActivitySpecification()Gets the ActivitySpecification which defines the relevant activity that will
 be tracked by this instance. | 
| ActivitySummary | getActivitySummary()Gets the ActivitySummary for this instance. | 
| protected ActivitySpecification | getDefaultActivitySpecification()Gets the default ActivitySpecification to use for a new ActivityRecord. | 
| protected AuditSpecification | getDefaultAuditSpecification()Gets the default AuditSpecification to use for a new ActivityRecord. | 
| AuditSpecification | getEventHistory()Gets the AuditSpecification which contains the event history 
 for this instance. | 
| Long | getEventHistoryId()Gets the AuditSpecification which contains the event history 
 for this instance. | 
| Actor | getInitialActor()Gets the initial Actor to act upon this instance. | 
| Date | getLastActionDate()Returns the Date of the last Action posted on this instance. | 
| long | getLastActionId()Gets the ID of the AuditEvent for the last Action posted 
 on this instance. | 
| int | getLastActionType()Gets the enumerated value describing the last Action posted 
 on this instance. | 
| Actor | getLastActor()Gets the last Actor to act upon this instance. | 
| protected boolean | isValidEventType(AuditEvent event)Checks to see if the event type in the process of being posted on the
 target LibraryObject is consistent with the target. | 
| protected void | postCreate(LibraryObjectDefinition lodef)Extensibility point to perform actions after the 
 creation of a PublicObject. | 
| protected void | preCreate(LibraryObjectDefinition lodef)Extensibility point to perform actions prior to the 
 creation of a PublicObject. | 
| protected void | preFree(LibraryObjectDefinition lodef)Extensibility point to perform actions prior to the 
 permanent deletion ("free") of a object. | 
| protected void | preUpdate(LibraryObjectDefinition lodef)Extensibility point to perform actions prior to the update of 
 a PublicObject. | 
| protected void | verifyActor(Actor actor)Verify that a valid Actor is specified. | 
constructCategory, constructCategoryArray, constructCategoryVector, getAssociatedPublicObject, getFlagUpdatesForCreate, getFlagUpdatesForFree, moveCategory, verifyCategoryFlagNotSetaddAccess, addAttachment, addCategory, addFlags, addMessageList, addRelationship, auditPublicObjectLocked, auditPublicObjectUnlocked, canAcquireManualLock, canReleaseDavLock, canReleaseLock, canReleaseManualLock, capabilities, checkAuditViewCapability, checkCapabilities, checkCapability, checkEffectiveAccess, checkEffectiveAccess, checkLockAccess, checkParentFolderCapability, checkVersioned, clearFlags, constructPublicObject, constructPublicObjectArray, constructPublicObjectVector, containsLockEntry, copy, coreAutoFolderingEnabled, createCategories, createDedicatedPolicyPropertyBundle, delete, deriveEffectiveAccessLevel, findAttachmentRelation, findOrAddActivityRecord, findOrAddActivityRecord, findOrAddActor, findOrAddActor, findOrAddMessageList, findOrAddMessageList, free, getAcl, getActivityRecord, getActor, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAttachmentRelation, getAttachmentRelations, getAttachments, getCapabilities, getCategories, getCategories, getCategories, getCategories, getCategories, getCategory, getConsumedStorage, getCreateDate, getCreator, getDefaultAccessLevel, getDefinitionForSimplePropertyUpdates, getDeletor, getDescription, getEffectiveAccessLevel, getEffectiveAccessLevel, getExpirationDate, getFamily, getFirstCategory, getFirstVersion, getFlags, getFolderReferences, getFolderReferences, getFolderReferencesSortSpecification, getLastModifier, getLastModifyDate, getLastVersion, getLeftwardRelationshipObjects, getLeftwardRelationshipObjects, getLeftwardRelationships, getLeftwardRelationships, getLeftwardRelationshipsCount, getLeftwardRelationshipsCount, getLinks, getLockEntries, getLockEntries, getLockObject, getLockRestrictions, getLockTypeAuditProperties, getMessageList, getNextVersion, getOwner, getPolicyBundle, getPolicyLists, getPreviousVersion, getPrimaryFolderPath, getPrimaryFolderPathIds, getPrimaryParentFolder, getPrimaryParentFolder, getRelations, getReservationComment, getReservationDate, getReservor, getResolvedPublicObject, getRestrictingLockEntries, getRightwardRelationshipObjects, getRightwardRelationshipObjects, getRightwardRelationships, getRightwardRelationships, getSecuringPublicObject, getSingletonVersionDescription, getVersionNumber, getVersions, getVersionSeries, getWorkingCopy, grantAccess, handleCopy, handleCreate, handleUnlockAll, hasActivityRecord, hasActor, hasAttachmentRelation, hasCategories, hasCategory, hasConfigurationCategories, hasMessageList, hasNameAttribute, hasPropertyBundleAttribute, isAttachment, isDeleted, isLatestVersion, isLocked, isLockingSupported, isOwner, isReserved, isReservedByCurrentUser, isVersionable, isVersioned, isWorkingCopy, listLeftwardRelationships, listRightwardRelationships, lock, lock, lock, lock, newVersion, postCopy, postSecurityChangedEvent, postUpdate, preCopy, putPolicy, reassociateLinks, removeAllPolicies, removeAttachment, removePolicy, removePolicy, removeRelationship, reserveNext, resetFolderReferences, resolveFolderReferenceSortSpecification, revokeAccess, revokeAllAccess, setAcl, setDescription, setExpirationDate, setFlags, setFolderReferencesSortSpecification, setLockEntries, setLockEntrySecurity, setOwner, setOwnerByName, setPolicyBundle, setPolicyLists, setSecuringPublicObject, toPublicObjectArray, undelete, unlock, unlock, unlockAll, unReserve, updateFlags, updateLock, vectorPublicObjectElement, vectorToPublicObjectArray, verifyAddRelationshipCapability, verifyCapabilities, verifyCapability, verifyDeleteCapability, verifyLockCapability, verifyRemoveRelationshipCapability, verifyUnlockCapability, verifyVersionSeriesadded, addSimpleProperty, addSimpleProperty, applyProperties, auditCreated, auditUpdated, canPurge, checkIfPropertyBundleSupported, checkRequiredAttributeSet, clearCopyContext, clearFreeContext, clearUpdateContext, compareTo, constructIdArray, constructIdArray, constructLibraryObject, constructLibraryObjectVector, createDedicatedPropertyBundle, createInstance, deriveDomainUniqueName, dispose, equals, equals, free, freeAll, get, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getAuditDomainContext, getAuditEventFolderContext, getClassId, getClassname, getClassName, getClassObject, getCommonName, getCommonNameAndClass, getCopyContext, getCreateContext, getData, getDefinition, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getFreeContext, getId, getLabel, getName, getObjectReferenceAttribute, getOperationActionSpecificationContext, getPropertyBundle, getPropertyValue, getPublicObjectAttribute, getResourceString, getResourceString, getSchemaObjectAttribute, getSession, getSessionInterface, getSharedStateFactory, getSimpleObjectAttribute, getSimpleProperties, getSimpleProperty, getSimplePropertyValue, getStringIdentifier, getSystemObjectAttribute, getTraceLogger, getUpdateContext, handleAdminModeChange, handleEvent, handleFree, handleUpdate, hashCode, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postEvent, postEvent, postFree, prePostAuditEvent, putProperty, putProperty, removeAllProperties, removeAllSimpleProperties, removeAllSimpleProperties, removed, removeProperty, removeSimpleProperty, removeSimpleProperty, renderAsRandomAccessContent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setCopyContext, setFreeContext, setId, setName, setPropertyBundle, setPropertyValue, setUpdateContext, toString, trace, trustHandleCreate, trustHandleCreateAsAdmin, trustHandleFree, trustHandleFreeAsAdmin, trustHandleUpdate, trustHandleUpdateAsAdmin, update, updateAndExposeDefinition, validatePropertyValues, vectorLibraryObjectElement, vectorToLibraryObjectArray, verifyAdministrationMode, verifyConnected, verifyPersistent, verifySystemUserAccess, verifyTargetObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttributeByUpperCaseName, getClassId, getId, getSessionInterfacegetTraceLogger, isTraced, tracepublic static final String CLASS_NAME
public static final String ACTIVITYSPECIFICATION_ATTRIBUTE
public static final String EVENTHISTORY_ATTRIBUTE
public static final String INITIALACTOR_ATTRIBUTE
public static final String LASTACTOR_ATTRIBUTE
public static final String LASTACTIONID_ATTRIBUTE
public static final String LASTACTIONDATE_ATTRIBUTE
public static final String LASTACTIONTYPE_ATTRIBUTE
public static final String ACTIONCOUNT_ATTRIBUTE
public static final String ACTIVITYLEVEL_ATTRIBUTE
protected ActivityRecord(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session - current LibrarySessionid - object idclassId - class iddata - data componentIfsException - if the operation failspublic ActivitySpecification getActivitySpecification() throws IfsException
IfsException - if operation failspublic ActivityProcessor getActivityProcessor() throws IfsException
IfsException - if operation failspublic AuditSpecification getEventHistory() throws IfsException
IfsException - if operation failspublic Long getEventHistoryId() throws IfsException
IfsException - if operation failspublic Actor getInitialActor() throws IfsException
IfsException - if operation failspublic Actor getLastActor() throws IfsException
IfsException - if operation failspublic long getLastActionId()
                     throws IfsException
IfsException - if operation failspublic Date getLastActionDate() throws IfsException
IfsException - if the operation failspublic int getLastActionType()
                      throws IfsException
IfsException - if operation failspublic int getActionCount()
                   throws IfsException
IfsException - if operation failspublic int getActivityLevel()
                     throws IfsException
IfsException - if operation failspublic ActivitySummary getActivitySummary() throws IfsException
The object returned reflects a summary of the activity. It can be used in conjunction with the ActivityProcessor associated with this instance to obtain information that is specific to the ActivitySpecification associated with this instance.
IfsException - if operation failsprotected void preCreate(LibraryObjectDefinition lodef) throws IfsException
Set an option that indicates that Categories are NOT to be created from within S_PublicObject.
preCreate in class PublicObjectlodef - object definition that will be used to create 
                      the objectIfsException - if the operation failsprotected void postCreate(LibraryObjectDefinition lodef) throws IfsException
This assumes that a transaction context has already been established.
postCreate in class PublicObjectlodef - object definition that was used to create the objectIfsException - if the operation failsprotected void preUpdate(LibraryObjectDefinition lodef) throws IfsException
Set an option that indicates that Categories are NOT to be created from within S_PublicObject.
preUpdate in class PublicObjectlodef - object definition used to define how the target object
                      will be updatedIfsException - if operation fails.protected void preFree(LibraryObjectDefinition lodef) throws IfsException
PublicObjectOverride to free all existing categories, in such a way that the PO doesn't get updated for each category free.
preFree in class PublicObjectlodef - object definition used to hold 
                      options related to the free operationIfsException - if operation fails.protected AuditSpecification getDefaultAuditSpecification() throws IfsException
IfsException - if operation failsprotected ActivitySpecification getDefaultActivitySpecification() throws IfsException
IfsException - if operation failsprotected boolean isValidEventType(AuditEvent event) throws IfsException
Ovedrridden by subclasses to check the ClassObject of the target object of the event.
isValidEventType in class Categoryevent - the event being posted on this objectIfsException - if the operation failsprotected void verifyActor(Actor actor) throws IfsException
actor - the ActorIfsException - if operation failsCopyright © 2025. All rights reserved.