public interface IPageLinkManagerSPI extends IPageLinkManager
IPageLinkManager
for internal
uses.Modifier and Type | Method and Description |
---|---|
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) . |
List<PageLinkConfig> |
getByTypeAndWebsiteIdentifier(SessionConfig sessionConfig,
int type,
String websiteId,
ITransaction transaction)
Returns the list of
page links with the given type
and website identifier. |
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 |
getDefaultErrorPage(SessionConfig sessionConfig,
IWebsiteBaseURL websiteBaseURL,
PortalRequestContext requestContext,
ITransaction transaction)
Returns the most appropriate error page, based on the given website base URL.
|
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.
|
add, delete, get, getByPageId, getByTypeAndWebsite, getByTypeWebsiteAndChannelId, getDefaultHomePage, getDefaultLoginPage, update
@Deprecated PageLinkConfig getByTypeAndWebsite(SessionConfig sessionConfig, int type, String website, PortalRequestContext requestContext, ITransaction transaction) throws PortalException
getDefaultLoginPage(SessionConfig, IWebsiteBaseURL, String, PortalRequestContext, ITransaction)
and
getDefaultHomePage(SessionConfig, IWebsiteBaseURL, PortalRequestContext, ITransaction)
.IPageLinkManager.getByTypeWebsiteAndChannelId(SessionConfig, int, String, String, ITransaction)
method with null as the destination channelId.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.PageLinkConfig
PortalException
- if any other error occurs during the process.@Deprecated PageLinkConfig getByTypeWebsiteAndChannelId(SessionConfig sessionConfig, int type, String website, String channelId, PortalRequestContext requestContext, ITransaction transaction) throws PortalException
getDefaultLoginPage(SessionConfig, IWebsiteBaseURL, String, PortalRequestContext, ITransaction)
and
getDefaultHomePage(SessionConfig, IWebsiteBaseURL, PortalRequestContext, ITransaction)
.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.PortalException
- if any other error occurs during the process.PageLinkConfig getDefaultLoginPage(SessionConfig sessionConfig, IWebsiteBaseURL websiteBaseURL, String channelId, PortalRequestContext requestContext, ITransaction transaction) throws PortalException
In order to choose the page link the following criteria are used:
channelId
argument.
If no matching page link is found, return null
.
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.PortalException
- if any other error occurs during the process.PageLinkConfig getDefaultHomePage(SessionConfig sessionConfig, IWebsiteBaseURL websiteBaseURL, PortalRequestContext requestContext, ITransaction transaction) throws PortalException
In order to choose the page link the following criteria are used:
If no matching page link is found, return null
.
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.PortalException
- if any other error occurs during the process.List<PageLinkConfig> getByTypeAndWebsiteIdentifier(SessionConfig sessionConfig, int type, String websiteId, ITransaction transaction) throws PortalException
page links
with the given type
and website identifier.sessionConfig
- the user's session.type
- the type.websiteId
- the website identifier.transaction
- the transaction.page links
with the given type
and website identifier.PortalException
PageLinkConfig getDefaultErrorPage(SessionConfig sessionConfig, IWebsiteBaseURL websiteBaseURL, PortalRequestContext requestContext, ITransaction transaction) throws PortalException
In order to choose the page link the following criteria are used:
If no matching page link is found, return null
.
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.null
if none matches the search criteria.PortalException
- if any error occurs during the persisting process.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.