gsdsdk / com.gsd.software.sdk.netconnector.sync.dfobject.repository / DfObjectDataSource

DfObjectDataSource

interface DfObjectDataSource

Created by jmielczarek on 27.11.2019.

Functions

Name Summary
createTables open fun createTables(syncSchemas:List<SyncSchema>):Unit
delete open fun delete(tableName:String, objectIds:List<String>):Unit
dropTables open fun dropTables(syncSchemas:List<SyncSchema>):Unit
getAllLiveData open fun getAllLiveData(schemaTable:SchemaTable): LiveData<List<DfObject>>
getById open fun getById(syncSchema:SyncSchema, objectId:String):DfObject
getByIdLiveData open fun getByIdLiveData(syncSchema:SyncSchema, objectId:String): LiveData<DfObject>
getDfObjects open fun getDfObjects(syncSchema:SyncSchema):List<DfObject>
insertOrUpdate open fun insertOrUpdate(schemaName:String, objectMap:DfObject):Unit
open fun insertOrUpdate(schemaName:String, objectMaps:List<DfObject>):Unit
markToDelete open fun markToDelete(tableName:String, objectIds:List<String>):Unit
unmarkToDelete open fun unmarkToDelete(tableName:String, objectIds:List<String>):Unit

Inheritors

Name Summary
DfObjectRepository class DfObjectRepository :DfObjectDataSource
Created by jmielczarek on 27.11.2019.