public class S_SystemObject extends S_TieLibraryObject implements SystemObjectInterface
S_LibraryObject.MapInfo
CASCADE_OP_COPY_PUBLICOBJECT_TO_CATEGORY, CASCADE_OP_COPY_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_DELETE_FAMILY_TO_VERSIONSERIES, CASCADE_OP_DELETE_PUBLICOBJECT_TO_LEFT_RELATIONSHIP, CASCADE_OP_DELETE_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_DELETE_PUBLICOBJECT_TO_VERSIONDESCRIPTION, CASCADE_OP_DELETE_RELATIONSHIP_TO_LEFT_PUBLICOBJECT, CASCADE_OP_DELETE_RELATIONSHIP_TO_RIGHT_PUBLICOBJECT, CASCADE_OP_DELETE_VERSIONDESCRIPTION_TO_PUBLICOBJECT, CASCADE_OP_DELETE_VERSIONDESCRIPTION_TO_VERSIONSERIES, CASCADE_OP_DELETE_VERSIONSERIES_TO_FAMILY, CASCADE_OP_DELETE_VERSIONSERIES_TO_VERSIONDESCRIPTION, CASCADE_OP_FREE_CATEGORY_TO_PUBLICOBJECT, CASCADE_OP_FREE_CATEGORY_TO_SCHEMAOBJECT, CASCADE_OP_FREE_CATEGORY_TO_SYSTEMOBJECT, CASCADE_OP_FREE_FAMILY_TO_VERSIONSERIES, CASCADE_OP_FREE_PUBLICOBJECT_TO_CATEGORY, CASCADE_OP_FREE_PUBLICOBJECT_TO_LEFT_RELATIONSHIP, CASCADE_OP_FREE_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_FREE_PUBLICOBJECT_TO_VERSIONDESCRIPTION, CASCADE_OP_FREE_RELATIONSHIP_TO_LEFT_PUBLICOBJECT, CASCADE_OP_FREE_RELATIONSHIP_TO_RIGHT_PUBLICOBJECT, CASCADE_OP_FREE_SCHEMAOBJECT_TO_CATEGORY, CASCADE_OP_FREE_SYSTEMOBJECT_TO_CATEGORY, CASCADE_OP_FREE_VERSIONDESCRIPTION_TO_PUBLICOBJECT, CASCADE_OP_FREE_VERSIONDESCRIPTION_TO_VERSIONSERIES, CASCADE_OP_FREE_VERSIONSERIES_TO_FAMILY, CASCADE_OP_FREE_VERSIONSERIES_TO_VERSIONDESCRIPTION, CASCADE_OP_UNDEFINED, CASCADE_OP_UNDELETE_FAMILY_TO_VERSIONSERIES, CASCADE_OP_UNDELETE_PUBLICOBJECT_TO_LEFT_RELATIONSHIP, CASCADE_OP_UNDELETE_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_UNDELETE_PUBLICOBJECT_TO_VERSIONDESCRIPTION, CASCADE_OP_UNDELETE_RELATIONSHIP_TO_LEFT_PUBLICOBJECT, CASCADE_OP_UNDELETE_RELATIONSHIP_TO_RIGHT_PUBLICOBJECT, CASCADE_OP_UNDELETE_VERSIONDESCRIPTION_TO_PUBLICOBJECT, CASCADE_OP_UNDELETE_VERSIONDESCRIPTION_TO_VERSIONSERIES, CASCADE_OP_UNDELETE_VERSIONSERIES_TO_FAMILY, CASCADE_OP_UNDELETE_VERSIONSERIES_TO_VERSIONDESCRIPTION, CASCADE_OP_UPDATE_CATEGORY_TO_PUBLICOBJECT, CASCADE_OP_UPDATE_CATEGORY_TO_SCHEMAOBJECT, CASCADE_OP_UPDATE_CATEGORY_TO_SYSTEMOBJECT, CASCADE_OP_UPDATE_PUBLICOBJECT_TO_CATEGORY, CASCADE_OP_UPDATE_SCHEMAOBJECT_TO_CATEGORY, CASCADE_OP_UPDATE_SYSTEMOBJECT_TO_CATEGORY, DEFAULT_RENDERER, m_ClassId, m_Id, m_Session
Modifier | Constructor and Description |
---|---|
protected |
S_SystemObject(S_LibrarySession session,
Long classId)
Construct a S_SystemObject object.
|
protected |
S_SystemObject(S_LibrarySession session,
S_LibraryObjectData data)
Construct a S_SystemObject object.
|
Modifier and Type | Method and Description |
---|---|
protected S_SystemCategory |
addCategory(SystemCategoryDefinition catdef)
Add a SystemCategory to the target object.
|
protected void |
cascadeFree(OperationState opState,
S_LibraryObjectDefinition def)
cascade operations to be performed before freeing
an object.
|
protected void |
createCategories(S_LibraryObjectDefinition sdef)
Create a set of categories.
|
protected void |
deriveDefinition(S_LibraryObjectDefinition sdef)
Add to the S_LibraryObjectDefinition
for this class.
|
protected void |
extendedPostInsert(OperationState opState,
S_LibraryObjectDefinition sdef)
Operations to be performed after creating an object.
|
protected void |
extendedPostUpdate(OperationState opState,
S_LibraryObjectDefinition sdef)
Extended operations to be performed after updating an object.
|
protected void |
extendedPreInsert(OperationState opState,
S_LibraryObjectDefinition sdef)
Performs pre-insert actions.
|
protected void |
extendedPreUpdate(OperationState opState,
S_LibraryObjectDefinition sdef)
Update any system attributes appropriate for creating this object
|
S_SystemCategory[] |
getCategories()
Get all system categories associated with this instance.
|
S_SystemCategory[] |
getCategories(S_ClassObject classobj)
Returns the associated SystemCategory objects that are instances of the
ClassObject (or one of its subclasses) specified.
|
S_SystemCategory[] |
getCategories(SortSpecification sort)
Get all Systemcategories associated with this instance.
|
protected void |
handleCascade(OperationState opState,
S_LibraryObject source,
int cascadeType,
S_LibraryObjectDefinition sdef,
Object customArg)
handle a cascaded operation initiated by
(usually) another object.
|
protected void |
removeCategories(S_LibraryObjectDefinition sdef)
Remove a set of categories.
|
protected void |
updateCategories(S_LibraryObjectDefinition sdef)
Update a set of categories.
|
protected void |
verifyCanCreate(S_LibraryObjectDefinition def)
Verifies that the instance can be created.
|
protected void |
verifyCanFree()
Verifies that the instance can be freed.
|
protected void |
verifyCanUpdate()
Verifies that the instance can be updated.
|
added, applyValueDefault, associatedPostFree, associatedPostInsert, associatedPreInsert, canPurge, cascadeCopy, cascadeUpdate, checkRequiredForInsert, checkSettable, clearArrayTypeAttributeValues, clearMapTypeAttributeValues, clonePublicObjectAttribute, constructIdArray, constructIdArray, copy, copy, copyVectorToLibraryObjectArray, createDefaultPolicyPropertyBundle, createDefaultPropertyBundle, createDefaultPropertyBundle, createInstance, deleteRows, deriveOwnerUniqueName, deriveOwnerUniqueName, deriveUppercasedAttribute, determineClassDomain, determinePolicy, determinePolicy, determineValueDefault, determineValueDomain, dispose, DYNInvalidateState, DYNLockRows, equals, equals, executePolicyOperation, extendedPostFree, extendedPreCopy, extendedPreFree, findPolicyFromPropertyBundleAv, free, free, getAttribute, getAttributeByUpperCaseName, getAuditCertificateName, getAuditDomainContext, getAuditEventFolderContext, getClassData, getClassId, getClassName, getClassObject, getContentStorageManager, getData, getDefinition, getEffectivePolicyActionContexts, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getId, getLibraryConnection, getName, getObjectReferenceAttribute, getPropertyBundle, getPropertyValue, getResourceString, getResourceString, getService, getSession, getSessionInterface, getTraceLogger, handleEvent, hashCode, hasNameAttribute, insertReferenceAttributes, insertRow, insertRows, invalidateState, invokeOperation, invokePolicyMethod, isAuditCertificateSecured, isBroadcastCreateEventEnabled, isInstanceOf, isPersistent, issueCascade, isTraced, lockRows, postEvent, postEvent, postFree, postInsert, postUpdate, preFree, preInsert, preUpdate, privilegedUpdate, removed, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, toString, trace, update, updateRows, validateStringArray, verifyCanGetContent, verifyCanSetContent, verifyCanSetPolicy, verifyPersistent, verifyWriteableTransactionInProgress
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributeByUpperCaseName, getClassId, getId, getSessionInterface
getTraceLogger, isTraced, trace
protected S_SystemObject(S_LibrarySession session, S_LibraryObjectData data) throws IfsException
session
- current LibrarySessiondata
- Data componentIfsException
protected S_SystemObject(S_LibrarySession session, Long classId) throws IfsException
session
- current LibrarySessionIfsException
protected void deriveDefinition(S_LibraryObjectDefinition sdef) throws IfsException
deriveDefinition
in class S_LibraryObject
sdef
- the S_LibraryObjectDefinition that contains
the definition of the target object.IfsException
- if operation fails.protected void verifyCanCreate(S_LibraryObjectDefinition def) throws IfsException
verifyCanCreate
in class S_LibraryObject
def
- the definitionIfsException
- if the operation failsprotected void verifyCanFree() throws IfsException
verifyCanFree
in class S_LibraryObject
IfsException
- if the operation failsprotected void verifyCanUpdate() throws IfsException
verifyCanUpdate
in class S_LibraryObject
IfsException
- if the operation failsprotected void extendedPreInsert(OperationState opState, S_LibraryObjectDefinition sdef) throws IfsException
extendedPreInsert
in class S_LibraryObject
opState
- current operation statesdef
- the definition for the insert operationIfsException
- if the operation failsprotected void extendedPostInsert(OperationState opState, S_LibraryObjectDefinition sdef) throws IfsException
This is overridden by classes that need to perform operations after successfully creating the rows for the new instance.
extendedPostInsert
in class S_LibraryObject
opState
- current operation statesdef
- object definitionIfsException
- if operation fails.protected void extendedPreUpdate(OperationState opState, S_LibraryObjectDefinition sdef) throws IfsException
extendedPreUpdate
in class S_LibraryObject
opState
- the operation statesdef
- current object definition to be updated with system attributesIfsException
- if operation fails.protected void extendedPostUpdate(OperationState opState, S_LibraryObjectDefinition sdef) throws IfsException
This is overridden by classes that need to perform operations after updating this object in the database, but before commit.
extendedPostUpdate
in class S_LibraryObject
opState
- the Operation statesdef
- the S_LibraryObjectDefinition that contains the updates.IfsException
- if operation fails.protected void handleCascade(OperationState opState, S_LibraryObject source, int cascadeType, S_LibraryObjectDefinition sdef, Object customArg) throws IfsException
handleCascade
in class S_LibraryObject
opState
- originating operation statesource
- object initiating this cascade request (not
necessarily the original object)cascadeType
- type of cascade requestsdef
- original Definition objectcustomArg
- any custom parameter.IfsException
- if operation fails.protected void cascadeFree(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
cascadeFree
in class S_LibraryObject
opState
- originating operation statedef
- original Definition objectIfsException
- if operation fails.protected S_SystemCategory addCategory(SystemCategoryDefinition catdef) throws IfsException
catdef
- the SystemCategoryDefinition object
that describes the system category to createIfsException
- if operation fails.protected void createCategories(S_LibraryObjectDefinition sdef) throws IfsException
Called as part extendedPostInsert
and
extendedPostUpdate
to create categories. Only creates
them if indicated by the CreateCategoriesServerSideOption on
the definition.
IfsException
protected void updateCategories(S_LibraryObjectDefinition sdef) throws IfsException
IfsException
protected void removeCategories(S_LibraryObjectDefinition sdef) throws IfsException
IfsException
public S_SystemCategory[] getCategories() throws IfsException
IfsException
- if the operation failspublic S_SystemCategory[] getCategories(S_ClassObject classobj) throws IfsException
classobj
- the class of SystemCategoryIfsException
- if operation fails.public S_SystemCategory[] getCategories(SortSpecification sort) throws IfsException
IfsException
- if the operation failsCopyright © 2023. All rights reserved.