public class ServiceInterfaceInstanceControllerHtml extends ControllerHtml
Modifier and Type | Field and Description |
---|---|
protected int |
debugLevel |
protected int |
mode |
protected ServiceContainer |
serviceContainer |
out, request, response, sessionConfig, userConfig
Constructor and Description |
---|
ServiceInterfaceInstanceControllerHtml(HttpServletRequest request,
HttpServletResponse response,
PageContext pageContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearServiceInterfaceInstanceCache()
Clears the HTML cache of the specified interface, if any, and clears the XSL Transformer cache for the XSL file used by the interface.
|
protected void |
getServiceInterfaceInstanceXmlData() |
void |
handleRequest() |
protected void |
renderOutput(ServiceContainerRenderRequest renderRequest,
ServiceContainerRenderResponse renderResponse,
Map<String,String> originalMap,
ITransaction portalTransaction) |
protected void |
renderServiceInterfaceInstance()
Returns the HTML for a single service interface instance.
|
protected void |
setRequestMode()
Sets the Request Mode.
|
protected static boolean |
shouldApplyPathFix(String webResourcePath,
String parameterReferer)
Decides if the path fix must be applied or not based on the web resource
path and the current browser location.
|
deleteCookie, getCookie, getRequestMode, getSessionConfig, loadUserInfo, setCookie
protected ServiceContainer serviceContainer
protected int mode
protected int debugLevel
public ServiceInterfaceInstanceControllerHtml(HttpServletRequest request, HttpServletResponse response, PageContext pageContext) throws ControllerException, PortalException
request
- response
- pageContext
- ControllerException
PortalException
protected void setRequestMode() throws ControllerException, PortalException
PortalContext.MODE_ADMIN
, or
PortalContext.MODE_USER
.
If mode is not PortalContext.MODE_USER
,
the IMonitorContext
is disabled.
ControllerException
PortalException
IMonitorContext.setEnabled(boolean)
protected void clearServiceInterfaceInstanceCache() throws ControllerException, PortalException
ControllerException
PortalException
protected void renderServiceInterfaceInstance() throws ControllerException, PortalException
ControllerException
PortalException
protected void renderOutput(ServiceContainerRenderRequest renderRequest, ServiceContainerRenderResponse renderResponse, Map<String,String> originalMap, ITransaction portalTransaction) throws ServiceException, IOException, PortalException
protected static boolean shouldApplyPathFix(String webResourcePath, String parameterReferer)
webResourcePath
- the WebResource path.parameterReferer
- current browser location.protected void getServiceInterfaceInstanceXmlData() throws ControllerException, PortalException
ControllerException
PortalException
Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.