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, java.lang.String website, PortalRequestContext requestContext, ITransaction transaction)
          This method calls the IPageLinkManager.getByTypeWebsiteAndChannelId(SessionConfig, int, String, String, ITransaction) method with null as the destination channelId.
 PageLinkConfig getByTypeWebsiteAndChannelId(SessionConfig sessionConfig, int type, java.lang.String website, java.lang.String channelId, PortalRequestContext requestContext, ITransaction transaction)
          The most appropriate page link is identified based on the type, website, destination channelId and context.
 
Methods inherited from interface lumis.portal.page.link.IPageLinkManager
add, delete, get, getByPageId, getByTypeAndWebsite, getByTypeWebsiteAndChannelId, update
 

Method Detail

getByTypeAndWebsite

PageLinkConfig getByTypeAndWebsite(SessionConfig sessionConfig,
                                   int type,
                                   java.lang.String website,
                                   PortalRequestContext requestContext,
                                   ITransaction transaction)
                                   throws PortalException
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
Since:
6.0.0

getByTypeWebsiteAndChannelId

PageLinkConfig getByTypeWebsiteAndChannelId(SessionConfig sessionConfig,
                                            int type,
                                            java.lang.String website,
                                            java.lang.String channelId,
                                            PortalRequestContext requestContext,
                                            ITransaction transaction)
                                            throws PortalException
The most appropriate page link is identified based on the type, website, destination channelId and context. 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
Since:
6.0.0


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