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<RuleTemplate> findAll()
           
 List findByRuleTemplate(RuleTemplate ruleTemplate)
           
 RuleTemplateAttribute findByRuleTemplateAttributeId(String ruleTemplateAttributeId)
           
 RuleTemplate findByRuleTemplateId(String ruleTemplateId)
           
 RuleTemplate findByRuleTemplateName(String ruleTemplateName)
           
 String getNextRuleTemplateId()
           
 RuleDAO getRuleDAO()
           
 RuleDelegationDAO getRuleDelegationDAO()
           
 RuleTemplateAttributeDAO getRuleTemplateAttributeDAO()
           
 RuleTemplateDAO getRuleTemplateDAO()
           
 RuleTemplateOptionDAO getRuleTemplateOptionDAO()
           
 void loadXml(InputStream inputStream, String principalId)
           
 void save(RuleTemplate ruleTemplate)
           
 void save(RuleTemplateAttribute ruleTemplateAttribute)
           
 void saveRuleDefaults(RuleDelegation 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 RuleTemplate findByRuleTemplateName(String ruleTemplateName)
Specified by:
findByRuleTemplateName in interface RuleTemplateService

findByRuleTemplateAttributeId

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

findAll

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

findByRuleTemplate

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

save

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

save

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

saveRuleDefaults

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

Specified by:
saveRuleDefaults in interface RuleTemplateService

findByRuleTemplateId

public RuleTemplate 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 © 2004-2011 The Kuali Foundation. All Rights Reserved.