P2PReceiverTransferDao

open class P2PReceiverTransferDao @Inject constructor(val fhirEngine: FhirEngine, val dispatcherProvider: DispatcherProvider, val configurationRegistry: ConfigurationRegistry, val defaultRepository: DefaultRepository) : BaseP2PTransferDao, ReceiverTransferDao

Constructors

Link copied to clipboard
@Inject
constructor(fhirEngine: FhirEngine, dispatcherProvider: DispatcherProvider, configurationRegistry: ConfigurationRegistry, defaultRepository: DefaultRepository)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val fhirEngine: FhirEngine

Functions

Link copied to clipboard
suspend fun countTotalRecordsForSync(highestRecordIdMap: HashMap<String, Long>): RecordCount
Link copied to clipboard
open fun getDataTypes(): TreeSet<DataType>
Link copied to clipboard
open fun getDefaultDataTypes(): TreeSet<DataType>
Link copied to clipboard
open fun getDynamicDataTypes(resourceList: List<String>): TreeSet<DataType>
Link copied to clipboard
open override fun getP2PDataTypes(): TreeSet<DataType>
Link copied to clipboard
fun getSearchObjectForCount(lastRecordUpdatedAt: Long, classType: Class<out Resource>): Search
Link copied to clipboard
suspend fun loadResources(lastRecordUpdatedAt: Long, batchSize: Int, offset: Int, classType: Class<out Resource>): List<SearchResult<Resource>>
Link copied to clipboard
open override fun receiveJson(type: DataType, jsonArray: JSONArray): Long