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

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

public class RuleTemplateServiceImpl
extends Object
implements RuleTemplateService


Constructor Summary
RuleTemplateServiceImpl()
           
 
Method Summary
 void delete(String ruleTemplateId)
           
 void deleteRuleTemplateOption(String ruleTemplateOptionId)
           
 org.jdom.Element export(ExportDataSet dataSet)
           
 List<RuleTemplateBo> findAll()
           
 List findByRuleTemplate(RuleTemplateBo ruleTemplate)
           
 RuleTemplateAttributeBo findByRuleTemplateAttributeId(String ruleTemplateAttributeId)
           
 RuleTemplateBo findByRuleTemplateId(String ruleTemplateId)
           
 RuleTemplateBo findByRuleTemplateName(String ruleTemplateName)
           
 String getNextRuleTemplateId()
           
 RuleDAO getRuleDAO()
           
 RuleDelegationDAO getRuleDelegationDAO()
           
 RuleTemplateAttributeDAO getRuleTemplateAttributeDAO()
           
 RuleTemplateDAO getRuleTemplateDAO()
           
 RuleTemplateOptionDAO getRuleTemplateOptionDAO()
           
 void loadXml(InputStream inputStream, String principalId)
           
 void save(RuleTemplateAttributeBo ruleTemplateAttribute)
           
 void save(RuleTemplateBo ruleTemplate)
           
 void saveRuleDefaults(RuleDelegationBo ruleDelegation, RuleBaseValues ruleBaseValues)
          Saves the given RuleDelegation and RuleBaseValues as the defaults for this RuleTemplate
 void setRuleDAO(RuleDAO ruleDAO)
           
 void setRuleDelegationDAO(RuleDelegationDAO ruleDelegationDAO)
           
 void setRuleTemplateAttributeDAO(RuleTemplateAttributeDAO ruleTemplateAttributeDAO)
           
 void setRuleTemplateDAO(RuleTemplateDAO ruleTemplateDAO)
           
 void setRuleTemplateOptionDAO(RuleTemplateOptionDAO ruleTemplateOptionDAO)
           
 boolean supportPrettyPrint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleTemplateServiceImpl

public RuleTemplateServiceImpl()
Method Detail

deleteRuleTemplateOption

public void deleteRuleTemplateOption(String ruleTemplateOptionId)
Specified by:
deleteRuleTemplateOption in interface RuleTemplateService

findByRuleTemplateName

public RuleTemplateBo findByRuleTemplateName(String ruleTemplateName)
Specified by:
findByRuleTemplateName in interface RuleTemplateService

findByRuleTemplateAttributeId

public RuleTemplateAttributeBo findByRuleTemplateAttributeId(String ruleTemplateAttributeId)
Specified by:
findByRuleTemplateAttributeId in interface RuleTemplateService

findAll

public List<RuleTemplateBo> findAll()
Specified by:
findAll in interface RuleTemplateService

findByRuleTemplate

public List findByRuleTemplate(RuleTemplateBo ruleTemplate)
Specified by:
findByRuleTemplate in interface RuleTemplateService

save

public void save(RuleTemplateBo ruleTemplate)
Specified by:
save in interface RuleTemplateService

save

public void save(RuleTemplateAttributeBo ruleTemplateAttribute)
Specified by:
save in interface RuleTemplateService

saveRuleDefaults

public void saveRuleDefaults(RuleDelegationBo ruleDelegation,
                             RuleBaseValues ruleBaseValues)
Saves the given RuleDelegation and RuleBaseValues as the defaults for this RuleTemplate

Specified by:
saveRuleDefaults in interface RuleTemplateService

findByRuleTemplateId

public RuleTemplateBo findByRuleTemplateId(String ruleTemplateId)
Specified by:
findByRuleTemplateId in interface RuleTemplateService

delete

public void delete(String ruleTemplateId)
Specified by:
delete in interface RuleTemplateService

getRuleTemplateDAO

public RuleTemplateDAO getRuleTemplateDAO()

setRuleTemplateDAO

public void setRuleTemplateDAO(RuleTemplateDAO ruleTemplateDAO)

getRuleTemplateAttributeDAO

public RuleTemplateAttributeDAO getRuleTemplateAttributeDAO()
Returns:
Returns the ruleTemplateAttributeDAO.

setRuleTemplateAttributeDAO

public void setRuleTemplateAttributeDAO(RuleTemplateAttributeDAO ruleTemplateAttributeDAO)
Parameters:
ruleTemplateAttributeDAO - The ruleTemplateAttributeDAO to set.

getRuleDAO

public RuleDAO getRuleDAO()

setRuleDAO

public void setRuleDAO(RuleDAO ruleDAO)

getRuleDelegationDAO

public RuleDelegationDAO getRuleDelegationDAO()

setRuleDelegationDAO

public void setRuleDelegationDAO(RuleDelegationDAO ruleDelegationDAO)

getRuleTemplateOptionDAO

public RuleTemplateOptionDAO getRuleTemplateOptionDAO()
Returns:
Returns the ruleTemplateOptionDAO.

setRuleTemplateOptionDAO

public void setRuleTemplateOptionDAO(RuleTemplateOptionDAO ruleTemplateOptionDAO)
Parameters:
ruleTemplateOptionDAO - The ruleTemplateOptionDAO to set.

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

getNextRuleTemplateId

public String getNextRuleTemplateId()
Specified by:
getNextRuleTemplateId in interface RuleTemplateService


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