Class Permission
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description static Permission
ADMINISTER
static Permission
EDIT
static Permission
EXPORT
static Permission
REMOVE
static Permission
SET_PERMISSIONS
static Permission
VIEW
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
checkAgainst(PermissionDelegate delegate, com.atlassian.user.User user, Object target)
boolean
equals(Object that)
static Permission
forName(String permissionName)
int
hashCode()
abstract boolean
isMutative()
String
toString()
-
-
-
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)
-
checkAgainst
public abstract boolean checkAgainst(PermissionDelegate delegate, com.atlassian.user.User user, Object target)
-
isMutative
public abstract boolean isMutative()
-
-