|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.security.acegi.acls.BambooPermission
public class BambooPermission
Field Summary | |
---|---|
static BambooPermission |
ADMINISTRATION
|
static java.lang.String |
ADMINISTRATION_STR
|
static BambooPermission |
BUILD
|
static BambooPermission |
CLONE
|
static BambooPermission |
CREATE
|
static BambooPermission |
DELETE
|
static com.google.common.collect.ImmutableList<BambooPermission> |
PLAN_RELATED_PERMISSIONS
|
static BambooPermission |
READ
|
static java.lang.String |
READ_STR
|
static com.google.common.collect.ImmutableSet<java.lang.String> |
RESTRICTED_ADMIN_PERMISSION_NAMES
Deprecated. since 4.1 use $ RESTRICTED_ADMIN_PERMISSIONS |
static com.google.common.collect.ImmutableSet<org.acegisecurity.acls.Permission> |
RESTRICTED_ADMIN_PERMISSIONS
|
static java.lang.String |
RESTRICTED_ADMINISTRATION_STR
|
static BambooPermission |
RESTRICTEDADMINISTRATION
|
static BambooPermission |
SIGN_UP
|
static BambooPermission |
WRITE
|
static java.lang.String |
WRITE_STR
|
Fields inherited from interface org.acegisecurity.acls.Permission |
---|
RESERVED_OFF, RESERVED_ON, THIRTY_TWO_RESERVED_OFF |
Method Summary | |
---|---|
static org.acegisecurity.acls.Permission |
buildFromMask(int mask)
Dynamically creates a CumulativePermission or BambooPermission representing the active
bits in the passed mask. |
static org.acegisecurity.acls.Permission[] |
buildFromMask(int[] inputMasks)
|
static org.acegisecurity.acls.Permission |
buildFromName(java.lang.String name)
|
static org.acegisecurity.acls.Permission[] |
buildFromName(java.lang.String[] names)
|
static java.lang.String |
determineNameFromPermission(org.acegisecurity.acls.Permission permission)
|
boolean |
equals(java.lang.Object arg0)
|
int |
getMask()
|
java.lang.String |
getName()
|
java.lang.String |
getPattern()
|
static org.acegisecurity.acls.Permission[] |
getPlanPermissions()
Deprecated. |
static com.google.common.collect.ImmutableList<BambooPermission> |
getPlanPermissionsList()
Returns collection of all possible collections for plan. |
static boolean |
isGrantedForRestrictedAdmin(org.acegisecurity.acls.Permission permission)
|
static boolean |
isGrantedForRestrictedAdmin(java.lang.String permission)
Deprecated. since 4.1 use $ isGrantedForRestrictedAdmin(org.acegisecurity.acls.Permission) |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String READ_STR
public static final java.lang.String WRITE_STR
public static final java.lang.String ADMINISTRATION_STR
public static final java.lang.String RESTRICTED_ADMINISTRATION_STR
public static final BambooPermission READ
public static final BambooPermission WRITE
public static final BambooPermission CREATE
public static final BambooPermission DELETE
public static final BambooPermission ADMINISTRATION
public static final BambooPermission SIGN_UP
public static final BambooPermission BUILD
public static final BambooPermission CLONE
public static final BambooPermission RESTRICTEDADMINISTRATION
public static final com.google.common.collect.ImmutableList<BambooPermission> PLAN_RELATED_PERMISSIONS
public static final com.google.common.collect.ImmutableSet<org.acegisecurity.acls.Permission> RESTRICTED_ADMIN_PERMISSIONS
@Deprecated public static final com.google.common.collect.ImmutableSet<java.lang.String> RESTRICTED_ADMIN_PERMISSION_NAMES
RESTRICTED_ADMIN_PERMISSIONS
Method Detail |
---|
@Nullable public static java.lang.String determineNameFromPermission(org.acegisecurity.acls.Permission permission)
@NotNull @Deprecated public static org.acegisecurity.acls.Permission[] getPlanPermissions()
getPlanPermissionsList()
@NotNull public static com.google.common.collect.ImmutableList<BambooPermission> getPlanPermissionsList()
public static org.acegisecurity.acls.Permission buildFromMask(int mask)
CumulativePermission
or BambooPermission
representing the active
bits in the passed mask.
mask
- to build
public static org.acegisecurity.acls.Permission[] buildFromMask(int[] inputMasks)
@NotNull public static org.acegisecurity.acls.Permission buildFromName(java.lang.String name)
public static org.acegisecurity.acls.Permission[] buildFromName(java.lang.String[] names)
@Deprecated public static boolean isGrantedForRestrictedAdmin(java.lang.String permission)
isGrantedForRestrictedAdmin(org.acegisecurity.acls.Permission)
public static boolean isGrantedForRestrictedAdmin(org.acegisecurity.acls.Permission permission)
public boolean equals(java.lang.Object arg0)
equals
in class java.lang.Object
public int getMask()
getMask
in interface org.acegisecurity.acls.Permission
public java.lang.String getName()
public java.lang.String getPattern()
getPattern
in interface org.acegisecurity.acls.Permission
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |