Interface TenantApi

All Superinterfaces:
ApiClient.Api

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public interface TenantApi extends ApiClient.Api
  • Method Details

    • createTenant

      Deprecated.
      Create the Tenant ![edition](https://img.shields.io/badge/edition-entreprise-blue) Create the Tenant. Warning: Since Bonita 7.12, multi-tenancy is deprecated. Creating new tenants is strongly discouraged.
      Parameters:
      body - Partial Tenant description (required)
      Returns:
      Tenant
    • createTenantWithHttpInfo

      @Deprecated ApiResponse<Tenant> createTenantWithHttpInfo(TenantCreateRequest body)
      Deprecated.
      Create the Tenant Similar to createTenant but it also returns the http response headers . ![edition](https://img.shields.io/badge/edition-entreprise-blue) Create the Tenant. Warning: Since Bonita 7.12, multi-tenancy is deprecated. Creating new tenants is strongly discouraged.
      Parameters:
      body - Partial Tenant description (required)
      Returns:
      A ApiResponse that wraps the response boyd and the http headers.
    • deleteTenantById

      @Deprecated void deleteTenantById(String id)
      Deprecated.
      Delete the Tenant by ID ![edition](https://img.shields.io/badge/edition-entreprise-blue) Delete the single Tenant for the given ID
      Parameters:
      id - ID of the Tenant to delete (required)
    • deleteTenantByIdWithHttpInfo

      @Deprecated ApiResponse<Void> deleteTenantByIdWithHttpInfo(String id)
      Deprecated.
      Delete the Tenant by ID Similar to deleteTenantById but it also returns the http response headers . ![edition](https://img.shields.io/badge/edition-entreprise-blue) Delete the single Tenant for the given ID
      Parameters:
      id - ID of the Tenant to delete (required)
    • getTenantById

      @Deprecated Tenant getTenantById(String id)
      Deprecated.
      Finds the Tenant by ID ![edition](https://img.shields.io/badge/edition-entreprise-blue) Returns the single Tenant for the given ID Warning: Since Bonita 7.12, multi-tenancy is deprecated
      Parameters:
      id - ID of the Tenant to return (required)
      Returns:
      Tenant
    • getTenantByIdWithHttpInfo

      @Deprecated ApiResponse<Tenant> getTenantByIdWithHttpInfo(String id)
      Deprecated.
      Finds the Tenant by ID Similar to getTenantById but it also returns the http response headers . ![edition](https://img.shields.io/badge/edition-entreprise-blue) Returns the single Tenant for the given ID Warning: Since Bonita 7.12, multi-tenancy is deprecated
      Parameters:
      id - ID of the Tenant to return (required)
      Returns:
      A ApiResponse that wraps the response boyd and the http headers.
    • searchTenants

      @Deprecated List<Tenant> searchTenants(Integer p, Integer c, List<String> f, String o, String s)
      Deprecated.
      Finds Tenants ![edition](https://img.shields.io/badge/edition-entreprise-blue) Finds Tenants with pagination params and filters - can order on `id` - can search on `displayName` - can filter on `displayName` Warning: Since Bonita 7.12, multi-tenancy is deprecated
      Parameters:
      p - index of the page to display (required)
      c - maximum number of elements to retrieve (required)
      f - can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)
      o - can order on attributes (optional)
      s - can search on attributes (optional)
      Returns:
      List<Tenant>
    • searchTenantsWithHttpInfo

      @Deprecated ApiResponse<List<Tenant>> searchTenantsWithHttpInfo(Integer p, Integer c, List<String> f, String o, String s)
      Deprecated.
      Finds Tenants Similar to searchTenants but it also returns the http response headers . ![edition](https://img.shields.io/badge/edition-entreprise-blue) Finds Tenants with pagination params and filters - can order on `id` - can search on `displayName` - can filter on `displayName` Warning: Since Bonita 7.12, multi-tenancy is deprecated
      Parameters:
      p - index of the page to display (required)
      c - maximum number of elements to retrieve (required)
      f - can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)
      o - can order on attributes (optional)
      s - can search on attributes (optional)
      Returns:
      A ApiResponse that wraps the response boyd and the http headers.
    • searchTenants

      Deprecated.
      Finds Tenants ![edition](https://img.shields.io/badge/edition-entreprise-blue) Finds Tenants with pagination params and filters - can order on `id` - can search on `displayName` - can filter on `displayName` Warning: Since Bonita 7.12, multi-tenancy is deprecated Note, this is equivalent to the other searchTenants method, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with the TenantApi.SearchTenantsQueryParams class that allows for building up this map in a fluent style.
      Parameters:
      queryParams - Map of query parameters as name-value pairs

      The following elements may be specified in the query map:

      • p - index of the page to display (required)
      • c - maximum number of elements to retrieve (required)
      • f - can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)
      • o - can order on attributes (optional)
      • s - can search on attributes (optional)
      Returns:
      List<Tenant>
    • searchTenantsWithHttpInfo

      @Deprecated ApiResponse<List<Tenant>> searchTenantsWithHttpInfo(TenantApi.SearchTenantsQueryParams queryParams)
      Deprecated.
      Finds Tenants ![edition](https://img.shields.io/badge/edition-entreprise-blue) Finds Tenants with pagination params and filters - can order on `id` - can search on `displayName` - can filter on `displayName` Warning: Since Bonita 7.12, multi-tenancy is deprecated Note, this is equivalent to the other searchTenants that receives the query parameters as a map, but this one also exposes the Http response headers
      Parameters:
      queryParams - Map of query parameters as name-value pairs

      The following elements may be specified in the query map:

      • p - index of the page to display (required)
      • c - maximum number of elements to retrieve (required)
      • f - can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)
      • o - can order on attributes (optional)
      • s - can search on attributes (optional)
      Returns:
      List<Tenant>
    • updateTenantById

      @Deprecated void updateTenantById(String id, TenantUpdateRequest tenantUpdateRequest)
      Deprecated.
      Update the Tenant by ID ![edition](https://img.shields.io/badge/edition-entreprise-blue) ![edition](https://img.shields.io/badge/edition-community-brightgreen) Update a Tenant Warning: Since Bonita 7.12, multi-tenancy is deprecated
      Parameters:
      id - ID of the Tenant to update. In Subscription edition, it is mandatory; not in Community edition, as there is only one tenant (required)
      tenantUpdateRequest - Partial Tenant description (required)
    • updateTenantByIdWithHttpInfo

      @Deprecated ApiResponse<Void> updateTenantByIdWithHttpInfo(String id, TenantUpdateRequest tenantUpdateRequest)
      Deprecated.
      Update the Tenant by ID Similar to updateTenantById but it also returns the http response headers . ![edition](https://img.shields.io/badge/edition-entreprise-blue) ![edition](https://img.shields.io/badge/edition-community-brightgreen) Update a Tenant Warning: Since Bonita 7.12, multi-tenancy is deprecated
      Parameters:
      id - ID of the Tenant to update. In Subscription edition, it is mandatory; not in Community edition, as there is only one tenant (required)
      tenantUpdateRequest - Partial Tenant description (required)