DocumentStorageBase

Provides File directories for saving documents

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun delete(documentId: String): Boolean

Deletes document data by provided id.

Link copied to clipboard
open override fun deleteAll(): Boolean

Deletes all documents.

Link copied to clipboard
open override fun getDocumentDir(documentId: String): File

Provides directory to save files for current Document.

Link copied to clipboard
open override fun getDocumentJsonFile(documentId: String): File

Provides File of the document json file.

Link copied to clipboard
open override fun getDocumentPdfFile(documentId: String): File

Provides File of the document pdf file.

Link copied to clipboard
open override fun getDocumentTiffFile(documentId: String): File

Provides File of the document tiff file.

Link copied to clipboard
open override fun getStoredDocuments(): List<String>

Provides List with all documentIds.