Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2005-2013 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.opensource.org/licenses/ecl2.php Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package org.kuali.rice.kew.rule;
RuleSelector is responsible for selecting the rules to be evaluated for a given rule-based requests node.

Author(s):
Kuali Rice Team (rice.collab@kuali.org)
public interface RuleSelector {
    
Returns a list of rules selected given the criteria specified in the arguments.

Parameters:
context the RouteContext
routeHeader the DocumentRouteHeaderValue of the current document
nodeInstance the current RouteNodeInstance being executed
selectionCriterion an implementation-specific criterion passed in from the calling context
effectiveDate an optional criterion that indicates that the rules selected should be active on the given date
Returns:
a list of applicable rules, if any (null or empty list otherwise)
Throws:
org.kuali.rice.kew.api.exception.WorkflowException if anything goes awry...
    /* inputs taken from FlexRM getActionRequests/makeActionRequests */
    public List<RuleselectRules(RouteContext contextDocumentRouteHeaderValue routeHeaderRouteNodeInstance nodeInstanceString selectionCriterionTimestamp effectiveDate);
New to GrepCode? Check out our FAQ X