Package org.kuali.rice.kew.rule.service
Interface RuleDelegationService
- All Superinterfaces:
org.kuali.rice.core.framework.impex.xml.XmlExporter,org.kuali.rice.core.framework.impex.xml.XmlLoader
- All Known Implementing Classes:
RuleDelegationServiceImpl
public interface RuleDelegationService
extends org.kuali.rice.core.framework.impex.xml.XmlLoader, org.kuali.rice.core.framework.impex.xml.XmlExporter
A service providing data access for
RuleDelegationBos.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidfindByDelegateRuleId(String ruleId) findByResponsibilityId(String responsibilityId) Returns a List of all RuleDelegations with "current" Rules for the given responsibility id.findByRuleDelegationId(String ruleDelegationId) voidsave(RuleDelegationBo ruleDelegation) 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) 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) Methods inherited from interface org.kuali.rice.core.framework.impex.xml.XmlExporter
export, supportPrettyPrintMethods inherited from interface org.kuali.rice.core.framework.impex.xml.XmlLoader
loadXml
-
Method Details
-
findByDelegateRuleId
-
save
-
delete
-
findAllCurrentRuleDelegations
List<RuleDelegationBo> findAllCurrentRuleDelegations() -
findByRuleDelegationId
-
search
-
searchByTemplate
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) -
findByResponsibilityId
@Cacheable(value="http://rice.kuali.org/kew/v2_0/RuleDelegationType", key="\'responsibilityId=\' + #p0") List<RuleDelegationBo> findByResponsibilityId(String responsibilityId) Returns a List of all RuleDelegations with "current" Rules for the given responsibility id. KULRICE-12368:Added the caching annotation to this method so it would use not refetch the same information repeatedly
-