Overview

Summary

ContactDonateImprint


5. PRODUCT MODULE (UI prompt)



Module Entities (15)

EntityAliasModuleGlobal Schema
(1) AnswerAnswerProductModuleAmazonCom
(2) BrandBrandProductModuleAmazonCom
(3) BrowseEventBrowseEventProductModuleAmazonCom
(4) CustomerCustomerCustomerModuleAmazonCom
(5) OfferOfferOfferModuleAmazonCom
(6) OrderItemOrderItemReturnRequestModuleAmazonCom
(7) ProductProductProductModuleAmazonCom
(8) ProductAttributeValueProductAttributeValuePromotionModuleAmazonCom
(9) ProductCategoryProductCategoryCategoryModuleAmazonCom
(10) ProductImageProductImageWishlistModuleAmazonCom
(11) PromotionProductPromotionProductPromotionModuleAmazonCom
(12) QuestionQuestionProductModuleAmazonCom
(13) ReviewReviewCustomerModuleAmazonCom
(14) SellerSellerProductModuleAmazonCom
(15) WishlistItemWishlistItemWishlistModuleAmazonCom

Module Interfaces (39)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /browseevent/{id}findBrowseEventById(id)ProductModuleGETBrowseEvent
(2) /browseevent/{id}updateBrowseEventById(browseevent)ProductModulePUTBrowseEvent
(3) /answer/seller/{id}findAllAnswerOfSeller(id)ProductModuleGETSeller Answer
(4) /brandinsertBrand(brand)ProductModulePOSTBrand
(5) /answer/{id}findAnswerById(id)ProductModuleGETAnswer
(6) /sellerfindAllSeller()ProductModuleGETSeller
(7) /question/customer/{id}findAllQuestionOfCustomer(id)ProductModuleGETCustomer Question
(8) /questioninsertQuestion(question)ProductModulePOSTQuestion
(9) /question/{id}findQuestionById(id)ProductModuleGETQuestion
(10) /product/{id}deleteProductById(id)ProductModuleDELETEProduct
(11) /answer/{id}deleteAnswerById(id)ProductModuleDELETEAnswer
(12) /brandfindAllBrand()ProductModuleGETBrand
(13) /questionfindAllQuestion()ProductModuleGETQuestion
(14) /seller/{id}updateSellerById(seller)ProductModulePUTSeller
(15) /browseeventfindAllBrowseEvent()ProductModuleGETBrowseEvent
(16) /productfindAllProduct()ProductModuleGETProduct
(17) /product/{id}findProductById(id)ProductModuleGETProduct
(18) /browseevent/product/{id}findAllBrowseEventOfProduct(id)ProductModuleGETProduct BrowseEvent
(19) /answer/question/{id}findAllAnswerOfQuestion(id)ProductModuleGETQuestion Answer
(20) /answerfindAllAnswer()ProductModuleGETAnswer
(21) /browseevent/offer/{id}findAllBrowseEventOfOffer(id)ProductModuleGETOffer BrowseEvent
(22) /brand/{id}deleteBrandById(id)ProductModuleDELETEBrand
(23) /product/brand/{id}findAllProductOfBrand(id)ProductModuleGETBrand Product
(24) /sellerinsertSeller(seller)ProductModulePOSTSeller
(25) /question/product/{id}findAllQuestionOfProduct(id)ProductModuleGETProduct Question
(26) /product/{id}updateProductById(product)ProductModulePUTProduct
(27) /answer/customer/{id}findAllAnswerOfCustomer(id)ProductModuleGETCustomer Answer
(28) /answer/{id}updateAnswerById(answer)ProductModulePUTAnswer
(29) /brand/{id}updateBrandById(brand)ProductModulePUTBrand
(30) /productinsertProduct(product)ProductModulePOSTProduct
(31) /question/{id}updateQuestionById(question)ProductModulePUTQuestion
(32) /seller/{id}findSellerById(id)ProductModuleGETSeller
(33) /brand/{id}findBrandById(id)ProductModuleGETBrand
(34) /browseevent/customer/{id}findAllBrowseEventOfCustomer(id)ProductModuleGETCustomer BrowseEvent
(35) /seller/{id}deleteSellerById(id)ProductModuleDELETESeller
(36) /browseevent/{id}deleteBrowseEventById(id)ProductModuleDELETEBrowseEvent
(37) /answerinsertAnswer(answer)ProductModulePOSTAnswer
(38) /question/{id}deleteQuestionById(id)ProductModuleDELETEQuestion
(39) /browseeventinsertBrowseEvent(browseevent)ProductModulePOSTBrowseEvent






5.1 ANSWER


AnswerProductModuleAmazonCom

Properties (5)

PropertyTypeEntityReferenceModule
(1) BodySTRINGAnswer
(2) CreatedAtDATEAnswer
(3) CustomerLONGAnswerCustomerCustomerModule
(4) QuestionLONGAnswerQuestionProductModule
(5) SellerLONGAnswerSellerProductModule





Example:

final Answer answer = (Answer) invokeModule(PRODUCT_MODULE + "/answer/" + id, Answer.class);
if (answer != null) {
    final Customer customer1 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + answer.getCustomer().getId(), Customer.class);
    if (customer1 != null) {
    }
    final Question question2 = (Question) invokeModule(PRODUCT_MODULE + "/question/" + answer.getQuestion().getId(), Question.class);
    if (question2 != null) {
        final Product product3 = (Product) invokeModule(PRODUCT_MODULE + "/product/" + question2.getProduct().getId(), Product.class);
        if (product3 != null) {
            final Brand brand4 = (Brand) invokeModule(PRODUCT_MODULE + "/brand/" + product3.getBrand().getId(), Brand.class);
            if (brand4 != null) {
            }
        }
        final Customer customer5 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + question2.getCustomer().getId(), Customer.class);
        if (customer5 != null) {
        }
    }
    final Seller seller6 = (Seller) invokeModule(PRODUCT_MODULE + "/seller/" + answer.getSeller().getId(), Seller.class);
    if (seller6 != null) {
    }
}
return answer;


5.2 BRAND


BrandProductModuleAmazonCom

Properties (3)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATEBrand
(2) NameSTRINGBrand
(3) UpdatedAtDATEBrand





Example:

final Brand brand = (Brand) invokeModule(PRODUCT_MODULE + "/brand/" + id, Brand.class);
if (brand != null) {
}
return brand;


5.3 BROWSE EVENT


BrowseEventProductModuleAmazonCom

Properties (8)

PropertyTypeEntityReferenceModule
(1) CustomerLONGBrowseEventCustomerCustomerModule
(2) EventTypeSTRINGBrowseEvent
(3) IpAddressSTRINGBrowseEvent
(4) OccurredAtDATEBrowseEvent
(5) OfferLONGBrowseEventOfferOfferModule
(6) ProductLONGBrowseEventProductProductModule
(7) SessionIdSTRINGBrowseEvent
(8) UserAgentSTRINGBrowseEvent





Example:

final BrowseEvent browseevent = (BrowseEvent) invokeModule(PRODUCT_MODULE + "/browseevent/" + id, BrowseEvent.class);
if (browseevent != null) {
    final Product product1 = (Product) invokeModule(PRODUCT_MODULE + "/product/" + browseevent.getProduct().getId(), Product.class);
    if (product1 != null) {
        final Brand brand2 = (Brand) invokeModule(PRODUCT_MODULE + "/brand/" + product1.getBrand().getId(), Brand.class);
        if (brand2 != null) {
        }
    }
    final Customer customer3 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + browseevent.getCustomer().getId(), Customer.class);
    if (customer3 != null) {
    }
    final Offer offer4 = (Offer) invokeModule(OFFER_MODULE + "/offer/" + browseevent.getOffer().getId(), Offer.class);
    if (offer4 != null) {
        final Seller seller5 = (Seller) invokeModule(PRODUCT_MODULE + "/seller/" + offer4.getSeller().getId(), Seller.class);
        if (seller5 != null) {
        }
        final Product product6 = (Product) invokeModule(PRODUCT_MODULE + "/product/" + offer4.getProduct().getId(), Product.class);
        if (product6 != null) {
            final Brand brand7 = (Brand) invokeModule(PRODUCT_MODULE + "/brand/" + product6.getBrand().getId(), Brand.class);
            if (brand7 != null) {
            }
        }
    }
}
return browseevent;


5.4 PRODUCT


ProductProductModuleAmazonCom

Properties (7)

PropertyTypeEntityReferenceModule
(1) BrandLONGProductBrandProductModule
(2) CreatedAtDATEProduct
(3) DescriptionSTRINGProduct
(4) IsActiveBOOLProduct
(5) SkuSTRINGProduct
(6) TitleSTRINGProduct
(7) UpdatedAtDATEProduct





Example:

final Product product = (Product) invokeModule(PRODUCT_MODULE + "/product/" + id, Product.class);
if (product != null) {
    final Brand brand1 = (Brand) invokeModule(PRODUCT_MODULE + "/brand/" + product.getBrand().getId(), Brand.class);
    if (brand1 != null) {
    }
}
return product;


5.5 QUESTION


QuestionProductModuleAmazonCom

Properties (5)

PropertyTypeEntityReferenceModule
(1) BodySTRINGQuestion
(2) CreatedAtDATEQuestion
(3) CustomerLONGQuestionCustomerCustomerModule
(4) ProductLONGQuestionProductProductModule
(5) TitleSTRINGQuestion





Example:

final Question question = (Question) invokeModule(PRODUCT_MODULE + "/question/" + id, Question.class);
if (question != null) {
    final Product product1 = (Product) invokeModule(PRODUCT_MODULE + "/product/" + question.getProduct().getId(), Product.class);
    if (product1 != null) {
        final Brand brand2 = (Brand) invokeModule(PRODUCT_MODULE + "/brand/" + product1.getBrand().getId(), Brand.class);
        if (brand2 != null) {
        }
    }
    final Customer customer3 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + question.getCustomer().getId(), Customer.class);
    if (customer3 != null) {
    }
}
return question;


5.6 SELLER


SellerProductModuleAmazonCom

Properties (8)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATESeller
(2) DefaultAddressLONGSeller
(3) EmailSTRINGSeller
(4) IsActiveBOOLSeller
(5) LegalNameSTRINGSeller
(6) NameSTRINGSeller
(7) PhoneSTRINGSeller
(8) UpdatedAtDATESeller





Example:

final Seller seller = (Seller) invokeModule(PRODUCT_MODULE + "/seller/" + id, Seller.class);
if (seller != null) {
}
return seller;


Overview

Summary

ContactDonateImprint