public class SystemAccessControlList extends TieAccessControlList
These AccessControlLists are uniquely named across the system and can only be created by administrators.
Examples of out-of-the-box SystemAccessControlLists are PUBLIC, PUBLISHED, PRIVATE and PROTECTED.
AccessControlList
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME
The name of the ClassObject representing this class.
|
static String |
UNIQUENAME_ATTRIBUTE
A system-set attribute used to ensure each SystemAccessControlList has a unique name.
|
COMPONENTACLS_ATTRIBUTE, OWNERUNIQUENAME_ATTRIBUTE, SHARED_ATTRIBUTE
ACL_ATTRIBUTE, CREATEDATE_ATTRIBUTE, CREATOR_ATTRIBUTE, DELETOR_ATTRIBUTE, DESCRIPTION_ATTRIBUTE, EXPIRATIONDATE_ATTRIBUTE, FAMILY_ATTRIBUTE, FLAG_CATEGORY_EXISTS, FLAG_CONFIGURATIONCATEGORY_EXISTS, FLAG_MARKED, FLAG_NOINFERIOR, FLAG_NOSELECT, FLAG_NTFS_ARCHIVE, FLAG_NTFS_HIDDEN, FLAG_NTFS_READONLY, FLAG_NTFS_SYSTEM, FLAG_UNMARKED, FLAGS_ATTRIBUTE, LASTMODIFIER_ATTRIBUTE, LASTMODIFYDATE_ATTRIBUTE, LOCKENTRIES_ATTRIBUTE, LOCKOBJECT_ATTRIBUTE, NAME_ATTRIBUTE, OWNER_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PRIMARYPARENTFOLDER_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE, RESOLVEDPUBLICOBJECT_ATTRIBUTE, SECURINGPUBLICOBJECT_ATTRIBUTE
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session
Modifier | Constructor and Description |
---|---|
protected |
SystemAccessControlList(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a SystemAccessControlList object - standard variant.
|
Modifier and Type | Method and Description |
---|---|
protected static Vector |
constructAccessControlListVector(LibrarySession sess,
Vector vector)
Constructs a vector of SystemAccessControlList objects
from a vector of corresponding data objects.
|
protected static SystemAccessControlList |
constructSystemAccessControlList(LibrarySession sess,
S_LibraryObjectData data)
Constructs a SystemAccessControlList object using a data object
corresponding to it.
|
static SystemAccessControlList[] |
findAll(LibrarySession session)
Returns the set of defined SystemAccessControlLists.
|
static SystemAccessControlList |
findByName(LibrarySession session,
String name)
Returns the a SystemAccessControlList matching the
specified name.
|
static LibraryObjectLookupCache |
getLibraryObjectLookupCache(LibrarySessionInterface session)
Returns the LibraryObjectLookupCache used by find
SystemAccessControlList instances by name.
|
static AccessControlList |
getPrivateAcl(LibrarySession session)
Get the ACL used to restrict access to owners and administrators.
|
static AccessControlList |
getPublishedAcl(LibrarySession session)
Get the ACL used to provide discover access to all users, and
restrict all other access to owners and administrators.
|
protected static SystemAccessControlList |
vectorSystemAccessControlListElement(Vector vector,
int index)
Return a SystemAccessControlList from a specified Vector of SystemAccessControlLists
and an index.
|
protected static SystemAccessControlList[] |
vectorToSystemAccessControlListArray(Vector vector)
Convert a Vector of SystemAccessControlLists to an
array of SystemAccessControlLists.
|
addAccessControlEntry, checkEffectiveAccess, checkGrantedAccess, checkGrantedAccess, constructAccessControlList, constructAccessControlListArray, getAccessControlEntrys, getAccessControlEntrys, getClassId, getComponentAcls, getCompositeAcls, getCompositeAcls, getEffectiveAccessLevel, getGrantedAccessLevel, getGrantedAccessLevel, grantAccess, isComposite, isShared, removeAccessControlEntry, removeAcesForFreedGrantees, removeAllAccessControlEntries, revokeAccess, revokeAllAccess, setComponentAcls, updateAccessControlEntry, vectorAclElement, vectorToAclArray
addAccess, addAttachment, addCategory, addFlags, addMessageList, addRelationship, auditPublicObjectLocked, auditPublicObjectUnlocked, canAcquireManualLock, canReleaseDavLock, canReleaseLock, canReleaseManualLock, capabilities, checkAuditViewCapability, checkCapabilities, checkCapability, checkEffectiveAccess, checkLockAccess, checkParentFolderCapability, checkVersioned, clearFlags, constructPublicObject, constructPublicObjectArray, constructPublicObjectVector, containsLockEntry, copy, coreAutoFolderingEnabled, createCategories, createDedicatedPolicyPropertyBundle, delete, deriveEffectiveAccessLevel, findAttachmentRelation, findOrAddActivityRecord, findOrAddActivityRecord, findOrAddActor, findOrAddActor, findOrAddMessageList, findOrAddMessageList, free, getAcl, getActivityRecord, getActor, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAttachmentRelation, getAttachmentRelations, getAttachments, getCapabilities, getCategories, getCategories, getCategories, getCategories, getCategories, getCategory, getConsumedStorage, getCreateDate, getCreator, getDefaultAccessLevel, getDefinitionForSimplePropertyUpdates, getDeletor, getDescription, getEffectiveAccessLevel, getExpirationDate, getFamily, getFirstCategory, getFirstVersion, getFlags, getFolderReferences, getFolderReferences, getFolderReferencesSortSpecification, getLastModifier, getLastModifyDate, getLastVersion, getLeftwardRelationshipObjects, getLeftwardRelationshipObjects, getLeftwardRelationships, getLeftwardRelationships, getLeftwardRelationshipsCount, getLeftwardRelationshipsCount, getLinks, getLockEntries, getLockEntries, getLockObject, getLockRestrictions, getLockTypeAuditProperties, getMessageList, getNextVersion, getOwner, getPolicyBundle, getPolicyLists, getPreviousVersion, getPrimaryFolderPath, getPrimaryParentFolder, getPrimaryParentFolder, getRelations, getReservationComment, getReservationDate, getReservor, getResolvedPublicObject, getRestrictingLockEntries, getRightwardRelationshipObjects, getRightwardRelationshipObjects, getRightwardRelationships, getRightwardRelationships, getSecuringPublicObject, getSingletonVersionDescription, getVersionNumber, getVersions, getVersionSeries, getWorkingCopy, handleCopy, handleCreate, handleUnlockAll, hasActivityRecord, hasActor, hasAttachmentRelation, hasCategories, hasCategory, hasConfigurationCategories, hasMessageList, hasNameAttribute, hasPropertyBundleAttribute, isAttachment, isDeleted, isLatestVersion, isLocked, isLockingSupported, isOwner, isReserved, isReservedByCurrentUser, isVersionable, isVersioned, isWorkingCopy, listLeftwardRelationships, listRightwardRelationships, lock, lock, lock, lock, newVersion, postCopy, postCreate, postSecurityChangedEvent, postUpdate, preCopy, preCreate, preFree, preUpdate, putPolicy, reassociateLinks, removeAllPolicies, removeAttachment, removePolicy, removePolicy, removeRelationship, reserveNext, resetFolderReferences, resolveFolderReferenceSortSpecification, setAcl, setDescription, setExpirationDate, setFlags, setFolderReferencesSortSpecification, setLockEntries, setLockEntrySecurity, setOwner, setOwnerByName, setPolicyBundle, setPolicyLists, setSecuringPublicObject, toPublicObjectArray, undelete, unlock, unlock, unlockAll, unReserve, updateFlags, updateLock, vectorPublicObjectElement, vectorToPublicObjectArray, verifyAddRelationshipCapability, verifyCapabilities, verifyCapability, verifyDeleteCapability, verifyLockCapability, verifyRemoveRelationshipCapability, verifyUnlockCapability, verifyVersionSeries
added, 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, 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, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, isValidEventType, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postEvent, postEvent, postFree, 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, verifyTargetObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributeByUpperCaseName, getClassId, getId, getSessionInterface
getTraceLogger, isTraced, trace
public static final String CLASS_NAME
public static final String UNIQUENAME_ATTRIBUTE
protected SystemAccessControlList(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- current Sessionid
- object IDclassId
- the class IDdata
- attributesIfsException
- if the operation failspublic static AccessControlList getPrivateAcl(LibrarySession session) throws IfsException
It is possible to return null if the ACL identified as the private ACL is deleted.
IfsException
- if operation fails.public static AccessControlList getPublishedAcl(LibrarySession session) throws IfsException
It is possible to return null if the ACL identified as the published ACL is deleted.
IfsException
- if operation fails.public static LibraryObjectLookupCache getLibraryObjectLookupCache(LibrarySessionInterface session) throws IfsException
session
- the session contextIfsException
- if the operation fails.public static SystemAccessControlList[] findAll(LibrarySession session) throws IfsException
The instances will be sorted by name.
session
- the session contextIfsException
- if the operation fails.public static SystemAccessControlList findByName(LibrarySession session, String name) throws IfsException
session
- the session contextname
- the SystemAccessControlList nameIfsException
- if the operation fails.protected static Vector constructAccessControlListVector(LibrarySession sess, Vector vector) throws IfsException
sess
- handle to current sessionvector
- vector of data objectsIfsException
- if the operation failsprotected static SystemAccessControlList constructSystemAccessControlList(LibrarySession sess, S_LibraryObjectData data) throws IfsException
sess
- handle to library sessiondata
- data corresponding to the object to be constructedIfsException
- if the operation failsprotected static SystemAccessControlList[] vectorToSystemAccessControlListArray(Vector vector)
vector
- A Vector containing SystemAccessControlLists.protected static SystemAccessControlList vectorSystemAccessControlListElement(Vector vector, int index) throws IndexOutOfBoundsException
vector
- A Vector containing SystemAccessControlLists.index
- An index into the Vector of SystemAccessControlLists.IndexOutOfBoundsException
- if index is invalid.Copyright © 2023. All rights reserved.