public class GetTemplateModelByKeyCmd extends AbstractNeedsTemplateDefinitionCmd implements Command<TemplateModel>
| Modifier and Type | Field and Description |
|---|---|
protected String |
templateDefinitionKey |
protected String |
tenantId |
| Constructor and Description |
|---|
GetTemplateModelByKeyCmd(String templateDefinitionKey) |
GetTemplateModelByKeyCmd(String templateDefinitionKey,
String tenantId) |
| Modifier and Type | Method and Description |
|---|---|
TemplateModel |
execute(CommandContext commandContext) |
createTemplateDefinitionQuery, getTemplateDefinitionprotected String templateDefinitionKey
protected String tenantId
public GetTemplateModelByKeyCmd(String templateDefinitionKey)
public TemplateModel execute(CommandContext commandContext)
execute in interface Command<TemplateModel>