Class MasterDataManager
- java.lang.Object
-
- io.mosip.authentication.common.service.integration.MasterDataManager
-
@Component public class MasterDataManager extends Object
-
-
Constructor Summary
Constructors Constructor Description MasterDataManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,List<String>>
fetchGenderType()
To fetch gender type.String
fetchTemplate(String templateName)
To fetch template from master data manager.String
fetchTemplate(String langCode, String templateName)
Fetch templates based on Language code and Template Name.Map<String,List<String>>
fetchTitles()
To fetch titles.
-
-
-
Method Detail
-
fetchTemplate
public String fetchTemplate(String langCode, String templateName) throws IdAuthenticationBusinessException
Fetch templates based on Language code and Template Name.- Parameters:
langCode
- the lang codetemplateName
- the template name- Returns:
- the string
- Throws:
IdAuthenticationBusinessException
- the id authentication business exception
-
fetchTemplate
public String fetchTemplate(String templateName) throws IdAuthenticationBusinessException
To fetch template from master data manager.- Parameters:
templateName
- the template name- Returns:
- the string
- Throws:
IdAuthenticationBusinessException
- the id authentication business exception
-
fetchTitles
public Map<String,List<String>> fetchTitles() throws IdAuthenticationBusinessException
To fetch titles.- Returns:
- the map
- Throws:
IdAuthenticationBusinessException
- the id authentication business exception
-
fetchGenderType
public Map<String,List<String>> fetchGenderType() throws IdAuthenticationBusinessException
To fetch gender type.- Returns:
- the map
- Throws:
IdAuthenticationBusinessException
- the id authentication business exception
-
-