Class DeletedContentBackupCleanerListener

    • Constructor Detail

      • DeletedContentBackupCleanerListener

        public DeletedContentBackupCleanerListener()
    • Method Detail

      • setStore

        public void setStore​(org.alfresco.repo.content.ContentStore store)
        Set the store to copy soon-to-be-deleted content into
        Parameters:
        store - the deleted content backup store
      • beforeDelete

        public void beforeDelete​(org.alfresco.repo.content.ContentStore sourceStore,
                                 String contentUrl)
                          throws org.alfresco.service.cmr.repository.ContentIOException
        Description copied from interface: ContentStoreCleanerListener
        Handle the notification that a store is about to be deleted
        Specified by:
        beforeDelete in interface ContentStoreCleanerListener
        Parameters:
        sourceStore - the store from which the content will be deleted
        contentUrl - the URL of the content to be deleted
        Throws:
        org.alfresco.service.cmr.repository.ContentIOException