lumis.service.portalmanagement.xsleditor
Class XsltResultControllerHtml

Package class diagram package XsltResultControllerHtml
java.lang.Object
  extended by lumis.portal.controller.ControllerHtml
      extended by lumis.portal.presentation.PresentationControllerHtml
          extended by lumis.service.portalmanagement.xsleditor.XsltResultControllerHtml

public class XsltResultControllerHtml
extends PresentationControllerHtml

Provides interface XSL transformations via http requests.

Since:
4.0.0

Field Summary
protected  String interfaceInstanceId
           
 
Fields inherited from class lumis.portal.presentation.PresentationControllerHtml
browserInfo, channelConfig, dataPreviewMode, executedProcessActionServiceInterfaceInstanceId, highlightInterfaceInst, isPrinting, isSafeRenderMode, mode, multiPartFormFileParameters, multiPartFormParameters, multiPartFormServiceInterfaceInstance, navigationLogger, navigationPaneHidden, pageConfig, pageWebResourceData, parameters, parentChannelIds, previousParametersXmlString, processActionRedirectDestination, rawRequestInputFile, resource, rootChannelId, serviceContainer, splitterPosition, uploadDir, webResource
 
Fields inherited from class lumis.portal.controller.ControllerHtml
out, request, response, sessionConfig, userConfig
 
Constructor Summary
XsltResultControllerHtml(HttpServletRequest request, HttpServletResponse response, PageContext pageContext)
           
 
Method Summary
 void renderPage()
          Renders a portal page.
protected  void renderPageUserMode(ITransaction portalTransaction)
          Render the page in UserMode.
 void renderXsltResult(ITransaction portalTransaction)
           
protected  void setPageMode(ITransaction portalTransaction)
          Sets the Page Mode.
protected  void setWebResource(ITransaction transaction)
          Sets PresentationControllerHtml.webResource with the web resource instance for the current request.
 
Methods inherited from class lumis.portal.presentation.PresentationControllerHtml
addMultiPartFormParameter, checkForFileUpload, checkForProtocolRedirect, forward, generateAdminClientLocalizer, generateSpan, generateStyles, getGeneratorPageCacheId, getPageLayout, hasProcessAction, isChannelInPath, prepareForPageRendering, processActionIfRequired, renderAdminHeader, renderAdministrationMenu, renderAdminModePageHeaderScripts, renderNavigationPane, renderPageAdminMode, renderPageDocType, renderPageForm, renderPageHeaderScripts, renderPageLayoutAdminMode, renderPageLayoutUserMode, renderPageLayoutUserModeUsingTableless, renderPageLayoutUserModeUsingTables, renderPageLinks, renderPageMetaTags, renderPageTitle, renderSplitter, renderWorkPane, setBrowserInfo, setDataPreviewMode, setPageInfo, validatePageAccess
 
Methods inherited from class lumis.portal.controller.ControllerHtml
deleteCookie, getCookie, getRequestMode, getSessionConfig, loadUserInfo, setCookie
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

interfaceInstanceId

protected String interfaceInstanceId
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 be PortalContext.MODE_ADMIN, or PortalContext.MODE_USER. If in PortalContext.MODE_ADMIN, the mode is stored in a cookie named lumMode. If not the cookie is deleted.

Overrides:
setPageMode in class PresentationControllerHtml
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 PresentationControllerHtml.renderPageAdminMode(lumis.util.ITransaction)or PresentationControllerHtml.renderPage()

Overrides:
renderPage in class PresentationControllerHtml
Throws:
ControllerException
PortalException

setWebResource

protected void setWebResource(ITransaction transaction)
                       throws PortalException
Sets PresentationControllerHtml.webResource with the web resource instance for the current request.

Overrides:
setWebResource in class PresentationControllerHtml
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 class PresentationControllerHtml
Throws:
ControllerException
PortalException

renderXsltResult

public void renderXsltResult(ITransaction portalTransaction)
                      throws ControllerException,
                             PortalException
Throws:
ControllerException
PortalException


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.