public interface TagService
Tag
.Modifier and Type | Method and Description |
---|---|
int |
addTag(@NotNull UUID targetEntityKey,
@NotNull String value)
Add a new Tag to a target entity.
|
int |
addTag(@NotNull UUID targetEntityKey,
@NotNull @Valid Tag tag)
Add a new Tag to a target entity.
|
void |
deleteTag(@NotNull UUID taggedEntityKey,
int tagKey)
Delete an existing Tag from a tagged entity by tag key.
|
List<Tag> |
listTags(@NotNull UUID taggedEntityKey,
String owner)
List all tags of a tagged entity.
|
int addTag(@NotNull @NotNull UUID targetEntityKey, @NotNull @NotNull String value)
targetEntityKey
- key of target entityvalue
- Tag to addint addTag(@NotNull @NotNull UUID targetEntityKey, @NotNull @Valid @NotNull @Valid Tag tag)
targetEntityKey
- key of target entitytag
- Tag to addvoid deleteTag(@NotNull @NotNull UUID taggedEntityKey, int tagKey)
taggedEntityKey
- key of tagged entitytagKey
- Tag key to deleteCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.