|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImmutableResource
This interface is the immutable version of Resource. The resource may have a parent in a resource tree in this ACS, As a general resource, it is accessed from EligibleParties (userID, groupID, actor) through AclEntries belonging to this ACS or to another one. As a resource with AGO rights, it has an userID (account) and a groupID (group) in this ACS, and rights for them in this ACS. As a PrivilegeTarget, it handles the Privileges. This interface has several subinterfaces in this package. Directories, files, executable progams are examples of resources.
Method Summary | |
---|---|
boolean |
containsAclEntryToEP(EligibleParty _ep)
True if an EligibleParty is associated to the resource through an AclEntry. |
boolean |
getActorActivated()
|
boolean |
getAGOAccessFromTheParentAccount()
|
boolean |
getAGOAccessFromTheParentGroup()
|
ImmutableGroupID |
getEorGroupID()
|
java.util.List<AclEntry> |
getEorImmutableL_TargetInheritedAclEntries()
Gets all the immutable list of the inherited AclEntries of the target. |
java.util.Set |
getEorL_EPthroughAclEntry()
Get all the EligibleParty associated to the resource through at least one AclEntry. |
ImmutableUserID |
getEorUserID()
Get the userID, following the AGO rights. |
AclEntry[] |
getL_aclEntry()
Get the list where each AclEntry delivers rights to an EligibleParty to access or to deny access to this Resource. |
ImmutableName[] |
getL_AcsControllers()
Gets the open ACS that manages an external AclEntry or Linked Privilege for this resource. |
StringRight[] |
getL_groupRights()
Get the rights of the resource group. |
StringRight[] |
getL_inheritedGroupRights()
Get the inherited rights from the parent of the resource group. |
StringRight[] |
getL_inheritedOwnerRights()
Get the inherited rights from the parent of the resource owner. |
StringRight[] |
getL_ownerRights()
Get the rights of the resource owner. |
StringRight[] |
getL_rootRights()
Get the rights of the root, following AGO rights concept. |
java.util.Map<java.lang.String,ImmutableName[]> |
getM_ConstrainedChildACS()
A constrained (opened or closed) child ACS has one or several of the following relations to this Resource: |
java.util.Map<java.lang.String,StringRight[]> |
getM_TargetInheritedACLRights()
Gets the internal map of the inherited AclEntry rights, where the default key is the name of the EligibleParty having the rights on the target, extended with, as last component, the parent order of the target parent which has given the rights. |
java.lang.String |
getResourceType()
Get resource type, as for exemple "executable" or "file". |
boolean |
hasTheAccountAndGroupOfParent()
If there is no parent, return true to avoid useless processing. |
AclEntry |
selectInheritedAclEntry(AclEntry _acl,
java.lang.String _type)
Returns the AclEntry to use as inherited AclEntry in a child. |
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, selectInheritedPrivilege |
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 |
Methods inherited from interface ARoad0.gBaseInterface.BoundBean |
---|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from interface ARoad0.gBaseInterface.FinalizedObjectForUser |
---|
finalizeForUser |
Methods inherited from interface ARoad0.gBaseInterface.FinalizedObject |
---|
finalizeForBase |
Method Detail |
---|
ImmutableName[] getL_AcsControllers()
ImmutableUserID getEorUserID()
StringRight[] getL_ownerRights()
ImmutableGroupID getEorGroupID()
StringRight[] getL_groupRights()
StringRight[] getL_rootRights()
java.lang.String getResourceType()
AclEntry[] getL_aclEntry()
boolean containsAclEntryToEP(EligibleParty _ep)
_ep
- to test. May be null.
boolean hasTheAccountAndGroupOfParent()
boolean getAGOAccessFromTheParentAccount()
boolean getAGOAccessFromTheParentGroup()
java.util.Set getEorL_EPthroughAclEntry()
boolean getActorActivated()
StringRight[] getL_inheritedOwnerRights()
StringRight[] getL_inheritedGroupRights()
java.util.List<AclEntry> getEorImmutableL_TargetInheritedAclEntries()
java.util.Map<java.lang.String,StringRight[]> getM_TargetInheritedACLRights()
AclEntry selectInheritedAclEntry(AclEntry _acl, java.lang.String _type)
_acl
- the initial AclEntry which may be given to the child_type
- type of a child, as Resource
java.util.Map<java.lang.String,ImmutableName[]> getM_ConstrainedChildACS()
Each relation is associated to a key with the same name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |