public class S_Category extends S_TiePublicObject
A PublicObject can be associated with any Category, which allows different sets of data to be associated with instances of the same PublicObject subclass.
S_LibraryObject.MapInfo| Modifier and Type | Field and Description | 
|---|---|
static int | 
POLICY_ENUM_CATEGORYCOPY_COPY  | 
static int | 
POLICY_ENUM_CATEGORYCOPY_INVALID_VALUE  | 
static int | 
POLICY_ENUM_CATEGORYCOPY_NOCOPY  | 
ACL_ATTRIBUTE, CLASS_NAME, CREATEDATE_ATTRIBUTE, CREATOR_ATTRIBUTE, DELETOR_ATTRIBUTE, EXPIRATIONDATE_ATTRIBUTE, FAMILY_ATTRIBUTE, LASTMODIFIER_ATTRIBUTE, LASTMODIFYDATE_ATTRIBUTE, NAME_ATTRIBUTE, OWNER_ATTRIBUTE, POLICY_ENUM_EXTENDEDFREE_IGNORE_OWNERSHIP, POLICY_ENUM_EXTENDEDFREE_INVALID_VALUE, POLICY_ENUM_EXTENDEDFREE_REQUIRE_ADMIN, POLICYBUNDLE_ATTRIBUTE, RESOLVED_OBJECT_ATTRIBUTE, SECURINGPUBLICOBJECT_ATTRIBUTECASCADE_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_Category(S_LibrarySession session,
          Long classId)
Constructs a S_Category object. 
 | 
protected  | 
S_Category(S_LibrarySession session,
          S_LibraryObjectData data)
Constructs a S_Category object - standard variant. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
cascadeFree(OperationState opState,
           S_LibraryObjectDefinition sdef)
Performs cascade operations prior to freeing the
 actual object. 
 | 
protected void | 
cascadeFreeToAssociatedObject(OperationState opState)
Notifies the Associated PublicObject of freeing action. 
 | 
protected void | 
cascadeUpdate(OperationState opState,
             S_LibraryObjectDefinition def)
cascade operations to be performed before updating
 an object. 
 | 
protected static S_Category[] | 
constructCategoryArray(S_LibrarySession sess,
                      Long[] ids)
Construct a Category array from an array of object IDs. 
 | 
protected void | 
deriveDefinition(S_LibraryObjectDefinition def)
Add to the S_LibraryObjectDefinition
 for this class. 
 | 
Serializable | 
DYNMoveCategory(Serializable payload)
Move Category to another PublicObject. 
 | 
protected void | 
extendedPostFree(OperationState opState,
                S_LibraryObjectDefinition def)
Operations to be performed after freeing
 an object 
 | 
protected void | 
extendedPostInsert(OperationState opState,
                  S_LibraryObjectDefinition sdef)
Performs validation after to an insert. 
 | 
protected void | 
extendedPostUpdate(OperationState opState,
                  S_LibraryObjectDefinition sdef)
Perform extended updates for Category. 
 | 
protected void | 
extendedPreFree(OperationState opState,
               S_LibraryObjectDefinition sdef)
operations to be performed before freeing
 an object. 
 | 
protected void | 
extendedPreInsert(OperationState opState,
                 S_LibraryObjectDefinition sdef)
Update any system attributes appropriate for creating this object 
 | 
protected void | 
forceSecuredObjectsToClear(OperationState opState)
Overrides  
forceSecuredObjectsToClear, as 
 there are never objects that reference this as 
 their SecuringPublicObject. | 
protected void | 
freeNonsharedAcl(OperationState opState)
Overrides  
freeNonsharedAcl, as we never 
 need to free our ACL since it is always inherited from
 the associated PublicObject. | 
S_PublicObject | 
getAssociatedPublicObject()
Gets the PublicObject associated with this Category. 
 | 
S_Folder | 
getAuditEventFolderContext()
Gets the folder context for the target of an Audit Event. 
 | 
protected void | 
handleCascade(OperationState opState,
             S_LibraryObject source,
             int cascadeType,
             S_LibraryObjectDefinition sdef,
             Object customArg)
Handles a cascaded operation initiated by 
 (usually) another object. 
 | 
protected void | 
propagateSecurityChanges(OperationState opState,
                        S_LibraryObjectDefinition def)
Overrides  
propagateSecurityChanges, as 
 there are never objects that reference this as 
 their SecuringPublicObject. | 
protected void | 
resolveACLSetting(S_LibraryObjectDefinition def)
Overrides  
resolveACLSetting, as we don't want to 
 ever clone an ACL associated with a Category. | 
addCategory, addRelationship, addRelationship, canUseContentQuota, cascadeCopy, cascadeDelete, cascadeUndelete, checkAccess, constructPublicObjectArray, createCategories, createDefaultPolicyPropertyBundle, createDefaultPropertyBundle, delete, delete, determineResolvedObject, DYNReplaceCreator, DYNReplaceDeletor, DYNReplaceModifier, extendedPostDelete, extendedPostUndelete, extendedPreCopy, extendedPreDelete, extendedPreUndelete, extendedPreUpdate, freeIfNoFolderReferences, freeNonsharedLockObject, getAcl, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAllLeftRelationships, getAllRightRelationships, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getCategories, getCategories, getCategories, getCategory, getConsumedStorage, getDefaultAclFromUserProfile, getFamily, getFlags, getLeftRelationships, getLeftwardRelationshipDatas, getLeftwardRelationshipDatas, getLeftwardRelationshipObjectDatas, getLeftwardRelationshipObjectDatas, getLeftwardRelationshipObjects, getLeftwardRelationshipObjects, getLeftwardRelationships, getLeftwardRelationships, getLeftwardRelationshipsCount, getLeftwardRelationshipsCount, getLinkIds, getLinks, getLockedForSessionId, getLockEntries, getLockObject, getLockRestrictions, getOwner, getPrimaryParentFolder, getPropagatedSecurityAttributeNames, getPropagatedSecurityColumnNames, getReferencingFolderIds, getReferencingFolders, getResolvedObject, getRightRelationships, getRightwardRelationshipDatas, getRightwardRelationshipDatas, getRightwardRelationshipObjectDatas, getRightwardRelationshipObjectDatas, getRightwardRelationshipObjects, getRightwardRelationshipObjects, getRightwardRelationships, getRightwardRelationships, getSpecificLeftRelationships, getSpecificRightRelationships, getVersionDescriptions, handleExtendedFreePolicy, hasNameAttribute, invokeLockingPolicy, isAuditCertificateSecured, isDeleted, isLocked, isLockedForSession, isLockedForSessionByCurrentSession, isLockObjectEnabled, isLockObjectEnabled, isOwner, isVersionable, postCreateAddToFolder, postDelete, postSecurityChangeAuditEvent, postUndelete, postUpdateAddToFolder, preDelete, preUndelete, propagateFreeIfNoFolderReferences, propagateNameChanges, propogateSettingsToProxyService, putProperty, reassociateLinks, relationshipExists, removeRelationship, removeRelationship, removeRowFromAclProxyIfSecured, resolveResolvedObject, resolveSecuredBySettings, signalLeftRelationshipFreed, signalRightRelationshipFreed, undelete, undelete, unlockForSession, updateFamily, updateFlags, updateLastModifiedInfo, updatePrimaryParentFolder, vectorToSPublicObjectArray, verifyCanAddRelationship, verifyCanCreate, verifyCanFree, verifyCanLock, verifyCanRemoveRelationship, verifyCanSetPolicy, verifyCanUnlock, verifyCanUpdatePublicObject, verifyCanUseContentQuota, verifyGrantAccess, verifyObjectNotLocked, verifyObjectNotLocked, verifyPublicObjectPermissionadded, applyValueDefault, associatedPostFree, associatedPostInsert, associatedPreInsert, canPurge, checkRequiredForInsert, checkSettable, clearArrayTypeAttributeValues, clearMapTypeAttributeValues, clonePublicObjectAttribute, constructIdArray, constructIdArray, copy, copy, copyVectorToLibraryObjectArray, createDefaultPropertyBundle, createInstance, deleteRows, deriveOwnerUniqueName, deriveOwnerUniqueName, deriveUppercasedAttribute, determineClassDomain, determinePolicy, determinePolicy, determineValueDefault, determineValueDomain, dispose, DYNInvalidateState, DYNLockRows, equals, equals, executePolicyOperation, findPolicyFromPropertyBundleAv, free, free, getAttribute, getAttributeByUpperCaseName, getAuditCertificateName, getAuditDomainContext, getAuditDomainContextFolder, 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, isBroadcastCreateEventEnabled, isInstanceOf, isPersistent, issueCascade, isTraced, lockRows, postEvent, postEvent, postEvent, postFree, postInsert, postUpdate, preFree, preInsert, preUpdate, privilegedUpdate, removed, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, toString, trace, update, updateRows, validateStringArray, verifyCanGetContent, verifyCanSetContent, verifyCanUpdate, verifyPersistent, verifyWriteableTransactionInProgressclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttributeByUpperCaseName, getClassId, getId, getSessionInterfacegetTraceLogger, isTraced, tracepublic static final int POLICY_ENUM_CATEGORYCOPY_INVALID_VALUE
public static final int POLICY_ENUM_CATEGORYCOPY_COPY
public static final int POLICY_ENUM_CATEGORYCOPY_NOCOPY
protected S_Category(S_LibrarySession session, S_LibraryObjectData data) throws IfsException
session - current LibrarySessiondata - data componentIfsException - if the operation failsprotected S_Category(S_LibrarySession session, Long classId) throws IfsException
session - current LibrarySessionclassId - class idIfsException - if the operation failspublic S_PublicObject getAssociatedPublicObject() throws IfsException
IfsException - if operation failsprotected void deriveDefinition(S_LibraryObjectDefinition def) throws IfsException
deriveDefinition in class S_PublicObjectdef - the definition of the target object.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_PublicObjectopState - originating operation statesource - object initiating this cascade request
                  (not necessarily the original object)cascadeType - type of cascade requestsdef - original Definition objectcustomArg - any custom parameterIfsException - if the operation failsprotected void cascadeFree(OperationState opState, S_LibraryObjectDefinition sdef) throws IfsException
cascadeFree in class S_PublicObjectopState - current operation statesdef - definition objectIfsException - if operation failsprotected void cascadeUpdate(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
cascadeUpdate in class S_LibraryObjectopState - current operation statedef - object definitionIfsException - if operation fails.protected void cascadeFreeToAssociatedObject(OperationState opState) throws IfsException
opState - current operation stateIfsException - if operation failsprotected void extendedPreInsert(OperationState opState, S_LibraryObjectDefinition sdef) throws IfsException
extendedPreInsert in class S_PublicObjectopState - current operation statesdef - current object definition to be updated with system attributesIfsException - if operation fails.protected void extendedPostInsert(OperationState opState, S_LibraryObjectDefinition sdef) throws IfsException
extendedPostInsert in class S_PublicObjectopState - current operation statesdef - the definition of the Property being createdIfsException - (IFS-31600) if no values were specifiedprotected void extendedPostUpdate(OperationState opState, S_LibraryObjectDefinition sdef) throws IfsException
extendedPostUpdate in class S_PublicObjectopState - the operation statesdef - current object definitionIfsException - if the operation failsprotected void extendedPreFree(OperationState opState, S_LibraryObjectDefinition sdef) throws IfsException
extendedPreFree in class S_PublicObjectopState - current operation statesdef - current object definition to be 
            updated with system attributesIfsException - if operation fails.protected void extendedPostFree(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPostFree in class S_PublicObjectopState - current operation statedef - current object definitionIfsException - if operation fails.protected void resolveACLSetting(S_LibraryObjectDefinition def) throws IfsException
resolveACLSetting, as we don't want to 
 ever clone an ACL associated with a Category.  This
 will always be set to the top associated object's ACL.resolveACLSetting in class S_PublicObjectdef - current object definitionIfsException - if operation failsprotected void forceSecuredObjectsToClear(OperationState opState) throws IfsException
forceSecuredObjectsToClear, as 
 there are never objects that reference this as 
 their SecuringPublicObject.  Any nested categories are
 still secured by the top-most PublicObject.forceSecuredObjectsToClear in class S_PublicObjectopState - current operation stateIfsException - if operation failsprotected void propagateSecurityChanges(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
propagateSecurityChanges, as 
 there are never objects that reference this as 
 their SecuringPublicObject.  Any nested categories are
 still secured by the top-most PublicObject.propagateSecurityChanges in class S_PublicObjectopState - current operation statedef - Definition of security changesIfsException - if operation failsprotected void freeNonsharedAcl(OperationState opState) throws IfsException
freeNonsharedAcl, as we never 
 need to free our ACL since it is always inherited from
 the associated PublicObject.freeNonsharedAcl in class S_PublicObjectopState - current operation stateIfsException - if operation failspublic Serializable DYNMoveCategory(Serializable payload) throws IfsException
payload - the new target PublicObject (as an AttributeValue)IfsException - if operation fails.protected static S_Category[] constructCategoryArray(S_LibrarySession sess, Long[] ids) throws IfsException
sess - the requesting sessionids - the array of object IDsIfsException - if operation fails.public S_Folder getAuditEventFolderContext() throws IfsException
Override to delegate to the associated PublicObject.
getAuditEventFolderContext in class S_PublicObjectIfsException - if the operation failsCopyright © 2025. All rights reserved.