|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ActionInvoker

ActionInvoker is used to invoke actions on property collections
| Method Summary | |
|---|---|
java.lang.Object |
invokeAction(PropertyCollection<?,?> collection,
java.lang.String actionName,
InvocationParameter[] parameters)
invoke an Action by name |
java.lang.Object |
invokeActionSilent(PropertyCollection<?,?> collection,
java.lang.String actionName,
InvocationParameter[] parameters)
invoke an Action by name silently. |
| Method Detail |
|---|
java.lang.Object invokeAction(PropertyCollection<?,?> collection,
java.lang.String actionName,
InvocationParameter[] parameters)
throws java.lang.IllegalArgumentException,
java.lang.reflect.InvocationTargetException,
CompilationFailedException,
java.lang.IllegalStateException
collection - the property collectionactionName - the action name to invokeparameters - the list of parameter and value to invoke. Any
parameter not in this list will be assigned a default value.
If a parameter doesn't have a default value, an
InvocationTargetException will be thrown.
java.lang.IllegalArgumentException - if some of the parameters are wrong or
missing or the action fails to compile.
java.lang.reflect.InvocationTargetException - if the action code throws an exception.
java.lang.NullPointerException - if the collection or actionName parameters
are null.
CompilationFailedException - if action failed to compile.
java.lang.IllegalStateException - if action isn't enabled.
java.lang.Object invokeActionSilent(PropertyCollection<?,?> collection,
java.lang.String actionName,
InvocationParameter[] parameters)
collection - the property collectionactionName - the action name to invokeparameters - the list of parameter and value to invoke. Any
parameter not in this list will be assigned a default value.
If a parameter doesn't have a default value, an
InvocationTargetException will be thrown.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||