|
Jive Forums API (5.5.8) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TagManager
| Method Summary | |
|---|---|
void |
addTag(ContentTag tag,
JiveContentObject contentObject)
Associates a tag with this object |
ContentTag |
createTag(java.lang.String tagname)
Creates a tag in the database. |
java.util.Iterator |
getPopularTags(ForumCategory forumCategory)
Get popular tags |
ContentTag |
getTag(long tagID)
Returns a tag given a tag ID. |
ContentTag |
getTag(java.lang.String tagname)
Returns a tag by tag name. |
com.jivesoftware.forum.database.DatabaseObjectIterator |
getTags(JiveContentObject contentObject)
Return an Iterable for all the tags associated with this manager. |
void |
removeAllTags(JiveContentObject contentObject)
Disassociates this object with all tags. |
void |
removeTag(ContentTag tag,
JiveContentObject contentObject)
Disassociates this object with the given tag. |
| Methods inherited from interface com.jivesoftware.base.JiveManager |
|---|
destroy, initialize |
| Method Detail |
|---|
ContentTag createTag(java.lang.String tagname)
tagname - the name of the tag to create.
ContentTag getTag(java.lang.String tagname)
throws com.jivesoftware.forum.TagObjectNotFoundException
tagname - the name of the tag to lookup.
TagObjectNotFoundException - if no tag exists with that name.
ContentTag getTag(long tagID)
throws com.jivesoftware.forum.TagObjectNotFoundException
tagID -
TagObjectNotFoundException - if no tag exists with that ID.
void addTag(ContentTag tag,
JiveContentObject contentObject)
throws UnauthorizedException
UnauthorizedException - if does not have permission to the tagcom.jivesoftware.forum.database.DatabaseObjectIterator getTags(JiveContentObject contentObject)
java.util.Iterator getPopularTags(ForumCategory forumCategory)
void removeTag(ContentTag tag,
JiveContentObject contentObject)
throws UnauthorizedException
tag - the tag to remove from this object
UnauthorizedException - if does not have permission to remove tag.
void removeAllTags(JiveContentObject contentObject)
throws UnauthorizedException
UnauthorizedException - if user does not have administrator permissions.
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||