public class AclRole extends ValueConstruct
AbstractExtension.AttributesHandler| Modifier and Type | Field and Description |
|---|---|
static AclRole |
COMMENTER
Predefined value 'commenter' to indicate that a user has the right to
comment on the controlled object.
|
static AclRole |
NONE
predefined value "none" to indicate that a user has no rights
|
static AclRole |
OWNER
predefined value "owner" to indicate that a user has the right to read,
modify and delete the controlled object
|
static AclRole |
PEEKER
predefined value "peeker" to indicate that a user has the right to know of
the existance of the controlled object
|
static AclRole |
READER
predefined value "reader" to indicate that a user has the right to read the
controlled object
|
static AclRole |
WRITER
predefined value "none" to indicate that a user has the right to read and
modify the controlled object
|
attrNamelocalName, namespace| Constructor and Description |
|---|
AclRole()
Default constructor for a mutable role.
|
AclRole(String value)
Constructor for either a mutable or immutable role.
|
consumeAttributes, equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes, setRequired, setValuedisableStrictValidation, enableStrictValidation, eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validatepublic static final AclRole NONE
public static final AclRole PEEKER
public static final AclRole READER
public static final AclRole WRITER
public static final AclRole OWNER
public static final AclRole COMMENTER
public AclRole()
public AclRole(String value)
value - immutable value to use for this role or null for
a mutable role.Copyright © 2012. All Rights Reserved.