JBoss.orgCommunity Documentation
The Question Home node is created from the exo:faqQuestionHome node type that is defined as a child node of category. This node cantains all question nodes that created in side a category. Only the Question node type exo:faqQuestion can be added to the question Home. The Question Home node is created as a child node of Categories /exo:applications/faqApp/categories/questions
.
Question node is created from exo:faqQuestion node type under the Question Home node. The Answers, Comments and Attachments node are defined as child nodes of the Question node. The Question node is created under the Question Home: /exo:applications/faqApp/categories/questions/%Question-id%
.
The exo:faqQuestion node type has the following properties:
Properties name | Required type | Multiple | Description |
---|---|---|---|
exo:id | String | false | The question id. |
exo:language | String | false | The language of the question. |
exo:name | String | false | The question details. |
exo:title | String | false | The question title. |
exo:author | String | false | The the user id of the question poster. |
exo:email | String | false | The email of the question author |
exo:isActivated | Boolean | false | The question status: activated/inactivated. The question is activated if the value is set to "true". |
exo:isApproved | Boolean | false | The state of the question: approved/unapproved. The question is approved to be published if the value is set to "true". |
exo:categoryId | String | false | The id of the category containing the question. |
exo:createdDate | Date | false | The date and time when the question was submitted. |
exo:relatives | String | true | The list of the related questions ids. |
exo:usersVote | String | true | The list of user ids who voted. |
exo:markVote | Double | false | The average vote scores of the question. |
exo:topicIdDiscuss | String | false | The topic id in the forum where the question is discussed. |
exo:nameAttachs | String | true | The file name of attachments in the question. |
exo:lastActivity | String | false | The user id and time when the last activity of the question was made. |
exo:numberOfPublicAnswers | Long | false | The number of all posted answers that has been published. |
exo:link | String | false | The link to open the question. |
exo:responses | String | true | The responses of the question. |
exo:dateResponse | Date | true | The date when the question received the answer. |
exo:responseBy | String | true | The user id of the answer poster. |