gsdsdk / com.gsd.software.sdk.netconnector / GSDDao

GSDDao

object GSDDao

Created by konradrutkowski on 25.07.2017.

Functions

Name Summary
createObject fun <T : RealmObject> createObject(clazz:Class<T>):Unit
deleteAllObjects fun <T : RealmObject> deleteAllObjects(clazz:Class<T>):Unit
deleteObjectsContains fun <T : RealmObject> deleteObjectsContains(clazz:Class<T>, fieldName:String, fieldValue:String):Unit
deleteObjectsEqualTo fun <T : RealmObject> deleteObjectsEqualTo(clazz:Class<T>, fieldName:String, fieldValue:String):Unit
getFirstObject fun <T : RealmObject> getFirstObject(clazz:Class<T>, fieldName:String, fieldValue:String):T?
getObject fun <T : RealmObject> getObject(realmObject:T?):T?
getObjectList fun <T : RealmObject> getObjectList(clazz:Class<T>):List<T>
fun <T : RealmObject> getObjectList(clazz:Class<T>, fieldName:String, fieldValue:String):List<T>
getObjectListContains fun <T : RealmObject> getObjectListContains(clazz:Class<T>, fieldName:String, fieldValue:String):List<T>
saveObject fun <T : RealmObject> saveObject(object:T):Unit
saveObjectList fun <T :List<RealmObject>> saveObjectList(objectList:T):Unit