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
Sets the creation date of the community. In most cases, the creation date will default to when the community was entered into the system. However, the creation date needs to be set manually when importing data. In other words, skin authors should ignore this method since it only intended for system maintenance.
Getting
description
Setting
Sets the description of the community.
Getting
displayName
Setting
Sets the displayName of the community.
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
Set the unique id of this object.
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
Sets the date the community was last modified. In most cases, last modifed will default to when the community data was last changed. However, the last modified date needs to be set manually when importing data. In other words, skin authors should ignore this method since it only intended for system maintenance.
Getting
name
Setting
Sets the name of the community.
Getting
objectType
Setting
Sets the object type of the jive object.
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.?