ARoad0.gBaseInterface
Interface ImmutableActor

All Superinterfaces:
ACSObject, BaseBeanManager, BaseObject, BoundBean, java.lang.Cloneable, java.lang.Comparable, Copyable, FinalizedObject, FinalizedObjectForUser, ImmutableBasic, ImmutableEligibleParty, ImmutableLeaf, ImmutablePrivilegeSource, ImmutablePrivilegeTarget, ImmutableResource, ImmutableSource, ImmutableTarget, PrivilegeUser
All Known Subinterfaces:
Actor, ActorMySQL, ActorUbuntu, ExecutableUbuntu
All Known Implementing Classes:
ActorImpl, ActorMySQLImpl, ActorUbuntuImpl, ExecutableUbuntuImpl

public interface ImmutableActor
extends ImmutableResource, ImmutableEligibleParty

This immutable interface is responsible for modeling an acting entity which may access to resources controlled by the ACS, and which may play some special roles, as a bridge, between an another actor and some resources. Exemples of such actors are servers or executables. The getActorAlias() method in 0.6 version has been deleted, and it is replaced by ImmutableBasic.getEorReferenceAsInternalHardAlias() for the AcsAddons only. This interface also models the operating system process which has a current account and group, and which belongs to several groups.


Method Summary
 ImmutableActor getEorACSBridgeTarget()
          Get the another-ACS actor for which this resource is a bridge.
 ImmutableGroupID getEorCurrentGroupID()
          By default, is the value from the resource.
 ImmutableUserID getEorCurrentUserID()
          By default, is the value from the resource.
 ImmutableActor[] getEorL_bridgeSources()
          A bridge is an unidirectionnal connexion between two ACS through the mean of two actors, one in each ACS.
 ImmutableGroupID[] getEorL_SecondaryGroup()
          A secondary groupID adds new accesses to the actor as rights user.
 boolean getIsACSBridgeSource()
           
 boolean getIsRightProxy()
           
 boolean isMemberToSecondaryGroup(ImmutableGroupID _grp)
           
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableResource
containsAclEntryToEP, getActorActivated, getAGOAccessFromTheParentAccount, getAGOAccessFromTheParentGroup, getEorGroupID, getEorImmutableL_TargetInheritedAclEntries, getEorL_EPthroughAclEntry, getEorUserID, getL_aclEntry, getL_AcsControllers, getL_groupRights, getL_inheritedGroupRights, getL_inheritedOwnerRights, getL_ownerRights, getL_rootRights, getM_ConstrainedChildACS, getM_TargetInheritedACLRights, getResourceType, hasTheAccountAndGroupOfParent, selectInheritedAclEntry
 
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.ImmutableLeaf
compareTo, getEorParent
 
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.ImmutableEligibleParty
getEorL_AclConnectedResources, getEPType, getM_ConstrainedChildACS
 
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.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
 

Method Detail

getEorCurrentUserID

ImmutableUserID getEorCurrentUserID()
By default, is the value from the resource.

Returns:
ImmutableUserID the current userID, that may be changed by itself, and different to the actor userID attached to any resource. For instance, when an executable is launched from a userID, its current userID often becames the launcher userID. May be null.

getEorCurrentGroupID

ImmutableGroupID getEorCurrentGroupID()
By default, is the value from the resource.

Returns:
ImmutableGroupID used currently by the actor, that may be changed by itself, and different to the actor groupID attached to any resource. For instance, when an executable is launched from a groupID, its current groupID often becames the launcher groupID. May be null.

getEorL_SecondaryGroup

ImmutableGroupID[] getEorL_SecondaryGroup()
A secondary groupID adds new accesses to the actor as rights user. A secondary groupID is independant to the primary groupID of the actor as resource, but this primary group may be also a seocndary group.

Returns:
secondary groupIDs under which this actor runs a rights user. May be empty, but not null.

isMemberToSecondaryGroup

boolean isMemberToSecondaryGroup(ImmutableGroupID _grp)
Returns:
true if _grp is a secondary groupID which have this actor as membership.

getEorL_bridgeSources

ImmutableActor[] getEorL_bridgeSources()
A bridge is an unidirectionnal connexion between two ACS through the mean of two actors, one in each ACS.

Returns:
ImmutableActor[] external actors for which this actor is a bridge target. May be empty, but not null.

getIsACSBridgeSource

boolean getIsACSBridgeSource()
Returns:
true if this actor is a bridge source, created through a specific constructor, and updated when the external actor is closed or deleted.

getEorACSBridgeTarget

ImmutableActor getEorACSBridgeTarget()
Get the another-ACS actor for which this resource is a bridge.

Returns:
a reference on the actor. Is null if this instance is not a bridge, if the target ACS is not opened.

getIsRightProxy

boolean getIsRightProxy()
Returns:
true if this Actor may be a proxy in the access paths, that is, as rights user, it gets some rights to the other rights users which have an 'execute' right on it