public enum TodoAuthorization extends Enum<TodoAuthorization>
Enum Constant and Description |
---|
DELEGATE
Person is one of delegates of the todo.
|
INITIAL_PERFORMER
Person is one of initial performers of the todo.
|
NOT_PERMITTED
Person is not permitted to access the todo.
|
SUBSTITUTE
Person is a substitute of an assignee (initial performer or delegate) of
the todo.
|
UNKNOWN
Person can access the todo, even if it actually has none of mentioned
authorizations (
INITIAL_PERFORMER , DELEGATE , SUBSTITUTE ). |
Modifier and Type | Method and Description |
---|---|
static TodoAuthorization |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TodoAuthorization[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TodoAuthorization INITIAL_PERFORMER
public static final TodoAuthorization DELEGATE
public static final TodoAuthorization SUBSTITUTE
public static final TodoAuthorization UNKNOWN
INITIAL_PERFORMER
, DELEGATE
, SUBSTITUTE
).
Authorization for this person to access the todo is unknown.public static final TodoAuthorization NOT_PERMITTED
public static TodoAuthorization[] values()
for (TodoAuthorization c : TodoAuthorization.values()) System.out.println(c);
public static TodoAuthorization valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.