Companion

object Companion

Properties

Link copied to clipboard
const val DEFAULT_LIMIT: Int = 100

The default for the limit of list.

Link copied to clipboard
const val DEFAULT_SEARCH_LIMIT: Int = 10

The default for the limit of search.

Link copied to clipboard
const val SEARCH_SCOPE: Int

How many items the search of a store that has none of its own looks at: the ones changed last.

Functions

Link copied to clipboard
fun checkAddress(namespace: List<String>, key: String)

Checks a key and a namespace as every Store does: neither the key nor a part of the namespace may be empty.

Link copied to clipboard
fun checkLimit(limit: Int)

Checks the limit of Store.list as every Store does.

Link copied to clipboard
fun checkNamespace(namespace: List<String>)

Checks a namespace as every Store does: no part of it may be empty. An empty namespace is the whole store.