com.sapportals.portal.prt.component
Interface ICacheValidator
- All Superinterfaces:
- ICachablePortalComponent, IPortalComponent
public interface ICacheValidator
- extends ICachablePortalComponent
An ICachableValidator is implemented by components that wants to control the validity
of the cache using a key which is stored in the cache content
isCacheValid
boolean isCacheValid(IPortalComponentRequest request,
String key)
- Test whether the cache is valid or not given a key which is stored in the cache content
- Parameters:
request - the IPortalComponentRequestkey - the key which is stored
getValidationKey
String getValidationKey(IPortalComponentRequest request)
- Computes a key that will be stored in the cache and that will passed in the
method isCacheValid at each request
- Returns:
- a string, the validity key
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] epbc.prtapi._apideprecated
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
Copyright 2011 SAP AG Complete Copyright Notice