public abstract class UserAction<R>
extends com.mendix.core.actionmanagement.CoreAction<R>
public class ExampleAction extends UserAction
{
private String param;
public ExampleAction(String param)
{
super();
this.param = param;
}
public String executeAction() throws Exception
{
return "Hello world! ("+this.param+")";
}
public String toString()
{
return "ExampleAction:: param="+this.param;
}
}
Constructor and Description |
---|
UserAction(IContext context) |
Modifier and Type | Method and Description |
---|---|
R |
execute()
This, already implemented, method calls
executeAction on execution of this Action |
abstract R |
executeAction()
Implement this method, this method will be called when this action is executed
|
addDataValidationFeedback, addDatavalidationFeedback, allowsConcurrentExecution, call, clone, createContext, getActionName, getClonedContext, getComponent, getContext, getEventObjects, getException, getMetaInfo, getState, getUnwrappedAction, handleConcurrentExecution, isSystemAction, setActionName, setContext, setEventObjects, setException, setMetaInfo, setState, setSystemAction, toString
public UserAction(IContext context)
public final R execute() throws java.lang.Exception
executeAction
on execution of this Actionexecute
in class com.mendix.core.actionmanagement.CoreAction<R>
java.lang.Exception
public abstract R executeAction() throws java.lang.Exception
java.lang.Exception