ARoad0.AcsAddon.Accbee.Ubuntu.gBaseInterface
Interface UserIDUbuntu
- All Superinterfaces:
- ACSObject, BaseBeanManager, BaseObject, Basic, BoundBean, java.lang.Cloneable, java.lang.Comparable, Copyable, EligibleParty, FinalizedObject, FinalizedObjectForUser, GroupIDMember, ImmutableBasic, ImmutableEligibleParty, ImmutableGroupIDMember, ImmutablePrivilegeSource, ImmutableSource, ImmutableTarget, ImmutableUserID, PrivilegeSource, PrivilegeUser, UserID
- All Known Implementing Classes:
- UserIDUbuntuImpl
public interface UserIDUbuntu
- extends UserID
This interface is the immutable version of UserID for Ubuntu.
As a Linux/Unix account, it has an umask value.
Method Summary |
java.lang.String |
getUMask()
This umask defines some rights to subtract to the 'full control' right,
at the creation of a Resource that belongs to this UserID. |
java.util.Set<StringRight> |
processUMask(java.lang.String _mask,
boolean _isDirectory,
boolean _isNxDirectory)
Get the denying rights for a resource and its AGO rights. |
void |
setUMask(java.lang.String _umask)
The allowed format is 3 blocks for respectively Account, Group and Other rights. |
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 |
getUMask
java.lang.String getUMask()
- This umask defines some rights to subtract to the 'full control' right,
at the creation of a Resource that belongs to this UserID.
The default value is '--- --- ---' for respectively Account, Group and Other rights.
- Returns:
- the allowed format of 3 blocks of 3 letters among the values '-', 'r', 'w', 'x'.
setUMask
void setUMask(java.lang.String _umask)
throws UpDateError
- The allowed format is 3 blocks for respectively Account, Group and Other rights.
_umask is the target value extended by SimplePropertyEditor with " ".
No control of the management by the ACS of accounts, groups and other.
Noop and error mesage to the user if the ep type is ''
or contains ''.
- Parameters:
_umask
- from '--- --- ---' to 'wxr wxr wxr', following Linux/Unix
concept (from 0 to 777), or 3 used acsrights/metarights separated by one space,
or 3 blocks separated by one space and inferior to 4,
containing at most one of the characters 'wxr'.
- Throws:
UpDateError
- for all the wrong formats or if the umask is immutable
processUMask
java.util.Set<StringRight> processUMask(java.lang.String _mask,
boolean _isDirectory,
boolean _isNxDirectory)
- Get the denying rights for a resource and its AGO rights.
- Parameters:
_mask
- part of this userID umask which describes the requirement for owner,
or group or other_isDirectory
- true if the calling resource is a directory_isNxDirectory
- true if the calling resource is a Linux/Unix directory
- Returns:
- the denying rights set by the umask for 'A' or 'G' or 'O' rights.
May be empty but not null.