|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Directory
The directory is composed of directories and files as children, and it is a kind of resource. It manages fully the AG inherited rights of its children. It manages only partially the ACL and PRI inherited rights of its children, and this may be completed by the AcsAddons. There are three flows of data to manage the inherited AclEntries:
- one at the ACL creation/deletion, and this is not done in the generic gBaseInterface,
- one at their inner rights editing, and this is the responsability of this interface,
- and the last flow, only for the condition ACL, at the editing of the membership relation between the source and a condition group, and this is the responsability of this interface.
There are two flows of data to manage the inherited Privileges:
- one at the privilege creation/deletion, and this is not done in the generic gBaseInterface,
- one at their sources editing, and this is the responsability of this interface.
Resource
Method Summary | |
---|---|
void |
resetInheritedAclEntryRightsOfChildren(AclEntry _acl)
Resets the inherited AclEntry rights in the children, if the AclEntry inheritance is applicable. |
void |
resetInheritedPrivilegeRightsOfChildren(PrivilegeForLinks _lpri)
Resets the inherited Privilege rights in the children, if the Privilege inheritance is applicable. |
void |
setEnforceChildGID(boolean _a)
|
Methods inherited from interface ARoad0.gBaseInterface.Resource |
---|
addAclEntry, copyWithoutInternalAcl, removeAclEntry, resetInheritedAclEntryRights, resetInheritedPrivilegeRights, selectInheritedPrivilege, setEorGroupID, setEorUserID, setL_groupRights, setL_ownerRights, setL_rootRights, setResourceType |
Methods inherited from interface ARoad0.gBaseInterface.Basic |
---|
finalizeForUser, setComment |
Methods inherited from interface ARoad0.gBaseInterface.PrivilegeTarget |
---|
addEorPrivilegeForTypeToTarget, removeEorPrivilegeToTarget |
Methods inherited from interface ARoad0.gBaseInterface.ImmutableDirectory |
---|
getEnforceChildGID, getEorL_Children |
Methods inherited from interface ARoad0.gBaseInterface.ImmutableBasic |
---|
getComment, getEorAliasAsInternalHardReference, getEorReferenceAsInternalHardAlias, getHasSoftAlias, getImpliedViews, getIS_Name, getL_AcsOfSoftReferences, getL_SoftAlias, getPropertyChangeListeners, getSerialVersionUID, getVirtualFolders |
Methods inherited from interface ARoad0.gBaseInterface.Copyable |
---|
copy |
Methods inherited from interface ARoad0.gBaseInterface.ImmutablePrivilegeTarget |
---|
getEorImmutableL_TargetInheritedLinkedPrivileges, getEorL_TargetPrivilegeForLinks, getEorL_TargetPrivilegeForTypes, getEorL_TargetPrivileges, getM_TargetInheritedLinkedPRIRights, getType |
Methods inherited from interface ARoad0.gBaseInterface.ImmutableTarget |
---|
getEorAliasAsInternalHardReference, getEorReferenceAsInternalHardAlias, getHasSoftAlias, getL_AcsOfSoftReferences, getL_SoftAlias |
Methods inherited from interface ARoad0.gBaseInterface.BaseBeanManager |
---|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from interface ARoad0.gBaseInterface.ImmutableLeaf |
---|
compareTo, getEorParent |
Methods inherited from interface ARoad0.gBaseInterface.ACSObject |
---|
getAcsName, getEorACS |
Methods inherited from interface ARoad0.gBaseInterface.BaseObject |
---|
equals, getFullName, getName, getNickName, hashCode |
Method Detail |
---|
void setEnforceChildGID(boolean _a)
_a
- true if the groupID is changed for the newly-created files
to this directory groupID, and the newly-created sub-directories have
this property set to true.void resetInheritedAclEntryRightsOfChildren(AclEntry _acl)
- one at the ACL creation/deletion, and this is not done in the generic gBase package,
- one at their inner rights editing,
- and the last flow, only for the condition ACL, at the editing of the membership relation between the source and a condition group.
This method is called for handling the second and the third cases, to update the children of the Directory the AclEntry which is the target of the AclEntry. Not described in the BeanInfo since the user does not call it. Note: the creation of the inherited AclEntry in a child is not handled by the generic gBase package, while the rights updating of the inherited AclEntry is handled through this method.
_acl
- inherited AclEntry with updated rightsvoid resetInheritedPrivilegeRightsOfChildren(PrivilegeForLinks _lpri)
- one at the privilege creation/deletion, and this is not done in the generic gBase package,
- one at their sources editing,
This method is called for handling the second case, to update the children of the Directory which is the target of the Privilege. Not described in the BeanInfo since the user does not call it. Note: the creation of the inherited Privilege in a child is not handled by the generic gBase package, while the rights updating of the inherited Privilege is handled through this method.
_lpri
- inherited privilege with updated sources
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |