com.sapportals.portal.prt.component

Interface ICacheDiscriminator

All Superinterfaces:
ICachablePortalComponent, IPortalComponent

public interface ICacheDiscriminator
extends ICachablePortalComponent

An ICachableDiscriminator is implemented by components that want to add caching capabilites depending on content values to their behavior.


Method Summary
 String getCacheDiscriminator(IPortalComponentRequest request)
          Gets the cache discriminator value.
 
Methods inherited from interface com.sapportals.portal.prt.component.ICachablePortalComponent
getCachingLevel, hasExpired
 
Methods inherited from interface com.sapportals.portal.prt.component.IPortalComponent
destroy, init, service
 

Method Detail

getCacheDiscriminator

String getCacheDiscriminator(IPortalComponentRequest request)
Gets the cache discriminator value. This method returns null by default. A component must override this method to activate a multi-cache behavior. The cache discriminator is used as the key used by the caching to get back the previous content of the component.

Parameters:
request -
Returns:
the cache discriminator
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] epbc.prtapi._apideprecated default EP-PIN-PRT
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] EP-RUNTIME [sap.com] tc/ep/semantics/api api EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2015 SAP AG Complete Copyright Notice