public interface LabelDAO
| Modifier and Type | Method and Description |
|---|---|
Label |
createLabel(String groupId,
LabelDTO labelDTO)
Creates a label in the specified group.
|
void |
deleteLabel(String groupId,
String labelId)
Deletes the specified label in the specified group.
|
Label |
getLabel(String groupId,
String labelId)
Gets the specified label in the specified group.
|
Set<Label> |
getLabels(String groupId)
Gets all of the labels in the specified group.
|
boolean |
hasLabel(String groupId,
String labelId)
Determines if the specified label exists in the specified group.
|
Label |
updateLabel(String groupId,
LabelDTO labelDTO)
Updates the specified label in the specified group.
|
boolean hasLabel(String groupId, String labelId)
groupId - labelId - Label createLabel(String groupId, LabelDTO labelDTO)
groupId - labelDTO - The label DTOLabel getLabel(String groupId, String labelId)
groupId - labelId - The label idSet<Label> getLabels(String groupId)
groupId - Label updateLabel(String groupId, LabelDTO labelDTO)
groupId - labelDTO - The label DTOCopyright © 2015 Apache NiFi (incubating). All rights reserved.