|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.api.TaggedResourcePath
org.wso2.carbon.registry.core.TaggedResourcePath
public class TaggedResourcePath
Contains a resource path and tagging details of tags on that resource. Instances of this class is returned from the tag searches. Tag searches may be performed on multiple tags. This class only contains the tag counts for the tags that included in the search. e.g. If the search is for tags java, jsp and programming and if the resource /books/computer/Java Web Development matches the search, counts are only contained for the tags java, jsp and programming although that resource may have many other tags like internet, web, servlets.
Field Summary |
---|
Fields inherited from class org.wso2.carbon.registry.api.TaggedResourcePath |
---|
resourcePath, tags |
Constructor Summary | |
---|---|
TaggedResourcePath()
|
Method Summary | |
---|---|
void |
addTagCount(java.lang.String tagName,
long count)
Method to add the tag count. |
long |
getTagCount()
Method to get the tag count. |
java.util.Map<java.lang.String,java.lang.String> |
getTagCounts()
Method to get the tag count. |
void |
setTagCount(long tagCount)
Deprecated. There is no need to externally set this |
void |
setTagCounts(java.util.Map<java.lang.String,java.lang.String> tagCounts)
Method to set the tag count. |
Methods inherited from class org.wso2.carbon.registry.api.TaggedResourcePath |
---|
getResourcePath, getTags, setResourcePath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaggedResourcePath()
Method Detail |
---|
public long getTagCount()
public void setTagCount(long tagCount)
tagCount
- the tag count.public java.util.Map<java.lang.String,java.lang.String> getTagCounts()
public void setTagCounts(java.util.Map<java.lang.String,java.lang.String> tagCounts)
tagCounts
- the tag count.public void addTagCount(java.lang.String tagName, long count)
tagName
- the tag.count
- the count.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |