Overview

Summary

ContactDonateImprint


Appendix E-25: PRODUCT CATEGORY (UI prompt)


ProductCategoryCategoryModuleAmazonCom

Properties (3)

PropertyTypeEntityReferenceModule
(1) CategoryLONGProductCategoryCategoryCategoryModule
(2) IsPrimaryBOOLProductCategory
(3) ProductLONGProductCategoryProductProductModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /productcategory/{id}updateProductCategoryById(productcategory)CategoryModulePUTProductCategory
(2) /productcategory/product/{id}findAllProductCategoryOfProduct(id)CategoryModuleGETProduct ProductCategory
(3) /productcategoryfindAllProductCategory()CategoryModuleGETProductCategory
(4) /productcategoryinsertProductCategory(productcategory)CategoryModulePOSTProductCategory
(5) /productcategory/category/{id}findAllProductCategoryOfCategory(id)CategoryModuleGETCategory ProductCategory
(6) /productcategory/{id}deleteProductCategoryById(id)CategoryModuleDELETEProductCategory
(7) /productcategory/{id}findProductCategoryById(id)CategoryModuleGETProductCategory





Example:

final ProductCategory productcategory = (ProductCategory) invokeModule(CATEGORY_MODULE + "/productcategory/" + id, ProductCategory.class);
if (productcategory != null) {
    final Category category1 = (Category) invokeModule(CATEGORY_MODULE + "/category/" + productcategory.getCategory().getId(), Category.class);
    if (category1 != null) {
    }
    final Product product2 = (Product) invokeModule(PRODUCT_MODULE + "/product/" + productcategory.getProduct().getId(), Product.class);
    if (product2 != null) {
        final Brand brand3 = (Brand) invokeModule(PRODUCT_MODULE + "/brand/" + product2.getBrand().getId(), Brand.class);
        if (brand3 != null) {
        }
    }
}
return productcategory;


Overview

Summary

ContactDonateImprint