public class DeletedContentBackupCleanerListener extends Object implements ContentStoreCleanerListener
| Constructor and Description |
|---|
DeletedContentBackupCleanerListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeDelete(ContentStore sourceStore,
String contentUrl)
Handle the notification that a store is about to be deleted
|
void |
setStore(ContentStore store)
Set the store to copy soon-to-be-deleted content into
|
public void setStore(ContentStore store)
store - the deleted content backup storepublic void beforeDelete(ContentStore sourceStore, String contentUrl) throws org.alfresco.service.cmr.repository.ContentIOException
ContentStoreCleanerListenerbeforeDelete in interface ContentStoreCleanerListenersourceStore - the store from which the content will be deletedcontentUrl - the URL of the content to be deletedorg.alfresco.service.cmr.repository.ContentIOExceptionCopyright © 2005–2014 Alfresco Software. All rights reserved.