Remove persistence package for the moment

This commit is contained in:
ganfra 2018-10-17 15:35:26 +02:00
parent e7f9bf86c6
commit 0f4a62b7bf
4 changed files with 0 additions and 38 deletions

View File

@ -1,15 +0,0 @@
package im.vector.matrix.android.api.persitence
import android.arch.paging.PagedList
interface Persister<DATA, KEY> {
fun put(data: DATA)
fun remove(data: DATA)
fun get(id: KEY): DATA?
fun getAll(): PagedList<DATA>
}

View File

@ -1,11 +0,0 @@
package im.vector.matrix.android.api.persitence
import im.vector.matrix.android.api.util.Cancelable
interface Query<DATA> {
fun find(): DATA
fun subscribe(observer: QueryDataObserver<DATA>): Cancelable
}

View File

@ -1,7 +0,0 @@
package im.vector.matrix.android.api.persitence
interface QueryBuilder<DATA, QUERY : Query<DATA>> {
fun build(): QUERY
}

View File

@ -1,5 +0,0 @@
package im.vector.matrix.android.api.persitence;
public interface QueryDataObserver<DATA> {
void onData(DATA data);
}