@RuleType(name="nuclos.ruletype.updatefinalrule.name", description="nuclos.ruletype.updatefinalrule.description") public interface UpdateFinalRule
UpdateFinalRule
is the interface that should be used to make an rule
applicable for Afterward-Update-Events.
Classes implementing this interface can be attached to entities. In case of an Update-Event the method updateFinal is called.
UpdateContext
Modifier and Type | Method and Description |
---|---|
void |
updateFinal(UpdateContext context)
UpdateContext is the context providing all updateFinal - relevant attributes and methods. |
void updateFinal(UpdateContext context) throws BusinessException
UpdateContext
is the context providing all updateFinal - relevant attributes and methods.
To get the BusinessObject
the method getBusinessObject() can be called.
Note: Only BusinessObject
/ Entities that are modifiable can be used in Update-Event.
If a BusinessObject
cannot be used in this context check wether the entity is set modifiable
context
- BusinessException
Copyright © 2024. All rights reserved.