Package org.zanata.model

Examples of org.zanata.model.HTermComment


        } else {
            targetTerm.setContent(action.getNewTargetTerm());
            targetTerm.getComments().clear();

            for (String newComment : action.getNewTargetComment()) {
                targetTerm.getComments().add(new HTermComment(newComment));
            }

            HGlossaryEntry entryResult = glossaryDAO.makePersistent(entry);
            glossaryDAO.flush();
View Full Code Here


                    getOrCreateGlossaryTerm(to, termHLocale, glossaryTerm);

            hGlossaryTerm.getComments().clear();

            for (String comment : glossaryTerm.getComments()) {
                hGlossaryTerm.getComments().add(new HTermComment(comment));
            }

            to.getGlossaryTerms().put(termHLocale, hGlossaryTerm);
        }
        glossaryDAO.makePersistent(to);
View Full Code Here

TOP

Related Classes of org.zanata.model.HTermComment

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.