@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.
InsertContext
Modifier and Type | Method and Description |
---|---|
void |
insertFinal(InsertContext context)
InsertContext is the context providing all insert - relevant attributes and methods. |
void insertFinal(InsertContext context) throws BusinessException
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
context
- BusinessException
Copyright © 2024. All rights reserved.