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
 java.lang.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

public java.lang.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