@Component public class IdTemplateManager extends Object
| Constructor and Description |
|---|
IdTemplateManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
applyTemplate(String templateName,
Map<String,Object> values)
To apply Template for PDF Generation.
|
String |
fetchTemplate(String templateName)
Fetch Templates for e-KYC based on Template name.
|
void |
idTemplateManagerPostConstruct()
Id template manager post construct.
|
@PostConstruct public void idTemplateManagerPostConstruct()
public String applyTemplate(String templateName, Map<String,Object> values) throws IdAuthenticationBusinessException, IOException
templateName - - template name for pdf formatvalues - - list of contentsIdAuthenticationBusinessException - the id authentication business
exceptionIOException - Signals that an I/O exception has
occurred.public String fetchTemplate(String templateName) throws IdAuthenticationBusinessException
templateName - the template nameIdAuthenticationBusinessException - the id authentication business exceptionCopyright © 2020. All rights reserved.