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