TemplateServiceImpl

public class TemplateServiceImpl implements TemplateService

See org.motechproject.sms.service.TemplateService. This implementation uses the MOTECH configuration system to store the templates.

Constructors

TemplateServiceImpl

public TemplateServiceImpl(SettingsFacade settingsFacade)

Methods

allTemplatesForWeb

public Map<String, TemplateForWeb> allTemplatesForWeb()

getTemplate

public Template getTemplate(String name)

handleFileChanged

public void handleFileChanged(MotechEvent event)

importTemplate

public void importTemplate(Template template)

importTemplates

public void importTemplates(List<Template> templateList)