Package com.dotmarketing.beans

Examples of com.dotmarketing.beans.TemplateContainers


        Logger.error(TemplateFactoryImpl.class,e1.getMessage(),e1);
        throw new DotHibernateException("Unable to start a local transaction " + e1.getMessage(), e1);
      }
      HibernateUtil.delete("from template_containers in class com.dotmarketing.beans.TemplateContainers where template_id = '" + template.getIdentifier() + "'");
      for(Container container:containerIdentifiers){
        TemplateContainers templateContainer = new  TemplateContainers();
        templateContainer.setTemplateId(template.getIdentifier());
        templateContainer.setContainerId(container.getIdentifier());
        HibernateUtil.save(templateContainer);
      }
     
      if(local){
                HibernateUtil.commitTransaction();
View Full Code Here

TOP

Related Classes of com.dotmarketing.beans.TemplateContainers

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.