Package org.nuclos.api.rule
Interface UpdateFinalRule
@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.
- Author:
- Matthias Reichart
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updateFinal
(UpdateContext context) UpdateContext
is the context providing all updateFinal - relevant attributes and methods.
-
Method Details
-
updateFinal
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- Parameters:
context
-- Throws:
BusinessException
-