java.lang.Object | |
↳ | com.kinvey.android.offline.AbstractSqliteOfflineStore<T> |
![]() |
This class is an implementation of an OfflineStore
This class delegates requests to an appropriateOfflineTable
, which is associated with the current collection.
It also enqueues requests in that same OfflineTable
, and can start an Android Service to begin background sync.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AbstractSqliteOfflineStore(Context context) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | clearStorage(String userid) | ||||||||||
KinveyDeleteResponse |
executeDelete(AbstractClient client, AppData<T> appData, AbstractKinveyOfflineClientRequest request)
Execute a delete against this offline store
| ||||||||||
T |
executeGet(AbstractClient client, AppData<T> appData, AbstractKinveyOfflineClientRequest request)
Execute a get request against this offline store.
| ||||||||||
T |
executeSave(AbstractClient client, AppData<T> appData, AbstractKinveyOfflineClientRequest request)
Execute a save against this offline store
| ||||||||||
Context | getContext() | ||||||||||
void | insertEntity(AbstractClient client, AppData<T> appData, T entity) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Execute a delete against this offline store
client | - an instance of a client |
---|---|
appData | - an instance of AppData |
request | - an Offline Client Request to be executed (must be a DELETE) |
Execute a get request against this offline store. This will method will expand the target URI into a String, and then grab the index of character right after "DatabaseHandler
.
client | - an instance of a client |
---|---|
appData | - an instance of AppData |
request | - an Offline Client Request to be executed (must be a GET) |
Execute a save against this offline store
client | - an instance of a client |
---|---|
appData | - an instance of AppData |
request | - an Offline Client Request to be executed (must be a PUT or POST) |