SuperRepository<Dao extends SuperDao<Data>, ResourceData, Data, Param> class

Implemented types
Implementers

Constructors

SuperRepository(Dao dao)

Properties

dao ↔ Dao
read / write
params ↔ List<Param>
read / write
publishSubject AdeptPublishSubject<Resource<ResourceData>>
read / write
publishSubjectList AdeptPublishSubject<Resource<List<ResourceData>>>
read / write
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

clear({bool updateRef, AdeptPublishSubject<Resource<ResourceData>> publishSubject}) → void
override
delete({Data data, List<Data> dataList, bool updateRef, AdeptPublishSubject<Resource<ResourceData>> publishSubject}) → void
override
getObservableData() AdeptPublishSubject<Resource<ResourceData>>
getObservableDataList() AdeptPublishSubject<Resource<List<ResourceData>>>
load({List<Param> params, AdeptPublishSubject<Resource<ResourceData>> publishSubject}) AdeptPublishSubject<Resource<ResourceData>>
override
loadAsync({dynamic params}) → Future<Data>
override
loadNew({List<Param> params, AdeptPublishSubject<Resource<ResourceData>> publishSubject}) AdeptPublishSubject<Resource<ResourceData>>
override
loadSync({dynamic params}) → Data
override
notifyChanges({AdeptPublishSubject<Resource<ResourceData>> publishSubject}) → void
override
postError(String message, {ResourceData resourceData, int code, dynamic exception, AdeptPublishSubject<Resource<ResourceData>> publishSubject}) → void
Error
postLoading({ResourceData resourceData, AdeptPublishSubject<Resource<ResourceData>> publishSubject}) → void
Loading
postSuccess({ResourceData resourceData, AdeptPublishSubject<Resource<ResourceData>> publishSubject}) → void
Success
save({Data data, List<Data> dataList, bool updateRef, AdeptPublishSubject<Resource<ResourceData>> publishSubject}) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited