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
ContentStoreCleanerListener
beforeDelete
in interface ContentStoreCleanerListener
sourceStore
- the store from which the content will be deletedcontentUrl
- the URL of the content to be deletedorg.alfresco.service.cmr.repository.ContentIOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.