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.
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 java.lang.Comparable |
compareTo |
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.