Package | Description |
---|---|
lumis.portal.theme |
Contains the portal themes feature implementation.
|
lumis.portal.url |
Manages the resolution of page URLs.
|
lumis.portal.xslcache |
Modifier and Type | Interface and Description |
---|---|
interface |
IThemeSPI
Theme service provider interface.
|
Modifier and Type | Method and Description |
---|---|
Collection<ITheme> |
ThemeManager.getAllThemes()
Returns all existent themes.
|
List<ITheme> |
IThemeProvider.getThemes()
Returns the list of themes that should be used.
|
List<ITheme> |
ThemeManager.getThemes(PageWebResource pageWebResource)
Returns the applied themes in the given page.
|
Modifier and Type | Method and Description |
---|---|
void |
ThemeManager.copyThemesFilesToWebRoots(Collection<? extends ITheme> themes,
Collection<IWebRootPortalBaseFolder> webRoots)
Copies the given themes' WWW resources to the given web root folders.
|
String |
ThemeManager.processThemePathReferences(String htmlContent,
List<? extends ITheme> themes)
Process the given HTML fragment to replace the themes' resources.
|
void |
ThemeManager.removeThemeFolderFromWebRoots(Collection<? extends ITheme> themes,
Collection<IWebRootPortalBaseFolder> webRoots)
Removes the given themes' folders from the given web root folders.
|
static String |
ThemeUtil.resolveLayoutFilePath(String layoutFilePath,
List<? extends ITheme> themes)
Resolves the layout file path with the given applied themes applying the following rules:
If the appliedThemes parameter is null or if it is empty the original resource path will be returned
The given resource will be searched through the applied themes' resource (under IThemeSPI.ResourceFolder.DEF )If the resource was found in any applied theme, the resolved resource will be compound as: |
static String |
ThemeUtil.resolveWWWResourcePath(String resourcePath,
List<? extends ITheme> themes)
Resolves the resources' paths with the given applied themes applying the following rules:
If the resource path start with no theme prefix , then the returned resource path will be the original one without the
prefix
If the appliedThemes parameter is null or if it is empty the original resource path will be returned
The given resource will be searched through the applied themes' resource (under IThemeSPI.ResourceFolder.WWW )If the resource was found in any applied theme, the resolved resource will be compound as: <theme www prefix> is ThemeManager.THEME_WWW_RESOURCE_PREFIX )
If the resource was not found, the original one will be returned
|
Modifier and Type | Method and Description |
---|---|
String |
IURLManager.processHref(String url,
List<ITheme> themes,
String applicationRequestedPath,
Locale locale,
IWebsiteBaseURL websiteBaseURL,
boolean baseSecure)
Processes a URL to be rendered correctly in a portal page.
|
String |
URLManager.processHref(String url,
List<ITheme> themes,
String applicationRequestedPath,
Locale locale,
IWebsiteBaseURL websiteBaseURL,
boolean baseSecure) |
Modifier and Type | Method and Description |
---|---|
Transformer |
IXslCacheManager.createTransformer(String resourcePath,
List<? extends ITheme> themes)
Creates a transformer for a XSL in the specified path, with the given
themes applied.
|
Transformer |
XslCacheManager.createTransformer(String resourcePath,
List<? extends ITheme> themes) |
Transformer |
IXslCacheManager.createTransformer(String xslStringDocument,
String resourcePath,
List<? extends ITheme> themes)
Creates a transformer for a specified XSL document string.
|
Transformer |
XslCacheManager.createTransformer(String xslStringDocument,
String resourcePath,
List<? extends ITheme> themes) |
Transformer |
IXslCacheManager.getTransformer(SessionConfig sessionConfig,
String xslPath,
List<? extends ITheme> themes,
ITransaction transaction)
Returns a transformer for a XSL in the specified path, with the given
themes applied.
|
Transformer |
XslCacheManager.getTransformer(SessionConfig sessionConfig,
String xslPath,
List<? extends ITheme> themes,
ITransaction transaction) |
Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.