public class ActionSpecification extends TieSystemObject
| Modifier and Type | Field and Description | 
|---|---|
static String | 
ACTIONFACTORYCLASSNAME_ATTRIBUTE
The name of the attribute that holds fully-qualified class name 
 of the ActionFactory class associated with the instance. 
 | 
static String | 
ACTIONSPECIFICATION_HIERARCHY_TABLENAME
The table name which contains the ActionSpecification hierarchy. 
 | 
static String | 
CLASS_NAME
The name of the ClassObject representing this class. 
 | 
static String | 
DESCRIPTION_ATTRIBUTE
The name of the attribute that holds the description of 
 this ActionSpecification. 
 | 
static String | 
NAME_ATTRIBUTE
The name of the attribute that holds the name of 
 this ActionSpecification. 
 | 
static String | 
SUPERACTIONSPECIFICATION_ATTRIBUTE
The ActionSpecification whose ActionFactory class is the designated
 superclass for this instance. 
 | 
ACTIVE_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTEDOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session| Modifier | Constructor and Description | 
|---|---|
protected  | 
ActionSpecification(LibrarySession session,
                   Long id,
                   Long classId,
                   S_LibraryObjectData data)
Construct a ActionSpecification object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clearCachedActionFactory()
Clears the cached ActionFactory. 
 | 
static ActionSpecification[] | 
findAll(LibrarySession session)
Returns the set of defined ActionSpecifications. 
 | 
static ActionSpecification | 
findByName(LibrarySession session,
          String name)
Returns the a ActionSpecification matching the 
 specified name. 
 | 
ActionFactory | 
getActionFactory()
Gets the ActionFactory instance implementation corresponding 
 to the ActionClassName, that is used as a factory for subsequent
 Action instances (pre and post execution). 
 | 
String | 
getActionFactoryClassName()
Gets the fully-qualified class name of the ActionFactory class. 
 | 
AuditEventTypeDefinition[] | 
getAuditEventTypeDefinitions()
Gets the set of AuditEventTypeDefinitions for events 
 that can be created by this action. 
 | 
String | 
getDescription()
Gets the description of this ActionSpecification. 
 | 
static LibraryObjectLookupCache | 
getLibraryObjectLookupCache(LibrarySession session)
Returns the LibraryObjectLookupCache used by find
 ActionSpecification instances by name. 
 | 
AttributeValueTable | 
getPropertyTable()
Gets the AttributeValueTable representing the set of Properties defined 
 for this instance. 
 | 
ActionSpecification | 
getSuperActionSpecification()
Gets the ActionSpecification whose ActionFactory class is the designated
 superclass for this instance. 
 | 
void | 
handleEvent(IfsEvent event)
Handles the specified event. 
 | 
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 | 
postUpdate(LibraryObjectDefinition lodef)
Extensibility point to perform actions after the update of a SystemObject. 
 | 
protected void | 
preFree(LibraryObjectDefinition lodef)
Extensibility point to perform actions prior to the 
 permanent deletion ("free") of a object. 
 | 
void | 
refresh()
Refresh the event registratons from this instance. 
 | 
protected void | 
registerAuditEventTypes()
Register all events defined by this instance's ActionFactory
 that are not already registered. 
 | 
addCategory, constructSystemObject, constructSystemObjectVector, free, freeCategories, getCategories, getCategories, getCategories, getCategories, getPolicyBundle, getPolicyLists, handleCreate, hasPropertyBundleAttribute, isActive, preCreate, preUpdate, putPolicy, removeAllPolicies, removePolicy, removePolicy, setActive, setPolicyBundle, setPolicyListsadded, 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, 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, verifyTargetObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttributeByUpperCaseName, getClassId, getId, getSessionInterfacegetTraceLogger, isTraced, tracepublic static final String CLASS_NAME
public static final String NAME_ATTRIBUTE
public static final String DESCRIPTION_ATTRIBUTE
public static final String ACTIONFACTORYCLASSNAME_ATTRIBUTE
public static final String SUPERACTIONSPECIFICATION_ATTRIBUTE
public static final String ACTIONSPECIFICATION_HIERARCHY_TABLENAME
protected ActionSpecification(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
LibraryObjecthasNameAttribute in class LibraryObjectIfsException - if operation fails.public String getDescription() throws IfsException
IfsException - if operation failspublic String getActionFactoryClassName() throws IfsException
IfsException - if operation failspublic ActionSpecification getSuperActionSpecification() throws IfsException
IfsException - if operation failspublic AttributeValueTable getPropertyTable() throws IfsException
IfsException - if operation failspublic AuditEventTypeDefinition[] getAuditEventTypeDefinitions() throws IfsException
IfsException - if the operation fails.public static LibraryObjectLookupCache getLibraryObjectLookupCache(LibrarySession session) throws IfsException
session - the session contextIfsException - if the operation fails.public static ActionSpecification[] findAll(LibrarySession session) throws IfsException
The instances will be sorted by name.
session - the session contextIfsException - if the operation fails.public static ActionSpecification findByName(LibrarySession session, String name) throws IfsException
ActionSpecification names are case sensitive, so this operations requires an exact match with respect to case.
session - the session contextname - the ActionSpecification nameIfsException - if the operation fails.public void refresh()
             throws IfsException
IfsException - if the operation fails.protected void postCreate(LibraryObjectDefinition lodef) throws IfsException
SystemObjectThis assumes that a transaction context has already been established.
postCreate in class SystemObjectlodef - object definition that was used to create the objectIfsException - if operation failsprotected void postUpdate(LibraryObjectDefinition lodef) throws IfsException
SystemObjectCreate any categories that are specified in the definition.
postUpdate in class SystemObjectlodef - object definition used to define how the
                      target object was updatedIfsException - 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 LibraryObjectlodef - object definition used to hold options related to the free
             operationIfsException - if operation fails.protected void registerAuditEventTypes()
                                throws IfsException
IfsException - if the operation fails.public final ActionFactory getActionFactory() throws IfsException
This implementation is cached for use by the session associated with this instance.
IfsException - if the operation failspublic void clearCachedActionFactory()
public void handleEvent(IfsEvent event) throws IfsException
LibraryObjecthandleEvent in interface IfsEventHandlerhandleEvent in class LibraryObjectevent - the eventIfsException - if the operation failsCopyright © 2025. All rights reserved.