com.sap.portal.httpconnectivity.transformationservice.xmlsource
Interface ICachedSource

All Known Implementing Classes:
HTTPStreamSource

public interface ICachedSource

Interface used to define the source of the XML transformation as cahceable.
The transformation service will disable the cache when there was an error loading, parsing or transforming the XML source. Implementation must store the cache status and check whether caching is enabled.

Version:
Since EP 6.0 SP7

Method Summary
 com.sap.portal.httpconnectivity.urlfetcherservice.IConstants.CachingLevel getCachingLevel()
          Gets the caching level of the source
 void setCacheStatus(boolean enabled)
          Sets the status of the cached source.
 void setCachingLevel(com.sap.portal.httpconnectivity.urlfetcherservice.IConstants.CachingLevel cacheLevel)
          Sets the caching level of the source.
 

Method Detail

setCacheStatus

public void setCacheStatus(boolean enabled)
Sets the status of the cached source.
Parameters:
enabled - defines whether to enable cache.
Since:
EP 6.0 SP7

getCachingLevel

public com.sap.portal.httpconnectivity.urlfetcherservice.IConstants.CachingLevel getCachingLevel()
Gets the caching level of the source
Returns:
the caching level of the source
Since:
EP 6.0 SP12

setCachingLevel

public void setCachingLevel(com.sap.portal.httpconnectivity.urlfetcherservice.IConstants.CachingLevel cacheLevel)
Sets the caching level of the source. Must be set before the data is loaded.
Parameters:
cacheLevel - the caching level of the source
Since:
EP 6.0 SP12