Document Store Strategy
Provides java.io.File directories for saving Document
The structure of the document folder is the following: {documents_directory}/document UUID -------{document_name}.pdf -------{thumbnail}
Functions
Link copied to clipboard
Link copied to clipboard
Creates directory for Document if not exists.
Link copied to clipboard
Deletes Document directory and all its pages from file system Use from BG thread only
Link copied to clipboard
Deletes Document thumbnail Use from BG thread only
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Recursively trying to find unique name for pdf document in pdf files directory
Link copied to clipboard
Migrates all pdf files to directory specified in preferences PreferencesConstants.EXTERNAL_DIR or default directory Constants.DEFAULT_EXTERNAL_DIR_NAME or from external directory to internal application document directories.
Link copied to clipboard
Renames document. Use from BG thread only