org.kuali.rice.kew.rule.service.impl
Class RuleDelegationServiceImpl

java.lang.Object
  extended by org.kuali.rice.kew.rule.service.impl.RuleDelegationServiceImpl
All Implemented Interfaces:
XmlExporter, XmlLoader, RuleDelegationService

public class RuleDelegationServiceImpl
extends Object
implements RuleDelegationService

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
RuleDelegationServiceImpl()
           
 
Method Summary
 void delete(String ruleDelegationId)
           
 org.jdom.Element export(ExportDataSet dataSet)
           
 List<RuleDelegationBo> findAllCurrentRuleDelegations()
           
 List<RuleDelegationBo> findByDelegateRuleId(String ruleId)
           
 List<RuleDelegationBo> findByResponsibilityId(String responsibilityId)
          Returns a List of all RuleDelegations with "current" Rules for the given responsibility id.
 List findByResponsibilityId(String responsibilityId, boolean ignoreCache)
           
 RuleDelegationBo findByRuleDelegationId(String ruleDelegationId)
           
 void loadXml(InputStream inputStream, String principalId)
           
 void save(RuleDelegationBo ruleDelegation)
           
 List<RuleDelegationBo> search(String parentRuleBaseVaueId, String parentResponsibilityId, String docTypeName, String ruleId, String ruleTemplateId, String ruleDescription, String groupId, String principalId, String delegationType, Boolean activeInd, Map extensionValues, String workflowIdDirective)
           
 List<RuleDelegationBo> searchByTemplate(String parentRuleBaseVaueId, String parentResponsibilityId, String docTypeName, String ruleTemplateName, String ruleDescription, String groupId, String principalId, Boolean workgroupMember, String delegationType, Boolean activeInd, Map extensionValues, Collection<String> actionRequestCodes)
           
 void setRuleDelegationDAO(RuleDelegationDAO dao)
           
 boolean supportPrettyPrint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleDelegationServiceImpl

public RuleDelegationServiceImpl()
Method Detail

findByDelegateRuleId

public List<RuleDelegationBo> findByDelegateRuleId(String ruleId)
Specified by:
findByDelegateRuleId in interface RuleDelegationService

save

public void save(RuleDelegationBo ruleDelegation)
Specified by:
save in interface RuleDelegationService

setRuleDelegationDAO

public void setRuleDelegationDAO(RuleDelegationDAO dao)

findAllCurrentRuleDelegations

public List<RuleDelegationBo> findAllCurrentRuleDelegations()
Specified by:
findAllCurrentRuleDelegations in interface RuleDelegationService

delete

public void delete(String ruleDelegationId)
Specified by:
delete in interface RuleDelegationService

findByRuleDelegationId

public RuleDelegationBo findByRuleDelegationId(String ruleDelegationId)
Specified by:
findByRuleDelegationId in interface RuleDelegationService

findByResponsibilityId

public List<RuleDelegationBo> findByResponsibilityId(String responsibilityId)
Description copied from interface: RuleDelegationService
Returns a List of all RuleDelegations with "current" Rules for the given responsibility id.

Specified by:
findByResponsibilityId in interface RuleDelegationService

search

public List<RuleDelegationBo> search(String parentRuleBaseVaueId,
                                     String parentResponsibilityId,
                                     String docTypeName,
                                     String ruleId,
                                     String ruleTemplateId,
                                     String ruleDescription,
                                     String groupId,
                                     String principalId,
                                     String delegationType,
                                     Boolean activeInd,
                                     Map extensionValues,
                                     String workflowIdDirective)
Specified by:
search in interface RuleDelegationService

searchByTemplate

public List<RuleDelegationBo> searchByTemplate(String parentRuleBaseVaueId,
                                               String parentResponsibilityId,
                                               String docTypeName,
                                               String ruleTemplateName,
                                               String ruleDescription,
                                               String groupId,
                                               String principalId,
                                               Boolean workgroupMember,
                                               String delegationType,
                                               Boolean activeInd,
                                               Map extensionValues,
                                               Collection<String> actionRequestCodes)
Specified by:
searchByTemplate in interface RuleDelegationService

loadXml

public void loadXml(InputStream inputStream,
                    String principalId)
Specified by:
loadXml in interface XmlLoader

export

public org.jdom.Element export(ExportDataSet dataSet)
Specified by:
export in interface XmlExporter

supportPrettyPrint

public boolean supportPrettyPrint()
Specified by:
supportPrettyPrint in interface XmlExporter

findByResponsibilityId

public List findByResponsibilityId(String responsibilityId,
                                   boolean ignoreCache)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.