Package org.iplantc.agave.client

Examples of org.iplantc.agave.client.ApiException


  public SingleRemoteFileResponse importToDefaultSystem(
      String sourcefilePath, String fileType, String callbackURL,
      String fileName, String urlToIngest) throws ApiException {
    // verify required params are set
    if (sourcefilePath == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/files/" + Settings.API_VERSION + "/media/{sourcefilePath}".replaceAll(
        "\\{format\\}", "json").replaceAll(
        "\\{" + "sourcefilePath" + "\\}",
View Full Code Here


  public EmptyRemoteFileResponse manageOnDefaultSystem(String sourcefilePath,
      FileOperationRequest body) throws ApiException {
    // verify required params are set
    if (sourcefilePath == null || body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/files/" + Settings.API_VERSION + "/media/{sourcefilePath}".replaceAll(
        "\\{format\\}", "json").replaceAll(
        "\\{" + "sourcefilePath" + "\\}",
View Full Code Here

  public EmptyRemoteFileResponse deleteFromDefaultSystem(String sourcefilePath)
      throws ApiException {
    // verify required params are set
    if (sourcefilePath == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/files/" + Settings.API_VERSION + "/media/{sourcefilePath}".replaceAll(
        "\\{format\\}", "json").replaceAll(
        "\\{" + "sourcefilePath" + "\\}",
View Full Code Here

  }

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

  public SingleRemoteFileResponse importData(String systemId,
      String filePath, String fileType, String callbackURL,
      String fileName, String urlToIngest) throws ApiException {
    // verify required params are set
    if (systemId == null || filePath == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/files/" + Settings.API_VERSION + "/media/system/{systemId}/{filePath}"
        .replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "systemId" + "\\}",
View Full Code Here

  public EmptyRemoteFileResponse manage(String systemId, String filePath,
      FileOperationRequest body) throws ApiException {
    // verify required params are set
    if (systemId == null || filePath == null || body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/files/" + Settings.API_VERSION + "/media/system/{systemId}/{filePath}"
        .replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "systemId" + "\\}",
View Full Code Here

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

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

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

  public FileHistoryResponse getHistoryOnDefaultSystem(String filePath)
      throws ApiException {
    // verify required params are set
    if (filePath == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/files/" + Settings.API_VERSION + "/history/{filePath}".replaceAll("\\{format\\}",
        "json").replaceAll("\\{" + "filePath" + "\\}",
        apiInvoker.escapeString(filePath.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.