com.google.gdata.data.acl
Class AclRole

java.lang.Object
  extended by com.google.gdata.data.AbstractExtension
      extended by com.google.gdata.data.ValueConstruct
          extended by com.google.gdata.data.acl.AclRole
All Implemented Interfaces:
Extension

public class AclRole
extends ValueConstruct

Describes the role of an entry in an access control list.


Field Summary
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
 
Constructor Summary
AclRole()
          Default constructor for a mutable role.
AclRole(java.lang.String value)
          Constructor for either a mutable or immutable role.
 
Method Summary
 
Methods inherited from class com.google.gdata.data.ValueConstruct
equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes, setValue
 
Methods inherited from class com.google.gdata.data.AbstractExtension
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final AclRole NONE
predefined value "none" to indicate that a user has no rights


PEEKER

public static final AclRole PEEKER
predefined value "peeker" to indicate that a user has the right to know of the existance of the controlled object


READER

public static final AclRole READER
predefined value "reader" to indicate that a user has the right to read the controlled object


WRITER

public static final AclRole WRITER
predefined value "none" to indicate that a user has the right to read and modify the controlled object


OWNER

public static final AclRole OWNER
predefined value "owner" to indicate that a user has the right to read, modify and delete the controlled object


COMMENTER

public static final AclRole COMMENTER
Predefined value 'commenter' to indicate that a user has the right to comment on the controlled object.

Constructor Detail

AclRole

public AclRole()
Default constructor for a mutable role.


AclRole

public AclRole(java.lang.String value)
Constructor for either a mutable or immutable role.

Parameters:
value - immutable value to use for this role or null for a mutable role.