Examples of findByLocaleId()


Examples of org.zanata.dao.LocaleDAO.findByLocaleId()

        }

        // Create the document
        HDocument doc = new HDocument();
        doc.setContentType(ContentType.TextPlain);
        doc.setLocale(localeDAO.findByLocaleId(LocaleId.EN_US));
        doc.setProjectIteration(projectIteration);
        if (execution.documentMatches) {
            doc.setFullPath("/same/document");
        } else {
            doc.setFullPath("/different/document");
View Full Code Here

Examples of org.zanata.dao.LocaleDAO.findByLocaleId()

                .useImpl(IndexingServiceImpl.class)
                .ignoreNonResolvable();
        seam.autowire(SearchIndexManager.class).reindex(true, true, false);
        LocaleDAO localeDAO = seam.autowire(LocaleDAO.class);

        sourceLocale = localeDAO.findByLocaleId(LocaleId.EN_US);
    }

    @Test
    public void testTextFlowTargetDAOMostRecent() {
        TranslationFinder service = seam.autowire(TextFlowTargetDAO.class);
View Full Code Here

Examples of org.zanata.dao.LocaleDAO.findByLocaleId()

                        .ignoreNonResolvable()
                        .autowire(TranslationMemoryServiceImpl.class);
        seam.autowire(SearchIndexManager.class).reindex(true, true, false);
        LocaleDAO localeDAO = seam.autowire(LocaleDAO.class);

        sourceLocale = localeDAO.findByLocaleId(LocaleId.EN_US);
        targetLocale = localeDAO.findByLocaleId(LocaleId.DE);
    }

    @Test
    public void testGetTransMemoryDetail() {
View Full Code Here

Examples of org.zanata.dao.LocaleDAO.findByLocaleId()

                        .autowire(TranslationMemoryServiceImpl.class);
        seam.autowire(SearchIndexManager.class).reindex(true, true, false);
        LocaleDAO localeDAO = seam.autowire(LocaleDAO.class);

        sourceLocale = localeDAO.findByLocaleId(LocaleId.EN_US);
        targetLocale = localeDAO.findByLocaleId(LocaleId.DE);
    }

    @Test
    public void testGetTransMemoryDetail() {
        HTextFlow hTextFlow =
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.