CustomServerConfigDataSource
internal class CustomServerConfigDataSource(api: <Error class: unknown class>, developmentApiEnabled: Boolean, serverConfigurationDAO: <Error class: unknown class>, backendMetaDataUtil: <Error class: unknown class> = BackendMetaDataUtilImpl, serverConfigMapper: ServerConfigMapper = MapperProvider.serverConfigMapper()) : CustomServerConfigRepository
Constructors
Link copied to clipboard
internal constructor(api: <Error class: unknown class>, developmentApiEnabled: Boolean, serverConfigurationDAO: <Error class: unknown class>, backendMetaDataUtil: <Error class: unknown class> = BackendMetaDataUtilImpl, serverConfigMapper: ServerConfigMapper = MapperProvider.serverConfigMapper())
Functions
Link copied to clipboard
open suspend override fun fetchRemoteConfig(serverConfigUrl: String): Either<NetworkFailure, ServerConfig.Links>
download an on premise server configuration from a json file
Link copied to clipboard
open suspend override fun getServerConfigsWithUserIdAfterTheDate(date: String): Either<StorageFailure, <Error class: unknown class><List<ServerConfigWithUserId>>>
Link copied to clipboard
open suspend override fun storeConfig(links: ServerConfig.Links, metadata: ServerConfig.MetaData): Either<StorageFailure, ServerConfig>
open suspend override fun storeConfig(links: ServerConfig.Links, versionInfo: ServerConfig.VersionInfo): Either<StorageFailure, ServerConfig>
Link copied to clipboard
updates lastBlackListCheckDate for the Set of configIds