public interface HasImagesEndpoint<T extends MetaEntity> extends Endpoint
| Modifier and Type | Method and Description |
|---|---|
default List<Image> |
addImage(String entityId,
Image image) |
default List<Image> |
addImage(T entity,
Image image) |
default void |
deleteImage(String entityId,
Image image) |
default void |
deleteImage(String entityId,
String imageId) |
default void |
deleteImage(T entity,
Image image) |
default void |
deleteImage(T entity,
String imageId) |
default void |
deleteImages(String entityId,
List<Image> images) |
default void |
deleteImages(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) |
api, entityClass, metaEntityClass, path, positionEntityClassdefault ListEntity<Image> getImages(String entityId, ApiParam... params) throws IOException, ApiClientException
IOExceptionApiClientExceptiondefault ListEntity<Image> getImages(T entity, ApiParam... params) throws IOException, ApiClientException
IOExceptionApiClientExceptiondefault List<Image> addImage(String entityId, Image image) throws IOException, ApiClientException
IOExceptionApiClientExceptiondefault List<Image> addImage(T entity, Image image) throws IOException, ApiClientException
IOExceptionApiClientExceptiondefault List<Image> updateImages(String entityId, List<Image> images) throws IOException, ApiClientException
IOExceptionApiClientExceptiondefault List<Image> updateImages(T entity, List<Image> images) throws IOException, ApiClientException
IOExceptionApiClientExceptiondefault void deleteImage(String entityId, String imageId) throws IOException, ApiClientException
IOExceptionApiClientExceptiondefault void deleteImage(T entity, String imageId) throws IOException, ApiClientException
IOExceptionApiClientExceptiondefault void deleteImage(String entityId, Image image) throws IOException, ApiClientException
IOExceptionApiClientExceptiondefault void deleteImage(T entity, Image image) throws IOException, ApiClientException
IOExceptionApiClientExceptiondefault void deleteImages(String entityId, List<Image> images) throws IOException, ApiClientException
IOExceptionApiClientExceptiondefault void deleteImages(T entity, List<Image> images) throws IOException, ApiClientException
IOExceptionApiClientExceptionCopyright © 2023. All rights reserved.