apidocs / com.srv4pos.server.api.sync / EntityPictureSyncAdapter

EntityPictureSyncAdapter

interface EntityPictureSyncAdapter<I : PictureInfo>

Created by ivkosh on 16.01.16.

Functions

createOrUpdateEntityPictureFromBytes

abstract fun createOrUpdateEntityPictureFromBytes(pictureInfo: I, pictureBytes: ByteArray): Unit

Method should set or update picture for entity from pictureInfo (entity could be located by pictureInfo.getEntityIdentifier()).

Inheritors

CategoryPictureSyncAdapter

open class CategoryPictureSyncAdapter : EntityPictureSyncAdapter<CategoryPictureInfo!>

Created by ivkosh on 13.03.15.

ProductPictureSyncAdapter

open class ProductPictureSyncAdapter : EntityPictureSyncAdapter<ProductPictureInfo!>

SaleSlotPictureSyncAdapter

open class SaleSlotPictureSyncAdapter : EntityPictureSyncAdapter<SaleSlotPictureInfo!>

Created by misha on 30.06.16.