public interface IServiceInterfaceStyleManager
Modifier and Type | Method and Description |
---|---|
void |
addStyleCacheConfig(StyleCacheConfig styleCacheConfig)
Add a cache of the style.
|
void |
clearStyleCache(ITransaction transaction)
Clears all style cache.
|
void |
clearStyleCache(String fileName)
Clear the cache for the specified style file.
|
void |
deleteStyleCacheConfig(String fileName)
Delete the cache of the style.
|
IStyle |
getCachedStyle(String stylePath)
Returns the cached version of the style in the given path.
|
IStyle |
getCachedStyle(String stylePath,
List<ITheme> themes)
Returns the cached version of the style in the given path.
|
IStyle |
getDynamicStyle(String stylePath)
Returns the dynamic version of the style in the given path.
|
IStyle |
getDynamicStyle(String stylePath,
List<ITheme> themes)
Returns the dynamic version of the style in the given path.
|
IStyle |
getDynamicStyle(String styleString,
String stylePath,
List<ITheme> themes)
Returns the cached version of the style in the given path.
|
StyleCacheConfig |
getStyleCacheConfig(String fileName)
Get the styleCacheConfig.
|
boolean |
isStyleCached(String fileName)
Verify if the style file is cached.
|
void |
updateStyleCacheConfig(StyleCacheConfig styleCacheConfig)
Update the cache of the style.
|
void addStyleCacheConfig(StyleCacheConfig styleCacheConfig) throws PortalException, ManagerException
sessionConfig
- styleCacheConfig
- transaction
- PortalException
ManagerException
void deleteStyleCacheConfig(String fileName) throws PortalException, ManagerException
sessionConfig
- fileName
- transaction
- PortalException
ManagerException
void updateStyleCacheConfig(StyleCacheConfig styleCacheConfig) throws PortalException, ManagerException
sessionConfig
- styleCacheConfig
- transaction
- PortalException
ManagerException
StyleCacheConfig getStyleCacheConfig(String fileName) throws PortalException, ManagerException
sessionConfig
- fileName
- transaction
- PortalException
ManagerException
void clearStyleCache(String fileName) throws PortalException, ManagerException
sessionConfig
- the user session information.fileName
- the style file path.transaction
- the transaction for persistence access.PortalException
ManagerException
void clearStyleCache(ITransaction transaction) throws PortalException
transaction
- the transaction for persistence access. If null, the cache is just cleared, else it is cleared as a
transactional operation as specified in PortalCache.clear(ITransaction)
.PortalException
boolean isStyleCached(String fileName)
fileName
- the style file path.true
if any variant of the style is being cached, or false
otherwise.IStyle getCachedStyle(String stylePath) throws PortalException
stylePath
- the style path.PortalException
IStyle getCachedStyle(String stylePath, List<ITheme> themes) throws PortalException
stylePath
- the style path.themes
- the list of applied themes.PortalException
IStyle getDynamicStyle(String stylePath) throws PortalException
stylePath
- the style path.PortalException
IStyle getDynamicStyle(String stylePath, List<ITheme> themes) throws PortalException
stylePath
- the style path.themes
- the list of applied themes.PortalException
IStyle getDynamicStyle(String styleString, String stylePath, List<ITheme> themes) throws PortalException
styleString
- the style text.stylePath
- the style path.themes
- the list of applied themes.PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.