public class TagScope extends Object
Constructor and Description |
---|
TagScope(TaggingService taggingService,
TagScope tagScopeImpl)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getCount(String tag)
Get the count of a tag, 0 if not present
|
TagDetails[] |
getTags()
Gets all the tags, ordered by count, for the tag scope
|
TagDetails[] |
getTopTags(int topN)
Gets the top N tags ordered by count
|
void |
refresh()
Refresh the tag scope
|
public TagScope(TaggingService taggingService, TagScope tagScopeImpl)
tagScopeImpl
- repository tag scope objectpublic TagDetails[] getTags()
public TagDetails[] getTopTags(int topN)
topN
- the number of top tags to returnpublic int getCount(String tag)
tag
- tag namepublic void refresh()
Copyright © 2005–2017 Alfresco Software. All rights reserved.