Package lumis.portal.controller
Class ControllerXml
- java.lang.Object
-
- lumis.portal.controller.ControllerXml
-
- Direct Known Subclasses:
ChannelControllerXml
,ChannelTemplateControllerXml
,ChannelTreeControllerXml
,ChatControllerXml
,CssControllerXml
,DouiContentTreeControllerXml
,DouiControlControllerXml
,DouiControllerXml
,DouiReindexerControllerXml
,DouiSourceControllerXml
,InContextEditControllerXml
,LockController
,PageControllerXml
,PageTemplateControllerXml
,ServiceControllerXml
,ServiceInterfaceControllerXml
,ServiceInterfaceInstanceControllerXml
,ServiceInterfaceListControllerXml
,SessionKeepAliveControllerXml
,UserControllerXml
@StableMinor(version="14.0", sinceVersion="4.0") public class ControllerXml extends Object
Base class for all Xml Controllers- Since:
- 4.0.0
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Field Summary
Fields Modifier and Type Field Description protected Writer
out
protected HttpServletRequest
request
protected HttpServletResponse
response
protected SessionConfig
sessionConfig
-
Constructor Summary
Constructors Constructor Description ControllerXml(HttpServletRequest request, HttpServletResponse response)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static String
getResponseXml()
static String
getResponseXml(String innerXml)
protected String
getResponseXml(PortalException portalException)
void
loadUserInfo(Document requestDom, ITransaction portalTransaction)
Deprecated.Since 4.0.7 this method does nothing.
-
-
-
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()
-
-