ARoad0.gBaseInterface
Interface ImmutableUserID

All Superinterfaces:
ACSObject, BaseBeanManager, BaseObject, BoundBean, java.lang.Cloneable, java.lang.Comparable, Copyable, FinalizedObject, FinalizedObjectForUser, ImmutableBasic, ImmutableEligibleParty, ImmutableGroupIDMember, ImmutablePrivilegeSource, ImmutableSource, ImmutableTarget, PrivilegeUser
All Known Subinterfaces:
ProxyMySQL, UserID, UserIDMySQL, UserIDUbuntu
All Known Implementing Classes:
ProxyMySQLImpl, UserIDImpl, UserIDMySQLImpl, UserIDUbuntuImpl

public interface ImmutableUserID
extends ImmutableGroupIDMember

This interface is the immutable version of UserID. It is responsible for modeling an account in an ACS, as a kind of GroupIDMember that owns some resources and a primary groupID. It has some current actors, that are programs starting their execution under it.


Method Summary
 Actor[] getEorL_UserIDCurrentActors()
          A current actor is running under this userID whatever its caller.
 Resource[] getEorL_UserIDOwnResources()
          An own resource is a same-ACS resource that have this as userID.
 GroupID getEorPrimGroup()
          The primary group is used by an Actor that has a current UserID, to set the primary group as current GroupID of the Actor.
 int getOrder()
           
 boolean ownsResource(Resource _res)
           
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableGroupIDMember
getEorL_GroupID, isAdmin
 
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.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
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableTarget
getEorAliasAsInternalHardReference, getEorReferenceAsInternalHardAlias, getHasSoftAlias, getL_AcsOfSoftReferences, getL_SoftAlias, getType
 

Method Detail

getEorPrimGroup

GroupID getEorPrimGroup()
The primary group is used by an Actor that has a current UserID, to set the primary group as current GroupID of the Actor.

Returns:
GroupID: the primary group of the userID, following Linux/Unix concepts. May be null.

getOrder

int getOrder()
Returns:
the UID of the userID - on Unix : 16-bit user identifier

getEorL_UserIDOwnResources

Resource[] getEorL_UserIDOwnResources()
An own resource is a same-ACS resource that have this as userID. If it is an Actor, it may be a current actor of this userID or not.

Returns:
array of the own resources. May be empty, but never null.

getEorL_UserIDCurrentActors

Actor[] getEorL_UserIDCurrentActors()
A current actor is running under this userID whatever its caller. It may be an own resource of this userID or not.

Returns:
array of the current actors attached to this userID. May be empty, but never null.

ownsResource

boolean ownsResource(Resource _res)
Returns:
true if it owns the resource.