Class ProductImageService
java.lang.Object
com.aboutyou.cloud.adminapi.service.AbstractService
com.aboutyou.cloud.adminapi.service.ProductImageService
public class ProductImageService extends AbstractService
-
Constructor Summary
Constructors Constructor Description ProductImageService(HttpClient httpClient) -
Method Summary
Modifier and Type Method Description ApiCollection<ProductImage>all(Identifier productIdentifier)ApiCollection<ProductImage>all(Identifier productIdentifier, ApiOptions options)ProductImagecreate(Identifier productIdentifier, ProductImage model)ProductImagecreate(Identifier productIdentifier, ProductImage model, ApiOptions options)voiddelete(Identifier productIdentifier, Identifier imageIdentifier)voiddelete(Identifier productIdentifier, Identifier imageIdentifier, ApiOptions options)ProductImageupdatePosition(Identifier productIdentifier, Identifier imageIdentifier, ProductImagePosition model)ProductImageupdatePosition(Identifier productIdentifier, Identifier imageIdentifier, ProductImagePosition model, ApiOptions options)Methods inherited from class com.aboutyou.cloud.adminapi.service.AbstractService
request, request, requestCollection, requestCollection, resolvePath
-
Constructor Details
-
Method Details
-
create
public ProductImage create(Identifier productIdentifier, ProductImage model) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
create
public ProductImage create(Identifier productIdentifier, ProductImage model, ApiOptions options) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
all
public ApiCollection<ProductImage> all(Identifier productIdentifier) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
all
public ApiCollection<ProductImage> all(Identifier productIdentifier, ApiOptions options) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
updatePosition
public ProductImage updatePosition(Identifier productIdentifier, Identifier imageIdentifier, ProductImagePosition model) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
updatePosition
public ProductImage updatePosition(Identifier productIdentifier, Identifier imageIdentifier, ProductImagePosition model, ApiOptions options) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
delete
public void delete(Identifier productIdentifier, Identifier imageIdentifier) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
delete
public void delete(Identifier productIdentifier, Identifier imageIdentifier, ApiOptions options) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-