|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.lptf.portal.serviceinterface.MockServiceInterfaceRenderResponse
public class MockServiceInterfaceRenderResponse
Implementation for IMockServiceInterfaceRenderResponse interface.
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 |
Fields inherited from interface javax.portlet.MimeResponse |
---|
CACHE_SCOPE, ETAG, EXPIRATION_CACHE, MARKUP_HEAD_ELEMENT, NAMESPACED_RESPONSE, PRIVATE_SCOPE, PUBLIC_SCOPE, USE_CACHED_CONTENT |
Constructor Summary | |
---|---|
MockServiceInterfaceRenderResponse(IServiceInterfaceRenderRequest renderRequest)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockServiceInterfaceRenderResponse(IServiceInterfaceRenderRequest renderRequest)
Method Detail |
---|
public void addCookie(Cookie cookie)
addCookie
in interface IServiceInterfaceResponse
public void addProperty(Cookie arg0)
addProperty
in interface PortletResponse
public void addProperty(String arg0, Element arg1)
addProperty
in interface PortletResponse
public void addProperty(String key, String value)
addProperty
in interface PortletResponse
public IServiceInterfaceUrl createActionURL()
IURLFactory
createActionURL
in interface MimeResponse
createActionURL
in interface IServiceInterfaceRenderResponse
createActionURL
in interface IURLFactory
IServiceInterface.processAction(lumis.portal.serviceinterface.IServiceInterfaceActionRequest, lumis.portal.serviceinterface.IServiceInterfaceActionResponse)
public Element createElement(String arg0) throws DOMException
createElement
in interface PortletResponse
DOMException
public IServiceInterfaceUrl createPortalURL()
IURLFactory
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.
createPortalURL
in interface IURLFactory
IServiceInterfaceUrl.setPageId(String)
,
IServiceInterfaceUrl.setChannelId(String)
public IServiceInterfaceUrl createRenderURL()
IURLFactory
createRenderURL
in interface MimeResponse
createRenderURL
in interface IServiceInterfaceRenderResponse
createRenderURL
in interface IURLFactory
IServiceInterface.render(lumis.portal.serviceinterface.IServiceInterfaceRenderRequest, lumis.portal.serviceinterface.IServiceInterfaceRenderResponse)
public void deleteCookie(Cookie cookie)
deleteCookie
in interface IServiceInterfaceResponse
public String encodeURL(String path)
encodeURL
in interface PortletResponse
public Map<String,Cookie> getCookieMap()
IMockServiceInterfaceResponse
getCookieMap
in interface IMockServiceInterfaceResponse
IServiceInterfaceResponse.addCookie(Cookie)
,
IServiceInterfaceResponse.deleteCookie(Cookie)
public String getNamespace()
getNamespace
in interface PortletResponse
public void setNamespace(String namespace)
IMockServiceInterfaceResponse
PortletResponse.getNamespace()
.
setNamespace
in interface IMockServiceInterfaceResponse
namespace
- the namespace.public void setProperty(String key, String value)
setProperty
in interface PortletResponse
public ResourceURL createResourceURL()
createResourceURL
in interface MimeResponse
public void flushBuffer()
flushBuffer
in interface MimeResponse
public int getBufferSize()
getBufferSize
in interface MimeResponse
public CacheControl getCacheControl()
getCacheControl
in interface MimeResponse
public String getCharacterEncoding()
getCharacterEncoding
in interface MimeResponse
public String getWriterOutput() throws UnsupportedEncodingException
IMockServiceInterfaceRenderResponse
IServiceInterfaceRenderResponse.getWriter()
.
getWriterOutput
in interface IMockServiceInterfaceRenderResponse
UnsupportedEncodingException
public String getContentType()
getContentType
in interface MimeResponse
public Locale getLocale()
getLocale
in interface MimeResponse
public OutputStream getPortletOutputStream() throws IOException
getPortletOutputStream
in interface MimeResponse
IOException
public String getTitle()
IMockServiceInterfaceRenderResponse
RenderResponse.setTitle(String)
.
getTitle
in interface IMockServiceInterfaceRenderResponse
public PortalPrintWriter getWriter() throws UnsupportedEncodingException
getWriter
in interface MimeResponse
getWriter
in interface IServiceInterfaceRenderResponse
UnsupportedEncodingException
public boolean isCommitted()
isCommitted
in interface MimeResponse
public void reset()
reset
in interface MimeResponse
public void resetBuffer()
resetBuffer
in interface MimeResponse
public void setBufferSize(int bufferSize)
setBufferSize
in interface MimeResponse
public void setContentType(String contentType)
setContentType
in interface MimeResponse
setContentType
in interface RenderResponse
public void setLocale(Locale locale)
IMockServiceInterfaceRenderResponse
MimeResponse.getLocale()
.
setLocale
in interface IMockServiceInterfaceRenderResponse
locale
- the locale.public void setNextPossiblePortletModes(Collection<PortletMode> portletModes)
setNextPossiblePortletModes
in interface RenderResponse
public void setTitle(String title)
setTitle
in interface RenderResponse
public void applyStyle(int applyRule, String styleFile) throws ServiceException, PortalException
applyStyle
in interface IServiceInterfaceRenderResponse
ServiceException
PortalException
public String getBeforeWriterOutput() throws IOException
IMockServiceInterfaceRenderResponse
IServiceInterfaceRenderResponse.getBeforeWriter()
.
getBeforeWriterOutput
in interface IMockServiceInterfaceRenderResponse
IOException
- if an error occur getting the writer.public PortalPrintWriter getBeforeWriter() throws IOException
getBeforeWriter
in interface IServiceInterfaceRenderResponse
IOException
@Deprecated public boolean isCommited()
isCommited
in interface IServiceInterfaceRenderResponse
public void setStyleId(String styleId) throws ServiceException, PortalException
setStyleId
in interface IServiceInterfaceRenderResponse
ServiceException
PortalException
public String getStyleId()
IMockServiceInterfaceRenderResponse
IServiceInterfaceRenderResponse.setStyleId(String)
method.
getStyleId
in interface IMockServiceInterfaceRenderResponse
public String getStyleFile()
IMockServiceInterfaceRenderResponse
IServiceInterfaceRenderResponse.applyStyle(int, String)
.
getStyleFile
in interface IMockServiceInterfaceRenderResponse
public int getStyleApplyRule()
IMockServiceInterfaceRenderResponse
IServiceInterfaceRenderResponse.applyStyle(int, String)
.
See the APPLY_* constants for possible values.
getStyleApplyRule
in interface IMockServiceInterfaceRenderResponse
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |