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);
}