Interface TagService


  • public interface TagService
    • Method Detail

      • saveTags

        Set<TagName> saveTags​(TagObject object,
                              Set<TagName> tagNames,
                              long audienceId,
                              long creatorId)
        Updates the list of tags associated to an object.
        Parameters:
        object - TagObject that defines objectType objectId and parentObjectId
        tagNames - Set of TagName
        audienceId - Metadata audienceId
        creatorId - tag creator Identity identifier
        Returns:
        Set or associated TagName after update
      • detectTagNames

        Set<TagName> detectTagNames​(String content)
        Detects the list of Tag names found in content that are added inside an HTML link using a specific class name 'metadata-tag'.
        Parameters:
        content - content used to detected associated tags
        Returns:
        Set of detected TagName