Package org.iplantc.agave.client

Examples of org.iplantc.agave.client.ApiException


  public JobPermissionResponse listPermissions(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}/pems"
        .replaceAll("\\{format\\}", "json").replaceAll(
            "\\{" + "jobId" + "\\}",
View Full Code Here


  public EmptyJobResponse updatePermissions(String jobId,
      JobPermissionRequest 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}/pems"
        .replaceAll("\\{format\\}", "json").replaceAll(
            "\\{" + "jobId" + "\\}",
View Full Code Here

  }

  public EmptyJobResponse deletePermissions(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}/pems"
        .replaceAll("\\{format\\}", "json").replaceAll(
            "\\{" + "jobId" + "\\}",
View Full Code Here

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

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

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

  }

  public JobStatusResponse getStatus(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}/status".replaceAll("\\{format\\}",
        "json").replaceAll("\\{" + "jobId" + "\\}",
        apiInvoker.escapeString(jobId.toString()));
View Full Code Here

  public MultipleRemoteFileResponse listOutputs(String jobId, String filePath)
      throws ApiException {
    // verify required params are set
    if (jobId == null || filePath == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/jobs/" + Settings.API_VERSION + "/{jobId}/ouputs/listings/{filePath}"
        .replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "jobId" + "\\}",
View Full Code Here

  public JobOutputFileDownload downloadOutput(String jobId, String filePath)
      throws ApiException {
    // verify required params are set
    if (jobId == null || filePath == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/jobs/" + Settings.API_VERSION + "/{jobId}/ouputs/media/{filePath}"
        .replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "jobId" + "\\}",
View Full Code Here

  public MultipleJobResponse search(String attribute, String value)
      throws ApiException {
    // verify required params are set
    if (attribute == null || value == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/jobs/" + Settings.API_VERSION + "/{attribute}/{value}"
        .replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "attribute" + "\\}",
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.