class BookingService
Created by eugene.shishkin on 05.09.14.
BookingService(url: URL, credentials: Credentials?, transport: Transport)
Created by eugene.shishkin on 05.09.14. |
fun create(bookingInfo: BookingInfo, version: Int?): String?
Create booking on the server. |
|
fun delete(version: Int, identifier: String): Unit
Deletes a booking. |
|
operator fun get(identifier: String): BookingInfo
Returns an entity. |
|
fun list(firstResult: Int?, maxResults: Int?, like: String?, orderBy: BookingInfo.Fields?, orderDesc: Boolean?): List<BookingInfo>?
Returns list of bookings. |
|
fun listDiff(versionFrom: Int, versionTo: Int): List<BookingInfo>
Returns list of item changes between two versions. Since we don't have delete and edit methods, it returns only newly created bookings |
|
fun put(version: Int, bookingInfo: BookingInfo, identifier: String): Unit
Modifies a booking. |