Modifier and Type | Method and Description |
---|---|
boolean |
TemplateProcessor.canRender(TemplateModel template,
TemplateVariationModel templateVariation)
Before a template is rendered, the service will call this method to check, whether this processor is able to handle the given template.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseTemplateModel |
Modifier and Type | Method and Description |
---|---|
TemplateModel |
TemplateResourceConverter.convertTemplateResourceToModel(byte[] templateResourceBytes) |
TemplateModel |
TemplateResourceConverter.convertTemplateResourceToModel(InputStream templateResourceStream) |
TemplateModel |
TemplateRepositoryService.getLatestTemplateDefinitionModelByKey(String templateDefinitionKey)
Returns the
TemplateModel including all template model info. |
TemplateModel |
TemplateRepositoryService.getLatestTemplateDefinitionModelByKeyAndTenantId(String templateDefinitionKey,
String tenantId)
Returns the
TemplateModel including all template model info. |
TemplateModel |
TemplateRepositoryService.getTemplateDefinitionModel(String templateDefinitionId)
Returns the
TemplateModel including all template model info. |
TemplateModel |
TemplateHolder.getTemplateModel()
Returns the template definition model which might contain further information to just the persisted template definition.
|
Modifier and Type | Method and Description |
---|---|
TemplateDeploymentBuilder |
TemplateDeploymentBuilder.addTemplateModel(String resourceName,
TemplateModel templateModel) |
String |
TemplateResourceConverter.convertTemplateModelToJson(TemplateModel templateModel) |
Modifier and Type | Method and Description |
---|---|
TemplateModel |
GetTemplateModelByKeyCmd.execute(CommandContext commandContext) |
TemplateModel |
GetTemplateModelByIdCmd.execute(CommandContext commandContext) |
Modifier and Type | Method and Description |
---|---|
protected String |
ProcessTemplateCmd.composeVariationKey(TemplateModel templateModel,
Map<String,Object> variant)
Creates the variation key which is a combination of all variant values or 'none' for none-existing ones to compose a single and unique variation key.
|
protected String |
ProcessTemplateCmd.composeVariationKey(TemplateModel templateModel,
Map<String,Object> variant,
boolean forceDefault)
Creates the variation key which is a combination of all variant values or 'none' for none-existing ones to compose a single and unique variation key.
|
protected TemplateVariationDefinition |
ProcessTemplateCmd.getTemplateVariationDefinition(TemplateEngineConfiguration templateEngineConfiguration,
TemplateModel templateModel,
String tenantIdToUse) |
Modifier and Type | Method and Description |
---|---|
TemplateModel |
TemplateResourceConverterImpl.convertTemplateResourceToModel(byte[] templateResourceBytes) |
TemplateModel |
TemplateResourceConverterImpl.convertTemplateResourceToModel(InputStream templateResourceStream) |
Modifier and Type | Method and Description |
---|---|
String |
TemplateResourceConverterImpl.convertTemplateModelToJson(TemplateModel templateModel) |
protected TemplateDefinitionEntity |
TemplateDefinitionDeployer.getMostRecentVersionOfTemplateDefinition(TemplateModel templateModel,
String tenantId) |
protected void |
TemplateDefinitionDeployer.updateCachingAndArtifacts(TemplateDefinitionEntity templateDefinition,
TemplateModel templateResourceModel,
TemplateDeploymentEntity deployment) |
Modifier and Type | Field and Description |
---|---|
protected TemplateModel |
TemplateDefinitionCacheEntry.templateModel |
Modifier and Type | Method and Description |
---|---|
TemplateModel |
TemplateDefinitionCacheEntry.getTemplateModel() |
Modifier and Type | Method and Description |
---|---|
void |
TemplateDefinitionCacheEntry.setTemplateModel(TemplateModel templateModel) |
Constructor and Description |
---|
TemplateDefinitionCacheEntry(TemplateDefinitionEntity templateDefinitionEntity,
TemplateModel templateModel) |
Modifier and Type | Method and Description |
---|---|
boolean |
FreeMarkerTemplateProcessor.canRender(TemplateModel templateModel,
TemplateVariationModel templateVariation) |
boolean |
DocumentTemplateProcessor.canRender(TemplateModel templateModel,
TemplateVariationModel templateVariation) |
Modifier and Type | Field and Description |
---|---|
protected TemplateModel |
TemplateHolderImpl.templateModel |
Modifier and Type | Method and Description |
---|---|
TemplateModel |
TemplateRepositoryServiceImpl.getLatestTemplateDefinitionModelByKey(String templateDefinitionKey) |
TemplateModel |
TemplateRepositoryServiceImpl.getLatestTemplateDefinitionModelByKeyAndTenantId(String templateDefinitionKey,
String tenantId) |
TemplateModel |
TemplateRepositoryServiceImpl.getTemplateDefinitionModel(String templateDefinitionId) |
TemplateModel |
TemplateHolderImpl.getTemplateModel() |
Modifier and Type | Method and Description |
---|---|
TemplateDeploymentBuilder |
TemplateDeploymentBuilderImpl.addTemplateModel(String resourceName,
TemplateModel templateModel) |
Constructor and Description |
---|
TemplateHolderImpl(TemplateVariationDefinition templateVariationDefinition,
TemplateModel templateModel,
TemplateVariationModel templateVariationModel) |