Package org.motechproject.mots.service
Class IvrConfigService
- java.lang.Object
 - 
- org.motechproject.mots.service.IvrConfigService
 
 
- 
@Service public class IvrConfigService extends java.lang.ObjectThis class is responsible for managingIvrConfigthat 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 IvrConfiggetConfig()Get IVR config from DB.voidupdateMainMenuTreeId(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
 
 - 
 
 -