gsdsdk / com.gsd.software.sdk.netconnector.sync.handlechanges.repository / DfObjectsDataSource

DfObjectsDataSource

interface DfObjectsDataSource

Created by Maksim Shumko on 1/9/2020.

Functions

Name Summary
deleteDfObject open fun deleteDfObject(schemaName:String, syncVersion:String, objectUuid:String, observer: (RepositoryResult<String>) ->Unit):Unit
loadChangedDfObjects open fun loadChangedDfObjects(schemaName:String, syncVersion:String, changedFrom:String, deletedFrom:String, observer: (RepositoryResult<ChangedDfObjectsData>) ->Unit):Unit
loadDfObjects open fun loadDfObjects(schemaName:String, syncVersion:String, ids:List<String>, schemaProperties:List<SchemaProperty>, observer: (RepositoryResult<List<DfObject>>) ->Unit):Unit
updateDfObject open suspend fun updateDfObject(schemaName:String, syncVersion:String, objectUuid:String, schemaProperties:List<SchemaProperty>, changedProperties:DfObject, observer: suspend (RepositoryResult<DfObject>) ->Unit):Unit

Inheritors

Name Summary
DfObjectsRemote class DfObjectsRemote :DfObjectsDataSource
Created by Maksim Shumko on 1/9/2020.
DfObjectsRepository class DfObjectsRepository :DfObjectsDataSource
Created by Maksim Shumko on 1/9/2020.