lumis.lptf.portal.serviceinterface
Interface IMockServiceInterfaceRenderResponse

Package class diagram package IMockServiceInterfaceRenderResponse
All Superinterfaces:
IMockServiceInterfaceResponse, IServiceInterfaceRenderResponse, IServiceInterfaceResponse, IURLFactory, MimeResponse, PortletResponse, RenderResponse
All Known Implementing Classes:
MockServiceInterfaceRenderResponse

@StableMinor(version="6.2",
             sinceVersion="5.6")
public interface IMockServiceInterfaceRenderResponse
extends IMockServiceInterfaceResponse, IServiceInterfaceRenderResponse

Interface for a IServiceInterfaceRenderResponse mock object.

Since:
5.6.0

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
 
Method Summary
 String getBeforeWriterOutput()
          Returns the output written to IServiceInterfaceRenderResponse.getBeforeWriter().
 int getStyleApplyRule()
          Returns the style apply rule set by the call to IServiceInterfaceRenderResponse.applyStyle(int, String).
 String getStyleFile()
          Returns the file path set by the call to IServiceInterfaceRenderResponse.applyStyle(int, String).
 String getStyleId()
          Returns the styleId set by a call to the IServiceInterfaceRenderResponse.setStyleId(String) method.
 String getTitle()
          Returns the title set by RenderResponse.setTitle(String).
 String getWriterOutput()
          Returns the output written to IServiceInterfaceRenderResponse.getWriter().
 void setLocale(Locale locale)
          Sets the locale returned by MimeResponse.getLocale().
 
Methods inherited from interface lumis.lptf.portal.serviceinterface.IMockServiceInterfaceResponse
getCookieMap, setNamespace
 
Methods inherited from interface lumis.portal.serviceinterface.IServiceInterfaceRenderResponse
applyStyle, createActionURL, createRenderURL, getBeforeWriter, getWriter, isCommited, setStyleId
 
Methods inherited from interface lumis.portal.serviceinterface.IServiceInterfaceResponse
addCookie, deleteCookie
 
Methods inherited from interface lumis.portal.url.IURLFactory
createPortalURL
 
Methods inherited from interface javax.portlet.RenderResponse
setContentType, setNextPossiblePortletModes, setTitle
 
Methods inherited from interface javax.portlet.MimeResponse
createResourceURL, flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, isCommitted, reset, resetBuffer, setBufferSize
 
Methods inherited from interface javax.portlet.PortletResponse
addProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, setProperty
 

Method Detail

getTitle

String getTitle()
Returns the title set by RenderResponse.setTitle(String).

Returns:
the title.
Since:
5.6.0

setLocale

void setLocale(Locale locale)
Sets the locale returned by MimeResponse.getLocale().

Parameters:
locale - the locale.
Since:
5.6.0

getStyleId

String getStyleId()
Returns the styleId set by a call to the IServiceInterfaceRenderResponse.setStyleId(String) method.

Returns:
the style id.
Since:
5.6.0

getStyleFile

String getStyleFile()
Returns the file path set by the call to IServiceInterfaceRenderResponse.applyStyle(int, String).

Returns:
the style file path set.
Since:
5.6.0

getStyleApplyRule

int getStyleApplyRule()
Returns the style apply rule set by the call to IServiceInterfaceRenderResponse.applyStyle(int, String). See the APPLY_* constants for possible values.

Returns:
the style apply rule.
Since:
5.6.0

getBeforeWriterOutput

String getBeforeWriterOutput()
                             throws IOException
Returns the output written to IServiceInterfaceRenderResponse.getBeforeWriter().

Returns:
the output as a string.
Throws:
IOException - if an error occur getting the writer.
Since:
5.6.0

getWriterOutput

String getWriterOutput()
                       throws UnsupportedEncodingException
Returns the output written to IServiceInterfaceRenderResponse.getWriter().

Returns:
the output as a string.
Throws:
UnsupportedEncodingException
Since:
5.6.0


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