Interface PageApi

All Superinterfaces:
ApiClient.Api

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

    • createPage

      Deprecated.
      Create the Page Upload the page content using the `portal/pageUpload`. This returns a temporary file name that can be used as input for this operation. Warning: as of 9.0.0, creating a page using this API is deprecated.
      Parameters:
      body - Zip name as named in the temp folder after upload (required)
      Returns:
      Page
    • createPageWithHttpInfo

      @Deprecated ApiResponse<Page> createPageWithHttpInfo(PageCreateRequest body)
      Deprecated.
      Create the Page Similar to createPage but it also returns the http response headers . Upload the page content using the `portal/pageUpload`. This returns a temporary file name that can be used as input for this operation. Warning: as of 9.0.0, creating a page using this API is deprecated.
      Parameters:
      body - Zip name as named in the temp folder after upload (required)
      Returns:
      A ApiResponse that wraps the response boyd and the http headers.
    • deletePageById

      void deletePageById(String id)
      Delete the Page by ID Delete the single Page for the given ID
      Parameters:
      id - ID of the Page to delete (required)
    • deletePageByIdWithHttpInfo

      ApiResponse<Void> deletePageByIdWithHttpInfo(String id)
      Delete the Page by ID Similar to deletePageById but it also returns the http response headers . Delete the single Page for the given ID
      Parameters:
      id - ID of the Page to delete (required)
    • getPageById

      Page getPageById(String id)
      Finds the Page by ID Returns the single Page for the given ID
      Parameters:
      id - ID of the Page to return (required)
      Returns:
      Page
    • getPageByIdWithHttpInfo

      ApiResponse<Page> getPageByIdWithHttpInfo(String id)
      Finds the Page by ID Similar to getPageById but it also returns the http response headers . Returns the single Page for the given ID
      Parameters:
      id - ID of the Page to return (required)
      Returns:
      A ApiResponse that wraps the response boyd and the http headers.
    • searchPages

      List<Page> searchPages(Integer p, Integer c, List<String> f, String o, String s)
      Finds Pages Finds Pages with pagination params and filters - can search on `displayName`,`description` - can filter on `createdBy`,`contentType`
      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<Page>
    • searchPagesWithHttpInfo

      ApiResponse<List<Page>> searchPagesWithHttpInfo(Integer p, Integer c, List<String> f, String o, String s)
      Finds Pages Similar to searchPages but it also returns the http response headers . Finds Pages with pagination params and filters - can search on `displayName`,`description` - can filter on `createdBy`,`contentType`
      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.
    • searchPages

      List<Page> searchPages(PageApi.SearchPagesQueryParams queryParams)
      Finds Pages Finds Pages with pagination params and filters - can search on `displayName`,`description` - can filter on `createdBy`,`contentType` Note, this is equivalent to the other searchPages 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 PageApi.SearchPagesQueryParams 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<Page>
    • searchPagesWithHttpInfo

      ApiResponse<List<Page>> searchPagesWithHttpInfo(PageApi.SearchPagesQueryParams queryParams)
      Finds Pages Finds Pages with pagination params and filters - can search on `displayName`,`description` - can filter on `createdBy`,`contentType` Note, this is equivalent to the other searchPages 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<Page>
    • updatePageById

      @Deprecated void updatePageById(String id, PageUpdateRequest pageUpdateRequest)
      Deprecated.
      Update the Page by ID Use the PUT method to update an existing custom page. To update a custom page, upload the new page content using the pageUpload servlet, which returns a temporary file name, and then call this API with the temporary file name. Warning: as of 9.0.0, updating a page using this API is deprecated.
      Parameters:
      id - ID of the Page to return (required)
      pageUpdateRequest - Partial Page description (required)
    • updatePageByIdWithHttpInfo

      @Deprecated ApiResponse<Void> updatePageByIdWithHttpInfo(String id, PageUpdateRequest pageUpdateRequest)
      Deprecated.
      Update the Page by ID Similar to updatePageById but it also returns the http response headers . Use the PUT method to update an existing custom page. To update a custom page, upload the new page content using the pageUpload servlet, which returns a temporary file name, and then call this API with the temporary file name. Warning: as of 9.0.0, updating a page using this API is deprecated.
      Parameters:
      id - ID of the Page to return (required)
      pageUpdateRequest - Partial Page description (required)
    • uploadPage

      @Deprecated String uploadPage(File file)
      Deprecated.
      Upload a Page Upload Page Warning: as of 9.0.0, uploading a page using the portal is deprecated.
      Parameters:
      file - (optional)
      Returns:
      String
    • uploadPageWithHttpInfo

      @Deprecated ApiResponse<String> uploadPageWithHttpInfo(File file)
      Deprecated.
      Upload a Page Similar to uploadPage but it also returns the http response headers . Upload Page Warning: as of 9.0.0, uploading a page using the portal is deprecated.
      Parameters:
      file - (optional)
      Returns:
      A ApiResponse that wraps the response boyd and the http headers.