Community Type

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.

Type Template

<...>
    <!-- List of ... -->
    <availableContentTypes>xs:string</availableContentTypes>
    <!-- List of ... -->
    <contentTypes>xs:string</contentTypes>
    <creationDate>xs:dateTime</creationDate>
    <description>xs:string</description>
    <displayName>xs:string</displayName>
    <modificationDate>xs:dateTime</modificationDate>
    <name>xs:string</name>
    <ID>xs:long</ID>
    <objectType>xs:int</objectType>
    <communityCount>xs:int</communityCount>
    <communityDepth>xs:int</communityDepth>
    <finalLocale>
        <!-- Contents of Locale -->
    <finalLocale>
    <latestMessageID>xs:long</latestMessageID>
    <locale>
        <!-- Contents of Locale -->
    <locale>
    <messageCount>xs:int</messageCount>
    <parentCommunityID>xs:long</parentCommunityID>
    <recursiveCommunityCount>xs:int</recursiveCommunityCount>
    <threadCount>xs:int</threadCount>
<...>

Note: Element descriptions are split into information that's relevant when you're creating an instance of this type and information relevant when you're receiving an instance of it. Occasionally these will differ.

Elements

Element Description
availableContentTypes
Setting
Getting
communityCount
Setting
Getting
communityDepth
Setting
Getting
Returns the depth of a this community relative to the root. For example, consider the following tree (where 1 is the root community):
                           1
                           |-- 3
                           |-- |-- 4
                           |-- |-- |-- 7
                           
The depth of message 4 is 2, the depth of community 7 is 3, etc.
contentTypes
Setting
Getting
creationDate
Setting
Getting
description
Setting
Getting
displayName
Setting
Getting
finalLocale
Setting
Getting
Returns the locale for this community. A locale specifies language and country codes, and is used for internationalization. If a locale has not been specified for this community, this method will return an inherited locale. A community will inherit the locale from it's chain of parent communities, if one exists. Otherwise it will inherit the default locale used by Jive. If you want to get the explicit locale for this community, you should call getLocale().
ID
Setting
Getting
latestMessageID
Setting
Getting
Returns the most recently created or edited message in this community (including all sub-communities). If there are no messages in this community, this method will return 0. This information could also be determined using a ThreadResultFilter , but this method offers a simpler, more optimized way to access the data.
locale
Setting
Sets the locale for this community. A locale specifies language and country codes, and is used for internationalization.
Getting
messageCount
Setting
Getting
Returns the number of messages in the community.
modificationDate
Setting
Getting
name
Setting
Getting
objectType
Setting
Getting
parentCommunityID
Setting
Getting
Returns ID of the parent community of this community. This method will return 0 if the current community is the root community.
recursiveCommunityCount
Setting
Getting
Returns the number of communities in the community and all sub-communities.
threadCount
Setting
Getting
Returns number of thread in the community and all sub-communities.?