Package org.nuclos.api.rule
Interface InsertFinalRule
@RuleType(name="nuclos.ruletype.insertfinalrule.name",
description="nuclos.ruletype.insertfinalrule.description")
public interface InsertFinalRule
InsertFinalRule is the interface that should be used to make an rule
applicable for Afterwards-Insert-Events.
Classes implementing this interface can be attached to entities. In case of an Insert-Event the method insert is called afterwards.
- Author:
- Matthias Reichart
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidinsertFinal(InsertContext context) InsertContextis the context providing all insert - relevant attributes and methods.
-
Method Details
-
insertFinal
InsertContextis the context providing all insert - relevant attributes and methods.To get the
BusinessObjectthe method getBusinessObject() can be called.Note: Only
BusinessObject/ Entities that are modifiable can be used in Insert-Event.If a
BusinessObjectcannot be used in this context check wether the entity is set modifiyable- Parameters:
context-- Throws:
BusinessException
-