org.kuali.rice.kew.rule.dao
Interface RuleDAO

All Known Implementing Classes:
RuleDAOJpaImpl, RuleDAOOjbImpl

public interface RuleDAO


Method Summary
 void delete(String ruleBaseValuesId)
           
 List<RuleBaseValues> fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateId, List documentTypes)
           
 List<RuleBaseValues> fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateId, List documentTypes, Timestamp effectiveDate)
           
 List<RuleBaseValues> fetchAllRules(boolean currentRules)
           
 List<RuleBaseValues> findByDocumentId(String documentId)
           
 List<RuleBaseValues> findByPreviousRuleId(String previousVersionId)
           
 RuleBaseValues findDefaultRuleByRuleTemplateId(String ruleTemplateId)
           
 List findOldDelegations(RuleBaseValues oldRule, RuleBaseValues newRule)
           
 String findResponsibilityIdForRule(String ruleName, String ruleResponsibilityName, String ruleResponsibilityType)
           
 RuleBaseValues findRuleBaseValuesById(String ruleBaseValuesId)
           
 RuleBaseValues findRuleBaseValuesByName(String name)
           
 List<RuleBaseValues> findRuleBaseValuesByResponsibilityReviewer(String reviewerName, String type)
           
 List<RuleBaseValues> findRuleBaseValuesByResponsibilityReviewerTemplateDoc(String ruleTemplateName, String documentType, String reviewerName, String type)
           
 RuleResponsibilityBo findRuleResponsibility(String responsibilityId)
           
 RuleBaseValues getParentRule(String ruleBaseValuesId)
           
 void retrieveAllReferences(RuleBaseValues rule)
           
 void save(RuleBaseValues ruleBaseValues)
           
 List<RuleBaseValues> search(String docTypeName, String ruleTemplateId, String ruleDescription, Collection<String> workgroupIds, String workflowId, Boolean delegateRule, Boolean activeInd, Map extensionValues, Collection actionRequestCodes)
           
 List<RuleBaseValues> search(String docTypeName, String ruleId, String ruleTemplateId, String ruleDescription, String workgroupId, String workflowId, Boolean delegateRule, Boolean activeInd, Map extensionValues, String workflowIdDirective)
           
 

Method Detail

save

void save(RuleBaseValues ruleBaseValues)

delete

void delete(String ruleBaseValuesId)

findRuleBaseValuesByName

RuleBaseValues findRuleBaseValuesByName(String name)

findRuleBaseValuesById

RuleBaseValues findRuleBaseValuesById(String ruleBaseValuesId)

findRuleResponsibility

RuleResponsibilityBo findRuleResponsibility(String responsibilityId)

fetchAllRules

List<RuleBaseValues> fetchAllRules(boolean currentRules)

fetchAllCurrentRulesForTemplateDocCombination

List<RuleBaseValues> fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateId,
                                                                   List documentTypes)

fetchAllCurrentRulesForTemplateDocCombination

List<RuleBaseValues> fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateId,
                                                                   List documentTypes,
                                                                   Timestamp effectiveDate)

search

List<RuleBaseValues> search(String docTypeName,
                            String ruleId,
                            String ruleTemplateId,
                            String ruleDescription,
                            String workgroupId,
                            String workflowId,
                            Boolean delegateRule,
                            Boolean activeInd,
                            Map extensionValues,
                            String workflowIdDirective)

search

List<RuleBaseValues> search(String docTypeName,
                            String ruleTemplateId,
                            String ruleDescription,
                            Collection<String> workgroupIds,
                            String workflowId,
                            Boolean delegateRule,
                            Boolean activeInd,
                            Map extensionValues,
                            Collection actionRequestCodes)

findByDocumentId

List<RuleBaseValues> findByDocumentId(String documentId)

findRuleBaseValuesByResponsibilityReviewer

List<RuleBaseValues> findRuleBaseValuesByResponsibilityReviewer(String reviewerName,
                                                                String type)

findRuleBaseValuesByResponsibilityReviewerTemplateDoc

List<RuleBaseValues> findRuleBaseValuesByResponsibilityReviewerTemplateDoc(String ruleTemplateName,
                                                                           String documentType,
                                                                           String reviewerName,
                                                                           String type)

findByPreviousRuleId

List<RuleBaseValues> findByPreviousRuleId(String previousVersionId)

retrieveAllReferences

void retrieveAllReferences(RuleBaseValues rule)

findDefaultRuleByRuleTemplateId

RuleBaseValues findDefaultRuleByRuleTemplateId(String ruleTemplateId)

getParentRule

RuleBaseValues getParentRule(String ruleBaseValuesId)

findOldDelegations

List findOldDelegations(RuleBaseValues oldRule,
                        RuleBaseValues newRule)

findResponsibilityIdForRule

String findResponsibilityIdForRule(String ruleName,
                                   String ruleResponsibilityName,
                                   String ruleResponsibilityType)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.