TemplateService¶
-
public interface
TemplateService
¶ Template service, manages IVR templates. A
org.motechproject.ivr.domain.Template
usually contains text to be returned to the IVR provider as CCXML/VXML. Seeorg.motechproject.ivr.domain.Template
Methods¶
allTemplates¶
getTemplate¶
-
Template
getTemplate
(String name)¶ Retrieves the template with the given name.
Parameters: - name – the name of the template to retrieve
Throws: - org.motechproject.ivr.exception.TemplateNotFoundException – if the template with the given name does not exist
Returns: the template with the given name, never null