Package org.motechproject.mots.service
Class IvrConfigService
- java.lang.Object
-
- org.motechproject.mots.service.IvrConfigService
-
@Service public class IvrConfigService extends java.lang.Object
This class is responsible for managingIvrConfig
that is required for a proper connection to IVR system and customizing theirs features (e.g. delay time after call fails).
-
-
Constructor Summary
Constructors Constructor Description IvrConfigService(IvrConfigRepository ivrConfigRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IvrConfig
getConfig()
Get IVR config from DB.void
updateMainMenuTreeId(java.lang.String mainMenuTreeId)
-
-
-
Constructor Detail
-
IvrConfigService
@Autowired public IvrConfigService(IvrConfigRepository ivrConfigRepository)
-
-
Method Detail
-
updateMainMenuTreeId
public void updateMainMenuTreeId(java.lang.String mainMenuTreeId)
-
getConfig
public IvrConfig getConfig()
Get IVR config from DB.- Returns:
- IVR config
- Throws:
EntityNotFoundException
- if IVR config is not found
-
-