Package org.iplantc.agave.client

Examples of org.iplantc.agave.client.ApiException


  public EmptyApplicationResponse deletePermissionsForUser(String appId,
      String username) throws ApiException {
    // verify required params are set
    if (appId == null || username == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/{appId}/pems/{username}"
        .replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "appId" + "\\}",
View Full Code Here


  public MultipleApplicationResponse listByName(String name,
      String publicOnly, String privateOnly) throws ApiException {
    // verify required params are set
    if (name == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/name/{name}".replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "name" + "\\}",
            apiInvoker.escapeString(name.toString()));
View Full Code Here

  public MultipleApplicationResponse listByTag(String tag, String publicOnly,
      String privateOnly) throws ApiException {
    // verify required params are set
    if (tag == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/tag/{tag}".replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "tag" + "\\}",
            apiInvoker.escapeString(tag.toString()));
View Full Code Here

  public MultipleApplicationResponse listByOntologyTerm(String term,
      String publicOnly, String privateOnly) throws ApiException {
    // verify required params are set
    if (term == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/ontology/{term}".replaceAll("\\{format\\}",
        "json").replaceAll("\\{" + "term" + "\\}",
        apiInvoker.escapeString(term.toString()));
View Full Code Here

  public MultipleApplicationResponse listBySystemId(String systemId,
      String publicOnly, String privateOnly) throws ApiException {
    // verify required params are set
    if (systemId == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/system/{systemId}".replaceAll("\\{format\\}",
        "json").replaceAll("\\{" + "systemId" + "\\}",
        apiInvoker.escapeString(systemId.toString()));
View Full Code Here

  }

  public SingleJobResponse submit(JobRequest body) throws ApiException {
    // verify required params are set
    if (body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/jobs/" + Settings.API_VERSION + "/".replaceAll("\\{format\\}", "json");

    // query params
View Full Code Here

  }

  public SingleJobResponse get(Integer jobId) throws ApiException {
    // verify required params are set
    if (jobId == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/jobs/" + Settings.API_VERSION + "/{jobId}".replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "jobId" + "\\}",
            apiInvoker.escapeString(jobId.toString()));
View Full Code Here

  public SingleJobResponse manage(String jobId, JobOperationRequest body)
      throws ApiException {
    // verify required params are set
    if (jobId == null || body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/jobs/" + Settings.API_VERSION + "/{jobId}".replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "jobId" + "\\}",
            apiInvoker.escapeString(jobId.toString()));
View Full Code Here

  }

  public EmptyJobResponse delete(String jobId) throws ApiException {
    // verify required params are set
    if (jobId == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/jobs/" + Settings.API_VERSION + "/{jobId}".replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "jobId" + "\\}",
            apiInvoker.escapeString(jobId.toString()));
View Full Code Here

  }

  public JobHistoryResponse getHistory(String jobId) throws ApiException {
    // verify required params are set
    if (jobId == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/jobs/" + Settings.API_VERSION + "/{jobId}/history".replaceAll("\\{format\\}",
        "json").replaceAll("\\{" + "jobId" + "\\}",
        apiInvoker.escapeString(jobId.toString()));
View Full Code Here

TOP

Related Classes of org.iplantc.agave.client.ApiException

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.