|
Clearspace API (1.7.0) 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(java.lang.String name,
java.lang.String description,
java.lang.Iterable<ContentTag> tags,
Community community)
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(Community community)
Returns all TagSets which are defined for the specified Community. |
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. |
| Methods inherited from interface com.jivesoftware.community.JiveManager |
|---|
destroy, initialize |
| Method Detail |
|---|
TagSet createTagSet(java.lang.String name,
java.lang.String description,
java.lang.Iterable<ContentTag> tags,
Community community)
TagSet with the supplied name, description, and tags.
name - the name of the TagSet.description - a short description of the TagSet.tags - the initial tags associated with the TagSet.community - the Community to which this TagSet belongs.
void deleteTagSet(TagSet tagSet)
TagSet.
tagSet - the TagSet to delete.JiveIterator<TagSet> getTagSets(Community community)
TagSets which are defined for the specified Community.
community - the Community to return TagSets for.
TagSets which are defined for the specified Community.
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 Community in which the supplied TagSet belongs.
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||