OpLogManager<T extends EntityModel> class
abstract
Constructors
- OpLogManager(Isar isar)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isar → Isar
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyServerGeneratedIdToEntity(
T entity, String serverGeneratedId, int rowVersion) → T -
getClientReferenceId(
T entity) → String -
getEntries(
String clientReferenceId, DataOperation operation) → Future< List< OpLogEntry< >T> > -
getNonRecoverableError(
T entity) → bool? -
getPendingDownSync(
DataModelType type, {required String createdBy}) → Future< List< OpLogEntry< >T> > -
getPendingUpSync(
DataModelType type, {required String createdBy}) → Future< List< OpLogEntry< >T> > -
getRowVersion(
T entity) → int? -
getServerGeneratedId(
T entity) → String? -
getSyncDownRetryList(
String clientReferenceId) → Future< List< OpLog> > -
markSyncUp(
{OpLogEntry< T> ? entry, int? id, String? clientReferenceId, bool? nonRecoverableError}) → Future<void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
OpLogEntry entry) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
updateServerGeneratedIds(
{required UpdateServerGeneratedIdModel model}) → Future< void> -
updateSyncDownRetry(
String clientReferenceId) → Future< bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited