com.atlassian.confluence.security
Class Permission

java.lang.Object
  extended by com.atlassian.confluence.security.Permission
All Implemented Interfaces:
Serializable

public abstract class Permission
extends Object
implements Serializable

Enumeration of all possible permission types for use with the PermissionManager. There is no CREATE permission, as this is handled separately.

See Also:
Serialized Form

Field Summary
static Permission ADMINISTER
           
static Permission EDIT
           
static Permission EXPORT
           
static Permission REMOVE
           
static Permission SET_PERMISSIONS
           
static Permission VIEW
           
 
Method Summary
abstract  boolean checkAgainst(PermissionDelegate delegate, com.atlassian.user.User user, Object target)
           
 boolean equals(Object that)
           
static Permission forName(String permissionName)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

VIEW

public static final Permission VIEW

EDIT

public static final Permission EDIT

SET_PERMISSIONS

public static final Permission SET_PERMISSIONS

REMOVE

public static final Permission REMOVE

EXPORT

public static final Permission EXPORT

ADMINISTER

public static final Permission ADMINISTER
Method Detail

forName

public static Permission forName(String permissionName)

toString

public String toString()
Overrides:
toString in class Object

checkAgainst

public abstract boolean checkAgainst(PermissionDelegate delegate,
                                     com.atlassian.user.User user,
                                     Object target)

equals

public final boolean equals(Object that)
Overrides:
equals in class Object

hashCode

public final int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.