public class RuleDAOJpaImpl extends Object implements RuleDAO
Constructor and Description |
---|
RuleDAOJpaImpl() |
public RuleDAOJpaImpl()
public void save(RuleBaseValues ruleBaseValues)
public List<RuleBaseValues> fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateId, List documentTypes)
fetchAllCurrentRulesForTemplateDocCombination
in interface RuleDAO
public List<RuleBaseValues> fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateId, List documentTypes, Timestamp effectiveDate)
fetchAllCurrentRulesForTemplateDocCombination
in interface RuleDAO
public Criteria generateFromToDateCriteria(Date date)
public List<RuleBaseValues> fetchAllRules(boolean currentRules)
fetchAllRules
in interface RuleDAO
public List<RuleBaseValues> findByDocumentId(String documentId)
findByDocumentId
in interface RuleDAO
public RuleBaseValues findRuleBaseValuesByName(String name)
findRuleBaseValuesByName
in interface RuleDAO
public RuleBaseValues findRuleBaseValuesById(String ruleBaseValuesId)
findRuleBaseValuesById
in interface RuleDAO
public List<RuleBaseValues> findRuleBaseValuesByResponsibilityReviewer(String reviewerName, String type)
findRuleBaseValuesByResponsibilityReviewer
in interface RuleDAO
public List<RuleBaseValues> findRuleBaseValuesByResponsibilityReviewerTemplateDoc(String ruleTemplateName, String documentType, String reviewerName, String type)
findRuleBaseValuesByResponsibilityReviewerTemplateDoc
in interface RuleDAO
public RuleResponsibilityBo findRuleResponsibility(String responsibilityId)
findRuleResponsibility
in interface RuleDAO
public List<RuleBaseValues> search(String docTypeName, String ruleId, String ruleTemplateId, String ruleDescription, String groupId, String principalId, Boolean delegateRule, Boolean activeInd, Map extensionValues, String workflowIdDirective)
public List<RuleBaseValues> search(String docTypeName, String ruleTemplateId, String ruleDescription, Collection<String> workgroupIds, String workflowId, Boolean delegateRule, Boolean activeInd, Map extensionValues, Collection actionRequestCodes)
public List<RuleBaseValues> findByPreviousRuleId(String previousRuleId)
findByPreviousRuleId
in interface RuleDAO
public RuleBaseValues findDefaultRuleByRuleTemplateId(String ruleTemplateId)
findDefaultRuleByRuleTemplateId
in interface RuleDAO
public void retrieveAllReferences(RuleBaseValues rule)
retrieveAllReferences
in interface RuleDAO
public RuleBaseValues getParentRule(String ruleBaseValuesId)
getParentRule
in interface RuleDAO
public List findOldDelegations(RuleBaseValues oldRule, RuleBaseValues newRule)
findOldDelegations
in interface RuleDAO
public String findResponsibilityIdForRule(String ruleName, String ruleResponsibilityName, String ruleResponsibilityType)
findResponsibilityIdForRule
in interface RuleDAO
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.