public interface IPresentationManagerSPI extends IPresentationManager
IPresentationManager
for internal
uses.PROPERTY_PRESENTATION_OUTPUT_DATE_TIME, PROPERTY_PRESENTATION_OUTPUT_SERVER_ID
Modifier and Type | Method and Description |
---|---|
void |
clearChannelHtmlProcessorsCache(String channelId)
Clears the
IHtmlProcessor cache. |
void |
clearHtmlProcessorsCache()
Clears all HTML processor cache.
|
void |
clearServiceInstanceHtmlProcessorsCache(String serviceInstanceId)
Clears the
IHtmlProcessor cache. |
PageConfig |
getDefaultPage(SessionConfig sessionConfig,
String pageId,
String channelId,
IWebsiteBaseURL websiteBaseURL,
IPortalMode mode,
PortalRequestContext requestContext,
boolean fallbackToFirstWebsitePage,
ITransaction transaction)
Get the default Page.
|
PageConfig |
getDefaultPage(SessionConfig sessionConfig,
String pageId,
String channelId,
IWebsiteBaseURL websiteBaseURL,
IPortalMode mode,
PortalRequestContext requestContext,
ITransaction daoTransaction)
Get the default Page.
|
PageConfig |
getDefaultPage(SessionConfig sessionConfig,
String pageId,
String channelId,
String website,
int mode,
PortalRequestContext requestContext,
ITransaction daoTransaction)
Deprecated.
|
List<IHtmlProcessor> |
getProcessors(PageWebResource webResource)
Returns a list with the
HTML processors for the given web resource . |
getAdministrationBarChannelIds, getDefaultPage, getDefaultPage, resetAdministrationBarChannelIds
@Deprecated PageConfig getDefaultPage(SessionConfig sessionConfig, String pageId, String channelId, String website, int mode, PortalRequestContext requestContext, ITransaction daoTransaction) throws PortalException
getDefaultPage(SessionConfig, String, String, IWebsiteBaseURL, IPortalMode, PortalRequestContext, ITransaction)
.sessionConfig
- the session identifier of the current user.pageId
- The destination page identifier.channelId
- The destination channel identifier.website
- the website base URL that the user is accessing.mode
- the current portal mode.requestContext
- the portal request context map.daoTransaction
- the current transaction.PortalException
PageConfig getDefaultPage(SessionConfig sessionConfig, String pageId, String channelId, IWebsiteBaseURL websiteBaseURL, IPortalMode mode, PortalRequestContext requestContext, ITransaction daoTransaction) throws PortalException
sessionConfig
- the session identifier of the current user.pageId
- The destination page identifier.channelId
- The destination channel identifier.websiteBaseURL
- the IWebsiteBaseURL
that the user is accessing.mode
- the current portal mode.requestContext
- the portal request context map.daoTransaction
- the current transaction.PortalException
PageConfig getDefaultPage(SessionConfig sessionConfig, String pageId, String channelId, IWebsiteBaseURL websiteBaseURL, IPortalMode mode, PortalRequestContext requestContext, boolean fallbackToFirstWebsitePage, ITransaction transaction) throws PortalException
sessionConfig
- the session identifier of the current user.pageId
- The destination page identifier.channelId
- The destination channel identifier.websiteBaseURL
- the IWebsiteBaseURL
that the user is accessing.mode
- the current portal mode.requestContext
- the portal request context map.fallbackToFirstWebsitePage
- if true
, will try to fallback
to first website's page if pageId and channelId not specified and no
applicable PageLinkConfig
exists; otherwise will return null
.transaction
- the current transaction.null
if it was not found.PortalException
List<IHtmlProcessor> getProcessors(PageWebResource webResource) throws PortalException
HTML processors
for the given web resource
.
Based on the given resource, collect all service instances that belongs to services that has HMTL processors
and order them by priority.webResource
- the web resource.HTML processors
for the given web resource
.PortalException
void clearChannelHtmlProcessorsCache(String channelId)
IHtmlProcessor
cache.channelId
- the affected channel identifier.void clearServiceInstanceHtmlProcessorsCache(String serviceInstanceId)
IHtmlProcessor
cache.serviceInstanceId
- the affected service instance identifier.void clearHtmlProcessorsCache()
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.