Overview

Summary

ContactDonateImprint


Appendix E-32: PRODUCT IMAGE (UI prompt)


ProductImageWishlistModuleAmazonCom

Properties (6)

PropertyTypeEntityReferenceModule
(1) AltTextSTRINGProductImage
(2) CreatedAtDATEProductImage
(3) IsMainBOOLProductImage
(4) ProductLONGProductImageProductProductModule
(5) SortOrderLONGProductImage
(6) UrlSTRINGProductImage


Module Interfaces (6)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /productimage/{id}updateProductImageById(productimage)WishlistModulePUTProductImage
(2) /productimage/{id}deleteProductImageById(id)WishlistModuleDELETEProductImage
(3) /productimage/product/{id}findAllProductImageOfProduct(id)WishlistModuleGETProduct ProductImage
(4) /productimageinsertProductImage(productimage)WishlistModulePOSTProductImage
(5) /productimage/{id}findProductImageById(id)WishlistModuleGETProductImage
(6) /productimagefindAllProductImage()WishlistModuleGETProductImage





Example:

final ProductImage productimage = (ProductImage) invokeModule(WISHLIST_MODULE + "/productimage/" + id, ProductImage.class);
if (productimage != null) {
    final Product product1 = (Product) invokeModule(PRODUCT_MODULE + "/product/" + productimage.getProduct().getId(), Product.class);
    if (product1 != null) {
        final Brand brand2 = (Brand) invokeModule(PRODUCT_MODULE + "/brand/" + product1.getBrand().getId(), Brand.class);
        if (brand2 != null) {
        }
    }
}
return productimage;


Overview

Summary

ContactDonateImprint