|
Clearspace API (2.0.15) 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,
WSJiveObject jiveObject)
Associates a tag with this object |
WSContentTag |
createTag(java.lang.String tagname)
Creates a tag in the database. |
WSContentTag |
getTagByID(long tagID)
Returns a tag given a tag ID. |
WSContentTag |
getTagByName(java.lang.String tagname)
Returns a tag by tag name. |
java.util.List<WSContentTag> |
getTags(WSJiveObject jiveObject)
Return an Iterable for all the tags associated with this manager. |
void |
removeAllTags(WSJiveObject jiveObject)
Disassociates this object with all tags. |
void |
removeTag(java.lang.String tag,
WSJiveObject jiveObject)
Disassociates this object with the given tag. |
| Method Detail |
|---|
WSContentTag createTag(java.lang.String tagname)
tagname - the name of the tag to create.
WSContentTag getTagByName(java.lang.String tagname)
throws TagObjectNotFoundException
tagname - the name of the tag to lookup.
com.jivesoftware.community.TagObjectNotFoundException - if no tag exists with that name.
TagObjectNotFoundException
WSContentTag getTagByID(long tagID)
throws TagObjectNotFoundException
tagID - The id of the tag.
com.jivesoftware.community.TagObjectNotFoundException - if no tag exists with that ID.
TagObjectNotFoundException
void addTag(java.lang.String tag,
WSJiveObject 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
addjava.util.List<WSContentTag> getTags(WSJiveObject jiveObject)
jiveObject - Tags to acquire.
void removeTag(java.lang.String tag,
WSJiveObject 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
to remove from this object
void removeAllTags(WSJiveObject 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 | |||||||||