Interface PageApi

    • Method Detail

      • createPage

        Page createPage​(PageCreateRequest body)
        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.
        Parameters:
        body - Zip name as named in the temp folder after upload (required)
        Returns:
        Page
      • createPageWithHttpInfo

        ApiResponse<Page> createPageWithHttpInfo​(PageCreateRequest body)
        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.
        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​(Map<String,​Object> 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​(Map<String,​Object> 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

        void updatePageById​(String id,
                            PageUpdateRequest pageUpdateRequest)
        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.
        Parameters:
        id - ID of the Page to return (required)
        pageUpdateRequest - Partial Page description (required)
      • updatePageByIdWithHttpInfo

        ApiResponse<Void> updatePageByIdWithHttpInfo​(String id,
                                                     PageUpdateRequest pageUpdateRequest)
        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.
        Parameters:
        id - ID of the Page to return (required)
        pageUpdateRequest - Partial Page description (required)
      • uploadPage

        String uploadPage​(File file)
        Upload a Page Upload Page
        Parameters:
        file - (optional)
        Returns:
        String
      • uploadPageWithHttpInfo

        ApiResponse<String> uploadPageWithHttpInfo​(File file)
        Upload a Page Similar to uploadPage but it also returns the http response headers . Upload Page
        Parameters:
        file - (optional)
        Returns:
        A ApiResponse that wraps the response boyd and the http headers.