@RuleType(name="nuclos.ruletype.custumrule.name", description="nuclos.ruletype.custumrule.description") public interface CustomRule
CustomRuleis the interface that should be used to make an rule applicable for Custom-Events.
Classes implementing this interface can be attached to Entities. In case of executing a rule manually the method custom is called.
void custom(CustomContext context) throws BusinessException
CustomContextis the context providing all custom - relevant attributes and methods.
To get the
BusinessObject / Entities that are modifiable can be used in Custom-Rule.
BusinessObject cannot be used in this context check wether the entity is set modifiable
Copyright © 2021. All rights reserved.