TaskLocalBaseRepository class abstract
- Inheritance
-
- Object
- DataRepository<
TaskModel, TaskSearchModel> - LocalRepository<
TaskModel, TaskSearchModel> - TaskLocalBaseRepository
Constructors
-
TaskLocalBaseRepository(LocalSqlDataStore sql, OpLogManager<
TaskModel> opLogManager) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
opLogManager
→ OpLogManager<
TaskModel> -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sql → LocalSqlDataStore
-
finalinherited
-
table
→ TableInfo<
Table, dynamic> -
no setter
- type → DataModelType
-
The
type
getter returns the type of the data model.no setteroverride
Methods
-
bulkCreate(
List< TaskModel> entities) → FutureOr<void> -
inherited
-
create(
TaskModel entity, {bool createOpLog = true, DataOperation dataOperation = DataOperation.create}) → FutureOr< void> -
The
create
method creates a new entity.inherited -
createOplogEntry(
TaskModel entity, DataOperation operation) → FutureOr< void> -
inherited
-
delete(
TaskModel entity, {bool createOpLog = true}) → FutureOr< void> -
The
delete
method deletes an existing entity.inherited -
getItemsToBeSyncedDown(
String createdBy) → Future< List< OpLogEntry< >TaskModel> > -
inherited
-
getItemsToBeSyncedUp(
String createdBy) → Future< List< OpLogEntry< >TaskModel> > -
inherited
-
markSyncedUp(
{OpLogEntry< TaskModel> ? entry, String? clientReferenceId, int? id, bool? nonRecoverableError}) → FutureOr<void> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
search(
TaskSearchModel query) → FutureOr< List< TaskModel> > -
The
search
method searches for entities that match the given query.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
update(
TaskModel entity, {bool createOpLog = true}) → FutureOr< void> -
The
update
method updates an existing entity.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited