Package org.bonitasoft.web.client.api
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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA convenience class for generating query parameters for thesearchPagesmethod in a fluent style. -
Method Summary
Modifier and TypeMethodDescriptioncreatePage(PageCreateRequest body) Deprecated.Deprecated.voiddeletePageById(String id) Delete the Page by ID Delete the single Page for the given IDDelete the Page by ID Similar todeletePageByIdbut it also returns the http response headers .getPageById(String id) Finds the Page by ID Returns the single Page for the given IDFinds the Page by ID Similar togetPageByIdbut it also returns the http response headers .Finds Pages Finds Pages with pagination params and filters - can search on `displayName`,`description` - can filter on `createdBy`,`contentType`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 othersearchPagesmethod, but with the query parameters collected into a single Map parameter.Finds Pages Similar tosearchPagesbut it also returns the http response headers .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 othersearchPagesthat receives the query parameters as a map, but this one also exposes the Http response headersvoidupdatePageById(String id, PageUpdateRequest pageUpdateRequest) Deprecated.updatePageByIdWithHttpInfo(String id, PageUpdateRequest pageUpdateRequest) Deprecated.uploadPage(File file) Deprecated.uploadPageWithHttpInfo(File file) Deprecated.
-
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.Create the Page Similar tocreatePagebut 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
Delete the Page by ID Delete the single Page for the given ID- Parameters:
id- ID of the Page to delete (required)
-
deletePageByIdWithHttpInfo
Delete the Page by ID Similar todeletePageByIdbut 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
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
Finds the Page by ID Similar togetPageByIdbut 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
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 tosearchPagesbut 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
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 othersearchPagesmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with thePageApi.SearchPagesQueryParamsclass that allows for building up this map in a fluent style.- Parameters:
queryParams- Map of query parameters as name-value pairsThe 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
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 othersearchPagesthat 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 pairsThe 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.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 toupdatePageByIdbut 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.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.Upload a Page Similar touploadPagebut 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.
-