com.sap.portal.httpconnectivity.transformationservice.xmlsource

Interface ICachedSource

All Known Implementing Classes:
HTTPStreamSource

public interface ICachedSource

The interface that determines whether the source of the XML transformation is cacheable.
The transformation service disables the cache if there is an error loading, parsing or transforming the XML source. The implementation must store the cache status and check whether caching is enabled.


Method Summary
 IConstants.CachingLevel getCachingLevel()
          Gets the caching level of the source XML.
 void setCacheStatus(boolean enabled)
          Enables (true) or disables (false) the cache of the source XML.
 void setCachingLevel(IConstants.CachingLevel cacheLevel)
          Sets the caching level of the source XML.
 

Method Detail

setCacheStatus

void setCacheStatus(boolean enabled)
Enables (true) or disables (false) the cache of the source XML.

Parameters:
enabled - enables/disables the cache
Since:
EP 6.0 SP7

getCachingLevel

IConstants.CachingLevel getCachingLevel()
Gets the caching level of the source XML.

Returns:
the caching level of the source
Since:
EP 6.0 SP12

setCachingLevel

void setCachingLevel(IConstants.CachingLevel cacheLevel)
Sets the caching level of the source XML. The caching level must be set before the source data is loaded.

Parameters:
cacheLevel - the caching level of the source
Since:
EP 6.0 SP12
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-ADMIN [sap.com] tc/ep/admin/api/extd api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice