|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.beans.LibraryObjectDefinition | +--oracle.ifs.beans.SystemObjectDefinition | +--oracle.ifs.beans.AccessControlEntryDefinition
The AccessControlEntryDefinition class is used construct a AccessControlEntry object. AccessControlEntry objects are always associated with a single AccessControlList obejct.
Most of the specifications of an ACE are set using specific methods introduced in this class, as opposed to using the setAttribute() method inherited from LibraryObjectDefinition. The specifications that must be set with explicit methods on this class are:
AccessLevel
,
SystemObjectDefinition
,
AccessControlEntry
,
AccessControlList
,
AccessControlListDefinition
Constructor Summary | |
AccessControlEntryDefinition(LibrarySession session)
Constructs a AccessControlListDefinition explicitly capturing the session. |
Method Summary | |
void |
addPermissionBundle(PermissionBundle pb)
Add a permission bundle to this definition. |
void |
addPermissionBundles(PermissionBundle[] pbs)
Add AccessLevel using a set of permission bundles; |
void |
enableGrantToWorld(boolean flag)
Set the 'WORLD' group as the grantee of the ACE being created. |
AccessLevel |
getDistinctAccessLevel()
get the AccessLevel to be associated with this instance of ACE without permission bundles. |
DirectoryObject |
getGrantee()
Returns the grantee to be associated with this definition. |
AccessControlEntry |
getInsertAfterAccessControlEntry()
Returns the reference ACE set using setInsertAfterAccessControlEntry. |
AccessControlEntry |
getInsertBeforeAccessControlEntry()
Returns the reference ACE set using setBeforeAfterAccessControlEntry. |
AccessLevel |
getMergedAccessLevel()
get the AccessLevel to be associated with this instance of ACE with permission bundles. |
PermissionBundle[] |
getPermissionBundles()
Returns set of PermissionBundles. |
void |
setDistinctAccessLevel(AccessLevel level)
Set the AccessLevel to be associated with this instance of ACE before permission bundles are accounted for. |
void |
setGrantee(DirectoryObject dirobject)
Set the grantee to be associated with this ACE. |
void |
setInsertAfterAccessControlEntry(AccessControlEntry ace)
Set a reference ACE, so that the new ACE has a sort sequence greater than the reference ACE. |
void |
setInsertBeforeAccessControlEntry(AccessControlEntry ace)
Set a reference ACE, so that the new ACE has a sequence less than the reference ACE. |
Methods inherited from class oracle.ifs.beans.LibraryObjectDefinition |
clone, getAttribute, getAttributes, getClassObject, getOption, getOptionKeys, removeAttribute, removeOption, setAttribute, setAttribute, setAttributeByUpperCaseName, setAttributes, setClassObject, setOption |
Constructor Detail |
public AccessControlEntryDefinition(LibrarySession session) throws IfsException
session
- the sessionIfsException
- if the operation failsMethod Detail |
public void setDistinctAccessLevel(AccessLevel level) throws IfsException
level
- An AccessLevel object that defines the
access level.public AccessLevel getDistinctAccessLevel() throws IfsException
public AccessLevel getMergedAccessLevel() throws IfsException
public void addPermissionBundle(PermissionBundle pb) throws IfsException
permission
- bundle to be added.IfsException
- if the operation fails.public void addPermissionBundles(PermissionBundle[] pbs) throws IfsException
array
- of permission bundles.IfsException
- if the operation fails.public PermissionBundle[] getPermissionBundles() throws IfsException
IfsException
- if the operation fails.public void setGrantee(DirectoryObject dirobject) throws IfsException
dirobject
- The directory object to be associated with this instance.IfsException
- if the operation failspublic DirectoryObject getGrantee() throws IfsException
IfsException
- if the operation failspublic void enableGrantToWorld(boolean flag) throws IfsException
flag
- if set to true, WORLD will become the grantee.IfsException
- if the operation failspublic void setInsertAfterAccessControlEntry(AccessControlEntry ace) throws IfsException
ace
- the reference AccessControlEntry.IfsException
- if the operation failspublic AccessControlEntry getInsertAfterAccessControlEntry() throws IfsException
IfsException
- if the operation failspublic void setInsertBeforeAccessControlEntry(AccessControlEntry ace) throws IfsException
ace
- the reference AccessControlEntry.IfsException
- if the operation failspublic AccessControlEntry getInsertBeforeAccessControlEntry() throws IfsException
IfsException
- if the operation fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |