com.sapportals.portal.prt.service.hook

Interface ICacheResourceValidatorHook

All Superinterfaces:
IHook

public interface ICacheResourceValidatorHook
extends IHook

A hook that let the possibility to invalidate the cache given all the cached resources of a component.


Method Summary
 HookStatus doCacheResourceValidatorHook(IPortalComponentRequest request, Vector resources)
          This hook is called for each cached portal component and invalidates the component's cache if HookStatus.ERROR is returned
 
Methods inherited from interface com.sapportals.portal.prt.service.hook.IHook
getType
 

Method Detail

doCacheResourceValidatorHook

HookStatus doCacheResourceValidatorHook(IPortalComponentRequest request,
                                        Vector resources)
                                        throws HookException
This hook is called for each cached portal component and invalidates the component's cache if HookStatus.ERROR is returned

Parameters:
request - the portal component request
resources - the headers resources of the cached component
Returns:
HookStatus.OK if the cache is valid, HookStatus.ERROR if not
Throws:
HookException
Access Rights

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] tc/epbc/prt/lib/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice