ARoad0.gBaseInterface
Interface ImmutablePrivilegeSource

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

public interface ImmutablePrivilegeSource
extends PrivilegeUser, ImmutableSource

This interface is responsible for modeling the source which is connected to Privileges. A privilege instance is crontolled by the ACS, and it is then appliable to any couple (source, target) which belong to the ACS. There are different types of privilege (defined in PrivilegeAbst class) and interfaces. See the Copyright.

See Also:
PrivilegeAbst

Method Summary
 java.util.List getEorL_SourcePrivilegeForLinks()
          Gets all the PrivilegeForLinks linked to this source.
 java.util.List getEorL_SourcePrivilegeForTypes()
          Gets all the PrivilegeForTypes of this source.
 java.util.List getEorL_SourcePrivileges()
          Gets all the privileges which are associated to this source.
 
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

getEorL_SourcePrivileges

java.util.List getEorL_SourcePrivileges()
Gets all the privileges which are associated to this source. There is two types of privilege links (allowed or not by the ACS):

- PrivilegeForLinks: linked privilege established for a couple (ACSObject, privilege),

- PrivilegeForType: typed privilege, where the ACSObject and the privilege has a common type, but without the TYPED_FOR_SEED and TYPED_CLASSED_SPECIFIC privileges.

Returns:
List of Privileges. May be empty, but never null.

getEorL_SourcePrivilegeForTypes

java.util.List getEorL_SourcePrivilegeForTypes()
Gets all the PrivilegeForTypes of this source. Does not include the TYPED_FOR_SEED and the TYPED_CLASSED_SPECIFIC privileges.

Returns:
List of PrivilegeForType. May be empty, but never null.

getEorL_SourcePrivilegeForLinks

java.util.List getEorL_SourcePrivilegeForLinks()
Gets all the PrivilegeForLinks linked to this source. Note: for LINKED_IF_ALL linked privileges, the presence of the privilege does not mean that the master has the privilege rights.

Returns:
List of PrivilegeForLinks. May be empty, but never null.