Class UserActionListener<T extends UserAction<?>>
java.lang.Object
com.mendix.core.actionmanagement.ActionListener<T>
com.mendix.systemwideinterfaces.core.UserActionListener<T>
- All Implemented Interfaces:
Cloneable
Abstract ActionListener.
T is the type of UserAction this listener listens to. If the check method returns true, the actions defined in before, concurrent and after will be executed
Usage:
- extend this class (define T!)
- implement check method
- add actions which should be executed if
You can use the provided methods (of the super class ActionListener):
+
+
+
BeforeEvents will be executed before the target action, this events should be executed successfully before the target action can be executed
ConcurrentEvents will be executed in parallel with the target action. No relation exist between successful execution of this events and the execution of the target action or the AfterEvents
AfterEvents will be executed after a successful execution of the target action.
T is the type of UserAction this listener listens to. If the check method returns true, the actions defined in before, concurrent and after will be executed
Usage:
- extend this class (define T!)
- implement check method
- add actions which should be executed if
this.check(T action)
return trueYou can use the provided methods (of the super class ActionListener):
+
addBeforeEvent(CoreAction a)
+
addConcurrentEvent(CoreAction a)
+
addAfterEvent(CoreAction a)
BeforeEvents will be executed before the target action, this events should be executed successfully before the target action can be executed
ConcurrentEvents will be executed in parallel with the target action. No relation exist between successful execution of this events and the execution of the target action or the AfterEvents
AfterEvents will be executed after a successful execution of the target action.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.mendix.core.actionmanagement.ActionListener
addAfterEvent, addAfterEvent, addAfterEvent, addBeforeEvent, addBeforeEvent, addBeforeEvent, addBeforeEvent, addBeforeEvent, addReplaceEvent, check, clone, getAfter, getBefore, getReplace, getTargetClass, setTargetClass
-
Constructor Details
-
UserActionListener
-