Examples of ProductMarketingCustomerComment


Examples of org.hoteia.qalingo.core.domain.ProductMarketingCustomerComment

        productMarketingCustomerComment.setDateUpdate(new Date());
        if (productMarketingCustomerComment.getId() != null) {
            if(em.contains(productMarketingCustomerComment)){
                em.refresh(productMarketingCustomerComment);
            }
            ProductMarketingCustomerComment mergedProductMarketingCustomerComment = em.merge(productMarketingCustomerComment);
            em.flush();
            return mergedProductMarketingCustomerComment;
        } else {
            em.persist(productMarketingCustomerComment);
            return productMarketingCustomerComment;
View Full Code Here

Examples of org.hoteia.qalingo.core.domain.ProductMarketingCustomerComment

      productCustomerRate.setType(Constants.PRODUCT_VALUE_RATING_TYPE);
      productService.saveOrUpdateProductMarketingCustomerRate(productCustomerRate);
    }
   
    if (StringUtils.isNotEmpty(productCommentForm.getComment())) {
      ProductMarketingCustomerComment productCustomerComment = new ProductMarketingCustomerComment();
      productCustomerComment.setComment(productCommentForm.getComment());
      productCustomerComment.setProductMarketingId(product.getId());
      productCustomerComment.setCustomer(customer);
      productService.saveOrUpdateProductMarketingCustomerComment(productCustomerComment);
    }
   
    addSuccessMessage(request, getSpecificMessage(ScopeWebMessage.PRODUCT_MARKETING, "comment_form_success_message",  locale));
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.