Package org.kuali.rice.kew.rule.dao.impl
Class RuleDAOJpa
java.lang.Object
org.kuali.rice.kew.rule.dao.impl.RuleDAOJpa
- All Implemented Interfaces:
RuleDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateId, List documentTypes) fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateId, List documentTypes, Timestamp effectiveDate) fetchAllRules(boolean currentRules) findByDocumentId(String documentId) findByPreviousRuleId(String previousRuleId) findDefaultRuleByRuleTemplateId(String ruleTemplateId) findOldDelegations(RuleBaseValues oldRule, RuleBaseValues newRule) findResponsibilityIdForRule(String ruleName, String ruleResponsibilityName, String ruleResponsibilityType) findRuleBaseValuesById(String ruleBaseValuesId) findRuleBaseValuesByResponsibilityReviewer(String reviewerName, String type) findRuleBaseValuesByResponsibilityReviewerTemplateDoc(String ruleTemplateName, String documentType, String reviewerName, String type) findRuleResponsibility(String responsibilityId) List<org.kuali.rice.core.api.criteria.Predicate> org.kuali.rice.krad.data.DataObjectServicejavax.persistence.EntityManagergetParentRule(String ruleBaseValuesId) voidsave(RuleBaseValues ruleBaseValues) search(String docTypeName, String ruleId, String ruleTemplateId, String ruleDescription, String groupId, String principalId, Boolean delegateRule, Boolean activeInd, Map extensionValues, String workflowIdDirective) search(String docTypeName, String ruleTemplateId, String ruleDescription, Collection<String> workgroupIds, String workflowId, Boolean delegateRule, Boolean activeInd, Map extensionValues, Collection actionRequestCodes) voidsetDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService) voidsetEntityManager(javax.persistence.EntityManager entityManager)
-
Constructor Details
-
RuleDAOJpa
public RuleDAOJpa()
-
-
Method Details
-
save
-
fetchAllCurrentRulesForTemplateDocCombination
public List<RuleBaseValues> fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateId, List documentTypes) - Specified by:
fetchAllCurrentRulesForTemplateDocCombinationin interfaceRuleDAO
-
fetchAllCurrentRulesForTemplateDocCombination
public List<RuleBaseValues> fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateId, List documentTypes, Timestamp effectiveDate) - Specified by:
fetchAllCurrentRulesForTemplateDocCombinationin interfaceRuleDAO
-
generateFromToDatePredicate
-
fetchAllRules
- Specified by:
fetchAllRulesin interfaceRuleDAO
-
delete
-
findByDocumentId
- Specified by:
findByDocumentIdin interfaceRuleDAO
-
findRuleBaseValuesByName
- Specified by:
findRuleBaseValuesByNamein interfaceRuleDAO
-
findRuleBaseValuesById
- Specified by:
findRuleBaseValuesByIdin interfaceRuleDAO
-
findRuleBaseValuesByResponsibilityReviewer
public List<RuleBaseValues> findRuleBaseValuesByResponsibilityReviewer(String reviewerName, String type) - Specified by:
findRuleBaseValuesByResponsibilityReviewerin interfaceRuleDAO
-
findRuleBaseValuesByResponsibilityReviewerTemplateDoc
public List<RuleBaseValues> findRuleBaseValuesByResponsibilityReviewerTemplateDoc(String ruleTemplateName, String documentType, String reviewerName, String type) - Specified by:
findRuleBaseValuesByResponsibilityReviewerTemplateDocin interfaceRuleDAO
-
findRuleResponsibility
- Specified by:
findRuleResponsibilityin interfaceRuleDAO
-
search
-
search
public List<RuleBaseValues> search(String docTypeName, String ruleTemplateId, String ruleDescription, Collection<String> workgroupIds, String workflowId, Boolean delegateRule, Boolean activeInd, Map extensionValues, Collection actionRequestCodes) -
findByPreviousRuleId
- Specified by:
findByPreviousRuleIdin interfaceRuleDAO
-
findDefaultRuleByRuleTemplateId
- Specified by:
findDefaultRuleByRuleTemplateIdin interfaceRuleDAO
-
retrieveAllReferences
- Specified by:
retrieveAllReferencesin interfaceRuleDAO
-
getParentRule
- Specified by:
getParentRulein interfaceRuleDAO
-
findOldDelegations
- Specified by:
findOldDelegationsin interfaceRuleDAO
-
findResponsibilityIdForRule
public String findResponsibilityIdForRule(String ruleName, String ruleResponsibilityName, String ruleResponsibilityType) - Specified by:
findResponsibilityIdForRulein interfaceRuleDAO
-
getEntityManager
public javax.persistence.EntityManager getEntityManager() -
setEntityManager
public void setEntityManager(javax.persistence.EntityManager entityManager) -
getDataObjectService
public org.kuali.rice.krad.data.DataObjectService getDataObjectService() -
setDataObjectService
public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)
-