public final class TriggerInvoker extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
invoke(T domainObject,
JGrapeTrigger.TriggerType type,
boolean isTargetNode,
ClientContext ctx,
Session session)
Invoke the triggers for specified domain object.
|
public static final <T> void invoke(T domainObject,
JGrapeTrigger.TriggerType type,
boolean isTargetNode,
ClientContext ctx,
Session session)
T - The domain object type.domainObject - the domain object to invoke triggers for.type - the trigger type to invoke.isTargetNode - true if the domain object's role this is
the target node of the ongoing action.ctx - the current client context.session - the current session.IllegalArgumentException - if either domainObject or
type is null.Copyright © 2006–2017 Esito AS. All rights reserved.