| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface KualiRuleService
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.
| Method Summary | |
|---|---|
|  boolean | applyRules(KualiDocumentEvent 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. | 
| Method Detail | 
|---|
boolean applyRules(KualiDocumentEvent event)
event - 
List<AddAdHocRoutePersonEvent> generateAdHocRoutePersonEvents(Document document)
document - 
List<AddAdHocRouteWorkgroupEvent> generateAdHocRouteWorkgroupEvents(Document document)
document - 
BusinessRule getBusinessRulesInstance(Document document,
                                      Class<? extends BusinessRule> ruleInterface)
document - ruleInterface - 
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||