Interface HasImagesEndpoint<T extends MetaEntity>
-
- All Superinterfaces:
Endpoint
- All Known Implementing Classes:
BundleClient,ProductClient,VariantClient
public interface HasImagesEndpoint<T extends MetaEntity> extends Endpoint
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default List<Image>addImage(String entityId, Image image)default List<Image>addImage(T entity, Image image)default voiddeleteImage(String entityId, String imageId)default voiddeleteImage(String entityId, Image image)default voiddeleteImage(T entity, String imageId)default voiddeleteImage(T entity, Image image)default voiddeleteImages(String entityId, List<Image> images)default voiddeleteImages(T entity, List<Image> images)default ListEntity<Image>getImages(String entityId, ApiParam... params)default ListEntity<Image>getImages(T entity, ApiParam... params)default List<Image>updateImages(String entityId, List<Image> images)default List<Image>updateImages(T entity, List<Image> images)-
Methods inherited from interface ru.moysklad.remap_1_2.clients.endpoints.Endpoint
api, entityClass, metaEntityClass, path, positionEntityClass
-
-
-
-
Method Detail
-
getImages
default ListEntity<Image> getImages(String entityId, ApiParam... params) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
getImages
default ListEntity<Image> getImages(T entity, ApiParam... params) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
addImage
default List<Image> addImage(String entityId, Image image) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
addImage
default List<Image> addImage(T entity, Image image) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
updateImages
default List<Image> updateImages(String entityId, List<Image> images) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
updateImages
default List<Image> updateImages(T entity, List<Image> images) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
deleteImage
default void deleteImage(String entityId, String imageId) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
deleteImage
default void deleteImage(T entity, String imageId) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
deleteImage
default void deleteImage(String entityId, Image image) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
deleteImage
default void deleteImage(T entity, Image image) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
deleteImages
default void deleteImages(String entityId, List<Image> images) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
deleteImages
default void deleteImages(T entity, List<Image> images) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
-