IndividualGlobalSearchRepository class
- Inheritance
-
- Object
- DataRepository<EntityModel, EntitySearchModel>
- LocalRepository<EntityModel, EntitySearchModel>
- IndividualGlobalSearchRepository
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
opLogManager
→ OpLogManager<EntityModel>
-
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
sql
→ LocalSqlDataStore
-
finalinherited
-
type
→ DataModelType
-
The
type
getter returns the type of the data model.
no setteroverride
Methods
-
bulkCreate(List<EntityModel> entities)
→ FutureOr<void>
-
inherited
-
create(EntityModel entity, {bool createOpLog = true, DataOperation dataOperation = DataOperation.create})
→ FutureOr<void>
-
The
create
method creates a new entity.
inherited
-
createOplogEntry(EntityModel entity, DataOperation operation)
→ FutureOr<void>
-
inherited
-
delete(EntityModel entity, {bool createOpLog = true})
→ FutureOr<void>
-
The
delete
method deletes an existing entity.
inherited
-
filterSearch(dynamic selectQuery, GlobalSearchParameters params, String filter, LocalSqlDataStore sql)
→ dynamic
-
-
filterTasks(dynamic selectQuery, String filter, LocalSqlDataStore sql, GlobalSearchParameters params)
→ dynamic
-
-
getItemsToBeSyncedDown(String createdBy)
→ Future<List<OpLogEntry<EntityModel>>>
-
inherited
-
getItemsToBeSyncedUp(String createdBy)
→ Future<List<OpLogEntry<EntityModel>>>
-
inherited
-
individualGlobalSearch(GlobalSearchParameters params)
→ dynamic
-
-
joinIdentifier(LocalSqlDataStore sql)
→ dynamic
-
-
joinIndividualAddress(LocalSqlDataStore sql)
→ dynamic
-
-
joinName(LocalSqlDataStore sql)
→ dynamic
-
-
markSyncedUp({OpLogEntry<EntityModel>? entry, String? clientReferenceId, int? id, bool? nonRecoverableError})
→ FutureOr<void>
-
inherited
-
nameSearch(dynamic selectQuery, GlobalSearchParameters params, LocalSqlDataStore sql)
→ dynamic
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
proximitySearch(dynamic selectQuery, GlobalSearchParameters params, LocalSqlDataStore sql)
→ dynamic
-
-
search(EntitySearchModel query)
→ FutureOr<List<EntityModel>>
-
The
search
method searches for entities that match the given query.
override
-
searchByName(dynamic selectQuery, GlobalSearchParameters params, LocalSqlDataStore sql)
→ dynamic
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(EntityModel entity, {bool createOpLog = true})
→ FutureOr<void>
-
The
update
method updates an existing entity.
inherited