public interface PortalSiteContentTypeMapper
Modifier and Type | Field and Description |
---|---|
static String |
FOLDER_SYSTEM_TYPE |
static String |
PAGE_SYSTEM_TYPE |
static String |
TEMPLATE_SYSTEM_TYPE |
Modifier and Type | Method and Description |
---|---|
boolean |
isContentTypeFallbackEnabled()
isContentTypeFallbackEnabled - enable content type fallback for missing
system type page, folder, etc.
|
String |
mapContentRequestPath(String serverName,
String contentType,
String requestPath)
mapContentRequestPath - map content request path given previously mapped
content type to external content path; implementation
should return null to indicate no mapping is available.
|
String |
mapContentType(String requestPath)
mapContentType - map request to content type used to select dynamic
pages; implementation should return null to handle
request as page and folder lookup.
|
String |
mapDynamicRequestPath(String serverName,
String contentType,
String requestPath)
mapDynamicRequestPath - map content request path given previously mapped
content type to dynamic page; implementation should
return null to indicate no mapping is available.
|
String |
mapSystemRequestPath(String serverName,
String contentType,
String requestPath)
mapSystemRequestPath - map content request path given previously mapped
content type to existing system page or folder;
implementation should return null to indicate no
mapping is available.
|
String |
mapSystemType(String requestPath)
mapSystemType - map request to system type; implementation should
return null if type is not known.
|
static final String PAGE_SYSTEM_TYPE
static final String TEMPLATE_SYSTEM_TYPE
static final String FOLDER_SYSTEM_TYPE
String mapSystemType(String requestPath)
requestPath
- raw portal request pathboolean isContentTypeFallbackEnabled()
String mapContentType(String requestPath)
requestPath
- raw portal request pathString mapSystemRequestPath(String serverName, String contentType, String requestPath)
serverName
- request server namecontentType
- mapped content typerequestPath
- raw portal request pathString mapDynamicRequestPath(String serverName, String contentType, String requestPath)
serverName
- request server namecontentType
- mapped content typerequestPath
- raw portal request pathString mapContentRequestPath(String serverName, String contentType, String requestPath)
serverName
- request server namecontentType
- mapped content typerequestPath
- raw portal request pathCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.