org.kuali.rice.kew.rule.dao.impl
Class RuleDAOJpaImpl
java.lang.Object
org.kuali.rice.kew.rule.dao.impl.RuleDAOJpaImpl
- All Implemented Interfaces:
- RuleDAO
public class RuleDAOJpaImpl
- extends Object
- implements 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 previousRuleId)
|
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)
|
Criteria |
generateFromToDateCriteria(Date date)
|
javax.persistence.EntityManager |
getEntityManager()
|
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 groupId,
String principalId,
Boolean delegateRule,
Boolean activeInd,
Map extensionValues,
String workflowIdDirective)
|
void |
setEntityManager(javax.persistence.EntityManager entityManager)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleDAOJpaImpl
public RuleDAOJpaImpl()
save
public void save(RuleBaseValues ruleBaseValues)
- Specified by:
save
in interface RuleDAO
fetchAllCurrentRulesForTemplateDocCombination
public List<RuleBaseValues> fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateId,
List documentTypes)
- Specified by:
fetchAllCurrentRulesForTemplateDocCombination
in interface RuleDAO
fetchAllCurrentRulesForTemplateDocCombination
public List<RuleBaseValues> fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateId,
List documentTypes,
Timestamp effectiveDate)
- Specified by:
fetchAllCurrentRulesForTemplateDocCombination
in interface RuleDAO
generateFromToDateCriteria
public Criteria generateFromToDateCriteria(Date date)
fetchAllRules
public List<RuleBaseValues> fetchAllRules(boolean currentRules)
- Specified by:
fetchAllRules
in interface RuleDAO
delete
public void delete(String ruleBaseValuesId)
- Specified by:
delete
in interface RuleDAO
findByDocumentId
public List<RuleBaseValues> findByDocumentId(String documentId)
- Specified by:
findByDocumentId
in interface RuleDAO
findRuleBaseValuesByName
public RuleBaseValues findRuleBaseValuesByName(String name)
- Specified by:
findRuleBaseValuesByName
in interface RuleDAO
findRuleBaseValuesById
public RuleBaseValues findRuleBaseValuesById(String ruleBaseValuesId)
- Specified by:
findRuleBaseValuesById
in interface RuleDAO
findRuleBaseValuesByResponsibilityReviewer
public List<RuleBaseValues> findRuleBaseValuesByResponsibilityReviewer(String reviewerName,
String type)
- Specified by:
findRuleBaseValuesByResponsibilityReviewer
in interface RuleDAO
findRuleBaseValuesByResponsibilityReviewerTemplateDoc
public List<RuleBaseValues> findRuleBaseValuesByResponsibilityReviewerTemplateDoc(String ruleTemplateName,
String documentType,
String reviewerName,
String type)
- Specified by:
findRuleBaseValuesByResponsibilityReviewerTemplateDoc
in interface RuleDAO
findRuleResponsibility
public RuleResponsibilityBo findRuleResponsibility(String responsibilityId)
- Specified by:
findRuleResponsibility
in interface RuleDAO
search
public List<RuleBaseValues> search(String docTypeName,
String ruleId,
String ruleTemplateId,
String ruleDescription,
String groupId,
String principalId,
Boolean delegateRule,
Boolean activeInd,
Map extensionValues,
String workflowIdDirective)
- Specified by:
search
in interface RuleDAO
search
public List<RuleBaseValues> search(String docTypeName,
String ruleTemplateId,
String ruleDescription,
Collection<String> workgroupIds,
String workflowId,
Boolean delegateRule,
Boolean activeInd,
Map extensionValues,
Collection actionRequestCodes)
- Specified by:
search
in interface RuleDAO
findByPreviousRuleId
public List<RuleBaseValues> findByPreviousRuleId(String previousRuleId)
- Specified by:
findByPreviousRuleId
in interface RuleDAO
findDefaultRuleByRuleTemplateId
public RuleBaseValues findDefaultRuleByRuleTemplateId(String ruleTemplateId)
- Specified by:
findDefaultRuleByRuleTemplateId
in interface RuleDAO
retrieveAllReferences
public void retrieveAllReferences(RuleBaseValues rule)
- Specified by:
retrieveAllReferences
in interface RuleDAO
getParentRule
public RuleBaseValues getParentRule(String ruleBaseValuesId)
- Specified by:
getParentRule
in interface RuleDAO
findOldDelegations
public List findOldDelegations(RuleBaseValues oldRule,
RuleBaseValues newRule)
- Specified by:
findOldDelegations
in interface RuleDAO
findResponsibilityIdForRule
public String findResponsibilityIdForRule(String ruleName,
String ruleResponsibilityName,
String ruleResponsibilityType)
- Specified by:
findResponsibilityIdForRule
in interface RuleDAO
getEntityManager
public javax.persistence.EntityManager getEntityManager()
setEntityManager
public void setEntityManager(javax.persistence.EntityManager entityManager)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.