Interface ContentStoreCleanerListener
- All Known Implementing Classes:
DeletedContentBackupCleanerListener,FileWipingContentCleanerListener
public interface ContentStoreCleanerListener
A listener that can be plugged into a
cleaner to
move pre-process any content that is about to be deleted from a store.
Implementations may backup the content or even perform scrubbing or obfuscation tasks on the content. In either case, this interface is called when the content really will disappear i.e. there is no potential rollback of this operation.
- Author:
- Derek Hulley
-
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeDelete(ContentStore sourceStore, String contentUrl) Handle the notification that a store is about to be deleted
-
Method Details
-
beforeDelete
Handle the notification that a store is about to be deleted- Parameters:
sourceStore- the store from which the content will be deletedcontentUrl- the URL of the content to be deleted- Throws:
ContentIOException- Since:
- 3.2
-