E
- data object this trigger applies topublic abstract class DataUpdateTrigger<E extends DataObject<E>> extends Named
Constructor and Description |
---|
DataUpdateTrigger(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
NamedList<TriggerToExecute<E>> |
compute(E contextobject)
computes the new value and raises triggers
|
abstract NamedList<TriggerToExecute<E>> |
compute(E contextobject,
boolean forcelocalupdate)
computes the new value and raises triggers
|
abstract boolean |
isCustomTrigger() |
abstract boolean |
isLocal() |
changeName, cleanName, equals, getName
public NamedList<TriggerToExecute<E>> compute(E contextobject)
contextobject
- the object to execute the triggerpublic abstract NamedList<TriggerToExecute<E>> compute(E contextobject, boolean forcelocalupdate)
contextobject
- the object to execute the triggerforcelocalupdate
- true to raise other triggers even if the update is
localpublic abstract boolean isLocal()
public abstract boolean isCustomTrigger()