BlobBoCompanion

abstract class BlobBoCompanion<T : BlobBo<T, RT>, RT>(boNamespace: String, commConfig: <ERROR CLASS>?)

Functions

all
Link copied to clipboard
common
suspend fun all(executor: <ERROR CLASS>? = null, config: <ERROR CLASS>? = null): <ERROR CLASS>
allAsMap
Link copied to clipboard
common
suspend fun allAsMap(executor: <ERROR CLASS>? = null, config: <ERROR CLASS>? = null): <ERROR CLASS>
byReference
Link copied to clipboard
common
suspend fun byReference(reference: <ERROR CLASS><RT>?, disposition: String? = null, executor: <ERROR CLASS>? = null, config: <ERROR CLASS>? = null): List<T>
delete
Link copied to clipboard
common
suspend fun delete(id: <ERROR CLASS><T>, executor: <ERROR CLASS>? = null, config: <ERROR CLASS>? = null): <ERROR CLASS>
download
Link copied to clipboard
common
suspend fun download(id: <ERROR CLASS><T>, executor: <ERROR CLASS>? = null, config: <ERROR CLASS>? = null): ByteArray
read
Link copied to clipboard
common
suspend fun read(id: <ERROR CLASS><T>, executor: <ERROR CLASS>? = null, config: <ERROR CLASS>? = null): <ERROR CLASS>
serializer
Link copied to clipboard
common
abstract fun serializer(): <ERROR CLASS><T>
upload
Link copied to clipboard
common
suspend fun upload(bo: T, data: Any, executor: <ERROR CLASS>? = null, config: <ERROR CLASS>? = null, callback: (T, state: BlobCreateState, uploaded: Long) -> Unit): T

Properties

boNamespace
Link copied to clipboard
common
val boNamespace: String
comm
Link copied to clipboard
common
var comm: BlobCommInterface<T, RT>
commConfig
Link copied to clipboard
common
var commConfig: <ERROR CLASS>?

Extensions

create
Link copied to clipboard
common
inline suspend fun <T : BlobBo<T, RT>, RT> BlobBoCompanion<T, RT>.create(content: ByteArray, func: T.() -> Unit): T