Package org.outerj.daisy.repository

Examples of org.outerj.daisy.repository.RepositoryManager


        String branch = cmd.getOptionValue(branchOption.getOpt());
        if (branch == null) {
            branch = DEFFAULT_BRANCH;
        }

        RepositoryManager repositoryManager = new RemoteRepositoryManager(
            "http://lilyproject.org:9263", new Credentials("guest", "guest"));
        Repository repository =
            repositoryManager.getRepository(new Credentials("guest", "guest"));
        QueryManager queryManager = repository.getQueryManager();
        RepositorySchema schema = repository.getRepositorySchema();

        String query = "select id, name where InCollection('" + collection + "') and branch = '" + branch + "'";
        VariantKey[] keys = queryManager.performQueryReturnKeys(query, Locale.getDefault());
View Full Code Here

TOP

Related Classes of org.outerj.daisy.repository.RepositoryManager

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.