Package org.nuclos.api.rule
Interface DeleteFinalRule
@RuleType(name="nuclos.ruletype.deletefinalrule.name",
description="nuclos.ruletype.deletefinalrule.description")
public interface DeleteFinalRule
DeleteRule
is the interface that should be used to make an rule
applicable for Afterwards-Deletion-Events.
Classes implementing this interface can be attached to entities. In case of an Deletion-Event the method delete is called after the entry has been deleted.
- Author:
- Matthias Reichart
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteFinal
(DeleteContext context) DeleteContext
is the context providing all deleting - relevant attributes and methods.
-
Method Details
-
deleteFinal
DeleteContext
is the context providing all deleting - 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-Rule.If a
BusinessObject
cannot be used in this context check wether the entity is set modifiyable- Parameters:
context
-- Throws:
BusinessException
-