Class XsltResultControllerHtml
- java.lang.Object
-
- lumis.portal.controller.ControllerHtml
-
- lumis.portal.presentation.PresentationControllerHtml
-
- lumis.service.portalmanagement.xsleditor.XsltResultControllerHtml
-
public class XsltResultControllerHtml extends PresentationControllerHtml
Provides interface XSL transformations via http requests.- Since:
- 4.0.0
- Version:
- $Revision: 24950 $ $Date: 2022-04-14 13:57:29 -0300 (Thu, 14 Apr 2022) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
XsltResultControllerHtml.XsltResultPageRenderer
Page renderer implementation use in the XSL editor.-
Nested classes/interfaces inherited from class lumis.portal.presentation.PresentationControllerHtml
PresentationControllerHtml.DataPreviewMode, PresentationControllerHtml.PresentationPageRenderer
-
-
Field Summary
-
Fields inherited from class lumis.portal.presentation.PresentationControllerHtml
ATTRIBUTE_ORIGINAL_URI, browserInfo, channelConfig, channelPath, CONTENT_IS_NOT_PUBLISHED_ERROR_REASON, dataPreviewMode, ERROR_REASON_HEADER_NAME, executedProcessActionServiceInterfaceInstanceId, highlightInterfaceInst, isPrinting, isSafeRenderMode, multiPartFormFileParameters, multiPartFormParameters, multiPartFormServiceInterfaceInstance, navigationPaneHidden, pageConfig, pageRenderer, pageWebResourceData, parameters, parentChannelIds, portalMode, previousParametersXmlString, processActionRedirectDestination, rawRequestInputFile, replaceInterfacesStorage, resource, rootChannel, serviceContainer, splitterPosition, uploadDir, webResource
-
Fields inherited from class lumis.portal.controller.ControllerHtml
out, request, response, sessionConfig, userConfig
-
-
Constructor Summary
Constructors Constructor Description XsltResultControllerHtml(HttpServletRequest request, HttpServletResponse response, PageContext pageContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
renderPage()
Renders a portal page.protected void
renderPageUserMode(ITransaction portalTransaction)
Render the page in UserMode.protected void
setPageMode(ITransaction portalTransaction)
Sets the Page Mode.protected void
setWebResource(ITransaction transaction)
SetsPresentationControllerHtml.webResource
with the web resource instance for the current request.-
Methods inherited from class lumis.portal.presentation.PresentationControllerHtml
addMultiPartFormParameter, checkForFileUpload, checkForProtocolRedirect, forward, getGeneratorPageCacheId, getPageWebResourceBeingRendered, hasProcessAction, prepareForPageRendering, processActionIfRequired, renderLayoutFile, renderPagePortalSettingsMode, renderPagePortalStudioMode, renderPagePublisherMode, setBrowserInfo, setDataPreviewMode, setLocale, setPageInfo, setUACompatibleHeader, validatePageAccess
-
Methods inherited from class lumis.portal.controller.ControllerHtml
deleteCookie, getCookie, getRequestMode, getSessionConfig, loadUserInfo, setCookie
-
-
-
-
Constructor Detail
-
XsltResultControllerHtml
public XsltResultControllerHtml(HttpServletRequest request, HttpServletResponse response, PageContext pageContext) throws ControllerException, PortalException
- Throws:
ControllerException
PortalException
-
-
Method Detail
-
setPageMode
protected void setPageMode(ITransaction portalTransaction) throws ControllerException, PortalException
Description copied from class:PresentationControllerHtml
Sets the Page Mode. This could either bePortalContext.MODE_ADMIN
, orPortalContext.MODE_USER
.- Overrides:
setPageMode
in classPresentationControllerHtml
- Throws:
ControllerException
PortalException
-
renderPage
public void renderPage() throws ControllerException, PortalException
Description copied from class:PresentationControllerHtml
Renders a portal page. Based on the logged on user, pageId passed and channelId passed in the request query string, this method calculates and renders the appropriate page. This method also checks if there is a ProcessAction to be handled before rendering the page. Based on the page mode, this method either calls#renderPageAdminMode
orPresentationControllerHtml.renderPage()
- Overrides:
renderPage
in classPresentationControllerHtml
- Throws:
ControllerException
PortalException
-
setWebResource
protected void setWebResource(ITransaction transaction) throws PortalException
SetsPresentationControllerHtml.webResource
with the web resource instance for the current request.- Overrides:
setWebResource
in classPresentationControllerHtml
- Parameters:
transaction
- transaction for persistence access.- Throws:
PortalException
- Since:
- 5.0.0
-
renderPageUserMode
protected void renderPageUserMode(ITransaction portalTransaction) throws ControllerException, PortalException
Description copied from class:PresentationControllerHtml
Render the page in UserMode.- Overrides:
renderPageUserMode
in classPresentationControllerHtml
- Throws:
ControllerException
PortalException
-
-