data/data_repository library
Classes
-
DataRepository<
D extends EntityModel, R extends EntitySearchModel> -
DataRepository
is an abstract class that defines the interface for a data repository. It has two type parameters:D
for the entity model andR
for the entity search model. -
LocalRepository<
D extends EntityModel, R extends EntitySearchModel> -
LocalRepository
is an abstract class that extendsDataRepository
and provides additional functionality for local repositories. -
RemoteRepository<
D extends EntityModel, R extends EntitySearchModel> -
RemoteRepository
is an abstract class that extendsDataRepository
and provides additional functionality for remote repositories.
Exceptions / Errors
- InvalidApiResponseException
-
InvalidApiResponseException
is a class that represents an exception for an invalid API response.