|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.tagging.script.TagScope
public class TagScope
Script object representing a tag scope.
Constructor Summary | |
---|---|
TagScope(TaggingService taggingService,
TagScope tagScopeImpl)
Constructor |
Method Summary | |
---|---|
int |
getCount(java.lang.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TagScope(TaggingService taggingService, TagScope tagScopeImpl)
tagScopeImpl
- repository tag scope objectMethod Detail |
---|
public TagDetails[] getTags()
public TagDetails[] getTopTags(int topN)
topN
- the number of top tags to return
public int getCount(java.lang.String tag)
tag
- tag name
public void refresh()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |