AttachmentContextImpl
Default implementation of AttachmentContext.
This class provides the standard logic for managing attachments in a SQLite table. Users can override this class if they need custom logic for handling columns or other database operations related to attachments.
Properties
Functions
Helper function to clear the attachment queue Currently only used for testing purposes.
Delete attachments which have been archived
Delete the attachment from the attachment queue.
Gets all the active attachments which require an operation to be performed.
Get the attachment from the attachment queue using an ID.
Get all the ID's of attachments in the attachment queue.
Get all Attachment records present in the database.
Set the state of the attachment to ignore.
Save the attachment to the attachment queue.
Save the attachments to the attachment queue.
Upserts an attachment record synchronously given a database connection context.