public interface TemplateDAO
| Modifier and Type | Method and Description |
|---|---|
Template |
createTemplate(TemplateDTO templateDTO)
Creates a template.
|
void |
deleteTemplate(String templateId)
Deletes the specified template.
|
Template |
getTemplate(String templateId)
Gets the specified template.
|
Set<Template> |
getTemplates()
Gets all of the templates.
|
Template |
importTemplate(TemplateDTO templateDTO)
Import the specified template.
|
FlowSnippetDTO |
instantiateTemplate(String groupId,
Double originX,
Double originY,
String templateId)
Instantiate the corresponding template.
|
Template createTemplate(TemplateDTO templateDTO)
templateDTO - The template DTOTemplate importTemplate(TemplateDTO templateDTO)
templateDTO - FlowSnippetDTO instantiateTemplate(String groupId, Double originX, Double originY, String templateId)
groupId - originX - originY - templateId - Template getTemplate(String templateId)
templateId - The template idvoid deleteTemplate(String templateId)
templateId - The template idCopyright © 2015 Apache NiFi (incubating). All rights reserved.