Examples of BioPortalRestAPI


Examples of edu.stanford.bmir.protege.web.server.bioportal.BioPortalRestAPI



    private BioPortalRestAPI getAPI() {
        String restBase = BioPortalConfigurationManager.getManager().getRestBase();
        return new BioPortalRestAPI(restBase);
    }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.server.bioportal.BioPortalRestAPI

        String restBase = BioPortalConfigurationManager.getManager().getRestBase();
        return new BioPortalRestAPI(restBase);
    }

    public BioPortalUserInfo getBioPortalUserInfo(String bioportalAccountName, String bioportalPassword) throws CannotValidateBioPortalCredentials {
        BioPortalRestAPI api = getAPI();
        return api.getUserInfo(bioportalAccountName, bioportalPassword);
    }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.server.bioportal.BioPortalRestAPI

        BioPortalRestAPI api = getAPI();
        return api.getUserInfo(bioportalAccountName, bioportalPassword);
    }

    public void uploadProjectToBioPortal(ProjectId projectId, RevisionNumber revisionNumber, PublishToBioPortalInfo publishInfo) throws IOException {
        BioPortalRestAPI api = getAPI();
        api.uploadOntologyToBioPortal(projectId, revisionNumber, publishInfo);
    }
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.