|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IXslCacheManager
Method Summary | |
---|---|
void |
add(SessionConfig sessionConfig,
XslCacheConfig xslCacheConfig,
ITransaction transaction)
Add a cache of the XSL. |
void |
clearXslCache(ITransaction transaction)
Clears all XSL cache. |
void |
clearXslCache(SessionConfig sessionConfig,
String fileName,
ITransaction transaction)
Clear the cache for the specified xsl file. |
void |
clearXslConfigCache(SessionConfig sessionConfig,
ITransaction transaction)
Clear the XslConfigCache. |
void |
clearXslConfigCache(SessionConfig sessionConfig,
String fileName,
ITransaction transaction)
Clear the XslConfigCache. |
Transformer |
createTransformer(String fileName)
Get a Transformer. |
Transformer |
createTransformer(String xslStringDocument,
String URIResolverPath)
Creates a transformer for a specified XSL document string. |
void |
delete(SessionConfig sessionConfig,
String fileName,
ITransaction transaction)
Delete de cache of the XSL. |
XslCacheConfig |
get(SessionConfig sessionConfig,
String fileName,
ITransaction transaction)
Get the XslCacheConfig. |
boolean |
getDefaultCache()
Get the default cache. |
Transformer |
getTransformer(SessionConfig sessionConfig,
String fileName,
ITransaction transaction)
Get a Transformer. |
boolean |
isXslCached(String fileName)
Verify if the xsl file is cached. |
void |
setDefaultCache(boolean enable)
Set the default cache. |
void |
update(SessionConfig sessionConfig,
XslCacheConfig xslCacheConfig,
ITransaction transaction)
Update the cache of the XSL. |
Method Detail |
---|
void setDefaultCache(boolean enable)
enable
- boolean getDefaultCache()
void add(SessionConfig sessionConfig, XslCacheConfig xslCacheConfig, ITransaction transaction) throws PortalException, ManagerException
sessionConfig
- xslCacheConfig
- transaction
-
PortalException
ManagerException
void delete(SessionConfig sessionConfig, String fileName, ITransaction transaction) throws PortalException, ManagerException
sessionConfig
- fileName
- transaction
-
PortalException
ManagerException
void update(SessionConfig sessionConfig, XslCacheConfig xslCacheConfig, ITransaction transaction) throws PortalException, ManagerException
sessionConfig
- xslCacheConfig
- transaction
-
PortalException
ManagerException
XslCacheConfig get(SessionConfig sessionConfig, String fileName, ITransaction transaction) throws PortalException, ManagerException
sessionConfig
- fileName
- transaction
-
PortalException
ManagerException
void clearXslConfigCache(SessionConfig sessionConfig, String fileName, ITransaction transaction) throws PortalException, ManagerException
sessionConfig
- fileName
- transaction
-
PortalException
ManagerException
void clearXslConfigCache(SessionConfig sessionConfig, ITransaction transaction) throws PortalException, ManagerException
sessionConfig
- transaction
-
PortalException
ManagerException
Transformer getTransformer(SessionConfig sessionConfig, String fileName, ITransaction transaction) throws PortalException, ManagerException
sessionConfig
- fileName
- transaction
-
PortalException
ManagerException
Transformer createTransformer(String fileName) throws PortalException
sessionConfig
- fileName
- transaction
-
PortalException
ManagerException
void clearXslCache(SessionConfig sessionConfig, String fileName, ITransaction transaction) throws PortalException, ManagerException
sessionConfig
- the user session information.fileName
- the xsl file path.transaction
- the transaction for persistence access.
PortalException
ManagerException
void clearXslCache(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 isXslCached(String fileName)
fileName
- the xsl file path.
Transformer createTransformer(String xslStringDocument, String URIResolverPath) throws PortalException
xslStringDocument
- URIResolverPath
-
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |