public abstract class UserActionListener<T extends UserAction<?>>
extends com.mendix.core.actionmanagement.ActionListener<T>
this.check(T action)
return trueaddBeforeEvent(CoreAction> a)
addConcurrentEvent(CoreAction> a)
addAfterEvent(CoreAction> a)
Constructor and Description |
---|
UserActionListener(java.lang.Class<T> targetClass) |
UserActionListener(com.mendix.core.component.LocalComponent component,
java.lang.Class<T> targetClass) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
check(T action)
Checks if this Listener's events must be fired
If an action of type T is executed in the Core this function is called with that action as parameter. If this method returns true, the before/concurrent/after actions of this ActionListener will be executed too. |
public UserActionListener(com.mendix.core.component.LocalComponent component, java.lang.Class<T> targetClass)
public UserActionListener(java.lang.Class<T> targetClass)
public abstract boolean check(T action)
com.mendix.core.actionmanagement.ActionListener
check
in class com.mendix.core.actionmanagement.ActionListener<T extends UserAction<?>>