|
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 TagSet
A TagSet is a named collection of ContentTags used to build filtered content views. TagSets are the secondary
organizational construct in the product after Community. Unlike Communities they are not heirarchical in
nature, but rather just organize content within a Community into buckets based on ContentTag
association. Also unlike communities, they do not directly contain content objects, and do not have permissions
associated with content generation or editing.
ContentTag,
TagSet| Method Summary | |
|---|---|
void |
addTag(long tagID)
Adds the supplied ContentTag to this TagSet. |
Date |
getCreationDate()
A convenience method which returns the date the tag set was originally created. |
String |
getDescription()
Returns the description of this TagSet. |
JiveContainer |
getJiveContainer()
Returns the JiveContainer to which this TagSet is bound. |
Date |
getModificationDate()
A convenience method which returns the date the tag set was last modified When a tag set is first created, the date returned by this method is identical to the creation date. |
String |
getName()
Returns the name of this TagSet. |
JiveIterator<ContentTag> |
getTags()
Returns an Iterable of ContentTags which define the view this TagSet represents. |
void |
removeTag(long tagID)
Removes the supplied ContentTag from this TagSet if it is a member. |
void |
setDescription(String description)
Sets the description of this TagSet. |
void |
setName(String name)
Sets the name of this TagSet. |
| Methods inherited from interface com.jivesoftware.community.JiveObject |
|---|
getID, getObjectType |
| Method Detail |
|---|
String getName()
void setName(String name)
throws UnauthorizedException
name - the name of this TagSet.
UnauthorizedException - if not allowed to edit the tag setString getDescription()
void setDescription(String description)
throws UnauthorizedException
description - the description of this TagSet.
UnauthorizedException - if not allowed to edit the tag setDate getCreationDate()
Date getModificationDate()
JiveContainer getJiveContainer()
JiveContainer to which this TagSet is bound.
JiveContainer to which this TagSet is bound.JiveIterator<ContentTag> getTags()
Iterable of ContentTags which define the view this TagSet represents.
Iterable of ContentTags which define the view this TagSet represents.void addTag(long tagID)
ContentTag to this TagSet.
tagID - the id of the ContentTag to add.void removeTag(long tagID)
ContentTag from this TagSet if it is a member.
tagID - the id of the ContentTag to remove.
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||