lumis.portal.controller
Class ControllerXml

Package class diagram package ControllerXml
java.lang.Object
  extended by lumis.portal.controller.ControllerXml
Direct Known Subclasses:
ChannelControllerXml, ChannelTemplateControllerXml, ChannelTreeControllerXml, ChatControllerXml, CssControllerXml, DouiContentTreeControllerXml, DouiControlControllerXml, DouiControllerXml, DouiProcessActionControllerXml, DouiReindexerControllerXml, DouiSourceControllerXml, GroupControllerXml, InContextEditControllerXml, LockController, PageControllerXml, PageTemplateControllerXml, ServiceControllerXml, ServiceInterfaceControllerXml, ServiceInterfaceInstanceControllerXml, ServiceInterfaceListControllerXml, SessionKeepAliveControllerXml, UserControllerXml, WorkflowControllerXml

@StableMinor(version="6.2",
             sinceVersion="4.0")
public class ControllerXml
extends Object

Base class for all Xml Controllers

Since:
4.0.0

Field Summary
protected  Writer out
           
protected  HttpServletRequest request
           
protected  HttpServletResponse response
           
protected  SessionConfig sessionConfig
           
 
Constructor Summary
ControllerXml(HttpServletRequest request, HttpServletResponse response)
           
 
Method Summary
static String getResponseXml()
           
protected  String getResponseXml(PortalException portalException)
           
static String getResponseXml(String innerXml)
           
 void loadUserInfo(Document requestDom, ITransaction portalTransaction)
          Deprecated. Since 4.0.7 this method does nothing. sessionConfig is now initialized in the constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionConfig

protected SessionConfig sessionConfig

request

protected HttpServletRequest request

response

protected HttpServletResponse response

out

protected Writer out
Constructor Detail

ControllerXml

public ControllerXml(HttpServletRequest request,
                     HttpServletResponse response)
              throws ControllerException,
                     PortalException
Parameters:
request -
response -
Throws:
ControllerException
PortalException
Method Detail

loadUserInfo

public void loadUserInfo(Document requestDom,
                         ITransaction portalTransaction)
                  throws ControllerException,
                         PortalException
Deprecated. Since 4.0.7 this method does nothing. sessionConfig is now initialized in the constructor.

Parameters:
requestDom -
portalTransaction -
Throws:
ControllerException
PortalException

getResponseXml

protected String getResponseXml(PortalException portalException)
                         throws ControllerException,
                                PortalException
Throws:
ControllerException
PortalException

getResponseXml

public static String getResponseXml(String innerXml)
Parameters:
innerXml -
Returns:
wraps the xml within response xml tags

getResponseXml

public static String getResponseXml()


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.