public class AccessControlListDefinition extends PublicObjectDefinition
AccessControlList
,
Serialized FormLibraryObjectDefinition.EnumToIntegerCode, LibraryObjectDefinition.LookupByName
m_Attributes, m_ClassObjectName, m_ClassObjectValue, m_ContentSpecifications, m_DefinitionLists, m_Definitions, m_EnclosedDefinition, m_Id, m_Options, m_ReadOnly, m_ReferenceAttributes, m_Session, m_SystemOptions
Constructor and Description |
---|
AccessControlListDefinition(LibrarySessionInterface session)
Construct a definition explicitly capturing the
session.
|
AccessControlListDefinition(LibrarySessionInterface session,
String className)
Construct a definition, explicitly capturing the
session and setting the initial classobject.
|
Modifier and Type | Method and Description |
---|---|
void |
addAceDefinition(AccessControlEntryDefinition def)
Adds an AccessControlEntryDefinition to this object.
|
void |
addAceDefinition(AttributeValueTable aceTable)
Adds a new AccessControlEntryDefinition for an element
specified in a table.
|
void |
addAceDefinitions(AccessControlEntryDefinition[] defs)
Adds a set of new AccessControlEntry definitions.
|
void |
addAceDefinitions(List<AttributeValueTable> aceList)
Adds a set of new AccessControlEntryDefinitions via a table list.
|
void |
applySettings(AttributeValueTable avt)
Applies settings from the specified table.
|
AccessControlEntryDefinition[] |
getAceDefinitions()
returns all the ACE Definitions for this instance.
|
Boolean |
isShared()
Get the indication as to whether this ACL is a shared ACL.
|
void |
removeAceDefinitions()
Removes all ACE definition specifications from this instance.
|
void |
setAceDefinitions(AccessControlEntryDefinition[] defs)
Defines a set of new ACE Definitions.
|
void |
setShared(boolean isShared)
Set the indication as to whether this ACL is shared.
|
addCategoryDefinition, addCategoryDefinition, addCategoryDefinitions, addCategoryDefinitions, getAddToFolderOption, getAddToFolderValue, getAutoFolderingActionSpecification, getCascadeCopyRelationshipsOption, getCascadeCopyRelationshipsOptionValue, getCategoryCopyOption, getCategoryDefinitions, getContentQuotaCopyOption, getCreateCategoriesServerSideOption, getExplicitCreateAndModifyAttributesOption, getExplicitCreateDate, getExplicitLastModifyDate, getFreeIfLastFolderReferenceOption, getKeepLastModifierOption, getKeepLastModifyDateOption, getLockEntryDefinition, getLockObject, getLockObjectDefinition, getLockObjectValue, getSecuringPublicObject, getSecuringPublicObjectValue, getUpdatedLockObjectDefinition, removeCategoryDefinitions, removeLockEntryDefinition, resolveAutoFolderingSettings, setAddToFolderOption, setAddToFolderValue, setAutoFolderingActionSpecification, setAutoFolderingActionSpecification, setCascadeCopyRelationshipsOption, setCategoryCopyOption, setCategoryDefinitions, setContentQuotaCopyOption, setCreateCategoriesServerSideOption, setExplicitCreateAndModifyAttributesOption, setExplicitCreateDate, setExplicitLastModifyDate, setFreeIfLastFolderReferenceOption, setKeepLastModifierOption, setKeepLastModifyDateOption, setLockEntryDefinition, setLockObject, setLockObjectDefinition, setLockObjectValue, setNullSecurity, setPrivateSecurity, setPublishedSecurity, setSecuringPublicObject, setSecuringPublicObjectValue, setUpdatedLockObjectDefinition, toPublicObjectDefinition, toPublicObjectDefinition
addDefinition, addDefinitions, addProperty, addPropertyDefinition, addPropertyDefinition, addPropertyDefinitions, addPropertyDefinitions, addSimplePropertyDefinition, addSimplePropertyDefinition, addSimplePropertyDefinitions, addSimplePropertyDefinitions, applyEnumSetting, applyEnumSetting, applyMapSetting, applyMapSetting, applyObjectArraySetting, applyObjectArraySetting, applyObjectSetting, applyObjectSetting, applySetting, applySetting, captureSession, captureSession, captureSession, clone, constructInstance, constructInstance, constructInstance, copyInto, deriveObjectArraySetting, deriveObjectSetting, getAttribute, getAttribute, getAttributes, getAttributes, getAttributesSorted, getClassId, getClassObject, getClassObjectValue, getContentSpecification, getContentSpecificationKeys, getCopiedObjectValue, getDefinition, getDefinitionClassName, getDefinitionKeys, getDefinitionListKeys, getDefinitions, getId, getLibrarySession, getName, getOption, getOptionAsAttributeValue, getOptionKeys, getPolicyMode, getPropertyDefinitions, getReferenceAttribute, getReferenceAttributes, getServerDefinition, getSession, getSimplePropertyDefinitions, getSLibrarySession, getStringAttribute, getSystemOption, getSystemOptionAsAttributeValue, getSystemOptionAsBoolean, getSystemOptionKeys, getWriteableInstance, isReadOnly, prepareForDefinitionObject, processSimplePropertiesForCreate, processSimplePropertiesForUpdate, removeAttribute, removeContentSpecification, removeDefinition, removeDefinitions, removeOption, removePropertyDefinitions, removeReferenceAttribute, removeSimplePropertyDefinitions, removeSystemOption, reset, resolve, setAttribute, setAttribute, setAttribute, setAttributeByUpperCaseName, setAttributeByUpperCaseName, setAttributePolicyMode, setAttributes, setClassId, setClassname, setClassObject, setClassObjectValue, setContentSpecification, setCopiedObjectValue, setDefinition, setDefinitions, setId, setName, setOption, setReadOnly, setReferenceAttribute, setReferenceAttribute, setSession, setSimplePropertyDefinitions, setSystemOption, unresolve, verifySession
public AccessControlListDefinition(LibrarySessionInterface session) throws IfsException
session
- the current sessionIfsException
- if the operation failspublic AccessControlListDefinition(LibrarySessionInterface session, String className) throws IfsException
session
- the current sessionclassName
- the initial class nameIfsException
- if the operation failspublic void applySettings(AttributeValueTable avt) throws IfsException
applySettings
in class PublicObjectDefinition
avt
- the table having the definition settingsIfsException
- if the operation failspublic void setShared(boolean isShared) throws IfsException
isShared
- the indication as to whether this ACL is shared.IfsException
- if operation fails .public Boolean isShared() throws IfsException
IfsException
- if operation fails.public void addAceDefinition(AttributeValueTable aceTable) throws IfsException
aceTable
- the AccessControlEntry tableIfsException
- if the operation failspublic void addAceDefinitions(List<AttributeValueTable> aceList) throws IfsException
aceList
- the AccessControlEntry table listIfsException
- if the operation failspublic final void addAceDefinition(AccessControlEntryDefinition def) throws IfsException
def
- the AccessControlEntryDefinition of the new ACEIfsException
- if the operation failsAccessControlEntryDefinition
public void addAceDefinitions(AccessControlEntryDefinition[] defs) throws IfsException
defs
- the ACE definitions to be added for this instanceIfsException
public void setAceDefinitions(AccessControlEntryDefinition[] defs) throws IfsException
defs
- the ACE definitionsIfsException
public void removeAceDefinitions() throws IfsException
IfsException
public AccessControlEntryDefinition[] getAceDefinitions() throws IfsException
IfsException
- if the operation failsCopyright © 2023. All rights reserved.