Package com.mobius.model.entity

Examples of com.mobius.model.entity.TblEFormTemplateHistoryE


            query.setParameter("name", rtemplate.getName());
            List<TblEFromTemplateE> list = query.getResultList();
            TblEFromTemplateE template = null;
            if (list.size() > 0) {
                template = list.get(0);
                TblEFormTemplateHistoryE history = new TblEFormTemplateHistoryE();
                history.setName(template.getName());
                history.setOryId(template.getId());
                history.setModifiedBy(template.getModifiedBy());
                history.setModifiedOn(template.getModifiedOn());
                history.setTemplateData(template.getTemplateData());
                history.setDisplayName(template.getDisplayName());
                history.setDescription(template.getDescription());
                history.setVersion(template.getVersion());
                em.persist(history);
                template.setVersion(rtemplate.getVersion());
                template.setTemplateData(rtemplate.getJson());
                template.setModifiedOn(new Timestamp(new Date().getTime()));
                template.setDisplayName(rtemplate.getDisplayName());
View Full Code Here

TOP

Related Classes of com.mobius.model.entity.TblEFormTemplateHistoryE

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.