class SearchIndexUpdateHelper {

    public void modifyTagInSearchIndex(TagEntity tagEntity, String modificationType)
    {
        List<Long> tagIds = new ArrayList<>();
        tagIds.add(tagEntity.getId());
        processMessage(jsonHelper.objectToJson(new SearchIndexUpdateDto(MESSAGE_TYPE_TAG_UPDATE, tagIds, modificationType)));
    }

}