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$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description protected IResource
chatResource
protected org.w3c.dom.Document
requestXmlDoc
-
Fields inherited from class lumis.portal.controller.ControllerXml
out, request, response, sessionConfig
-
-
Constructor Summary
Constructors Constructor Description ChatControllerXml(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.PageContext pageContext)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addMessage(org.w3c.dom.Node methodNode, ITransaction portalTransaction)
protected void
approveMessage(org.w3c.dom.Node methodNode, ITransaction transaction)
protected void
getLatestMessages(org.w3c.dom.Node methodNode, ITransaction portalTransaction)
void
handleRequest()
protected void
rejectMessage(org.w3c.dom.Node methodNode, ITransaction transaction)
protected void
userLeftConversation(org.w3c.dom.Node methodNode, ITransaction transaction)
-
Methods inherited from class lumis.portal.controller.ControllerXml
checkRequestIsPost, getResponseXml, getResponseXml, getResponseXml, loadUserInfo
-
-
-
-
Field Detail
-
requestXmlDoc
protected org.w3c.dom.Document requestXmlDoc
-
chatResource
protected IResource chatResource
-
-
Constructor Detail
-
ChatControllerXml
public ChatControllerXml(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.PageContext pageContext) throws PortalException
Default constructor. Simply calls super- Parameters:
request
-response
-pageContext
-- Throws:
ControllerException
PortalException
-
-
Method Detail
-
handleRequest
public void handleRequest() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getLatestMessages
protected void getLatestMessages(org.w3c.dom.Node methodNode, ITransaction portalTransaction) throws PortalException
- Throws:
PortalException
-
rejectMessage
protected void rejectMessage(org.w3c.dom.Node methodNode, ITransaction transaction) throws PortalException, java.io.IOException
- Throws:
PortalException
java.io.IOException
-
approveMessage
protected void approveMessage(org.w3c.dom.Node methodNode, ITransaction transaction) throws PortalException, java.io.IOException
- Throws:
PortalException
java.io.IOException
-
userLeftConversation
protected void userLeftConversation(org.w3c.dom.Node methodNode, ITransaction transaction) throws PortalException
- Throws:
PortalException
-
addMessage
protected void addMessage(org.w3c.dom.Node methodNode, ITransaction portalTransaction) throws PortalException
- Throws:
PortalException
-
-