public class TagScope
extends java.lang.Object
| Constructor and Description |
|---|
TagScope(TaggingService taggingService,
TagScope tagScopeImpl)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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
|
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(java.lang.String tag)
tag - tag namepublic void refresh()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.