public interface TagService
| Modifier and Type | Method and Description |
|---|---|
Tag |
createTag(TagCreateRequest tagCreateRequest)
Creates a new tag.
|
Tag |
deleteTag(TagKey tagKey)
Deletes an existing tag.
|
Tag |
getTag(TagKey tagKey)
Retrieves an existing tag.
|
TagListResponse |
getTags(String tagTypeCode,
String tagCode)
Retrieves all associated tags for the specified tag type code.
|
TagSearchResponse |
searchTags(TagSearchRequest request,
Set<String> fields)
Retrieves all tags existing in the system per specified search filters and keys.
|
void |
updateSearchIndexDocumentTag(SearchIndexUpdateDto searchIndexUpdateDto)
Updates the search index document representation of the tag.
|
Tag |
updateTag(TagKey tagKey,
TagUpdateRequest tagUpdateRequest)
Updates an existing tag.
|
Tag createTag(TagCreateRequest tagCreateRequest)
tagCreateRequest - the tag create request.Tag deleteTag(TagKey tagKey)
tagKey - the tag's key.Tag getTag(TagKey tagKey)
tagKey - the tag's key.TagListResponse getTags(String tagTypeCode, String tagCode)
tagTypeCode - the tag type's code.tagCode - the tag code.TagSearchResponse searchTags(TagSearchRequest request, Set<String> fields)
request - the tag search request. The request can only accept at most one search filter and a single search keyfields - the field options for the tag type search responsevoid updateSearchIndexDocumentTag(SearchIndexUpdateDto searchIndexUpdateDto)
searchIndexUpdateDto - the SearchIndexUpdateDto objectTag updateTag(TagKey tagKey, TagUpdateRequest tagUpdateRequest)
tagKey - the tag's key.tagUpdateRequest - the tag update request.Copyright © 2021. All rights reserved.