public enum ExtDirectMethodType extends Enum<ExtDirectMethodType>
| Enum Constant and Description |
|---|
FORM_LOAD
Specifies a method that handles a form load.
|
FORM_POST
Specifies a method that handles a form post (with or without upload).
|
POLL
Specifies a method that handles polling.
|
SIMPLE
Specifies a simple remote method.
|
SIMPLE_NAMED
Specifies a simple remote method with named parameters.
|
SSE
Method that handles Server-Sent Events requests (EventSource)
|
STORE_MODIFY
Specifies a method that handles create, update or destroy calls from
DirectStore.
|
STORE_READ
Specifies a method that handles read calls from DirectStore.
|
TREE_LOAD
Specifies a method that handles read calls from TreeLoader or TreeStore
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
isValid(String methodName,
Class<?> clazz,
Method method)
Checks if the annotated method contains non supported annotation
properties and contains non supported parameters and/or parameter
annotations.
|
static ExtDirectMethodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtDirectMethodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtDirectMethodType SIMPLE
public static final ExtDirectMethodType SIMPLE_NAMED
public static final ExtDirectMethodType FORM_LOAD
public static final ExtDirectMethodType STORE_READ
public static final ExtDirectMethodType STORE_MODIFY
public static final ExtDirectMethodType FORM_POST
public static final ExtDirectMethodType TREE_LOAD
public static final ExtDirectMethodType POLL
public static final ExtDirectMethodType SSE
public static ExtDirectMethodType[] values()
for (ExtDirectMethodType c : ExtDirectMethodType.values()) System.out.println(c);
public static ExtDirectMethodType 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 abstract boolean isValid(String methodName, Class<?> clazz, Method method)
methodName - Name of the bean and method for logging purpose. e.g.
'bean.methodname'clazz - The class where the method is member ofmethod - The annotated methodCopyright © 2010-2013. All Rights Reserved.