Overview

Summary

ContactDonateImprint


9. PRODUCT MODULE (UI prompt)



Module Entities (6)

EntityAliasModuleGlobal Schema
(1) CompanyCompanyCompanyModuleLinkedIn
(2) ProductProductProductModuleLinkedIn
(3) ProductCategoryProductCategoryProductModuleLinkedIn
(4) ProductReviewProductReviewProductModuleLinkedIn
(5) SearchDirectoryEntrySearchDirectoryEntryProductModuleLinkedIn
(6) UserAccountUserAccountUserAccountModuleLinkedIn

Module Interfaces (24)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /product/productcategory/{id}findAllProductOfProductCategory(id)ProductModuleGETProductCategory Product
(2) /productcategory/{id}deleteProductCategoryById(id)ProductModuleDELETEProductCategory
(3) /product/{id}deleteProductById(id)ProductModuleDELETEProduct
(4) /product/{id}findProductById(id)ProductModuleGETProduct
(5) /productreview/{id}updateProductReviewById(productreview)ProductModulePUTProductReview
(6) /productinsertProduct(product)ProductModulePOSTProduct
(7) /productreviewinsertProductReview(productreview)ProductModulePOSTProductReview
(8) /productreview/{id}deleteProductReviewById(id)ProductModuleDELETEProductReview
(9) /productcategory/{id}findProductCategoryById(id)ProductModuleGETProductCategory
(10) /searchdirectoryentry/{id}deleteSearchDirectoryEntryById(id)ProductModuleDELETESearchDirectoryEntry
(11) /searchdirectoryentry/{id}updateSearchDirectoryEntryById(searchdirectoryentry)ProductModulePUTSearchDirectoryEntry
(12) /searchdirectoryentryinsertSearchDirectoryEntry(searchdirectoryentry)ProductModulePOSTSearchDirectoryEntry
(13) /searchdirectoryentry/{id}findSearchDirectoryEntryById(id)ProductModuleGETSearchDirectoryEntry
(14) /product/{id}updateProductById(product)ProductModulePUTProduct
(15) /productreviewfindAllProductReview()ProductModuleGETProductReview
(16) /productreview/revieweruser/{id}findAllProductReviewOfReviewerUser(id)ProductModuleGETUserAccount ProductReview
(17) /product/company/{id}findAllProductOfCompany(id)ProductModuleGETCompany Product
(18) /productreview/{id}findProductReviewById(id)ProductModuleGETProductReview
(19) /searchdirectoryentryfindAllSearchDirectoryEntry()ProductModuleGETSearchDirectoryEntry
(20) /productreview/product/{id}findAllProductReviewOfProduct(id)ProductModuleGETProduct ProductReview
(21) /productcategory/{id}updateProductCategoryById(productcategory)ProductModulePUTProductCategory
(22) /productfindAllProduct()ProductModuleGETProduct
(23) /productcategoryinsertProductCategory(productcategory)ProductModulePOSTProductCategory
(24) /productcategoryfindAllProductCategory()ProductModuleGETProductCategory






9.1 PRODUCT


ProductProductModuleLinkedIn

Properties (7)

PropertyTypeEntityReferenceModule
(1) AverageRatingDOUBLEProduct
(2) CompanyLONGProductCompanyCompanyModule
(3) DescriptionSTRINGProduct
(4) NameSTRINGProduct
(5) ProductCategoryLONGProductProductCategoryProductModule
(6) ReviewsCountINTProduct
(7) UrlSTRINGProduct





Example:

final Product product = (Product) invokeModule(PRODUCT_MODULE + "/product/" + id, Product.class);
if (product != null) {
    final Company company1 = (Company) invokeModule(COMPANY_MODULE + "/company/" + product.getCompany().getId(), Company.class);
    if (company1 != null) {
    }
    final ProductCategory productcategory2 = (ProductCategory) invokeModule(PRODUCT_MODULE + "/productcategory/" + product.getProductCategory().getId(), ProductCategory.class);
    if (productcategory2 != null) {
    }
}
return product;


9.2 PRODUCT CATEGORY


ProductCategoryProductModuleLinkedIn

Properties (3)

PropertyTypeEntityReferenceModule
(1) DescriptionSTRINGProductCategory
(2) NameSTRINGProductCategory
(3) ParentCategoryLONGProductCategory





Example:

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


9.3 PRODUCT REVIEW


ProductReviewProductModuleLinkedIn

Properties (7)

PropertyTypeEntityReferenceModule
(1) BodySTRINGProductReview
(2) CreatedAtDATEProductReview
(3) IsVerifiedBuyerBOOLProductReview
(4) ProductLONGProductReviewProductProductModule
(5) RatingINTProductReview
(6) ReviewerUserLONGProductReviewUserAccountUserAccountModule
(7) TitleSTRINGProductReview





Example:

final ProductReview productreview = (ProductReview) invokeModule(PRODUCT_MODULE + "/productreview/" + id, ProductReview.class);
if (productreview != null) {
    final Product product1 = (Product) invokeModule(PRODUCT_MODULE + "/product/" + productreview.getProduct().getId(), Product.class);
    if (product1 != null) {
        final Company company2 = (Company) invokeModule(COMPANY_MODULE + "/company/" + product1.getCompany().getId(), Company.class);
        if (company2 != null) {
        }
        final ProductCategory productcategory3 = (ProductCategory) invokeModule(PRODUCT_MODULE + "/productcategory/" + product1.getProductCategory().getId(), ProductCategory.class);
        if (productcategory3 != null) {
        }
    }
    final UserAccount revieweruser4 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + productreview.getReviewerUser().getId(), UserAccount.class);
    if (revieweruser4 != null) {
    }
}
return productreview;


9.4 SEARCH DIRECTORY ENTRY


SearchDirectoryEntryProductModuleLinkedIn

Properties (6)

PropertyTypeEntityReferenceModule
(1) CountrySTRINGSearchDirectoryEntry
(2) DirectoryTypeSTRINGSearchDirectoryEntry
(3) LanguageSTRINGSearchDirectoryEntry
(4) ResourceTypeSTRINGSearchDirectoryEntry
(5) TitleSTRINGSearchDirectoryEntry
(6) UrlSTRINGSearchDirectoryEntry





Example:

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


Overview

Summary

ContactDonateImprint