public interface IServiceInterfaceInstanceManagerSPI extends IServiceInterfaceInstanceManager
Modifier and Type | Method and Description |
---|---|
void |
clearHtmlCache(String serviceInterfaceInstanceId)
Clears the HTML cache of a service interface instance.
|
void |
clearInterfaceInstanceCacheKeyProviderCache()
Clears the cache for interface instance cache key provider classes.
|
void |
clearTimeoutCache(String serviceInterfaceInstanceId,
ITransaction transaction)
Clears the cache for the timeout cache value.
|
String |
generateMenu(Node menuDefinition,
IMenuItemParser menuItemParser,
Element defaultMenu)
Generates a configuration menu XML definition for use by Portal Studio.
|
ServiceInterfaceInstanceCacheEntry |
getInterfaceInstanceHtmlCache(String serviceInterfaceInstanceId,
IServiceInterfaceRenderRequest request,
ITransaction transaction)
Get the HTML Cache of the Interface Instance.
|
void |
setInterfaceInstanceHtmlCache(String serviceInterfaceInstanceId,
IServiceInterfaceRenderRequest request,
String serviceInterfaceInstanceHtml,
Map<PortalPrintWriter.WritePosition,LinkedHashMap<String,String>> headWrites,
ITransaction transaction)
Set the HTML Cache of the Interface Instance.
|
add, addOrUpdate, clearCache, clearCache, copy, delete, deleteCustomProperties, deleteCustomProperty, deserialize, deserializeCustomProperties, get, getCacheLevel, getCachePersonalization, getCacheServerSideInclude, getCustomProperties, getCustomProperty, getDisplayName, getEnableCache, getIdsByPageId, getIdsByServiceInstanceId, getIdsByServiceInstanceId, getIdsByServiceInterfaceId, getIdsByServiceInterfaceId, getIdsByServiceInterfaceIdAndServiceInstanceId, getIdsByServiceInterfaceIdAndServiceInstanceId, getIdsByServiceInterfaceStyleId, getInterfaceInstanceHtmlCache, getMenu, getOrAddServiceInterfaceRunTimeInstance, getPrintable, getRenderAs, getServiceInterfaceInstanceStyleConfigKeyChecker, getTitle, getXmlData, serialize, serializeCustomProperties, setCustomProperties, setCustomProperty, setInterfaceInstanceHtmlCache, update, updateCustomPropertiesFromTemplate, updatePropertiesFromTemplate
void setInterfaceInstanceHtmlCache(String serviceInterfaceInstanceId, IServiceInterfaceRenderRequest request, String serviceInterfaceInstanceHtml, Map<PortalPrintWriter.WritePosition,LinkedHashMap<String,String>> headWrites, ITransaction transaction) throws BusinessContextNotEnabledForCurrentChannelException, BusinessContextPropertyNotFoundException, CacheKeyProviderClassNotFoundException, PortalException
serviceInterfaceInstanceId
- the id of the cache that should be used.request
- the request from which the cache key will be extracted.serviceInterfaceInstanceHtml
- html to cache.headWrites
- the head before writes to be cached.transaction
- in which the method should participate.BusinessContextNotEnabledForCurrentChannelException
- if the business context has not been enabled/selected in the serviceInterfaceInstance channel.BusinessContextPropertyNotFoundException
- if the property to use as cache was not found in the current BusinessContext.CacheKeyProviderClassNotFoundException
- if IInterfaceInstanceCacheKeyProvider
implementation class is not available during runtime.PortalException
ServiceInterfaceInstanceCacheEntry getInterfaceInstanceHtmlCache(String serviceInterfaceInstanceId, IServiceInterfaceRenderRequest request, ITransaction transaction) throws BusinessContextNotEnabledForCurrentChannelException, BusinessContextPropertyNotFoundException, CacheKeyProviderClassNotFoundException, PortalException
serviceInterfaceInstanceId
- the id of the cache that should be used.request
- the request from which the cache key will be extracted.transaction
- in which the method should participate.BusinessContextNotEnabledForCurrentChannelException
- if the business context has not been enabled/selected in the serviceInterfaceInstance channel.BusinessContextPropertyNotFoundException
- if the property to use as cache was not found in the current BusinessContext.CacheKeyProviderClassNotFoundException
- if IInterfaceInstanceCacheKeyProvider
implementation class is not available during runtime.PortalException
void clearTimeoutCache(String serviceInterfaceInstanceId, ITransaction transaction) throws PortalException
serviceInterfaceInstanceId
- of which the timeout has changed.transaction
- in which the method should participate.PortalException
void clearHtmlCache(String serviceInterfaceInstanceId) throws PortalException
serviceInterfaceInstanceId
- the service interface instance identifier.PortalException
String generateMenu(Node menuDefinition, IMenuItemParser menuItemParser, Element defaultMenu) throws PortalException
menuDefinition
- the menu to be included.menuItemParser
- the parser is able to process menu items.defaultMenu
- the default menu definition.PortalException
- if the menu cannot be generated.void clearInterfaceInstanceCacheKeyProviderCache()
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.