|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PermissionType>
org.itracker.model.PermissionType
public enum PermissionType
Enumeration for permission types.
| Enum Constant Summary | |
|---|---|
ISSUE_ASSIGN_OTHERS
Issue Assign to Others Permissions. |
|
ISSUE_ASSIGN_SELF
Issue Assign to Self Permission. |
|
ISSUE_ASSIGNABLE
Issue Assignable. |
|
ISSUE_CLOSE
Issue Close Permission. |
|
ISSUE_CREATE
Issue Create Permission |
|
ISSUE_CREATE_OTHERS
Create for Others. |
|
ISSUE_EDIT_ALL
Issue Edit Permission. |
|
ISSUE_EDIT_FULL
Full edit permission. |
|
ISSUE_EDIT_USERS
Edit Users Issues Permission. |
|
ISSUE_UNASSIGN_SELF
Issue Unassign Self Permission. |
|
ISSUE_VIEW_ALL
View All Issues Permission. |
|
ISSUE_VIEW_USERS
View Users Issues Permission. |
|
PRODUCT_ADMIN
Product Admin Permission |
|
USER_ADMIN
User Admin Permission. |
|
| Method Summary | |
|---|---|
static PermissionType |
fromCode(int code)
Returns the enum instance matching the integer value. |
int |
getCode()
Returns the integer value representing this enum member. |
static PermissionType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PermissionType[] |
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 |
|---|
public static final PermissionType USER_ADMIN
public static final PermissionType PRODUCT_ADMIN
public static final PermissionType ISSUE_CREATE
public static final PermissionType ISSUE_EDIT_ALL
public static final PermissionType ISSUE_CLOSE
public static final PermissionType ISSUE_ASSIGN_SELF
public static final PermissionType ISSUE_ASSIGN_OTHERS
public static final PermissionType ISSUE_VIEW_ALL
public static final PermissionType ISSUE_VIEW_USERS
public static final PermissionType ISSUE_EDIT_USERS
public static final PermissionType ISSUE_UNASSIGN_SELF
public static final PermissionType ISSUE_ASSIGNABLE
public static final PermissionType ISSUE_CREATE_OTHERS
public static final PermissionType ISSUE_EDIT_FULL
| Method Detail |
|---|
public static PermissionType[] values()
for (PermissionType c : PermissionType.values()) System.out.println(c);
public static PermissionType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getCode()
public static PermissionType fromCode(int code)
value - unique value of the enum instance to return
IllegalArgumentExeption - invalid enum value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||