Package org.apache.chemistry.opencmis.client.bindings.spi.atompub.objects

Examples of org.apache.chemistry.opencmis.client.bindings.spi.atompub.objects.ServiceDoc


        UrlBuilder url = new UrlBuilder(getServiceDocURL());
        url.addParameter(Constants.PARAM_REPOSITORY_ID, repositoryId);

        // read and parse
        HttpUtils.Response resp = read(url);
        ServiceDoc serviceDoc = parse(resp.getStream(), ServiceDoc.class);

        // walk through the workspaces
        for (RepositoryWorkspace ws : serviceDoc.getWorkspaces()) {
            if (ws.getId() == null) {
                // found a non-CMIS workspace
                continue;
            }
View Full Code Here

TOP

Related Classes of org.apache.chemistry.opencmis.client.bindings.spi.atompub.objects.ServiceDoc

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.