lumis.portal.serviceinterfaceinstance
Interface IServiceInterfaceInstanceManagerSPI

Package class diagram package IServiceInterfaceInstanceManagerSPI
All Superinterfaces:
IServiceInterfaceInstanceManager
All Known Implementing Classes:
ServiceInterfaceInstanceManager

public interface IServiceInterfaceInstanceManagerSPI
extends IServiceInterfaceInstanceManager

Service Provider Interface for the ServiceInterfaceInstanceManager. This interface contains methods that should not be accessible to the solutions, restricting its methods solely to the portal.

Since:
7.0.0

Method Summary
 void clearTimeoutCache(String serviceInterfaceInstanceId, ITransaction transaction)
          Clears the cache for the timeout cache value.
 String getInterfaceInstanceHtmlCache(String serviceInterfaceInstanceId, IServiceInterfaceRenderRequest request, ITransaction transaction)
          Get the HTML Cache of the Interface Instance.
 void setInterfaceInstanceHtmlCache(String serviceInterfaceInstanceId, IServiceInterfaceRenderRequest request, String serviceInterfaceInstanceHtml, ITransaction transaction)
          Set the HTML Cache of the Interface Instance.
 
Methods inherited from interface lumis.portal.serviceinterfaceinstance.IServiceInterfaceInstanceManager
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
 

Method Detail

setInterfaceInstanceHtmlCache

void setInterfaceInstanceHtmlCache(String serviceInterfaceInstanceId,
                                   IServiceInterfaceRenderRequest request,
                                   String serviceInterfaceInstanceHtml,
                                   ITransaction transaction)
                                   throws BusinessContextNotEnabledForCurrentChannelException,
                                          BusinessContextPropertyNotFoundException,
                                          CacheKeyProviderClassNotFoundException,
                                          PortalException
Set the HTML Cache of the Interface Instance.

Parameters:
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.
transaction - in which the method should participate.
Throws:
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

getInterfaceInstanceHtmlCache

String getInterfaceInstanceHtmlCache(String serviceInterfaceInstanceId,
                                     IServiceInterfaceRenderRequest request,
                                     ITransaction transaction)
                                     throws BusinessContextNotEnabledForCurrentChannelException,
                                            BusinessContextPropertyNotFoundException,
                                            CacheKeyProviderClassNotFoundException,
                                            PortalException
Get the HTML Cache of the Interface Instance.

Parameters:
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.
Returns:
the cached html for the service interface instance.
Throws:
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

clearTimeoutCache

void clearTimeoutCache(String serviceInterfaceInstanceId,
                       ITransaction transaction)
                       throws PortalException
Clears the cache for the timeout cache value.

Parameters:
serviceInterfaceInstanceId - of which the timeout has changed.
transaction - in which the method should participate.
Throws:
PortalException
Since:
7.0.0


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.