public class

AdditionalRole

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

Class Overview

Describes an additional role for an entry in an access control list.

Summary

Constants
String VALUE XML "value" attribute name
String XML_NAME XML element name
Fields
public static final AdditionalRole APPENDER Predefined value 'appender' to indicate that a user has the right to add to the controlled object.
public static final AdditionalRole COMMENTER Predefined value 'commenter' to indicate that a user has the right to comment on the controlled object.
public static final AdditionalRole EXECUTER Predefined value 'executer' to indicate that a user has the right to execute the controlled object.
[Expand]
Inherited Fields
From class com.google.gdata.data.ValueConstruct
From class com.google.gdata.data.AbstractExtension
Public Constructors
AdditionalRole()
Default mutable constructor.
AdditionalRole(String value)
Constructor (mutable or immutable).
Public Methods
static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
Returns the extension description, specifying whether it is required, and whether it is repeatable.
[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

private static final String VALUE

XML "value" attribute name

Constant Value: "value"

static final String XML_NAME

XML element name

Constant Value: "additionalRole"

Fields

public static final AdditionalRole APPENDER

Predefined value 'appender' to indicate that a user has the right to add to the controlled object.

public static final AdditionalRole COMMENTER

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

public static final AdditionalRole EXECUTER

Predefined value 'executer' to indicate that a user has the right to execute the controlled object.

Public Constructors

public AdditionalRole ()

Default mutable constructor.

public AdditionalRole (String value)

Constructor (mutable or immutable).

Parameters
value Immutable value or null for a mutable value

Public Methods

public static ExtensionDescription getDefaultDescription (boolean required, boolean repeatable)

Returns the extension description, specifying whether it is required, and whether it is repeatable.

Parameters
required Whether it is required
repeatable Whether it is repeatable
Returns
  • extension description