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