public class S_DirectoryObject extends S_TiePublicObject implements DirectoryObjectInterface
S_LibraryService, 
S_LibrarySession| Modifier and Type | Class and Description | 
|---|---|
protected static class  | 
S_DirectoryObject.AncestorIdSet
Used to create a set of ancestor groups by cascading up a
 group hierarchy and filtering out duplicates. 
 | 
S_LibraryObject.MapInfo| Modifier and Type | Field and Description | 
|---|---|
protected static int | 
GET_ANCESTORS_THRESHOLD
Default threshold for using temp table when getting all ancestors. 
 | 
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_DirectoryObject(S_LibrarySession session,
                 Long classId)
Constructs an S_DirectoryObject in the case where the object has not 
 been created in the database yet. 
 | 
protected  | 
S_DirectoryObject(S_LibrarySession session,
                 S_LibraryObjectData data)
Constructs an S_DirectoryObject. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected static S_DirectoryObject[] | 
constructDirectoryObjectArray(S_LibrarySession sess,
                             Long[] ids)
Construct a DirectoryObject array from an array of object IDs. 
 | 
Serializable | 
DYNDeleteTemporaryIds(Serializable payload)
Deletes all IDs from temporary table used in GroupMembershipCache. 
 | 
Serializable | 
DYNInsertTemporaryIds(Serializable payload)
Inserts IDs into temporary table used in GroupMembershipCache. 
 | 
protected void | 
extendedPostFree(OperationState opState,
                S_LibraryObjectDefinition def)
Performs the necessary operations after freeing an object. 
 | 
protected void | 
extendedPostInsert(OperationState opState,
                  S_LibraryObjectDefinition def)
operations to be performed after creating
 an instance. 
 | 
protected void | 
extendedPreFree(OperationState opState,
               S_LibraryObjectDefinition def)
Performs the necessary operations before freeing an object. 
 | 
protected Long[] | 
getAllAncestorIds()
Gets the set of all IDs that are members (direct or indirect) 
 of this group. 
 | 
S_DirectoryObject[] | 
getAllAncestors()
Gets all ancestors of a member, returning the ancestors as an array 
 of S_DirectoryObject. 
 | 
S_DirectoryObject[] | 
getAllMembers()
Gets all members belonging to this DIRECTORYOBJECT. 
 | 
protected Long[] | 
getAllMembersIds()
Gets all members belonging to this DIRECTORYOBJECT. 
 | 
protected String | 
getCredentialManager()
Gets the credential manager of this DirectoryObject. 
 | 
Long[] | 
getDirectAncestorIds()
Gets the direct ancestors of this DIRECTORYOBJECT. 
 | 
S_DirectoryObject[] | 
getDirectAncestors()
Gets direct group ancestors of a member, returning the ancestors 
 as an array of S_DirectoryObject. 
 | 
S_DirectoryObject[] | 
getDirectMembers()
Gets the direct members of this DIRECTORYOBJECT. 
 | 
protected String | 
getDistinguishedName()
Gets the distinguished name of this DirectoryObject. 
 | 
protected static S_DirectoryObject[] | 
vectorToSDirectoryObjectArray(S_LibrarySession sess,
                             Vector vector)
Converts a Vector of S_DirectoryObject to an array of S_DirectoryObject. 
 | 
protected void | 
verifyCanBeMember()
Verifies that this instance can be a member of a group. 
 | 
addCategory, addRelationship, addRelationship, canUseContentQuota, cascadeCopy, cascadeDelete, cascadeFree, cascadeUndelete, checkAccess, constructPublicObjectArray, createCategories, createDefaultPolicyPropertyBundle, createDefaultPropertyBundle, delete, delete, deriveDefinition, determineResolvedObject, DYNReplaceCreator, DYNReplaceDeletor, DYNReplaceModifier, extendedPostDelete, extendedPostUndelete, extendedPostUpdate, extendedPreCopy, extendedPreDelete, extendedPreInsert, extendedPreUndelete, extendedPreUpdate, forceSecuredObjectsToClear, freeIfNoFolderReferences, freeNonsharedAcl, freeNonsharedLockObject, getAcl, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAllLeftRelationships, getAllRightRelationships, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAuditEventFolderContext, 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, handleCascade, handleExtendedFreePolicy, hasNameAttribute, invokeLockingPolicy, isAuditCertificateSecured, isDeleted, isLocked, isLockedForSession, isLockedForSessionByCurrentSession, isLockObjectEnabled, isLockObjectEnabled, isOwner, isVersionable, postCreateAddToFolder, postDelete, postSecurityChangeAuditEvent, postUndelete, postUpdateAddToFolder, preDelete, preUndelete, propagateFreeIfNoFolderReferences, propagateNameChanges, propagateSecurityChanges, propogateSettingsToProxyService, putProperty, reassociateLinks, relationshipExists, removeRelationship, removeRelationship, removeRowFromAclProxyIfSecured, resolveACLSetting, 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, cascadeUpdate, 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, traceprotected static final int GET_ANCESTORS_THRESHOLD
protected S_DirectoryObject(S_LibrarySession session, S_LibraryObjectData data) throws IfsException
session - current LibrarySessiondata - Data componentIfsException - if the operation failsprotected S_DirectoryObject(S_LibrarySession session, Long classId) throws IfsException
session - current LibrarySessionIfsException - if the operation failsprotected String getDistinguishedName() throws IfsException
IfsException - if operation fails.protected String getCredentialManager() throws IfsException
IfsException - if operation fails.public S_DirectoryObject[] getDirectMembers() throws IfsException
IfsException - if the operation failspublic S_DirectoryObject[] getAllMembers() throws IfsException
IfsException - if the operation failsprotected Long[] getAllMembersIds() throws IfsException
IfsException - if the operation failspublic S_DirectoryObject[] getDirectAncestors() throws IfsException
IfsException - if the operation failspublic Long[] getDirectAncestorIds() throws IfsException
IfsException - if the operation failspublic S_DirectoryObject[] getAllAncestors() throws IfsException
IfsException - if the operation failspublic Serializable DYNInsertTemporaryIds(Serializable payload) throws IfsException
payload - the IDs to insertIfsException - if operation fails.public Serializable DYNDeleteTemporaryIds(Serializable payload) throws IfsException
payload - nullIfsException - if operation fails.protected Long[] getAllAncestorIds() throws IfsException
IfsException - if the operation fails.protected void extendedPostInsert(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPostInsert in class S_PublicObjectopState - current operation statedef - object definitionIfsException - if operation fails.protected void extendedPreFree(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
This is overridden by classes that need to perform operations after successfully deleting the rows for the freed instance.
extendedPreFree in class S_PublicObjectopState - current operation statedef - current object definition to be 
            updated with system attributesIfsException - if operation fails.protected void extendedPostFree(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
This override will remove invalid ACEs.
extendedPostFree in class S_PublicObjectopState - current operation statedef - current object definitionIfsException - if operation fails.protected void verifyCanBeMember()
                          throws IfsException
IfsException - if the operation failsprotected static S_DirectoryObject[] vectorToSDirectoryObjectArray(S_LibrarySession sess, Vector vector) throws IfsException
IfsException - if operation fails.protected static S_DirectoryObject[] constructDirectoryObjectArray(S_LibrarySession sess, Long[] ids) throws IfsException
sess - the requesting sessionids - the array of object IDsIfsException - if operation fails.Copyright © 2025. All rights reserved.