org.alfresco.repo.content.cleanup
Interface ContentStoreCleanerListener

All Known Implementing Classes:
DeletedContentBackupCleanerListener

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.


Method Summary
 void beforeDelete(ContentStore sourceStore, java.lang.String contentUrl)
          Handle the notification that a store is about to be deleted
 

Method Detail

beforeDelete

void beforeDelete(ContentStore sourceStore,
                  java.lang.String contentUrl)
                  throws org.alfresco.service.cmr.repository.ContentIOException
Handle the notification that a store is about to be deleted

Parameters:
sourceStore - the store from which the content will be deleted
contentUrl - the URL of the content to be deleted
Throws:
org.alfresco.service.cmr.repository.ContentIOException
Since:
3.2


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.