Interface ContentStoreCleanerListener
-
- All Known Implementing Classes:
DeletedContentBackupCleanerListener,FileWipingContentCleanerListener
public interface ContentStoreCleanerListenerA listener that can be plugged into acleanerto 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbeforeDelete(org.alfresco.repo.content.ContentStore sourceStore, java.lang.String contentUrl)Handle the notification that a store is about to be deleted
-
-
-
Method Detail
-
beforeDelete
void beforeDelete(org.alfresco.repo.content.ContentStore sourceStore, java.lang.String contentUrl) throws org.alfresco.service.cmr.repository.ContentIOExceptionHandle 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:
org.alfresco.service.cmr.repository.ContentIOException- Since:
- 3.2
-
-