public class AccessControlEntry extends TieSystemObject
The basic parts of an ACE are:
An ACE may be constructed either by using AccessLevel or PermissionBundles and can only exist in the context of referring to an AccessControlList.
AccessControlList,
AccessLevel,
DirectoryObject| Modifier and Type | Field and Description |
|---|---|
static String |
ACCESSLEVEL_ATTRIBUTE
The level of the permission associated with this AccessControlEntry,
e.g., Discover, Delete.
|
static String |
ACL_ATTRIBUTE
The AccessControlList to which this AccessControlEntry belongs.
|
static String |
CLASS_NAME
This class name for this class.
|
static String |
EXTENDEDPERMISSIONS_ATTRIBUTE
The extended permission levels created by a custom application which are
associated with this AccessControlEntry.
|
static String |
GRANTED_ATTRIBUTE
An indicator of whether the AccessLevel is being granted or revoked
by the AccessControlEntry.
|
static String |
GRANTEE_ATTRIBUTE
The DirectoryObject to which this AccessControlEntry is applied.
|
static String |
PERMISSIONBUNDLES_ATTRIBUTE
The PermissionBundles optionally used to set the permissions
for this AccessControlEntry.
|
static String |
SORTSEQUENCE_ATTRIBUTE
The sort sequence of this AccessControlEntry in the AccessControlList.
|
ACTIVE_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTEDOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session, NAME_ATTRIBUTE| Modifier | Constructor and Description |
|---|---|
protected |
AccessControlEntry(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a AccessControlEntry object.
|
| Modifier and Type | Method and Description |
|---|---|
protected static AccessControlEntry |
constructAccessControlEntry(LibrarySession sess,
S_LibraryObjectData data)
Construct AccessControlEntry from a S_LibraryObjectData
|
protected static AccessControlEntry[] |
constructAccessControlEntryArray(LibrarySession sess,
Long[] ids)
Construct a AccessControlEntry array from an array of object IDs.
|
protected static Vector |
constructAccessControlEntryVector(LibrarySession sess,
Vector vector)
Construct a Vector of ACE from a Vector of S_LibraryObjectData.
|
AccessControlList |
getAcl()
Return the ACL object that contains this ACE.
|
AccessLevel |
getDistinctAccessLevel()
Returns the access level represented by this ACE without
considering permission bundles.
|
ExtendedPermission[] |
getExtendedPermissions()
Returns extended permissions of this ACE.
|
DirectoryObject |
getGrantee()
Returns the directory object (grantee) that is associated with this ACE.
|
AccessLevel |
getMergedAccessLevel()
Returns the access level represented by this ACE including permission bundles.
|
PermissionBundle[] |
getPermissionBundles()
Returns all PermissionBundles that were used to define
the set of permissions for this ACE.
|
long |
getSortSequence()
Returns the Sort Sequence represented by this ACE.
|
boolean |
isGrant()
Return indication as to whether this is a grant or a revoke ACE.
|
protected static AccessControlEntry |
vectorAccessControlEntryElement(Vector vector,
int index)
Return a AccessControlEntry from a specified Vector of AccessControlEntrys
and an index.
|
protected static AccessControlEntry[] |
vectorToAccessControlEntryArray(Vector vector)
Convert a Vector of AccessControlEntrys to an
array of AccessControlEntrys.
|
addCategory, constructSystemObject, constructSystemObjectVector, free, freeCategories, getCategories, getCategories, getCategories, getCategories, getPolicyBundle, getPolicyLists, handleCreate, hasPropertyBundleAttribute, isActive, postCreate, postUpdate, 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, handleEvent, handleFree, handleUpdate, hashCode, hasNameAttribute, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, isValidEventType, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postEvent, postEvent, postFree, preFree, 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 ACL_ATTRIBUTE
public static final String GRANTEE_ATTRIBUTE
public static final String ACCESSLEVEL_ATTRIBUTE
public static final String EXTENDEDPERMISSIONS_ATTRIBUTE
public static final String GRANTED_ATTRIBUTE
public static final String SORTSEQUENCE_ATTRIBUTE
public static final String PERMISSIONBUNDLES_ATTRIBUTE
protected AccessControlEntry(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session - current Sessionid - object IDclassId - the class IDdata - Data associated with the object.IfsException - if operation fails.public AccessControlList getAcl() throws IfsException
IfsException - if operation fails.public DirectoryObject getGrantee() throws IfsException
IfsException - if operation fails.public AccessLevel getDistinctAccessLevel() throws IfsException
IfsException - if operation fails.public AccessLevel getMergedAccessLevel() throws IfsException
IfsException - if operation fails.public ExtendedPermission[] getExtendedPermissions() throws IfsException
IfsException - if operation fails.public PermissionBundle[] getPermissionBundles() throws IfsException
IfsException - if operation fails.public long getSortSequence()
throws IfsException
IfsException - if operation fails.public boolean isGrant()
throws IfsException
IfsException - if operation fails.protected static Vector constructAccessControlEntryVector(LibrarySession sess, Vector vector) throws IfsException
sess - the Sessionvector - a Vector of S_LibraryObjectDataIfsException - if operation fails.protected static AccessControlEntry constructAccessControlEntry(LibrarySession sess, S_LibraryObjectData data) throws IfsException
sess - the Sessiondata - the S_LibraryObejctDataIfsException - if operation fails.protected static AccessControlEntry[] constructAccessControlEntryArray(LibrarySession sess, Long[] ids) throws IfsException
sess - the requesting sessionids - the array of object IDsIfsException - if operation fails.protected static AccessControlEntry[] vectorToAccessControlEntryArray(Vector vector)
vector - A Vector containing AccessControlEntrys.protected static AccessControlEntry vectorAccessControlEntryElement(Vector vector, int index) throws IndexOutOfBoundsException
vector - a Vector containing AccessControlEntrys.index - an index into the Vector of AccessControlEntrys.IndexOutOfBoundsException - if index is invalid.Copyright © 2025. All rights reserved.