|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.content.cleanup.DeletedContentBackupCleanerListener
public class DeletedContentBackupCleanerListener
Listens for content that is about to be deleted and moves it into the store configured as the backup store.
Constructor Summary | |
---|---|
DeletedContentBackupCleanerListener()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeletedContentBackupCleanerListener()
Method Detail |
---|
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
ContentStoreCleanerListener
beforeDelete
in interface ContentStoreCleanerListener
sourceStore
- the store from which the content will be deletedcontentUrl
- the URL of the content to be deleted
org.alfresco.service.cmr.repository.ContentIOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |