gsdsdk / com.gsd.software.sdk.netconnector.sync.handlechanges.repository / DfObjectsRepository
class DfObjectsRepository :
DfObjectsDataSource
Created by Maksim Shumko on 1/9/2020.
Name | Summary |
---|---|
<init> | DfObjectsRepository(remote: DfObjectsDataSource ) Created by Maksim Shumko on 1/9/2020. |
Name | Summary |
---|---|
deleteDfObject | fun deleteDfObject(schemaName: String , syncVersion: String , objectUuid: String , observer: ( RepositoryResult < String >) -> Unit ): Unit |
loadChangedDfObjects | fun loadChangedDfObjects(schemaName: String , syncVersion: String , changedFrom: String , deletedFrom: String , observer: ( RepositoryResult < ChangedDfObjectsData >) -> Unit ): Unit |
loadDfObjects | fun loadDfObjects(schemaName: String , syncVersion: String , ids: List < String >, schemaProperties: List < SchemaProperty >, observer: ( RepositoryResult < List < DfObject >>) -> Unit ): Unit |
updateDfObject | suspend fun updateDfObject(schemaName: String , syncVersion: String , objectUuid: String , schemaProperties: List < SchemaProperty >, changedProperties: Map < String , Pair < String , Any >>, observer: suspend ( RepositoryResult < DfObject >) -> Unit ): Unit |