org.kuali.rice.kew.rule.dao.impl
Class RuleDelegationDAOOjbImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.kew.rule.dao.impl.RuleDelegationDAOOjbImpl
- All Implemented Interfaces:
- RuleDelegationDAO, org.springframework.beans.factory.InitializingBean
public class RuleDelegationDAOOjbImpl
- extends org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
- implements RuleDelegationDAO
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
void |
delete(Long ruleDelegationId)
|
List |
findAllCurrentRuleDelegations()
|
List |
findByDelegateRuleId(Long ruleId)
|
List<RuleDelegation> |
findByResponsibilityIdWithCurrentRule(Long responsibilityId)
|
RuleDelegation |
findByRuleDelegationId(Long ruleDelegationId)
|
private org.apache.ojb.broker.query.ReportQueryByCriteria |
getResponsibilitySubQuery(Collection<String> workgroupIds,
String workflowId,
Collection actionRequestCodes,
Boolean searchUser,
Boolean searchUserInWorkgroups)
|
private org.apache.ojb.broker.query.ReportQueryByCriteria |
getResponsibilitySubQuery(List<String> workgroupIds,
String workflowId,
Boolean searchUser,
Boolean searchUserInWorkgroups)
|
private org.apache.ojb.broker.query.ReportQueryByCriteria |
getResponsibilitySubQuery(String ruleResponsibilityName)
|
private org.apache.ojb.broker.query.ReportQueryByCriteria |
getRuleBaseValuesSubQuery(String docTypeName,
Long ruleId,
Long ruleTemplateId,
String ruleDescription,
String workgroupId,
String principalId,
Boolean activeInd,
Map extensionValues,
String workflowIdDirective)
|
private org.apache.ojb.broker.query.ReportQueryByCriteria |
getRuleBaseValuesSubQuery(String docTypeName,
Long ruleTemplateId,
String ruleDescription,
Collection<String> workgroupIds,
String workflowId,
Boolean activeInd,
Map extensionValues,
Collection actionRequestCodes)
|
private org.apache.ojb.broker.query.ReportQueryByCriteria |
getRuleResponsibilitySubQuery(Long ruleBaseValuesId)
|
private org.apache.ojb.broker.query.Criteria |
getSearchCriteria(String docTypeName,
Long ruleTemplateId,
String ruleDescription,
Boolean activeInd,
Map extensionValues)
|
private org.apache.ojb.broker.query.ReportQueryByCriteria |
getWorkgroupResponsibilitySubQuery(Set<Long> workgroupIds)
|
void |
save(RuleDelegation ruleDelegation)
|
List<RuleDelegation> |
search(String parentRuleBaseVaueId,
String parentResponsibilityId,
String docTypeName,
Long ruleId,
Long ruleTemplateId,
String ruleDescription,
String workgroupId,
String principalId,
String delegationType,
Boolean activeInd,
Map extensionValues,
String workflowIdDirective)
This overridden method ... |
List<RuleDelegation> |
search(String parentRuleBaseVaueId,
String parentResponsibilityId,
String docTypeName,
Long ruleTemplateId,
String ruleDescription,
Collection<String> workgroupIds,
String workflowId,
String delegationType,
Boolean activeInd,
Map extensionValues,
Collection actionRequestCodes)
This overridden method ... |
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 |
RuleDelegationDAOOjbImpl
public RuleDelegationDAOOjbImpl()
findByDelegateRuleId
public List findByDelegateRuleId(Long ruleId)
- Specified by:
findByDelegateRuleId
in interface RuleDelegationDAO
save
public void save(RuleDelegation ruleDelegation)
- Specified by:
save
in interface RuleDelegationDAO
findAllCurrentRuleDelegations
public List findAllCurrentRuleDelegations()
- Specified by:
findAllCurrentRuleDelegations
in interface RuleDelegationDAO
findByRuleDelegationId
public RuleDelegation findByRuleDelegationId(Long ruleDelegationId)
- Specified by:
findByRuleDelegationId
in interface RuleDelegationDAO
delete
public void delete(Long ruleDelegationId)
- Specified by:
delete
in interface RuleDelegationDAO
findByResponsibilityIdWithCurrentRule
public List<RuleDelegation> findByResponsibilityIdWithCurrentRule(Long responsibilityId)
- Specified by:
findByResponsibilityIdWithCurrentRule
in interface RuleDelegationDAO
search
public List<RuleDelegation> search(String parentRuleBaseVaueId,
String parentResponsibilityId,
String docTypeName,
Long ruleId,
Long ruleTemplateId,
String ruleDescription,
String workgroupId,
String principalId,
String delegationType,
Boolean activeInd,
Map extensionValues,
String workflowIdDirective)
- This overridden method ...
- Specified by:
search
in interface RuleDelegationDAO
- See Also:
org.kuali.rice.kew.rule.dao.RuleDelegationDAO#search(java.lang.String, java.lang.Long, java.lang.Long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, java.util.Map, java.lang.String)
search
public List<RuleDelegation> search(String parentRuleBaseVaueId,
String parentResponsibilityId,
String docTypeName,
Long ruleTemplateId,
String ruleDescription,
Collection<String> workgroupIds,
String workflowId,
String delegationType,
Boolean activeInd,
Map extensionValues,
Collection actionRequestCodes)
- This overridden method ...
- Specified by:
search
in interface RuleDelegationDAO
- See Also:
org.kuali.rice.kew.rule.dao.RuleDelegationDAO#search(java.lang.String, java.lang.Long, java.lang.String, java.util.Collection, java.lang.String, java.lang.String, java.lang.Boolean, java.util.Map, java.util.Collection)
getResponsibilitySubQuery
private org.apache.ojb.broker.query.ReportQueryByCriteria getResponsibilitySubQuery(String ruleResponsibilityName)
getWorkgroupResponsibilitySubQuery
private org.apache.ojb.broker.query.ReportQueryByCriteria getWorkgroupResponsibilitySubQuery(Set<Long> workgroupIds)
getRuleBaseValuesSubQuery
private org.apache.ojb.broker.query.ReportQueryByCriteria getRuleBaseValuesSubQuery(String docTypeName,
Long ruleTemplateId,
String ruleDescription,
Collection<String> workgroupIds,
String workflowId,
Boolean activeInd,
Map extensionValues,
Collection actionRequestCodes)
getRuleBaseValuesSubQuery
private org.apache.ojb.broker.query.ReportQueryByCriteria getRuleBaseValuesSubQuery(String docTypeName,
Long ruleId,
Long ruleTemplateId,
String ruleDescription,
String workgroupId,
String principalId,
Boolean activeInd,
Map extensionValues,
String workflowIdDirective)
getRuleResponsibilitySubQuery
private org.apache.ojb.broker.query.ReportQueryByCriteria getRuleResponsibilitySubQuery(Long ruleBaseValuesId)
getResponsibilitySubQuery
private org.apache.ojb.broker.query.ReportQueryByCriteria getResponsibilitySubQuery(List<String> workgroupIds,
String workflowId,
Boolean searchUser,
Boolean searchUserInWorkgroups)
getResponsibilitySubQuery
private org.apache.ojb.broker.query.ReportQueryByCriteria getResponsibilitySubQuery(Collection<String> workgroupIds,
String workflowId,
Collection actionRequestCodes,
Boolean searchUser,
Boolean searchUserInWorkgroups)
getSearchCriteria
private org.apache.ojb.broker.query.Criteria getSearchCriteria(String docTypeName,
Long ruleTemplateId,
String ruleDescription,
Boolean activeInd,
Map extensionValues)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.