public interface KualiRuleService
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyRules(DocumentEvent event)
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.
|
List<AddAdHocRoutePersonEvent> |
generateAdHocRoutePersonEvents(Document document)
Builds a list containing ad hoc route person events appropriate for the context.
|
List<AddAdHocRouteWorkgroupEvent> |
generateAdHocRouteWorkgroupEvents(Document document)
Builds a list containing ad hoc route workgroup events appropriate for the context.
|
BusinessRule |
getBusinessRulesInstance(Document document,
Class<? extends BusinessRule> ruleInterface)
Allows code in actions or business objects to directly access rule methods in the class.
|
boolean applyRules(DocumentEvent event)
This is a helper method that takes in the generic DocumentEvent class and determines which event call to make.
event - List<AddAdHocRoutePersonEvent> generateAdHocRoutePersonEvents(Document document)
document - List<AddAdHocRouteWorkgroupEvent> generateAdHocRouteWorkgroupEvents(Document document)
document - BusinessRule getBusinessRulesInstance(Document document, Class<? extends BusinessRule> ruleInterface)
document - ruleInterface - Copyright © 2005–2018 The Kuali Foundation. All rights reserved.