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 TypeMethodDescriptionvoidupdateFinal(UpdateContext context) UpdateContextis the context providing all updateFinal - relevant attributes and methods.
-
Method Details
-
updateFinal
UpdateContextis the context providing all updateFinal - relevant attributes and methods.To get the
BusinessObjectthe method getBusinessObject() can be called.Note: Only
BusinessObject/ Entities that are modifiable can be used in Update-Event.If a
BusinessObjectcannot be used in this context check wether the entity is set modifiable- Parameters:
context-- Throws:
BusinessException
-