Package com.jada.jpa.entity

Examples of com.jada.jpa.entity.SiteProfileClass


          break;
        }
      }
      if (siteDomainLanguage == null) {
        siteDomainLanguage = new SiteDomainLanguage();
        SiteProfileClass siteProfileClass = SiteProfileClassDAO.load(siteProfileClassId);
        SiteDomainParamBean siteDomainParamBean = new SiteDomainParamBean();
        siteDomainLanguage.setSiteDomainParam(Utility.joxMarshall("SiteDomainParamBean", siteDomainParamBean));
        siteDomainLanguage.setSiteProfileClass(siteProfileClass);
        siteDomain.getSiteDomainLanguages().add(siteDomainLanguage);
      }
View Full Code Here


            break;
          }
            }
            if (siteDomainLanguage == null) {
            siteDomainLanguage = new SiteDomainLanguage();
            SiteProfileClass siteProfileClass = SiteProfileClassDAO.load(form.getSiteProfileClassId());
            siteDomainParamBean = new SiteDomainParamBean();
            siteDomainLanguage.setSiteDomainParam(Utility.joxMarshall("SiteDomainParamBean", siteDomainParamBean));
            siteDomainLanguage.setSiteProfileClass(siteProfileClass);
            siteDomain.getSiteDomainLanguages().add(siteDomainLanguage);
            }
View Full Code Here

    vector = new Vector<LabelValueBean>();
        query = em.createQuery("from SiteProfileClass siteProfileClass where siteProfileClass.site.siteId = :siteId order by siteProfileClassName");
        query.setParameter("siteId", form.getSiteId());
        iterator = query.getResultList().iterator();
        while (iterator.hasNext()) {
          SiteProfileClass siteProfileClass = (SiteProfileClass) iterator.next();
          LabelValueBean bean = new LabelValueBean(siteProfileClass.getSiteProfileClassName(), Format.getLong(siteProfileClass.getSiteProfileClassId()));
          vector.add(bean);
        }
        LabelValueBean siteProfileClasses[] = new LabelValueBean[vector.size()];
        vector.copyInto(siteProfileClasses);
        form.setSiteProfileClasses(siteProfileClasses);
View Full Code Here

      shippingMethod.setRecCreateDatetime(new Date(System.currentTimeMillis()));
     
      shippingMethodLanguage.setRecCreateBy(adminBean.getUser().getUserId());
      shippingMethodLanguage.setRecCreateDatetime(new Date(System.currentTimeMillis()));
      shippingMethodLanguage.setShippingMethod(shippingMethod);
      SiteProfileClass siteProfileClass = SiteProfileClassDAO.load(form.getSiteProfileClassId());
      shippingMethodLanguage.setSiteProfileClass(siteProfileClass);
      shippingMethod.getShippingMethodLanguages().add(shippingMethodLanguage);
    }

    for (ShippingMethodRegion shippingMethodRegion : shippingMethod.getShippingMethodRegions()) {
View Full Code Here

      }
      if (!found) {
        shippingMethodLanguage = new ShippingMethodLanguage();
        shippingMethodLanguage.setRecCreateBy(user.getUserId());
        shippingMethodLanguage.setRecCreateDatetime(new Date(System.currentTimeMillis()));
        SiteProfileClass siteProfileClass = (SiteProfileClass) em.find(SiteProfileClass.class, siteProfileClassId);
        shippingMethodLanguage.setSiteProfileClass(siteProfileClass);
        shippingMethodLanguage.setShippingMethod(shippingMethod);
      }
      if (form.isShippingMethodNameLangFlag()) {
        shippingMethodLanguage.setShippingMethodName(form.getShippingMethodNameLang());
View Full Code Here

      }
      if (!found) {
        categoryLanguage = new CategoryLanguage();
        categoryLanguage.setRecCreateBy(user.getUserId());
        categoryLanguage.setRecCreateDatetime(new Date(System.currentTimeMillis()));
        SiteProfileClass siteProfileClass = em.find(SiteProfileClass.class, siteProfileClassId);
        categoryLanguage.setSiteProfileClass(siteProfileClass);
        categoryLanguage.setCategory(category);
      }
      if (form.isCatTitleLangFlag()) {
        categoryLanguage.setCatTitle(form.getCatTitleLang());
View Full Code Here

      if (!found) {
        contentLanguage = new ContentLanguage();
        contentLanguage.setRecCreateBy(user.getUserId());
        contentLanguage.setRecCreateDatetime(new Date(System.currentTimeMillis()));
        contentLanguage.setContentImageOverride(String.valueOf(Constants.VALUE_NO));
        SiteProfileClass siteProfileClass = (SiteProfileClass) em.find(SiteProfileClass.class, siteProfileClassId);
        contentLanguage.setSiteProfileClass(siteProfileClass);
        contentLanguage.setContent(content);
        content.getContentLanguages().add(contentLanguage);
      }
      if (form.isContentTitleLangFlag()) {
View Full Code Here

      if (contentLanguage == null) {
        contentLanguage = new ContentLanguage();
        contentLanguage.setContentImageOverride(String.valueOf(Constants.VALUE_NO));
        contentLanguage.setRecCreateBy(adminBean.getUser().getUserId());
        contentLanguage.setRecCreateDatetime(new Date(System.currentTimeMillis()));
        SiteProfileClass siteProfileClass = SiteProfileClassDAO.load(form.getSiteProfileClassDefaultId());
        contentLanguage.setSiteProfileClass(siteProfileClass);
        content.getContentLanguages().add(contentLanguage);
        content.setContentLanguage(contentLanguage);
      }
     
View Full Code Here

      if (contentLanguage == null) {
        contentLanguage = new ContentLanguage();
        contentLanguage.setContent(content);
        contentLanguage.setRecCreateBy(adminBean.getUser().getUserId());
        contentLanguage.setRecCreateDatetime(new Date(System.currentTimeMillis()));
        SiteProfileClass siteProfileClass = SiteProfileClassDAO.load(form.getSiteProfileClassId());
        contentLanguage.setSiteProfileClass(siteProfileClass);
        em.persist(contentLanguage);
      }
      ContentImage contentImage = new ContentImage();
      contentImage.setImageName(file.getFileName());
View Full Code Here

        found = true;
        break;
      }
    }
    if (!found) {
      SiteProfileClass siteProfileClass = (SiteProfileClass) em.find(SiteProfileClass.class, form.getSiteProfileClassId());
      contentLanguage = new ContentLanguage();
      contentLanguage.setContent(content);
      contentLanguage.setRecCreateBy(adminBean.getUser().getUserId());
      contentLanguage.setRecCreateDatetime(new Date(System.currentTimeMillis()));
      contentLanguage.setSiteProfileClass(siteProfileClass);
View Full Code Here

TOP

Related Classes of com.jada.jpa.entity.SiteProfileClass

Copyright © 2018 www.massapicom. 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.