public interface PortalSiteSessionContext extends Serializable
Modifier and Type | Method and Description |
---|---|
PortalSiteContentTypeMapper |
getContentTypeMapper()
getContentTypeMapper - return PortalSiteContentTypeMapper component instance
|
PageManager |
getPageManager()
getPageManager - return PageManager component instance
|
boolean |
isValid()
isValid - return flag indicating whether this context instance
is valid or if it is stale after being persisted and
reloaded as session state
|
PortalSiteRequestContext |
newRequestContext(Map<String,ProfileLocator> requestProfileLocators,
String requestUserPrincipal)
newRequestContext - create a new request context instance with fallback and history
|
PortalSiteRequestContext |
newRequestContext(Map<String,ProfileLocator> requestProfileLocators,
String requestUserPrincipal,
boolean requestFallback)
newRequestContext - create a new request context instance with history
|
PortalSiteRequestContext |
newRequestContext(Map<String,ProfileLocator> requestProfileLocators,
String requestUserPrincipal,
boolean requestFallback,
boolean useHistory)
newRequestContext - create a new request context instance
|
PortalSiteRequestContext |
newRequestContext(Map<String,ProfileLocator> requestProfileLocators,
String requestUserPrincipal,
boolean requestFallback,
boolean useHistory,
boolean forceReservedVisible,
boolean forceTemplatesAccessible)
newRequestContext - create a new request context instance
|
PortalSiteRequestContext |
newRequestContext(String requestPath,
String requestServerName,
String requestUserPrincipal)
newRequestContext - create a new request context instance without profiling
support with fallback and history
|
PortalSiteRequestContext |
newRequestContext(String requestPath,
String requestServerName,
String requestUserPrincipal,
boolean requestFallback)
newRequestContext - create a new request context instance without profiling
support with history
|
PortalSiteRequestContext |
newRequestContext(String requestPath,
String requestServerName,
String requestUserPrincipal,
boolean requestFallback,
boolean useHistory)
newRequestContext - create a new request context instance without profiling
support
|
PortalSiteRequestContext |
newRequestContext(String requestPath,
String requestServerName,
String requestUserPrincipal,
boolean requestFallback,
boolean useHistory,
boolean forceTemplatesAccessible)
newRequestContext - create a new request context instance without profiling
support
|
PortalSiteRequestContext newRequestContext(Map<String,ProfileLocator> requestProfileLocators, String requestUserPrincipal)
requestProfileLocators
- request profile locatorsrequestUserPrincipal
- request user principalPortalSiteRequestContext newRequestContext(Map<String,ProfileLocator> requestProfileLocators, String requestUserPrincipal, boolean requestFallback)
requestProfileLocators
- request profile locatorsrequestUserPrincipal
- request user principalrequestFallback
- flag specifying whether to fallback to root folder
if locators do not select a page or access is forbiddenPortalSiteRequestContext newRequestContext(Map<String,ProfileLocator> requestProfileLocators, String requestUserPrincipal, boolean requestFallback, boolean useHistory)
requestProfileLocators
- request profile locatorsrequestUserPrincipal
- request user principalrequestFallback
- flag specifying whether to fallback to root folder
if locators do not select a page or access is forbiddenuseHistory
- flag indicating whether to use visited page
history to select default page per site folderPortalSiteRequestContext newRequestContext(Map<String,ProfileLocator> requestProfileLocators, String requestUserPrincipal, boolean requestFallback, boolean useHistory, boolean forceReservedVisible, boolean forceTemplatesAccessible)
requestProfileLocators
- request profile locatorsrequestUserPrincipal
- request user principalrequestFallback
- flag specifying whether to fallback to root folder
if locators do not select a page or access is forbiddenuseHistory
- flag indicating whether to use visited page
history to select default page per site folderforceReservedVisible
- force reserved/hidden folders visible in site viewforceTemplatesAccessible
- force templates accessible to requests in site viewPortalSiteRequestContext newRequestContext(String requestPath, String requestServerName, String requestUserPrincipal)
requestPath
- request pathrequestServerName
- request server namerequestUserPrincipal
- request user principalPortalSiteRequestContext newRequestContext(String requestPath, String requestServerName, String requestUserPrincipal, boolean requestFallback)
requestPath
- request pathrequestServerName
- request server namerequestUserPrincipal
- request user principalrequestFallback
- flag specifying whether to fallback to root folder
if locators do not select a page or access is forbiddenPortalSiteRequestContext newRequestContext(String requestPath, String requestServerName, String requestUserPrincipal, boolean requestFallback, boolean useHistory)
requestPath
- request pathrequestServerName
- request server namerequestUserPrincipal
- request user principalrequestFallback
- flag specifying whether to fallback to root folder
if locators do not select a page or access is forbiddenuseHistory
- flag indicating whether to use visited page
history to select default page per site folderPortalSiteRequestContext newRequestContext(String requestPath, String requestServerName, String requestUserPrincipal, boolean requestFallback, boolean useHistory, boolean forceTemplatesAccessible)
requestPath
- request pathrequestServerName
- request server namerequestUserPrincipal
- request user principalrequestFallback
- flag specifying whether to fallback to root folder
if locators do not select a page or access is forbiddenuseHistory
- flag indicating whether to use visited page
history to select default page per site folderforceTemplatesAccessible
- force templates accessible to requests in site viewPageManager getPageManager()
PortalSiteContentTypeMapper getContentTypeMapper()
boolean isValid()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.