|
Clearspace API (2.5.29) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TagSetManager
Manages the creation, deletion and lookup of TagSets.
TagSet,
ContentTag| Method Summary | |
|---|---|
TagSet |
createTagSet(String name,
String description,
com.jivesoftware.util.LongList tagIDs,
JiveContainer container)
Creates a new TagSet with the supplied name, description, and tags. |
void |
deleteTagSet(TagSet tagSet)
Deletes the specified TagSet. |
TagSet |
getTagSet(long tagSetID)
Returns the TagSet with the supplied id. |
JiveIterator<TagSet> |
getTagSets(JiveContainer container)
Returns all TagSets which are defined for the specified JiveContainer. |
JiveIterator<TagSet> |
getTagSetsTagBelongsTo(ContentTag tag)
Returns all TagSets that contains the specified ContentTag. |
boolean |
tagBelongsToOtherSet(ContentTag tag,
TagSet tagSet)
Returns true if the supplied ContentTag is associated with a TagSet other than
the supplied TagSet in the Community in which the supplied TagSet belongs. |
void |
updateTagSet(TagSet tagSet)
Updates a TagSet |
| Methods inherited from interface com.jivesoftware.community.JiveManager |
|---|
destroy |
| Method Detail |
|---|
TagSet createTagSet(String name,
String description,
com.jivesoftware.util.LongList tagIDs,
JiveContainer container)
throws UnauthorizedException
TagSet with the supplied name, description, and tags.
name - the name of the TagSet.description - a short description of the TagSet.tagIDs - the initial tags associated with the TagSet.container - the JiveContainer to which this TagSet belongs.
UnauthorizedException - if not authorized to create a tag setvoid updateTagSet(TagSet tagSet)
TagSet
tagSet - the tag set to updatevoid deleteTagSet(TagSet tagSet)
TagSet.
tagSet - the TagSet to delete.JiveIterator<TagSet> getTagSets(JiveContainer container)
TagSets which are defined for the specified JiveContainer.
container - the JiveContainer to return TagSets for.
TagSets which are defined for the specified JiveContainer.
TagSet getTagSet(long tagSetID)
throws com.jivesoftware.community.TagObjectNotFoundException
TagSet with the supplied id.
tagSetID - the id to return a TagSet for.
TagSet with the supplied id.
TagObjectNotFoundException - if no TagSet exists with the given id.
boolean tagBelongsToOtherSet(ContentTag tag,
TagSet tagSet)
ContentTag is associated with a TagSet other than
the supplied TagSet in the Community in which the supplied TagSet belongs.
tag - the ContentTag to test for membership in other TagSets.tagSet - the TagSet to exclude from testing membership for.
ContentTag is associated with a TagSet other than
the supplied TagSet in the JiveContainer in which the supplied
TagSet belongs.JiveIterator<TagSet> getTagSetsTagBelongsTo(ContentTag tag)
TagSets that contains the specified ContentTag.
tag - the ContentTag to return TagSets for.
TagSets that contains the specified ContentTag.
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||