Class Cleaner
-
- All Implemented Interfaces:
public final class Cleaner
Deletes unreferenced pages and documents from filesystem.
-
-
Constructor Summary
Constructors Constructor Description Cleaner(DocumentStoreStrategy documentStoreStrategy, PageStorageProcessor pageStorageProcessor, DraftPageStorageProcessor draftPageStorageProcessor)
-
Method Summary
Modifier and Type Method Description final Unit
cleanUpDraftPagesData(List<Page> pages)
Cleans up all draft page data final Unit
cleanUpAllDraftPagesData()
Cleans up all draft pages final Unit
cleanUpPagesData(List<Page> pages)
Cleans up all page data final Unit
cleanUpDocumentData(Document document)
Cleans up all document data final Unit
cleanUpDocumentThumbnail(Document document)
Cleans up document thumbnail -
-
Constructor Detail
-
Cleaner
Cleaner(DocumentStoreStrategy documentStoreStrategy, PageStorageProcessor pageStorageProcessor, DraftPageStorageProcessor draftPageStorageProcessor)
-
-
Method Detail
-
cleanUpDraftPagesData
final Unit cleanUpDraftPagesData(List<Page> pages)
Cleans up all draft page data
-
cleanUpAllDraftPagesData
final Unit cleanUpAllDraftPagesData()
Cleans up all draft pages
-
cleanUpPagesData
final Unit cleanUpPagesData(List<Page> pages)
Cleans up all page data
-
cleanUpDocumentData
final Unit cleanUpDocumentData(Document document)
Cleans up all document data
-
cleanUpDocumentThumbnail
final Unit cleanUpDocumentThumbnail(Document document)
Cleans up document thumbnail
-
-
-
-