Interface TagService
-
public interface TagService
-
-
Field Summary
Fields Modifier and Type Field Description static MetadataTypeMETADATA_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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'.List<TagName>findTags(TagFilter tagFilter, long userIdentityId)Searches in Tags switch name and audienceIdSet<TagName>getTagNames(TagObject tagObject)Set<TagName>saveTags(TagObject object, Set<TagName> tagNames, long audienceId, long creatorId)Updates the list of tags associated to an object.
-
-
-
Field Detail
-
METADATA_TYPE
static final MetadataType METADATA_TYPE
-
-
Method Detail
-
saveTags
Set<TagName> saveTags(TagObject object, Set<TagName> tagNames, long audienceId, long creatorId)
Updates the list of tags associated to an object.
-
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'.
-
findTags
List<TagName> findTags(TagFilter tagFilter, long userIdentityId) throws IllegalAccessException
Searches in Tags switch name and audienceId- Parameters:
tagFilter- Search filter of taguserIdentityId- userIdentityidentifier- Returns:
ListofTagName- Throws:
IllegalAccessException- when user wasn't found
-
-