Overview

Summary

ContactDonateImprint


Appendix E-14: REVIEW COMMENT (UI prompt)


ReviewCommentCustomerModuleAmazonCom

Properties (4)

PropertyTypeEntityReferenceModule
(1) BodySTRINGReviewComment
(2) CreatedAtDATEReviewComment
(3) CustomerLONGReviewCommentCustomerCustomerModule
(4) ReviewLONGReviewCommentReviewCustomerModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /reviewcomment/customer/{id}findAllReviewCommentOfCustomer(id)CustomerModuleGETCustomer ReviewComment
(2) /reviewcommentinsertReviewComment(reviewcomment)CustomerModulePOSTReviewComment
(3) /reviewcommentfindAllReviewComment()CustomerModuleGETReviewComment
(4) /reviewcomment/{id}deleteReviewCommentById(id)CustomerModuleDELETEReviewComment
(5) /reviewcomment/{id}findReviewCommentById(id)CustomerModuleGETReviewComment
(6) /reviewcomment/review/{id}findAllReviewCommentOfReview(id)CustomerModuleGETReview ReviewComment
(7) /reviewcomment/{id}updateReviewCommentById(reviewcomment)CustomerModulePUTReviewComment





Example:

final ReviewComment reviewcomment = (ReviewComment) invokeModule(CUSTOMER_MODULE + "/reviewcomment/" + id, ReviewComment.class);
if (reviewcomment != null) {
    final Review review1 = (Review) invokeModule(CUSTOMER_MODULE + "/review/" + reviewcomment.getReview().getId(), Review.class);
    if (review1 != null) {
        final Customer customer2 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + review1.getCustomer().getId(), Customer.class);
        if (customer2 != null) {
        }
        final Product product3 = (Product) invokeModule(PRODUCT_MODULE + "/product/" + review1.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/" + reviewcomment.getCustomer().getId(), Customer.class);
    if (customer5 != null) {
    }
}
return reviewcomment;


Overview

Summary

ContactDonateImprint