|
Clearspace API (1.10.14) Web Services Client Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TagService
Provides a service to create, retrieve and delete tags.
| Method Summary | |
|---|---|
void |
addTag(java.lang.String tag,
JiveObject jiveObject)
Associates a tag with this object |
ContentTag |
createTag(java.lang.String tagname)
Creates a tag in the database. |
ContentTag |
getTagByID(long tagID)
Returns a tag given a tag ID. |
ContentTag |
getTagByName(java.lang.String tagname)
Returns a tag by tag name. |
ContentTag[] |
getTags(JiveObject jiveObject)
Return an Iterable for all the tags associated with this manager. |
void |
removeAllTags(JiveObject jiveObject)
Disassociates this object with all tags. |
void |
removeTag(java.lang.String tag,
JiveObject jiveObject)
Disassociates this object with the given tag. |
| Method Detail |
|---|
ContentTag createTag(java.lang.String tagname)
tagname - the name of the tag to create.
ContentTag getTagByName(java.lang.String tagname)
throws com.jivesoftware.community.TagObjectNotFoundException
tagname - the name of the tag to lookup.
com.jivesoftware.community.TagObjectNotFoundException - if no tag exists with that name.
ContentTag getTagByID(long tagID)
throws com.jivesoftware.community.TagObjectNotFoundException
tagID - The id of the tag.
com.jivesoftware.community.TagObjectNotFoundException - if no tag exists with that ID.
void addTag(java.lang.String tag,
JiveObject jiveObject)
throws UnauthorizedException
jiveObject - The object to add a tag for.tag - The tag, must be the unfiltered value.
UnauthorizedException - if does not have permission to the tag @param tag The tag to addContentTag[] getTags(JiveObject jiveObject)
jiveObject - Tags to acquire.
void removeTag(java.lang.String tag,
JiveObject jiveObject)
throws UnauthorizedException
jiveObject - The jive Object to remove a tag for.tag - The tag, must be the unfiltered value.
UnauthorizedException - if does not have permission to remove tag. @param tag the tag to remove from this object
void removeAllTags(JiveObject jiveObject)
throws UnauthorizedException
jiveObject - The jive object to remove all the tags from.
UnauthorizedException - if user does not have administrator permissions.
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||