public class S_SchemaObject extends S_TieLibraryObject implements SchemaObjectInterface
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_SchemaObject(S_LibrarySession session,
Long classId)
Construct a S_SchemaObject object.
|
protected |
S_SchemaObject(S_LibrarySession session,
S_LibraryObjectData data)
Construct a S_SchemaObject object.
|
Modifier and Type | Method and Description |
---|---|
protected S_SchemaCategory |
addCategory(SchemaCategoryDefinition catdef)
Add a SchemaCategory to the target object.
|
protected void |
cascadeFree(OperationState opState,
S_LibraryObjectDefinition def)
cascade operations to be performed before freeing
an object.
|
protected void |
deriveDefinition(S_LibraryObjectDefinition sdef)
Add to the S_LibraryObjectDefinition
for this class.
|
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_SchemaCategory[] |
getCategories()
Get all schema categories associated with this instance.
|
S_SchemaCategory[] |
getCategories(S_ClassObject classobj)
Returns the associated SchemaCategory objects that are instances of the
ClassObject (or one of its subclasses) specified.
|
S_SchemaCategory[] |
getCategories(SortSpecification sort)
Get all Schemacategories 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.
|
boolean |
hasNameAttribute()
Override of hasNameAttribute(), to always return true for SchemaObjects
|
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, extendedPostInsert, extendedPostUpdate, 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, 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_SchemaObject(S_LibrarySession session, S_LibraryObjectData data) throws IfsException
session
- current LibrarySessiondata
- Data componentIfsException
protected S_SchemaObject(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.public boolean hasNameAttribute() throws IfsException
hasNameAttribute
in class S_LibraryObject
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 verifyCanUpdate() throws IfsException
verifyCanUpdate
in class S_LibraryObject
IfsException
- if the operation failsprotected void verifyCanFree() throws IfsException
verifyCanFree
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 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 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_SchemaCategory addCategory(SchemaCategoryDefinition catdef) throws IfsException
catdef
- the SchemaCategoryDefinition object
that describes the system category to createIfsException
- if operation fails.public S_SchemaCategory[] getCategories() throws IfsException
IfsException
- if the operation failspublic S_SchemaCategory[] getCategories(S_ClassObject classobj) throws IfsException
classobj
- the class of SchemaCategoryIfsException
- if operation fails.public S_SchemaCategory[] getCategories(SortSpecification sort) throws IfsException
IfsException
- if the operation failsCopyright © 2023. All rights reserved.