lumis.portal.page.link
Interface IPageLinkManagerSPI

Package class diagram package IPageLinkManagerSPI
All Superinterfaces:
IPageLinkManager
All Known Implementing Classes:
PageLinkManager

public interface IPageLinkManagerSPI
extends IPageLinkManager

This interface is a extension of IPageLinkManager for internal uses.

Since:
6.0.0

Method Summary
 PageLinkConfig getByTypeAndWebsite(SessionConfig sessionConfig, int type, String website, PortalRequestContext requestContext, ITransaction transaction)
          Deprecated. Since 6.2.0 this method was specialized and replaced by getDefaultLoginPage(SessionConfig, IWebsiteBaseURL, String, PortalRequestContext, ITransaction) and getDefaultHomePage(SessionConfig, IWebsiteBaseURL, PortalRequestContext, ITransaction).
 PageLinkConfig getByTypeWebsiteAndChannelId(SessionConfig sessionConfig, int type, String website, String channelId, PortalRequestContext requestContext, ITransaction transaction)
          Deprecated. Since 6.2.0 this method was specialized and replaced by getDefaultLoginPage(SessionConfig, IWebsiteBaseURL, String, PortalRequestContext, ITransaction) and getDefaultHomePage(SessionConfig, IWebsiteBaseURL, PortalRequestContext, ITransaction) .
 PageLinkConfig getDefaultHomePage(SessionConfig sessionConfig, IWebsiteBaseURL websiteBaseURL, PortalRequestContext requestContext, ITransaction transaction)
          Returns the most appropriate home page is identified based on the website, priority and Context Rules.
 PageLinkConfig getDefaultLoginPage(SessionConfig sessionConfig, IWebsiteBaseURL websiteBaseURL, String channelId, PortalRequestContext requestContext, ITransaction transaction)
          Returns the most appropriate login page is identified based on the website, priority, Context Rules and destination channel identifier.
 
Methods inherited from interface lumis.portal.page.link.IPageLinkManager
add, delete, get, getByPageId, getByTypeAndWebsite, getByTypeWebsiteAndChannelId, getDefaultHomePage, getDefaultLoginPage, update
 

Method Detail

getByTypeAndWebsite

@Deprecated
PageLinkConfig getByTypeAndWebsite(SessionConfig sessionConfig,
                                              int type,
                                              String website,
                                              PortalRequestContext requestContext,
                                              ITransaction transaction)
                                   throws PortalException
Deprecated. Since 6.2.0 this method was specialized and replaced by getDefaultLoginPage(SessionConfig, IWebsiteBaseURL, String, PortalRequestContext, ITransaction) and getDefaultHomePage(SessionConfig, IWebsiteBaseURL, PortalRequestContext, ITransaction).

This method calls the IPageLinkManager.getByTypeWebsiteAndChannelId(SessionConfig, int, String, String, ITransaction) method with null as the destination channelId.

Parameters:
sessionConfig - the session identifier of the current user.
type - the page link type.
website - the website that the user is accessing.
requestContext - the list of all request context.
transaction - the current transaction.
Returns:
a PageLinkConfig. The calculated (PageLinkConfig
Throws:
PortalException - if any other error occurs during the process.
Since:
6.0.0

getByTypeWebsiteAndChannelId

@Deprecated
PageLinkConfig getByTypeWebsiteAndChannelId(SessionConfig sessionConfig,
                                                       int type,
                                                       String website,
                                                       String channelId,
                                                       PortalRequestContext requestContext,
                                                       ITransaction transaction)
                                            throws PortalException
Deprecated. Since 6.2.0 this method was specialized and replaced by getDefaultLoginPage(SessionConfig, IWebsiteBaseURL, String, PortalRequestContext, ITransaction) and getDefaultHomePage(SessionConfig, IWebsiteBaseURL, PortalRequestContext, ITransaction) .

The most appropriate page link is identified based on the website (or URL Rules of the website), type, priority, Context Rules and destination channelId. In order to calculate the page link the following criteria are used: If no matching pagelink is found return null.

Parameters:
sessionConfig - the session identifier of the current user.
type - the page link type.
website - the website that the user is accessing.
channelId - The destination channel identifier.
requestContext - the list of all request context.
transaction - the current transaction.
Returns:
The calculated page link.
Throws:
PortalException - if any other error occurs during the process.

getDefaultLoginPage

PageLinkConfig getDefaultLoginPage(SessionConfig sessionConfig,
                                   IWebsiteBaseURL websiteBaseURL,
                                   String channelId,
                                   PortalRequestContext requestContext,
                                   ITransaction transaction)
                                   throws PortalException
Returns the most appropriate login page is identified based on the website, priority, Context Rules and destination channel identifier.

In order to choose the page link the following criteria are used:

If no matching page link is found, return null.

Parameters:
sessionConfig - the session identifier of the current user.
websiteBaseURL - the IWebsiteBaseURL that the user is accessing.
channelId - The destination channel identifier.
requestContext - the list of all request context.
transaction - the current transaction.
Returns:
The calculated page link.
Throws:
PortalException - if any other error occurs during the process.
Since:
6.2.0

getDefaultHomePage

PageLinkConfig getDefaultHomePage(SessionConfig sessionConfig,
                                  IWebsiteBaseURL websiteBaseURL,
                                  PortalRequestContext requestContext,
                                  ITransaction transaction)
                                  throws PortalException
Returns the most appropriate home page is identified based on the website, priority and Context Rules.

In order to choose the page link the following criteria are used:

If no matching page link is found, return null.

Parameters:
sessionConfig - the session identifier of the current user.
websiteBaseURL - the IWebsiteBaseURL that the user is accessing.
requestContext - the list of all request context.
transaction - the current transaction.
Returns:
The calculated page link.
Throws:
PortalException - if any other error occurs during the process.
Since:
6.2.0


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