public class PageCacheUtil extends Object
Constructor and Description |
---|
PageCacheUtil() |
Modifier and Type | Method and Description |
---|---|
static PageConfig |
getPageByPageCache(SessionConfig sessionConfig,
PageCacheConfig pageCacheConfig,
ITransaction transaction)
Returns the page that will be rendered when accessing a web resource.
|
static boolean |
isIncludedInAutomaticBulkExpiration(PageCacheConfig pageCacheConfig)
Returns whether the given page cache is included in automatic bulk operation.
|
public static PageConfig getPageByPageCache(SessionConfig sessionConfig, PageCacheConfig pageCacheConfig, ITransaction transaction) throws PortalException
sessionConfig
- the user session information.pageCacheConfig
- the page cache config.transaction
- the transaction for persistence access.PortalObjectNotFoundException
- if no page was found for the
specified web resource.IllegalArgumentException
- if webResource
is of an
unsupported class.PortalException
public static boolean isIncludedInAutomaticBulkExpiration(PageCacheConfig pageCacheConfig)
pageCacheConfig
- the page cache.Lumisportal 10.3.0.171201 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.