Package org.ametys.site
Class InvalidateImagesAction
- All Implemented Interfaces:
 Component,LogEnabled,Serviceable,ThreadSafe,Action
- Direct Known Subclasses:
 InvalidateSharedResourcesImageAction
Invalidates cached images for a given site.
- 
Field Summary
Fields inherited from class org.ametys.site.InvalidatePageAction
_loggerFields inherited from class org.apache.cocoon.acting.ServiceableAction
managerFields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) protected File[]Get the list of image files to invalidateMethods inherited from class org.ametys.site.InvalidatePageAction
_getCacheAccessManager, invalidatePageMethods inherited from class org.apache.cocoon.acting.ServiceableAction
serviceMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger 
- 
Constructor Details
- 
InvalidateImagesAction
public InvalidateImagesAction() 
 - 
 - 
Method Details
- 
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Specified by:
 actin interfaceAction- Overrides:
 actin classInvalidatePageAction- Throws:
 Exception
 - 
getImages
Get the list of image files to invalidate- Parameters:
 root- the root cache folderimagePath- the image path- Returns:
 - the image files to invalidate
 
 
 -