public class DeletedContentBackupCleanerListener extends java.lang.Object implements ContentStoreCleanerListener
| Constructor and Description |
|---|
DeletedContentBackupCleanerListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeDelete(ContentStore sourceStore,
java.lang.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, java.lang.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 - 2010 Alfresco Software, Inc. All Rights Reserved.