lumis.collaboration.chat
Class ChatControllerXml

Package class diagram package ChatControllerXml
java.lang.Object
  extended by lumis.portal.controller.ControllerXml
      extended by lumis.collaboration.chat.ChatControllerXml

public class ChatControllerXml
extends ControllerXml

Implements the chat controller that returns chat information

Since:
4.0.5

Field Summary
protected  IResource chatResource
           
protected  Document requestXmlDoc
           
 
Fields inherited from class lumis.portal.controller.ControllerXml
out, request, response, sessionConfig
 
Constructor Summary
ChatControllerXml(HttpServletRequest request, HttpServletResponse response, PageContext pageContext)
          Default constructor.
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

requestXmlDoc

protected Document requestXmlDoc

chatResource

protected IResource chatResource
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

handleRequest

public void handleRequest()
                   throws Exception
Throws:
Exception

getLatestMessages

protected void getLatestMessages(Node methodNode,
                                 ITransaction portalTransaction)
                          throws PortalException
Throws:
PortalException

rejectMessage

protected void rejectMessage(Node methodNode,
                             ITransaction transaction)
                      throws PortalException
Throws:
PortalException

approveMessage

protected void approveMessage(Node methodNode,
                              ITransaction transaction)
                       throws PortalException
Throws:
PortalException

userLeftConversation

protected void userLeftConversation(Node methodNode,
                                    ITransaction transaction)
                             throws PortalException
Throws:
PortalException

addMessage

protected void addMessage(Node methodNode,
                          ITransaction portalTransaction)
                   throws PortalException
Throws:
PortalException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.