DocumentBasicApi class

Constructors

DocumentBasicApi(String _sdkId)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteDocument(Document document) Future<DocIdentifier>
deleteDocumentById(String entityId, String rev) Future<DocIdentifier>
deleteDocuments(List<Document> documents) Future<List<DocIdentifier>>
deleteDocumentsByIds(List<IdWithMandatoryRev> entityIds) Future<List<DocIdentifier>>
deleteMainAttachment(String entityId, String rev) Future<EncryptedDocument>
deleteSecondaryAttachment(String documentId, String key, String rev) Future<EncryptedDocument>
filterDocumentsBy(BaseFilterOptions<Document> filter) Future<PaginatedListIterator<EncryptedDocument>>
filterDocumentsBySorted(BaseSortableFilterOptions<Document> filter) Future<PaginatedListIterator<EncryptedDocument>>
getDocument(String entityId) Future<EncryptedDocument>
getDocuments(List<String> entityIds) Future<List<EncryptedDocument>>
getRawMainAttachment(String documentId) Future<Uint8List>
getRawSecondaryAttachment(String documentId, String key) Future<Uint8List>
matchDocumentsBy(BaseFilterOptions<Document> filter) Future<List<String>>
matchDocumentsBySorted(BaseSortableFilterOptions<Document> filter) Future<List<String>>
modifyDocument(EncryptedDocument entity) Future<EncryptedDocument>
modifyDocuments(List<EncryptedDocument> entities) Future<List<EncryptedDocument>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgeDocument(Document document) Future<void>
purgeDocumentById(String id, String rev) Future<void>
setRawMainAttachment(String documentId, String rev, List<String>? utis, Uint8List attachment, bool encrypted) Future<EncryptedDocument>
setRawSecondaryAttachment(String documentId, String key, String rev, List<String>? utis, Uint8List attachment, bool encrypted) Future<EncryptedDocument>
toString() String
A string representation of this object.
inherited
undeleteDocument(Document document) Future<EncryptedDocument>
undeleteDocumentById(String id, String rev) Future<EncryptedDocument>

Operators

operator ==(Object other) bool
The equality operator.
inherited