1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.rice.kew.rule.service;
18
19 import java.util.List;
20
21 import org.kuali.rice.core.framework.impex.xml.XmlExporter;
22 import org.kuali.rice.core.framework.impex.xml.XmlLoader;
23 import org.kuali.rice.kew.rule.RuleBaseValues;
24 import org.kuali.rice.kew.rule.RuleDelegation;
25 import org.kuali.rice.kew.rule.bo.RuleTemplate;
26 import org.kuali.rice.kew.rule.bo.RuleTemplateAttribute;
27
28
29
30
31
32
33
34
35 public interface RuleTemplateService extends XmlLoader, XmlExporter {
36
37 public void save(RuleTemplate ruleTemplate);
38 public void save(RuleTemplateAttribute ruleTemplateAttribute);
39 public void saveRuleDefaults(RuleDelegation ruleDelegation, RuleBaseValues ruleBaseValues);
40 public RuleTemplate findByRuleTemplateId(String ruleTemplateId);
41 public List<RuleTemplate> findAll();
42 public List findByRuleTemplate(RuleTemplate ruleTemplate);
43 public void delete(String ruleTemplateId);
44
45 public void deleteRuleTemplateOption(String ruleTemplateOptionId);
46
47 public RuleTemplateAttribute findByRuleTemplateAttributeId(String ruleTemplateAttributeId);
48 public RuleTemplate findByRuleTemplateName(String ruleTemplateName);
49 public String getNextRuleTemplateId();
50
51 }