public interface SnippetDAO
| Modifier and Type | Method and Description |
|---|---|
FlowSnippetDTO |
copySnippet(String groupId,
String snippetId,
Double originX,
Double originY)
Copies the specified snippet and added the copy to the flow in the
specified group.
|
Snippet |
createSnippet(SnippetDTO snippetDTO)
Creates a snippet.
|
void |
deleteSnippet(String snippetId)
Deletes the specified snippet.
|
Snippet |
getSnippet(String snippetId)
Gets the specified snippet.
|
boolean |
hasSnippet(String snippetId)
Determines if the specified snippet exists.
|
Snippet |
updateSnippet(SnippetDTO snippetDTO)
Updates the specified snippet.
|
void |
verifyDelete(String snippetId)
Verifies the specified snippet can be removed.
|
void |
verifyUpdate(SnippetDTO snippetDTO)
Verifies the specified snippet can be updated.
|
FlowSnippetDTO copySnippet(String groupId, String snippetId, Double originX, Double originY)
groupId - snippetId - originX - originY - Snippet createSnippet(SnippetDTO snippetDTO)
snippetDTO - boolean hasSnippet(String snippetId)
snippetId - Snippet getSnippet(String snippetId)
snippetId - The snippet idvoid verifyUpdate(SnippetDTO snippetDTO)
snippetDTO - Snippet updateSnippet(SnippetDTO snippetDTO)
snippetDTO - void verifyDelete(String snippetId)
snippetId - void deleteSnippet(String snippetId)
snippetId - The snippet idCopyright © 2015 Apache NiFi (incubating). All rights reserved.