class SaleSlotService
Created by fasth on 17.09.2014.
SaleSlotService(url: URL, credentials: Credentials?, transport: Transport)
Created by fasth on 17.09.2014. |
fun create(version: Int?, saleSlotInfo: SaleSlotInfo): IdentifierInfo
Create entity on the server. |
|
fun delete(version: Int, identifier: String): Unit |
|
fun deletePicture(version: Int, saleSlotIdentifier: String, pictureFilename: String): Unit
Deletes specified picture. |
|
operator fun get(version: Int?, identifier: String): SaleSlotInfo?
Returns an entity. |
|
fun getPicture(version: Int?, saleSlotIdentifier: String, pictureFilename: String): InputStream?
Returns body of the picture. |
|
fun getPictureFromHistory(pictureVersion: Int?, saleSlotIdentifier: String, pictureFilename: String): InputStream?
Returns body of the picture for particular version number. |
|
fun getPicturePath(version: Int?, saleSlotIdentifier: String): List<String>
Returns list of picture relative paths . |
|
fun list(version: Int?, firstResult: Int? = null, maxResults: Int? = null, like: String? = null, orderBy: SaleSlotInfo.Fields? = null, orderDesc: Boolean? = null): List<SaleSlotInfo>?
Returns list of entities. |
|
fun listDiff(versionFrom: Int, versionTo: Int): List<SaleSlotInfo>
Returns list of item changes between two versions. |
|
fun listDiffPicture(versionFrom: Int, versionTo: Int): List<SaleSlotPictureInfo>
Returns list of category pictures changes between two versions. |
|
fun put(version: Int?, saleSlotInfo: SaleSlotInfo): Unit
Put entity to the server. |
|
fun putPicture(version: Int, saleSlotIdentifier: String, pictureFilename: String, picture: InputStream, contentType: String): Unit
Send picture to the server. |