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.1",
             sinceVersion="4.0")
public class ControllerXml
extends java.lang.Object

Base class for all Xml Controllers

Since:
4.0.0

Field Summary
protected  java.io.Writer out
           
protected  javax.servlet.http.HttpServletRequest request
           
protected  javax.servlet.http.HttpServletResponse response
           
protected  SessionConfig sessionConfig
           
 
Constructor Summary
ControllerXml(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
static java.lang.String getResponseXml()
           
protected  java.lang.String getResponseXml(PortalException portalException)
           
static java.lang.String getResponseXml(java.lang.String innerXml)
           
 void loadUserInfo(org.w3c.dom.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 javax.servlet.http.HttpServletRequest request

response

protected javax.servlet.http.HttpServletResponse response

out

protected java.io.Writer out
Constructor Detail

ControllerXml

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

loadUserInfo

public void loadUserInfo(org.w3c.dom.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 java.lang.String getResponseXml(PortalException portalException)
                                   throws ControllerException,
                                          PortalException
Throws:
ControllerException
PortalException

getResponseXml

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

getResponseXml

public static java.lang.String getResponseXml()


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