Package org.iplantc.agave.client

Examples of org.iplantc.agave.client.ApiException


  }

  public FileHistoryResponse getHistory(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/system/{systemId}/{filePath}"
        .replaceAll("\\{format\\}", "json").replaceAll(
            "\\{" + "filePath" + "\\}",
View Full Code Here


  public MultiplePermissionResponse listPermissionsOnDefaultSystem(
      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 + "/pems/{filePath}".replaceAll("\\{format\\}",
        "json").replaceAll("\\{" + "filePath" + "\\}",
        apiInvoker.escapeString(filePath.toString()));
View Full Code Here

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

  public MultiplePermissionResponse listPermissions(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 + "/pems/system/{systemId}/{filePath}".replaceAll(
        "\\{format\\}", "json").replaceAll("\\{" + "filePath" + "\\}",
        apiInvoker.escapeString(filePath.toString()));
View Full Code Here

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

  public EmptyRemoteFileResponse deletePermissions(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 + "/pems/system/{systemId}/{filePath}".replaceAll(
        "\\{format\\}", "json").replaceAll("\\{" + "filePath" + "\\}",
        apiInvoker.escapeString(filePath.toString()));
View Full Code Here

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

  public MultipleProfileResponse search(String term, String value)
      throws ApiException {
    // verify required params are set
    if (term == null || value == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/profiles/" + Settings.API_VERSION + "/search/{term}/{value}"
        .replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "term" + "\\}",
View Full Code Here

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

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