public class DeletedContentBackupCleanerListener extends Object implements ContentStoreCleanerListener
| Constructor and Description |
|---|
DeletedContentBackupCleanerListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeDelete(org.alfresco.repo.content.ContentStore sourceStore,
String contentUrl)
Handle the notification that a store is about to be deleted
|
void |
setStore(org.alfresco.repo.content.ContentStore store)
Set the store to copy soon-to-be-deleted content into
|
public void setStore(org.alfresco.repo.content.ContentStore store)
store - the deleted content backup storepublic void beforeDelete(org.alfresco.repo.content.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–2018 Alfresco Software. All rights reserved.