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 TypeMethodDescriptionvoid
insertFinal
(InsertContext context) InsertContext
is the context providing all insert - relevant attributes and methods.
-
Method Details
-
insertFinal
InsertContext
is the context providing all insert - 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 Insert-Event.If a
BusinessObject
cannot be used in this context check wether the entity is set modifiyable- Parameters:
context
-- Throws:
BusinessException
-