lumis.portal.website
Interface IWebsiteManager

Package class diagram package IWebsiteManager
All Known Subinterfaces:
IWebsiteManagerSPI
All Known Implementing Classes:
WebsiteManager

@StableMinor(version="6.2",
             sinceVersion="6.2")
public interface IWebsiteManager

Provides high-level operations on portal websites.

Since:
6.2.0

Method Summary
 IWebsiteBaseURL getWebsiteBaseURL(HttpServletRequest request)
          Returns the website's base URL that a request corresponds to.
 

Method Detail

getWebsiteBaseURL

IWebsiteBaseURL getWebsiteBaseURL(HttpServletRequest request)
                                  throws PortalException
Returns the website's base URL that a request corresponds to.

If the request does not correspond to any configured website base URL but there is a website configured as default, a website base URL will be dynamically generated and returned, referencing the default website in IWebsiteBaseURL.getWebsite(), as if it was an additional base URL of the default website.

If the request does not corresponds to any configured website base URL and there is no website configured as default, null is returned.

Parameters:
request - the request.
Returns:
the website base URL, or null if no website base URL corresponds to the request.
Throws:
PortalException
Since:
6.2.0


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