org.kuali.rice.kew.rule.service
Interface RuleTemplateService

All Superinterfaces:
XmlExporter, XmlLoader
All Known Implementing Classes:
RuleTemplateServiceImpl

public interface RuleTemplateService
extends XmlLoader, XmlExporter

A service providing data access for RuleTemplateBos and RuleTemplateAttributeBos.

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

Method Summary
 void delete(String ruleTemplateId)
           
 void deleteRuleTemplateOption(String ruleTemplateOptionId)
           
 List<RuleTemplateBo> findAll()
           
 List findByRuleTemplate(RuleTemplateBo ruleTemplate)
           
 RuleTemplateAttributeBo findByRuleTemplateAttributeId(String ruleTemplateAttributeId)
           
 RuleTemplateBo findByRuleTemplateId(String ruleTemplateId)
           
 RuleTemplateBo findByRuleTemplateName(String ruleTemplateName)
           
 String getNextRuleTemplateId()
           
 void save(RuleTemplateAttributeBo ruleTemplateAttribute)
           
 void save(RuleTemplateBo ruleTemplate)
           
 void saveRuleDefaults(RuleDelegationBo ruleDelegation, RuleBaseValues ruleBaseValues)
           
 
Methods inherited from interface org.kuali.rice.core.framework.impex.xml.XmlLoader
loadXml
 
Methods inherited from interface org.kuali.rice.core.framework.impex.xml.XmlExporter
export, supportPrettyPrint
 

Method Detail

save

@CacheEvict(value="http://rice.kuali.org/kew/v2_0/RuleTemplateType",
            allEntries=true)
void save(RuleTemplateBo ruleTemplate)

save

@CacheEvict(value="http://rice.kuali.org/kew/v2_0/RuleTemplateType",
            allEntries=true)
void save(RuleTemplateAttributeBo ruleTemplateAttribute)

saveRuleDefaults

@CacheEvict(value={"http://rice.kuali.org/kew/v2_0/RuleTemplateType","http://rice.kuali.org/kew/v2_0/RuleType","http://rice.kuali.org/kew/v2_0/RuleDelegationType"},
            allEntries=true)
void saveRuleDefaults(RuleDelegationBo ruleDelegation,
                                 RuleBaseValues ruleBaseValues)

findByRuleTemplateId

RuleTemplateBo findByRuleTemplateId(String ruleTemplateId)

findAll

List<RuleTemplateBo> findAll()

findByRuleTemplate

List findByRuleTemplate(RuleTemplateBo ruleTemplate)

delete

@CacheEvict(value="http://rice.kuali.org/kew/v2_0/RuleTemplateType",
            allEntries=true)
void delete(String ruleTemplateId)

deleteRuleTemplateOption

void deleteRuleTemplateOption(String ruleTemplateOptionId)

findByRuleTemplateAttributeId

RuleTemplateAttributeBo findByRuleTemplateAttributeId(String ruleTemplateAttributeId)

findByRuleTemplateName

RuleTemplateBo findByRuleTemplateName(String ruleTemplateName)

getNextRuleTemplateId

String getNextRuleTemplateId()


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