org.kuali.rice.kew.rule.dao.impl
Class RuleDAOOjbImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.kew.rule.dao.impl.RuleDAOOjbImpl
- All Implemented Interfaces:
- RuleDAO, org.springframework.beans.factory.InitializingBean
public class RuleDAOOjbImpl
- extends org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
- implements RuleDAO
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
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 |
findRuleBaseValuesByObjectGraph(RuleBaseValues ruleBaseValues)
|
List<RuleBaseValues> |
findRuleBaseValuesByResponsibilityReviewer(String reviewerName,
String type)
|
List<RuleBaseValues> |
findRuleBaseValuesByResponsibilityReviewerTemplateDoc(String ruleTemplateName,
String documentType,
String reviewerName,
String type)
|
RuleResponsibilityBo |
findRuleResponsibility(String responsibilityId)
|
org.apache.ojb.broker.query.Criteria |
generateFromToDateCriteria(Date date)
|
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 principalId,
Boolean delegateRule,
Boolean activeInd,
Map extensionValues,
String workflowIdDirective)
|
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport |
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleDAOOjbImpl
public RuleDAOOjbImpl()
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 org.apache.ojb.broker.query.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
findRuleBaseValuesByObjectGraph
public List findRuleBaseValuesByObjectGraph(RuleBaseValues ruleBaseValues)
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 workgroupId,
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
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.