apidocs / com.srv4pos.server.api.keyboardentry / KeyboardEntryService

KeyboardEntryService

class KeyboardEntryService

Service for reaching KeyboardEntry service.

User: Sergey, Date: 29.03.14 20:24.

Constructors

<init>

KeyboardEntryService(url: URL, credentials: Credentials?, transport: Transport)

Service for reaching KeyboardEntry service.

Functions

create

fun create(version: Int, keyboardEntryInfo: KeyboardEntryInfo): IdentifierInfo

Create keyboardEntry on the server.

delete

fun delete(version: Int, identifier: String): Unit

Delete entity from the server.

get

operator fun get(version: Int?, identifier: String): KeyboardEntryInfo?

Returns an entity.

list

fun list(version: Int?, firstResult: Int? = null, maxResults: Int? = null, like: String? = null, orderBy: KeyboardEntryInfo.Fields? = null, orderDesc: Boolean? = null): List<KeyboardEntryInfo>?

Returns list of entities.

listDiff

fun listDiff(versionFrom: Int, versionTo: Int): List<KeyboardEntryInfo>

Returns list of item changes between two versions.

put

fun put(version: Int, keyboardEntryInfo: KeyboardEntryInfo): Unit

Put keyboardEntry to the server.