This class represents a rule evaluator for Kuali. This class is to be used for evaluating business rule checks. The class defines
one method right now - applyRules() which takes in a Document and a DocumentEvent and does the proper business rule checks based
on the context of the event and the document type.
generateAdHocRoutePersonEvents(Document document) Builds a list containing AddAdHocRoutePersonEvents since the validation done for an AdHocRouteRecipient is the same for all
events.
generateAdHocRouteWorkgroupEvents(Document document) Builds a list containing AddAdHocRoutePersonEvents since the validation done for an AdHocRouteRecipient is the same for all
events.
Parameters: document - Parameters: ruleInterface - instance of the businessRulesClass for the given document's type, if that businessRulesClass implements the givenruleInterface