JBoss.orgCommunity Documentation
The Answer, Comment and Attachment node is defined as the child nodes of the Question node. Attachment node is defined as a nt:file node type and stored right under the Question node. Answers and comments node are stored under the Answer home and the Comment home node.
The Answer node is stored in /exo:applications/faqApp/categories/questions/%Question-id%/faqAnswerHome/%Answer-id%
and its node type has the following properties:
Properties name | Required type | Multiple | Description |
---|---|---|---|
exo:id | String | false | The id of the answer. |
exo:answerPath | String | false | The path to the answer. |
exo:questionId | String | false | The id of the question. |
exo:categoryId | String | false | The id of the category containing the question. |
exo:responses | String | false | The content of the answer. |
exo:dateResponse | Date | false | The date when the response was posted. |
exo:responseBy | String | false | The id of the user who responded the answer. |
exo:responseLanguage | String | false | The language of the answer response. |
exo:approveResponses | Boolean | false | The response is pending for approval if the value is set to "false". |
exo:activateResponses | Boolean | false | The state of the answer: activated/deactivated . |
exo:usersVoteAnswer | String | true | The list of user ids who voted for the answer. |
exo:MarkVotes | Long | false | The average vote scores of the answer. |
exo:postId | String | false | The post id. |
exo:fullName | String | false | The answer author's full name. |
The Comment node is stored in /exo:applications/faqApp/categories/questions/%Question-id%/faqCommentHome/%Comment-id%
and its node type has the following propeties:
Properties name | Required type | Multiple | Description |
---|---|---|---|
exo:id | String | false | The comment id. |
exo:comments | String | false | The comment contents. |
exo:dateComment | Date | false | The date when the comment is posted. |
exo:commentBy | String | false | The user id of the comment poster. |
exo:postId | String | false | The id of the post. |
exo:fullName | String | false | The full name of the comment poster. |
exo:categoryId | String | false | The id of the category in which the comment is posted. |
exo:questionId | String | false | The id of the question in which the comment is posted. |
exo:commentLanguage | String | false | The language of the comment. |
The Attachment node is stored in /exo:applications/faqApp/categories/questions/%Question-id%/faqAttachment
and its node type has the following properties:
Properties name | Required type | Multiple | Description |
---|---|---|---|
exo:fileName | String | false | The name of the attachment file. |