Package lumis.collaboration.chat
Class ChatServiceInterfaceResponse
- java.lang.Object
-
- lumis.collaboration.chat.ChatServiceInterfaceResponse
-
- All Implemented Interfaces:
javax.portlet.MimeResponse
,javax.portlet.PortletResponse
,javax.portlet.RenderResponse
,IServiceInterfaceRenderResponse
,IServiceInterfaceRenderResponseSPI
,IServiceInterfaceResponse
,IServiceInterfaceResponseSPI
,IURLFactory
public class ChatServiceInterfaceResponse extends java.lang.Object implements IServiceInterfaceRenderResponseSPI
Chat service interface forChatControllerXml
.- Since:
- 8.1.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
-
Fields inherited from interface lumis.portal.serviceinterface.IServiceInterfaceRenderResponse
APPLY_STYLE_FROM_DEFINITION, APPLY_STYLE_NONE, APPLY_STYLE_ONLY_IF_NOT_DEFINED, APPLY_STYLE_OVERRIDE
-
-
Constructor Summary
Constructors Constructor Description ChatServiceInterfaceResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCookie(javax.servlet.http.Cookie cookie)
void
addProperty(java.lang.String key, java.lang.String value)
void
addProperty(java.lang.String key, org.w3c.dom.Element element)
void
addProperty(javax.servlet.http.Cookie cookie)
void
applyStyle(int applyRule, java.lang.String styleFile)
IServiceInterfaceUrl
createActionURL()
Creates an action URL.org.w3c.dom.Element
createElement(java.lang.String tagName)
IServiceInterfaceUrl
createPortalURL()
Creates a URL for accessing a portal page.IServiceInterfaceUrl
createRenderURL()
Creates a render URL.javax.portlet.ResourceURL
createResourceURL()
void
deleteCookie(javax.servlet.http.Cookie cookie)
java.lang.String
encodeURL(java.lang.String path)
void
flushBuffer()
PortalPrintWriter
getBeforeWriter()
int
getBufferSize()
javax.portlet.CacheControl
getCacheControl()
java.lang.String
getCharacterEncoding()
java.lang.String
getContentType()
java.util.Locale
getLocale()
java.lang.String
getNamespace()
java.io.OutputStream
getPortletOutputStream()
java.lang.String
getResponseString()
Returns this response's output string.ServiceContainerHttpServletResponse
getServiceContainerHttpServletResponse()
Returns theServiceContainerHttpServletResponse
.java.io.PrintWriter
getWriter()
boolean
isCommited()
boolean
isCommitted()
void
reset()
void
resetBuffer()
void
setBufferSize(int size)
void
setContentType(java.lang.String type)
void
setNextPossiblePortletModes(java.util.Collection<javax.portlet.PortletMode> portletModes)
void
setProperty(java.lang.String key, java.lang.String value)
void
setStyleId(java.lang.String styleId)
void
setTitle(java.lang.String title)
-
-
-
Method Detail
-
getWriter
public java.io.PrintWriter getWriter() throws java.io.IOException
- Specified by:
getWriter
in interfaceIServiceInterfaceRenderResponse
- Specified by:
getWriter
in interfacejavax.portlet.MimeResponse
- Throws:
java.io.IOException
-
getBeforeWriter
public PortalPrintWriter getBeforeWriter() throws java.io.IOException
- Specified by:
getBeforeWriter
in interfaceIServiceInterfaceRenderResponse
- Throws:
java.io.IOException
-
isCommited
public boolean isCommited()
- Specified by:
isCommited
in interfaceIServiceInterfaceRenderResponse
-
applyStyle
public void applyStyle(int applyRule, java.lang.String styleFile) throws ServiceException, PortalException
- Specified by:
applyStyle
in interfaceIServiceInterfaceRenderResponse
- Throws:
ServiceException
PortalException
-
setStyleId
public void setStyleId(java.lang.String styleId) throws ServiceException, PortalException
- Specified by:
setStyleId
in interfaceIServiceInterfaceRenderResponse
- Throws:
ServiceException
PortalException
-
createActionURL
public IServiceInterfaceUrl createActionURL()
Description copied from interface:IURLFactory
Creates an action URL.- Specified by:
createActionURL
in interfaceIServiceInterfaceRenderResponse
- Specified by:
createActionURL
in interfaceIURLFactory
- Specified by:
createActionURL
in interfacejavax.portlet.MimeResponse
- Returns:
- the URL object.
- See Also:
IServiceInterface.processAction(lumis.portal.serviceinterface.IServiceInterfaceActionRequest, lumis.portal.serviceinterface.IServiceInterfaceActionResponse)
-
createRenderURL
public IServiceInterfaceUrl createRenderURL()
Description copied from interface:IURLFactory
Creates a render URL.- Specified by:
createRenderURL
in interfaceIServiceInterfaceRenderResponse
- Specified by:
createRenderURL
in interfaceIURLFactory
- Specified by:
createRenderURL
in interfacejavax.portlet.MimeResponse
- Returns:
- the URL object.
- See Also:
IServiceInterface.render(lumis.portal.serviceinterface.IServiceInterfaceRenderRequest, lumis.portal.serviceinterface.IServiceInterfaceRenderResponse)
-
addCookie
public void addCookie(javax.servlet.http.Cookie cookie)
- Specified by:
addCookie
in interfaceIServiceInterfaceResponse
-
deleteCookie
public void deleteCookie(javax.servlet.http.Cookie cookie)
- Specified by:
deleteCookie
in interfaceIServiceInterfaceResponse
-
addProperty
public void addProperty(javax.servlet.http.Cookie cookie)
- Specified by:
addProperty
in interfacejavax.portlet.PortletResponse
-
addProperty
public void addProperty(java.lang.String key, java.lang.String value)
- Specified by:
addProperty
in interfacejavax.portlet.PortletResponse
-
addProperty
public void addProperty(java.lang.String key, org.w3c.dom.Element element)
- Specified by:
addProperty
in interfacejavax.portlet.PortletResponse
-
createElement
public org.w3c.dom.Element createElement(java.lang.String tagName) throws org.w3c.dom.DOMException
- Specified by:
createElement
in interfacejavax.portlet.PortletResponse
- Throws:
org.w3c.dom.DOMException
-
encodeURL
public java.lang.String encodeURL(java.lang.String path)
- Specified by:
encodeURL
in interfacejavax.portlet.PortletResponse
-
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespace
in interfacejavax.portlet.PortletResponse
-
setProperty
public void setProperty(java.lang.String key, java.lang.String value)
- Specified by:
setProperty
in interfacejavax.portlet.PortletResponse
-
createPortalURL
public IServiceInterfaceUrl createPortalURL()
Description copied from interface:IURLFactory
Creates a URL for accessing a portal page.The returned URL object will not have its destination specified, so it will refer to the portal home by default. Its methods may be used to specify the URL destination.
- Specified by:
createPortalURL
in interfaceIURLFactory
- Returns:
- the URL object.
- See Also:
IServiceInterfaceUrl.setPageId(String)
,IServiceInterfaceUrl.setChannelId(String)
-
setContentType
public void setContentType(java.lang.String type)
- Specified by:
setContentType
in interfacejavax.portlet.MimeResponse
- Specified by:
setContentType
in interfacejavax.portlet.RenderResponse
-
setNextPossiblePortletModes
public void setNextPossiblePortletModes(java.util.Collection<javax.portlet.PortletMode> portletModes)
- Specified by:
setNextPossiblePortletModes
in interfacejavax.portlet.RenderResponse
-
setTitle
public void setTitle(java.lang.String title)
- Specified by:
setTitle
in interfacejavax.portlet.RenderResponse
-
createResourceURL
public javax.portlet.ResourceURL createResourceURL()
- Specified by:
createResourceURL
in interfacejavax.portlet.MimeResponse
-
flushBuffer
public void flushBuffer() throws java.io.IOException
- Specified by:
flushBuffer
in interfacejavax.portlet.MimeResponse
- Throws:
java.io.IOException
-
getBufferSize
public int getBufferSize()
- Specified by:
getBufferSize
in interfacejavax.portlet.MimeResponse
-
getCacheControl
public javax.portlet.CacheControl getCacheControl()
- Specified by:
getCacheControl
in interfacejavax.portlet.MimeResponse
-
getCharacterEncoding
public java.lang.String getCharacterEncoding()
- Specified by:
getCharacterEncoding
in interfacejavax.portlet.MimeResponse
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interfacejavax.portlet.MimeResponse
-
getLocale
public java.util.Locale getLocale()
- Specified by:
getLocale
in interfacejavax.portlet.MimeResponse
-
getPortletOutputStream
public java.io.OutputStream getPortletOutputStream() throws java.io.IOException
- Specified by:
getPortletOutputStream
in interfacejavax.portlet.MimeResponse
- Throws:
java.io.IOException
-
isCommitted
public boolean isCommitted()
- Specified by:
isCommitted
in interfacejavax.portlet.MimeResponse
-
reset
public void reset()
- Specified by:
reset
in interfacejavax.portlet.MimeResponse
-
resetBuffer
public void resetBuffer()
- Specified by:
resetBuffer
in interfacejavax.portlet.MimeResponse
-
setBufferSize
public void setBufferSize(int size)
- Specified by:
setBufferSize
in interfacejavax.portlet.MimeResponse
-
getServiceContainerHttpServletResponse
public ServiceContainerHttpServletResponse getServiceContainerHttpServletResponse()
Description copied from interface:IServiceInterfaceResponseSPI
Returns theServiceContainerHttpServletResponse
.- Specified by:
getServiceContainerHttpServletResponse
in interfaceIServiceInterfaceResponseSPI
- Returns:
- the
ServiceContainerHttpServletResponse
.
-
getResponseString
public java.lang.String getResponseString()
Description copied from interface:IServiceInterfaceRenderResponseSPI
Returns this response's output string.- Specified by:
getResponseString
in interfaceIServiceInterfaceRenderResponseSPI
- Returns:
- this response's output string.
-
-