com.atlassian.confluence.it
Enum SpacePermission

java.lang.Object
  extended by java.lang.Enum<SpacePermission>
      extended by com.atlassian.confluence.it.SpacePermission
All Implemented Interfaces:
Permission, Serializable, Comparable<SpacePermission>

public enum SpacePermission
extends Enum<SpacePermission>
implements Permission

See Also:
SpacePermission

Enum Constant Summary
ADMINISTER
           
ATTACHMENT_CREATE
           
ATTACHMENT_REMOVE
           
BLOG_EDIT
           
BLOG_REMOVE
           
COMMENT
           
COMMENT_REMOVE
           
MAIL_REMOVE
           
PAGE_EDIT
           
PAGE_EXPORT
          Deprecated. since 5.0
PAGE_REMOVE
           
PAGE_RESTRICT
           
SPACE_EXPORT
           
VIEW
           
 
Method Summary
static SpacePermission fromValue(String str)
           
 String getLowerValue()
           
 String getValue()
           
 String toCheckboxName(Entity entity)
           
static SpacePermission valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SpacePermission[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VIEW

public static final SpacePermission VIEW

PAGE_EDIT

public static final SpacePermission PAGE_EDIT

PAGE_REMOVE

public static final SpacePermission PAGE_REMOVE

PAGE_RESTRICT

public static final SpacePermission PAGE_RESTRICT

BLOG_EDIT

public static final SpacePermission BLOG_EDIT

BLOG_REMOVE

public static final SpacePermission BLOG_REMOVE

COMMENT

public static final SpacePermission COMMENT

COMMENT_REMOVE

public static final SpacePermission COMMENT_REMOVE

ATTACHMENT_CREATE

public static final SpacePermission ATTACHMENT_CREATE

ATTACHMENT_REMOVE

public static final SpacePermission ATTACHMENT_REMOVE

PAGE_EXPORT

@Deprecated
public static final SpacePermission PAGE_EXPORT
Deprecated. since 5.0

SPACE_EXPORT

public static final SpacePermission SPACE_EXPORT

MAIL_REMOVE

public static final SpacePermission MAIL_REMOVE

ADMINISTER

public static final SpacePermission ADMINISTER
Method Detail

values

public static SpacePermission[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SpacePermission c : SpacePermission.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SpacePermission valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getValue

public String getValue()
Specified by:
getValue in interface Permission

getLowerValue

public String getLowerValue()
Specified by:
getLowerValue in interface Permission
Returns:
the value converted to lower-case

toCheckboxName

public String toCheckboxName(Entity entity)

fromValue

public static SpacePermission fromValue(String str)


Copyright © 2003-2013 Atlassian. All Rights Reserved.