Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
typealias CallContext = PipelineContext<Unit, ApplicationCall>
Link copied to clipboard
class ContainmentData(val parent: Long, val role: String?, val index: Int)
Link copied to clipboard
Link copied to clipboard
class HistoryHandler(val client: IModelClient, val repositoriesManager: RepositoriesManager)
Link copied to clipboard
class KeyValueLikeModelServer(val storeClient: IStoreClient)
Link copied to clipboard
Link copied to clipboard
class ModelReplicationServer(val repositoriesManager: RepositoriesManager)

Implements the endpoints used by the 'model-client', but compared to KeyValueLikeModelServer also understands what client sends. This allows more validations and more responsibilities on the server side.

Link copied to clipboard

Functions

Link copied to clipboard
fun JSONObject.arrayEntries(): Map<String, JSONArray>
Link copied to clipboard
fun JSONArray.asLongList(): List<Long>
Link copied to clipboard
fun JSONArray.asObjectList(): List<JSONObject>
Link copied to clipboard
fun buildJSONArray(vararg elements: Any?): JSONArray
Link copied to clipboard
fun buildJSONObject(body: JSONObject.() -> Unit): JSONObject
Link copied to clipboard
fun JSONObject.entries(): Map<String, Any?>
Link copied to clipboard
fun jsonNullToJavaNull(value: Any?): Any?
Link copied to clipboard
fun JSONObject.longEntries(): Map<String, Long?>
Link copied to clipboard
fun JSONObject.stringEntries(): Map<String, String?>
Link copied to clipboard
fun Iterable<Any?>.toJsonArray(): JSONArray