ARoad0.gBaseInterface
Interface ImmutableEligibleParty

All Superinterfaces:
ACSObject, BaseBeanManager, BaseObject, BoundBean, java.lang.Cloneable, java.lang.Comparable, Copyable, FinalizedObject, FinalizedObjectForUser, ImmutableBasic, ImmutablePrivilegeSource, ImmutableSource, PrivilegeUser
All Known Subinterfaces:
Actor, ActorMySQL, ActorUbuntu, EligibleParty, ExecutableUbuntu, GroupID, GroupIDMember, GroupIDMySQL, ImmutableActor, ImmutableGroupID, ImmutableGroupIDMember, ImmutableUserID, ProxyMySQL, RoleMySQL, UserID, UserIDMySQL, UserIDUbuntu
All Known Implementing Classes:
ActorImpl, ActorMySQLImpl, ActorUbuntuImpl, EligiblePartyImpl, ExecutableUbuntuImpl, GroupIDImpl, GroupIDMemberImpl, GroupIDMySQLImpl, ProxyMySQLImpl, RoleMySQLImpl, UserIDImpl, UserIDMySQLImpl, UserIDUbuntuImpl

public interface ImmutableEligibleParty
extends ImmutableBasic, ImmutablePrivilegeSource

This interface is responsible for modeling the simplest rights user for which an ACS grants access or denies access to some targets through AclEntries or Privileges. This kind of entity may be an account (UserID), a group (GroupID), an external network or a server (Actor). This interface manages the access targets connected to the eligible party through AclEntries or Privileges.


Method Summary
 java.util.List<ImmutableResource> getEorL_AclConnectedResources()
          Get the resources connected to this eligible party.
 java.lang.String getEPType()
           
 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 an eligible party: , or .
 
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.BoundBean
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface ARoad0.gBaseInterface.FinalizedObjectForUser
finalizeForUser
 
Methods inherited from interface ARoad0.gBaseInterface.FinalizedObject
finalizeForBase
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutablePrivilegeSource
getEorL_SourcePrivilegeForLinks, getEorL_SourcePrivilegeForTypes, getEorL_SourcePrivileges
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableSource
getEorAliasAsInternalHardReference, getEorReferenceAsInternalHardAlias, getHasSoftAlias, getL_AcsOfSoftReferences, getL_SoftAlias, getType
 
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.BaseBeanManager
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getEPType

java.lang.String getEPType()
Returns:
type of the eligible party

getEorL_AclConnectedResources

java.util.List<ImmutableResource> getEorL_AclConnectedResources()
Get the resources connected to this eligible party. The resources may belong to differents ACS, as the aclEntries. One resource may have differents aclEntries (of different ACS) which connect it to this eligible party; then, the returned list contains only one reference to this resource. Caution: this method is associated to the protected methods add/removeAclEntryToEP(AclEntry _acl), which have to be implemented by any class that implements this interface. These protected method are used in AclEntryImpl.finalizeForUser(short _s), which have to know all the implementations of this interface.

Returns:
the unmodifiable list of references on resources. May be null.

getM_ConstrainedChildACS

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 an eligible party:

, or .

Each relation is associated to a key with the same name.

Returns:
a map of 3 ACS name lists for the 3 keys , and . May be empty but never null.