public class KualiRuleServiceImpl extends Object implements KualiRuleService
Constructor and Description |
---|
KualiRuleServiceImpl() |
Modifier and Type | Method and Description |
---|---|
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 AddAdHocRoutePersonEvents since the validation done for an AdHocRouteRecipient is the
same for all events
|
List<AddAdHocRouteWorkgroupEvent> |
generateAdHocRouteWorkgroupEvents(Document document)
Builds a list containing AddAdHocRoutePersonEvents since the validation done for an AdHocRouteRecipient is the
same for all events
|
BusinessRule |
getBusinessRulesInstance(Document document,
Class<? extends BusinessRule> ruleInterface)
Allows code in actions or business objects to directly access rule methods in the class.
|
DataDictionaryService |
getDataDictionaryService() |
DocumentDictionaryService |
getDocumentDictionaryService() |
void |
setDataDictionaryService(DataDictionaryService dataDictionaryService) |
void |
setDocumentDictionaryService(DocumentDictionaryService documentDictionaryService) |
public KualiRuleServiceImpl()
public boolean applyRules(KualiDocumentEvent event)
KualiRuleService
applyRules
in interface KualiRuleService
KualiRuleService.applyRules(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent)
public List<AddAdHocRoutePersonEvent> generateAdHocRoutePersonEvents(Document document)
generateAdHocRoutePersonEvents
in interface KualiRuleService
KualiRuleService.generateAdHocRoutePersonEvents(org.kuali.rice.krad.document.Document)
public List<AddAdHocRouteWorkgroupEvent> generateAdHocRouteWorkgroupEvents(Document document)
generateAdHocRouteWorkgroupEvents
in interface KualiRuleService
KualiRuleService.generateAdHocRouteWorkgroupEvents(org.kuali.rice.krad.document.Document)
public BusinessRule getBusinessRulesInstance(Document document, Class<? extends BusinessRule> ruleInterface)
KualiRuleService
getBusinessRulesInstance
in interface KualiRuleService
document
- ruleInterface
- public DocumentDictionaryService getDocumentDictionaryService()
public void setDocumentDictionaryService(DocumentDictionaryService documentDictionaryService)
public DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(DataDictionaryService dataDictionaryService)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.