|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.forum.TagDelegator
public class TagDelegator
| Constructor Summary | |
|---|---|
TagDelegator(JiveContentObject contentObject)
|
|
| Method Summary | |
|---|---|
void |
addTag(ContentTag tag)
Associates a tag with this object |
ContentTag |
createTag(java.lang.String tagname)
Creates a tag in the database. |
ContentTag |
getTag(long tagID)
Returns a tag given a tag ID. |
ContentTag |
getTag(java.lang.String tagname)
Returns a tag by tag name. |
DatabaseObjectIterator |
getTags()
Return an Iterable for all the tags associated with this manager. |
void |
removeAllTags()
Disassociates this object with all tags. |
void |
removeTag(ContentTag tag)
Disassociates this object with the given tag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TagDelegator(JiveContentObject contentObject)
| Method Detail |
|---|
public ContentTag createTag(java.lang.String tagname)
tagname - the name of the tag to create.
public ContentTag getTag(java.lang.String tagname)
throws TagObjectNotFoundException
tagname - the name of the tag to lookup.
TagObjectNotFoundException - if no tag exists with that name.
public ContentTag getTag(long tagID)
throws TagObjectNotFoundException
tagID -
TagObjectNotFoundException - if no tag exists with that ID.
public void addTag(ContentTag tag)
throws UnauthorizedException
UnauthorizedException - if does not have permission to the tagpublic DatabaseObjectIterator getTags()
public void removeTag(ContentTag tag)
throws UnauthorizedException
tag - the tag to remove from this object
UnauthorizedException - if does not have permission to remove tag.
public void removeAllTags()
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 | |||||||||