Overview

Summary

ContactDonateImprint


Appendix E-7: REVIEW (UI prompt)


ReviewCustomerModuleAmazonCom

Properties (8)

PropertyTypeEntityReferenceModule
(1) BodySTRINGReview
(2) CreatedAtDATEReview
(3) CustomerLONGReviewCustomerCustomerModule
(4) IsVerifiedPurchaseBOOLReview
(5) ProductLONGReviewProductProductModule
(6) RatingINTReview
(7) TitleSTRINGReview
(8) UpdatedAtDATEReview


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /review/{id}updateReviewById(review)CustomerModulePUTReview
(2) /reviewinsertReview(review)CustomerModulePOSTReview
(3) /review/customer/{id}findAllReviewOfCustomer(id)CustomerModuleGETCustomer Review
(4) /review/product/{id}findAllReviewOfProduct(id)CustomerModuleGETProduct Review
(5) /reviewfindAllReview()CustomerModuleGETReview
(6) /review/{id}findReviewById(id)CustomerModuleGETReview
(7) /review/{id}deleteReviewById(id)CustomerModuleDELETEReview
(8) /reviewcomment/review/{id}findAllReviewCommentOfReview(id)CustomerModuleGETReview ReviewComment





Example:

final Review review = (Review) invokeModule(CUSTOMER_MODULE + "/review/" + id, Review.class);
if (review != null) {
    final Customer customer1 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + review.getCustomer().getId(), Customer.class);
    if (customer1 != null) {
    }
    final Product product2 = (Product) invokeModule(PRODUCT_MODULE + "/product/" + review.getProduct().getId(), Product.class);
    if (product2 != null) {
        final Brand brand3 = (Brand) invokeModule(PRODUCT_MODULE + "/brand/" + product2.getBrand().getId(), Brand.class);
        if (brand3 != null) {
        }
    }
}
return review;


Overview

Summary

ContactDonateImprint