org.kuali.rice.kew.rule.dao.impl
Class RuleDAOOjbImpl
java.lang.Object
   org.springframework.dao.support.DaoSupport
org.springframework.dao.support.DaoSupport
       org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
           org.kuali.rice.kew.rule.dao.impl.RuleDAOOjbImpl
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:
- savein interface- RuleDAO
 
- 
 
fetchAllCurrentRulesForTemplateDocCombination
public List<RuleBaseValues> fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateId,
                                                                          List documentTypes)
- 
- Specified by:
- fetchAllCurrentRulesForTemplateDocCombinationin interface- RuleDAO
 
- 
 
fetchAllCurrentRulesForTemplateDocCombination
public List<RuleBaseValues> fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateId,
                                                                          List documentTypes,
                                                                          Timestamp effectiveDate)
- 
- Specified by:
- fetchAllCurrentRulesForTemplateDocCombinationin interface- RuleDAO
 
- 
 
generateFromToDateCriteria
public org.apache.ojb.broker.query.Criteria generateFromToDateCriteria(Date date)
- 
 
- 
 
fetchAllRules
public List<RuleBaseValues> fetchAllRules(boolean currentRules)
- 
- Specified by:
- fetchAllRulesin interface- RuleDAO
 
- 
 
delete
public void delete(String ruleBaseValuesId)
- 
- Specified by:
- deletein interface- RuleDAO
 
- 
 
findByDocumentId
public List<RuleBaseValues> findByDocumentId(String documentId)
- 
- Specified by:
- findByDocumentIdin interface- RuleDAO
 
- 
 
findRuleBaseValuesByName
public RuleBaseValues findRuleBaseValuesByName(String name)
- 
- Specified by:
- findRuleBaseValuesByNamein interface- RuleDAO
 
- 
 
findRuleBaseValuesById
public RuleBaseValues findRuleBaseValuesById(String ruleBaseValuesId)
- 
- Specified by:
- findRuleBaseValuesByIdin interface- RuleDAO
 
- 
 
findRuleBaseValuesByResponsibilityReviewer
public List<RuleBaseValues> findRuleBaseValuesByResponsibilityReviewer(String reviewerName,
                                                                       String type)
- 
- Specified by:
- findRuleBaseValuesByResponsibilityReviewerin interface- RuleDAO
 
- 
 
findRuleBaseValuesByResponsibilityReviewerTemplateDoc
public List<RuleBaseValues> findRuleBaseValuesByResponsibilityReviewerTemplateDoc(String ruleTemplateName,
                                                                                  String documentType,
                                                                                  String reviewerName,
                                                                                  String type)
- 
- Specified by:
- findRuleBaseValuesByResponsibilityReviewerTemplateDocin interface- RuleDAO
 
- 
 
findRuleBaseValuesByObjectGraph
public List findRuleBaseValuesByObjectGraph(RuleBaseValues ruleBaseValues)
- 
 
- 
 
findRuleResponsibility
public RuleResponsibilityBo findRuleResponsibility(String responsibilityId)
- 
- Specified by:
- findRuleResponsibilityin 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:
- searchin 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:
- searchin interface- RuleDAO
 
- 
 
findByPreviousRuleId
public List<RuleBaseValues> findByPreviousRuleId(String previousRuleId)
- 
- Specified by:
- findByPreviousRuleIdin interface- RuleDAO
 
- 
 
findDefaultRuleByRuleTemplateId
public RuleBaseValues findDefaultRuleByRuleTemplateId(String ruleTemplateId)
- 
- Specified by:
- findDefaultRuleByRuleTemplateIdin interface- RuleDAO
 
- 
 
retrieveAllReferences
public void retrieveAllReferences(RuleBaseValues rule)
- 
- Specified by:
- retrieveAllReferencesin interface- RuleDAO
 
- 
 
getParentRule
public RuleBaseValues getParentRule(String ruleBaseValuesId)
- 
- Specified by:
- getParentRulein interface- RuleDAO
 
- 
 
findOldDelegations
public List findOldDelegations(RuleBaseValues oldRule,
                               RuleBaseValues newRule)
- 
- Specified by:
- findOldDelegationsin interface- RuleDAO
 
- 
 
findResponsibilityIdForRule
public String findResponsibilityIdForRule(String ruleName,
                                          String ruleResponsibilityName,
                                          String ruleResponsibilityType)
- 
- Specified by:
- findResponsibilityIdForRulein interface- RuleDAO
 
- 
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.