Class CleanFlipbookCacheOnContentDeletedObserver

java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.flipbook.CleanFlipbookCacheOnContentDeletedObserver
All Implemented Interfaces:
Observer, LogEnabled, Contextualizable, Serviceable

Remove the file stored by the flipbook cache in ametys home when a content is deleted or modified. The observer target the file created by ConvertContentAttachment2ImagesComponent and ConvertMetadata2ImagesComponent. In case of deletion, the cache could store outdated attachments or metadata. In case of modification, the cache could store outdated metadata. The modification of the attachment is handled by CleanFlipbookCacheOnResourceDeletedObserver