@@ -0,0 +1,548 @@
+package mansonheart.com.database;%0A%0Aimport org.json.JSONArray;%0Aimport org.json.JSONObject;%0A%0Aimport io.realm.RealmQuery;%0Aimport rx.Observable;%0Aimport rx.functions.Action0;%0Aimport rx.functions.Func1;%0A%0A/**%0A * Created by Zherebtsov Alexandr on 07.01.2016.%0A */%0Apublic interface RealmAccessLayer %7B%0A    %3CT%3E Observable%3CT%3E get(Class clazz, Func1%3CRealmQuery, RealmQuery%3E predicate);%0A    void storeObject(Class clazz, JSONObject jsonObject);%0A    void storeObjects(Class clazz, JSONArray jsonArray);%0A    %3CT%3E Observable%3CT%3E update(Class clazz, Action0 action);%0A%7D%0A

Add Realm access layer