|
Clearspace API (1.10.16) Web Services Client Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.webservices.JiveObject
com.jivesoftware.community.webservices.Community
public class Community
A container for threads and a hierarchy of other communities. In other words, the community structure is a tree, with lists of communities for every community node. There is always a "root" community (ID of 1), of which all other communities are children.
| Field Summary |
|---|
| Fields inherited from class com.jivesoftware.community.webservices.JiveObject |
|---|
id, objectType |
| Constructor Summary | |
|---|---|
Community()
|
|
| Method Summary | |
|---|---|
int |
getCommunityCount()
Returns the number of community in the community. |
int |
getCommunityDepth()
Returns the depth of a this community relative to the root. |
java.lang.String[] |
getContentTypes()
|
java.util.Date |
getCreationDate()
Returns the Date that the community was created. |
java.lang.String |
getDescription()
Returns the description of the community. |
java.lang.String |
getDisplayName()
Returns the displayName of the community. |
Locale |
getFinalLocale()
Returns the locale for this community. |
long |
getLatestMessageID()
Returns the most recently created or edited message in this community (including all sub-communities). |
Locale |
getLocale()
Returns the locale for this community. |
int |
getMessageCount()
Returns the number of messages in the community. |
java.util.Date |
getModificationDate()
Returns the Date this community was last modified. |
java.lang.String |
getName()
Returns the name of the community. |
long |
getParentCommunityID()
Returns ID of the parent community of this community. |
int |
getRecursiveCommunityCount()
Returns the number of communities in the community and all sub-communities. |
int |
getThreadCount()
Returns number of thread in the community and all sub-communities |
void |
setCommunityCount(int communityCount)
|
void |
setCommunityDepth(int communityDepth)
|
void |
setContentTypes(java.lang.String... contentTypes)
|
void |
setCreationDate(java.util.Date creationDate)
Sets the creation date of the community. |
void |
setDescription(java.lang.String description)
Sets the description of the community. |
void |
setDisplayName(java.lang.String displayName)
Sets the displayName of the community. |
void |
setFinalLocale(Locale finalLocale)
|
void |
setLatestMessageID(long latestMessageID)
|
void |
setLocale(Locale locale)
Sets the locale for this community. |
void |
setMessageCount(int messageCount)
|
void |
setModificationDate(java.util.Date modificationDate)
Sets the date the community was last modified. |
void |
setName(java.lang.String name)
Sets the name of the community. |
void |
setParentCommunityID(long parentCommunityID)
|
void |
setRecursiveCommunityCount(int recursiveCommunityCount)
|
void |
setThreadCount(int threadCount)
|
| Methods inherited from class com.jivesoftware.community.webservices.JiveObject |
|---|
equals, getID, getObjectType, hashCode, setID, setObjectType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Community()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - the name of the community.public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName - the displayName of the community.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the description of the community.public java.util.Date getCreationDate()
public void setCreationDate(java.util.Date creationDate)
creationDate - the date the community was created.public java.util.Date getModificationDate()
By default, this feature is
public void setModificationDate(java.util.Date modificationDate)
modificationDate - the date the community was modified.public Locale getLocale()
public void setLocale(Locale locale)
locale - the locale of this community.public Locale getFinalLocale()
public void setFinalLocale(Locale finalLocale)
public int getCommunityCount()
public void setCommunityCount(int communityCount)
public int getRecursiveCommunityCount()
public void setRecursiveCommunityCount(int recursiveCommunityCount)
public int getThreadCount()
public void setThreadCount(int threadCount)
public int getMessageCount()
public void setMessageCount(int messageCount)
public long getLatestMessageID()
ThreadResultFilter, but this method offers a simpler, more optimized way to
access the data.
public void setLatestMessageID(long latestMessageID)
public long getParentCommunityID()
public void setParentCommunityID(long parentCommunityID)
public int getCommunityDepth()
1 |-- 3 |-- |-- 4 |-- |-- |-- 7The depth of message 4 is 2, the depth of community 7 is 3, etc.
public void setCommunityDepth(int communityDepth)
public java.lang.String[] getContentTypes()
public void setContentTypes(java.lang.String... contentTypes)
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||