public interface IServiceInterfaceInstanceManagerSPI extends IServiceInterfaceInstanceManager, IConfigKeyChecker
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.
|
Collection<String> |
getIdsByBaseServiceInterfaceInstance(SessionConfig sessionConfig,
String serviceInterfaceInstanceId,
ITransaction transaction)
Returns the identifiers of derived interface instances that derives from the interface instance with the given identifier.
|
ServiceInterfaceInstanceCacheEntry |
getInterfaceInstanceHtmlCache(String serviceInterfaceInstanceId,
IServiceInterfaceRenderRequest request,
ITransaction transaction)
Get the HTML Cache of the Interface Instance.
|
String |
getMenuItemXml(SessionConfig sessionConfig,
String serviceInterfaceInstanceId,
ServiceInterfaceMenuLevel menuLevel,
String menuItemId,
ITransaction transaction)
Returns the XML for the menu item in the specified service interface instance and menu level.
|
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, getMenuXml, getOrAddServiceInterfaceRunTimeInstance, getPrintable, getRenderAs, getServiceInterfaceInstanceStyleConfigKeyChecker, getTitle, getXmlData, serialize, serializeCustomProperties, setCustomProperties, setCustomProperty, setInterfaceInstanceHtmlCache, update, updateCustomPropertiesFromTemplate, updatePropertiesFromTemplate
keyExists
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()
String getMenuItemXml(SessionConfig sessionConfig, String serviceInterfaceInstanceId, ServiceInterfaceMenuLevel menuLevel, String menuItemId, ITransaction transaction) throws PortalException
sessionConfig
- the user session information.serviceInterfaceInstanceId
- the identifier of the service interface instance.menuLevel
- the menu level.menuItemId
- the menu item identifier.transaction
- transaction for persistence access.PortalException
Collection<String> getIdsByBaseServiceInterfaceInstance(SessionConfig sessionConfig, String serviceInterfaceInstanceId, ITransaction transaction) throws PortalException
sessionConfig
- the user session.serviceInterfaceInstanceId
- the base interface instance identifier.transaction
- the transaction.PortalException
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.