| org.kuali.core.service.KualiRuleService
All known Subclasses: org.kuali.core.service.impl.KualiRuleServiceImpl,
KualiRuleService | public interface KualiRuleService (Code) | | Defines the interface to the business-rule evaluation service, used to evauluate document-type-specific business rules using
document-related events to drive the process.
|
applyRules | public boolean applyRules(KualiDocumentEvent event)(Code) | | Retrieves and instantiates the businessRulesClass associated with the event's document type (if any), and calls the
appropriate process* method of that businessRule for handling the given event type. This is a helper method that takes in the
generic KualiDocumentEvent class and determines which event call to make.
Parameters: event - true if no rule is applied, or all rules are applied successfully, false otherwise |
generateAdHocRoutePersonEvents | public List generateAdHocRoutePersonEvents(Document document)(Code) | | Builds a list containing ad hoc route person events appropriate for the context.
Parameters: document - List |
generateAdHocRouteWorkgroupEvents | public List generateAdHocRouteWorkgroupEvents(Document document)(Code) | | Builds a list containing ad hoc route workgroup events appropriate for the context.
Parameters: document - List |
getBusinessRulesInstance | public BusinessRule getBusinessRulesInstance(Document document, Class ruleInterface)(Code) | | Allows code in actions or business objects to directly access rule methods in the class.
Parameters: document - Parameters: ruleInterface - BusinessRule |
|
|