gsdsdk / com.gsd.software.sdk.netconnector.sync.schema.repository / SyncSchemaRepository

SyncSchemaRepository

class SyncSchemaRepository :SyncSchemaDataSource

Created by konradrutkowski on 2019-08-09. File created for GSDAndroidSDK

Constructors

Name Summary
<init> SyncSchemaRepository(local:SyncSchemaDataSource, remote:SyncSchemaDataSource)
Created by konradrutkowski on 2019-08-09. File created for GSDAndroidSDK

Functions

Name Summary
deleteSyncSchemas fun deleteSyncSchemas(syncNames:List<String>):Unit
getSyncSchema fun getSyncSchema(syncName:String):Sync
getSyncSchemas fun getSyncSchemas():List<Sync>
getSyncSchemasLiveData fun getSyncSchemasLiveData(): LiveData<List<Sync>>
loadSyncSchemas suspend fun loadSyncSchemas(observer: suspend (RepositoryResult<List<Sync>>) ->Unit):Unit
saveSyncSchema fun saveSyncSchema(syncSchema:Sync):Unit
saveSyncSchemas fun saveSyncSchemas(schemas:List<Sync>):Unit