The Topic
node is defined as a child node of the Forum
node and allowed adding child nodes as Topic
,
Poll
and RSS
types. The node type of the Topic
and Poll
nodes is exo:topic
,
and exo:poll
.
The Topic
node is stored in
/exo:applications/ForumService/ForumData/CategoryHome/%Category-id%/%Forum-id%/%Topic-id%
and its exo:topic
node type has the following properties:
Properties name | Required type | Multiple | Description |
---|---|---|---|
exo:id | String | false | The topic Id. |
exo:owner | String | false | The user Id of the topic creator. |
exo:path | String | false | The node path of the topic. |
exo:name | String | false | The subject of the topic. |
exo:createdDate | Date | false | The time when the topic was created. |
exo:modifiedBy | String | false | The Id of the user who made the latest modification in the topic. |
exo:modifiedDate | Date | false | The date when the modifications were made. |
exo:lastPostBy | String | false | The user Id of the last poster in topic. |
exo:lastPostDate | Date | false | The date when the last post was submitted. |
exo:description | String | false | The topic description. |
exo:topicType | String | false | The Id of the topic type. |
exo:postCount | Long | false | The number of posts in the topic. |
exo:viewCount | Long | false | The number of topic views. |
exo:numberAttachments | Long | false | The number of attachments in the topic. |
exo:icon | String | false | The name of the topic icon. |
exo:link | String | false | The link to the topic. For example: http://localhost:8080/ksdemo/public/classic/forum/topic/%Topic-id%. |
exo:isModeratePost | Boolean | false | All posts in the topic will have to wait for moderation if the value is set to "true". |
exo:isNotifyWhenAddPost | Boolean | false | When there is a new post in a topic, a notification message will be sent to the topic owner if this value is set to "true". |
exo:isClosed | Boolean | false | The state of the topic: closed/open. If the value is set to "true", the topic is closed. |
exo:isLock | Boolean | false | The lock status of the topic: lock/unlocked. If the value is set to "true", the topic is locked. |
exo:isApproved | Boolean | false | The topic is approved to be published if the value is set to "true". |
exo:isSticky | Boolean | false | If the value is set to "true", the topic is currently sticky. |
exo:isWaiting | boolean | false | The topic status. The topic is waiting for moderation if the value is set to "true". |
exo:isActive | boolean | false | The topic activity status: active/inactive. The topic is active (topic gets new posts in a period of time) if the status is set to "true". |
exo:isActiveByForum | Boolean | false | The topic status based on the forum state. For example: When the topic is active and the forum that contains it is closed, this topic will be considered as inactive. |
exo:canView | String | true | List of user Ids who can view the topic contents. |
exo:canPost | String | true | List of user Ids who can post in the topic. |
exo:isPoll | Boolean | false | The topic contains poll if the value is set to "true". |
exo:userVoteRating | String | true | The list of user Id who voted. |
exo:tagId | String | true | The list of the topic tag Id. |
exo:voteRating | Double | false | The average vote score of the topic. |
The
exo:topic
can add the
exo:forumWatching
mixin type. See its properties here.
The exo:poll
child node type has the following properties:
Properties name | Required type | Multiple | Description |
---|---|---|---|
exo:id | String | false | The poll Id. |
exo:owner | String | false | The user Id of poll creator. |
exo:createdDate | Date | false | The date and time when the poll was created. |
exo:modifiedBy | String | false | The user Id who modified the poll. |
exo:modifiedDate | Date | false | The time when the poll is modified. |
exo:lastVote | Date | false | The date of the last vote. |
exo:question | String | false | The contents of the question for poll. |
exo:timeOut | Long | false | The time when the polled is closed. |
exo:option | String | true | The list of options for poll. |
exo:vote | String | true | The list of votes by users. |
exo:userVote | String | true | The list of user Ids who voted. |
exo:isMultiCheck | Boolean | false | Users can choose more than one option if the value is set to "true". |
exo:isAgainVote | Boolean | false | Users can change their vote if the value is set to "true". |
exo:isClosed | Boolean | false | The poll status. Poll is closed if the value is set to "true". |