JBoss.orgCommunity Documentation

Chat JCR Structure

Warning

The Chat portlet and its services are deprecated. It remains fully supported for eXo customers, however it will not receive any enhancement and will be removed from the product scope in the future.

The node type lr:conversation has the following properties:

Property name Required type Description
lr:conversationstartDate Date Start date of the conversation.
lr:conversationlastActiveDate Date Last date when the conversation is updated.

The node type lr:historicalmessage has the following properties:

Property name Required type Description
lr:messagefrom String Jabber Id of the user (or chat room) sending (or containing) the message respectively.
lr:messageto String Jabber Id of the user (or chat room) to whom (to which) the message is sent.
lr:messagetype String List of message types. For more details, refer to the org.jivesoftware. smack.packet.Message.Type class.
lr:messagebody String Main content of the message.
lr:messagedateSend Date Date when the message was sent.
lr:messagereceive Boolean Check if the message has been received or not.

The node type lr:participantchat has the following properties:

Property name Required type Description
lr:participantchatjid String Jabber Id of the user.
lr:participantchatusername String Username of the portal.

The node type lr:interlocutor contains information regarding to the conversation between two users or of the chat room. It has the following properties:

Property name Required type Description
lr:conversationId String Id of the conversation which is the JCR node name of lr:conversation.
lr:interlocutorjid String Jabber Id of the chat room or user.
lr:interlocutorname String Username or name of the chat room.
lr:interlocutorisRoom Boolean Define if the conversation is performed between two users or is of chat room.

The node type lr:defaultpresencestatus has the following properties:

Property name Required type Description
lr:conversationlastActiveDate Date Date when the conversation is last updated.

The node type lr:presencestatus contains information regarding to the current status of user. It has the following properties:

Property name Required type Description
lr:userid String Id of the user.
lr:status String Current status of the user included in the org.jivesoftware.smack.pack et.Presence.Type class.