public class PerformedActivitySpecification extends TieSystemObject
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME
The name of the ClassObject representing this class.
|
static String |
DESCRIPTION_ATTRIBUTE
The description of this PerformedActivitySpecification.
|
static String |
NAME_ATTRIBUTE
The name of this PerformedActivitySpecification.
|
static String |
TABLENAMESUFFIX_ATTRIBUTE
Table name suffix used to generate the table name for the table
that will hold activity information, organized by the Actor
who performed the activity.
|
ACTIVE_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session
Modifier | Constructor and Description |
---|---|
protected |
PerformedActivitySpecification(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a PerformedActivitySpecification object.
|
Modifier and Type | Method and Description |
---|---|
static void |
deleteAllPerformedActivityRecords(ActivityRecord ar)
Deletes the PerformedActivityRecords was the specified ActivityRecord
in every PerformedActivity table.
|
void |
deletePerformedActivityRecords(ActivityRecord ar)
Deletes the PerformedActivityRecords for the specified ActivityRecord
in this instance's PerformedActivity table.
|
static PerformedActivitySpecification[] |
findAll(LibrarySession session)
Returns the set of all PerformedActivitySpecifications.
|
static PerformedActivitySpecification |
findByName(LibrarySession session,
String name)
Returns the a PerformedActivitySpecification matching the
specified name.
|
static PerformedActivitySpecification |
getDefaultPerformedActivitySpecification(LibrarySession session)
Returns the current default PerformedActivitySpecification.
|
String |
getDescription()
Returns the description of this PerformedActivitySpecification.
|
String |
getPrivateActionTableName()
Returns the table name to use for Private actions performed by the actor.
|
String |
getSequenceName()
Returns the sequence name to use for this instance,
for creation of rows in the Summary table.
|
String |
getSummaryTableName()
Returns the table name to use for ActivitySummary records.
|
String |
getTableName()
Returns the table name to use
for this PerformedActivitySpecification.
|
String |
getTableNameSuffix()
Returns the table name suffix that identifies the database objects
used for storing performed activity.
|
String |
getViewName()
Returns the view name to use for this PerformedActivitySpecification.
|
boolean |
hasNameAttribute()
Returns true if this object is an instance of a class
that has a NAME attribute, and false otherwise.
|
protected void |
postCreate(LibraryObjectDefinition lodef)
Extensibility point to perform actions after the
creation of a SystemObject.
|
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.
|
addCategory, constructSystemObject, constructSystemObjectVector, free, freeCategories, getCategories, getCategories, getCategories, getCategories, getPolicyBundle, getPolicyLists, handleCreate, hasPropertyBundleAttribute, isActive, postUpdate, preUpdate, putPolicy, removeAllPolicies, removePolicy, removePolicy, setActive, setPolicyBundle, setPolicyLists
added, 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, getDefinitionForSimplePropertyUpdates, 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, isValidEventType, 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, verifyTargetObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributeByUpperCaseName, getClassId, getId, getSessionInterface
getTraceLogger, isTraced, trace
public static final String CLASS_NAME
public static final String NAME_ATTRIBUTE
public static final String DESCRIPTION_ATTRIBUTE
public static final String TABLENAMESUFFIX_ATTRIBUTE
protected PerformedActivitySpecification(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- current LibrarySessionid
- object idclassId
- class iddata
- data componentIfsException
- if the operation failspublic boolean hasNameAttribute() throws IfsException
LibraryObject
hasNameAttribute
in class LibraryObject
IfsException
- if operation fails.public String getDescription() throws IfsException
IfsException
- if the operation fails.public String getTableNameSuffix() throws IfsException
IfsException
- if the operation fails.public String getTableName() throws IfsException
IfsException
- if the operation fails.public String getPrivateActionTableName() throws IfsException
IfsException
- if the operation fails.public String getSummaryTableName() throws IfsException
IfsException
- if the operation fails.public String getSequenceName() throws IfsException
IfsException
- if the operation fails.public String getViewName() throws IfsException
IfsException
- if the operation fails.public static PerformedActivitySpecification getDefaultPerformedActivitySpecification(LibrarySession session) throws IfsException
IfsException
- if the operation fails.protected void preCreate(LibraryObjectDefinition lodef) throws IfsException
SystemObject
Set an option that indicates that Categories are NOT to be created from within S_SystemObject.
preCreate
in class SystemObject
lodef
- object definition that will be used to create the objectIfsException
- if operation failsprotected void postCreate(LibraryObjectDefinition lodef) throws IfsException
SystemObject
This assumes that a transaction context has already been established.
postCreate
in class SystemObject
lodef
- object definition that was used to create the objectIfsException
- if operation failsprotected void preFree(LibraryObjectDefinition lodef) throws IfsException
LibraryObject
This method is typically overridden by subclasses that
perform other operations prior to the target object
being freed in order to all delete or modify objects related
to the target object.
Subclasses are expected to invoke super.preFree
.
preFree
in class LibraryObject
lodef
- object definition used to hold options related to the free
operationIfsException
- if operation fails.public static PerformedActivitySpecification[] findAll(LibrarySession session) throws IfsException
The instances will be sorted by name.
session
- the session contextIfsException
- if the operation fails.public static PerformedActivitySpecification findByName(LibrarySession session, String name) throws IfsException
PerformedActivitySpecification names are case sensitive, so this operations requires an exact match with respect to case.
session
- the session contextname
- the PerformedActivitySpecification nameIfsException
- if the operation fails.public static void deleteAllPerformedActivityRecords(ActivityRecord ar) throws IfsException
ar
- the ActivityRecord whose records will be deleted from
all Performed tableIfsException
- if operation fails.public void deletePerformedActivityRecords(ActivityRecord ar) throws IfsException
ar
- the ActivityRecord whose records will be deleted from
this instance's tableIfsException
- if operation fails.Copyright © 2023. All rights reserved.