BlobCommInterface

interface BlobCommInterface<T : BlobBo<T, RT>, RT>

Functions

byReference
Link copied to clipboard
common
abstract suspend fun byReference(reference: <ERROR CLASS><RT>?, disposition: String? = null, executor: <ERROR CLASS>? = null, config: <ERROR CLASS>? = null): List<T>
download
Link copied to clipboard
common
abstract suspend fun download(id: <ERROR CLASS><T>, executor: <ERROR CLASS>?, config: <ERROR CLASS>?): ByteArray
Download the data of the blob into a ByteArray.
upload
Link copied to clipboard
common
abstract suspend fun upload(bo: T, data: Any, executor: <ERROR CLASS>? = null, config: <ERROR CLASS>? = null): T
Upload data for the given blob.
abstract suspend fun upload(bo: T, data: Any, executor: <ERROR CLASS>? = null, config: <ERROR CLASS>? = null, callback: (T, state: BlobCreateState, uploaded: Long) -> Unit): T
Upload data for the given blob.

Inheritors

BlobComm
Link copied to clipboard