Package lumis.collaboration.chat
Class ChatControllerXml
- java.lang.Object
-
- lumis.portal.controller.ControllerXml
-
- lumis.collaboration.chat.ChatControllerXml
-
public class ChatControllerXml extends ControllerXml
Implements the chat controller that returns chat information- Since:
- 4.0.5
- Version:
- $Revision: 21881 $ $Date: 2018-09-21 17:09:37 -0300 (Fri, 21 Sep 2018) $
-
-
Field Summary
Fields Modifier and Type Field Description protected IResource
chatResource
protected Document
requestXmlDoc
-
Fields inherited from class lumis.portal.controller.ControllerXml
out, request, response, sessionConfig
-
-
Constructor Summary
Constructors Constructor Description ChatControllerXml(HttpServletRequest request, HttpServletResponse response, PageContext pageContext)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addMessage(Node methodNode, ITransaction portalTransaction)
protected void
approveMessage(Node methodNode, ITransaction transaction)
protected void
getLatestMessages(Node methodNode, ITransaction portalTransaction)
void
handleRequest()
protected void
rejectMessage(Node methodNode, ITransaction transaction)
protected void
userLeftConversation(Node methodNode, ITransaction transaction)
-
Methods inherited from class lumis.portal.controller.ControllerXml
getResponseXml, getResponseXml, getResponseXml, loadUserInfo
-
-
-
-
Constructor Detail
-
ChatControllerXml
public ChatControllerXml(HttpServletRequest request, HttpServletResponse response, PageContext pageContext) throws PortalException
Default constructor. Simply calls super- Parameters:
request
-response
-pageContext
-- Throws:
ControllerException
PortalException
-
-
Method Detail
-
getLatestMessages
protected void getLatestMessages(Node methodNode, ITransaction portalTransaction) throws PortalException
- Throws:
PortalException
-
rejectMessage
protected void rejectMessage(Node methodNode, ITransaction transaction) throws PortalException, IOException
- Throws:
PortalException
IOException
-
approveMessage
protected void approveMessage(Node methodNode, ITransaction transaction) throws PortalException, IOException
- Throws:
PortalException
IOException
-
userLeftConversation
protected void userLeftConversation(Node methodNode, ITransaction transaction) throws PortalException
- Throws:
PortalException
-
addMessage
protected void addMessage(Node methodNode, ITransaction portalTransaction) throws PortalException
- Throws:
PortalException
-
-