SecurityAdapter class

Base class for security adapters. Contains various helpful methods that you can override.

Inheritance

Constructors

SecurityAdapter(DatabaseAdapter adapter)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

beforeRead(Request request) FutureOr<void>
beforeWrite(Request request) FutureOr<void>
close() Future<void>
Closes the database adapter.
inherited
database() Database
Returns the database.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
performCheckConnection({Duration timeout}) Future<void>
inherited
performDocumentBatch(DocumentBatchRequest request) Future<void>
inherited
performDocumentDelete(DocumentDeleteRequest request) Future<void>
inherited
performDocumentDeleteBySearch(DocumentDeleteBySearchRequest request) Future<void>
inherited
performDocumentInsert(DocumentInsertRequest request) Future<void>
inherited
performDocumentRead(DocumentReadRequest request) Stream<Snapshot>
override
performDocumentReadWatch(DocumentReadWatchRequest request) Stream<Snapshot>
override
performDocumentSearch(DocumentSearchRequest request) Stream<QueryResult>
override
performDocumentSearchChunked(DocumentSearchChunkedRequest request) Stream<QueryResult>
override
performDocumentSearchWatch(DocumentSearchWatchRequest request) Stream<QueryResult>
override
performDocumentTransaction(DocumentTransactionRequest request) Future<void>
inherited
performDocumentUpdate(DocumentUpdateRequest request) Future<void>
inherited
performDocumentUpdateBySearch(DocumentUpdateBySearchRequest request) Future<void>
inherited
performDocumentUpsert(DocumentUpsertRequest request) Future<void>
inherited
performExtension(DatabaseExtensionRequest<DatabaseExtensionResponse> request) Stream<DatabaseExtensionResponse>
inherited
performSchemaRead(SchemaReadRequest request) Stream<DatabaseSchema>
inherited
performSqlQuery(SqlQueryRequest request) Future<SqlIterator>
inherited
performSqlStatement(SqlStatementRequest request) Future<SqlStatementResult>
inherited
performSqlTransaction(SqlTransactionRequest request) Future<void>
inherited
toString() String
A string representation of this object. [...]
inherited
transformQueryResult(Request request, QueryResult result) FutureOr<QueryResult>
Transforms query result before returning to the caller. [...]
transformSnapshot(Request request, Snapshot snapshot) FutureOr<Snapshot>
Transforms snapshot before returning to the caller. [...]

Operators

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