public enum TypeAction extends Enum<TypeAction>
Enum Constant and Description |
---|
ACCOUNT |
APP |
APP_MODEL |
CASE |
CASE_MODEL |
DOCUMENT |
DOCUMENT_MODEL |
FORM_MODEL |
GROUP |
MAIL_MODEL |
PROCESS |
PROCESS_MODEL |
PROCESS_TASK |
QUERY |
TASK |
TASK_MODEL |
TENANT |
USER |
Modifier and Type | Method and Description |
---|---|
static TypeAction |
find(com.edorasware.commons.core.entity.Type type)
Finds a new type action instance by the given type.
|
static TypeAction |
find(com.edorasware.commons.core.entity.Type type,
com.google.common.base.Optional<String> qualifier)
Finds a new type action instance by the given type.
|
com.google.common.collect.ImmutableList<ActionName> |
getActions() |
com.google.common.base.Optional<String> |
getQualifier() |
com.edorasware.commons.core.entity.Type |
getType() |
static TypeAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeAction APP
public static final TypeAction CASE
public static final TypeAction TASK
public static final TypeAction PROCESS_TASK
public static final TypeAction DOCUMENT
public static final TypeAction QUERY
public static final TypeAction APP_MODEL
public static final TypeAction CASE_MODEL
public static final TypeAction PROCESS_MODEL
public static final TypeAction TASK_MODEL
public static final TypeAction DOCUMENT_MODEL
public static final TypeAction FORM_MODEL
public static final TypeAction MAIL_MODEL
public static final TypeAction ACCOUNT
public static final TypeAction GROUP
public static final TypeAction USER
public static final TypeAction TENANT
public static final TypeAction PROCESS
public static TypeAction[] values()
for (TypeAction c : TypeAction.values()) System.out.println(c);
public static TypeAction 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 nullpublic static TypeAction find(com.edorasware.commons.core.entity.Type type)
type
- the type of the type action to createIllegalArgumentException
- if the id is not knownpublic static TypeAction find(com.edorasware.commons.core.entity.Type type, com.google.common.base.Optional<String> qualifier)
type
- the type of the type action to createqualifier
- the qualifier of the type action to createIllegalArgumentException
- if the id is not knownpublic com.edorasware.commons.core.entity.Type getType()
public com.google.common.base.Optional<String> getQualifier()
public com.google.common.collect.ImmutableList<ActionName> getActions()
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.