public class

AclRole

extends ValueConstruct
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ValueConstruct
       ↳ com.google.gdata.data.acl.AclRole

Class Overview

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

Summary

Constants
String ROLE XML "role" element name
String VALUE XML "value" attribute name
Fields
public static final AclRole COMMENTER Predefined value 'commenter' to indicate that a user has the right to comment on the controlled object.
public static final AclRole NONE predefined value "none" to indicate that a user has no rights
public static final AclRole OWNER predefined value "owner" to indicate that a user has the right to read, modify and delete the controlled object
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
public static final AclRole READER predefined value "reader" to indicate that a user has the right to read the controlled object
public static final AclRole WRITER predefined value "none" to indicate that a user has the right to read and modify the controlled object
[Expand]
Inherited Fields
From class com.google.gdata.data.ValueConstruct
From class com.google.gdata.data.AbstractExtension
Public Constructors
AclRole()
Default constructor for a mutable role.
AclRole(String value)
Constructor for either a mutable or immutable role.
[Expand]
Inherited Methods
From class com.google.gdata.data.ValueConstruct
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension

Constants

static final String ROLE

XML "role" element name

Constant Value: "role"

private static final String VALUE

XML "value" attribute name

Constant Value: "value"

Fields

public static final AclRole COMMENTER

Predefined value 'commenter' to indicate that a user has the right to comment on the controlled object.

public static final AclRole NONE

predefined value "none" to indicate that a user has no rights

public static final AclRole OWNER

predefined value "owner" to indicate that a user has the right to read, modify and delete the controlled object

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

public static final AclRole READER

predefined value "reader" to indicate that a user has the right to read the controlled object

public static final AclRole WRITER

predefined value "none" to indicate that a user has the right to read and modify the controlled object

Public Constructors

public AclRole ()

Default constructor for a mutable role.

public AclRole (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.