lumis.portal.presentation.perspective
Interface IModeURLProvider

Package class diagram package IModeURLProvider
All Superinterfaces:
Serializable
All Known Implementing Classes:
AutoAdministrationModeURLProvider, DefaultModeURLProvider

public interface IModeURLProvider
extends Serializable

Interface responsible for generating the URL that should be called when the user decides to change the portal to the mode.

Since:
7.0.0

Method Summary
 String generateURL(PageWebResource webresource, HttpServletRequest httpServletRequest)
          Generates and returns the url to be called when a portal mode is selected.
 

Method Detail

generateURL

String generateURL(PageWebResource webresource,
                   HttpServletRequest httpServletRequest)
                   throws PortalException
Generates and returns the url to be called when a portal mode is selected. If null is returned, the portal will assume that it should remain on the same page.

Parameters:
webresource - the webresource of the current request.
httpServletRequest - servlet request for the generation of the url.
Returns:
the url to be called when a portal mode is selected. If null is returned, it is assumed that the mode is disabled.
Throws:
PortalException
Since:
7.0.0


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