Package org.bonitasoft.web.client.api
Interface ArchivedProcessInstanceDocumentApi
-
- All Superinterfaces:
ApiClient.Api
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public interface ArchivedProcessInstanceDocumentApi extends ApiClient.Api
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classArchivedProcessInstanceDocumentApi.SearchArchivedProcessInstanceDocumentsQueryParamsA convenience class for generating query parameters for thesearchArchivedProcessInstanceDocumentsmethod in a fluent style.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteArchivedProcessInstanceDocumentById(String id)Delete the ArchivedProcessInstanceDocument by ID Delete the single ArchivedProcessInstanceDocument for the given IDApiResponse<Void>deleteArchivedProcessInstanceDocumentByIdWithHttpInfo(String id)Delete the ArchivedProcessInstanceDocument by ID Similar todeleteArchivedProcessInstanceDocumentByIdbut it also returns the http response headers .List<ArchivedProcessInstanceDocument>searchArchivedProcessInstanceDocuments(Integer p, Integer c, List<String> f, String o)Finds ArchivedProcessInstanceDocuments Finds ArchivedProcessInstanceDocuments with pagination params and filters You can filter on : * `sourceObjectId=\"id\"`: search for documents by specifying the original document id.List<ArchivedProcessInstanceDocument>searchArchivedProcessInstanceDocuments(Map<String,Object> queryParams)Finds ArchivedProcessInstanceDocuments Finds ArchivedProcessInstanceDocuments with pagination params and filters You can filter on : * `sourceObjectId=\"id\"`: search for documents by specifying the original document id.ApiResponse<List<ArchivedProcessInstanceDocument>>searchArchivedProcessInstanceDocumentsWithHttpInfo(Integer p, Integer c, List<String> f, String o)Finds ArchivedProcessInstanceDocuments Similar tosearchArchivedProcessInstanceDocumentsbut it also returns the http response headers .ApiResponse<List<ArchivedProcessInstanceDocument>>searchArchivedProcessInstanceDocumentsWithHttpInfo(Map<String,Object> queryParams)Finds ArchivedProcessInstanceDocuments Finds ArchivedProcessInstanceDocuments with pagination params and filters You can filter on : * `sourceObjectId=\"id\"`: search for documents by specifying the original document id.
-
-
-
Method Detail
-
deleteArchivedProcessInstanceDocumentById
void deleteArchivedProcessInstanceDocumentById(String id)
Delete the ArchivedProcessInstanceDocument by ID Delete the single ArchivedProcessInstanceDocument for the given ID- Parameters:
id- ID of the ArchivedProcessInstanceDocument to delete (required)
-
deleteArchivedProcessInstanceDocumentByIdWithHttpInfo
ApiResponse<Void> deleteArchivedProcessInstanceDocumentByIdWithHttpInfo(String id)
Delete the ArchivedProcessInstanceDocument by ID Similar todeleteArchivedProcessInstanceDocumentByIdbut it also returns the http response headers . Delete the single ArchivedProcessInstanceDocument for the given ID- Parameters:
id- ID of the ArchivedProcessInstanceDocument to delete (required)
-
searchArchivedProcessInstanceDocuments
List<ArchivedProcessInstanceDocument> searchArchivedProcessInstanceDocuments(Integer p, Integer c, List<String> f, String o)
Finds ArchivedProcessInstanceDocuments Finds ArchivedProcessInstanceDocuments with pagination params and filters You can filter on : * `sourceObjectId=\"id\"`: search for documents by specifying the original document id. This is useful if you know the id of a ProcessInstanceDocument and you wish to retrieve all its previous versions.. * `caseId=\"id\"`: search for documents with the specified open process instance id. * `archivedProcessInstanceId=\"id\"`: search for documents with the specified archvied process instance id. * `submittedBy=\"id\"`: search for documents that were submitted by the user with the specified identifier. * `name=\"string\"`: search for documents with names that contain _string_. Depending on the setting for [word-based search](using-list-and-search-methods.md), the search returns documents with _string_ at the start of the name or the start of a word in the name. * `description=\"string\"`: search for documents with descriptions that contain _string_. Depending on the setting for [word-based search](using-list-and-search-methods.md), the search returns documents with _string_ at the start of the description or the start of a word in the description.- 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)- Returns:
- List<ArchivedProcessInstanceDocument>
-
searchArchivedProcessInstanceDocumentsWithHttpInfo
ApiResponse<List<ArchivedProcessInstanceDocument>> searchArchivedProcessInstanceDocumentsWithHttpInfo(Integer p, Integer c, List<String> f, String o)
Finds ArchivedProcessInstanceDocuments Similar tosearchArchivedProcessInstanceDocumentsbut it also returns the http response headers . Finds ArchivedProcessInstanceDocuments with pagination params and filters You can filter on : * `sourceObjectId=\"id\"`: search for documents by specifying the original document id. This is useful if you know the id of a ProcessInstanceDocument and you wish to retrieve all its previous versions.. * `caseId=\"id\"`: search for documents with the specified open process instance id. * `archivedProcessInstanceId=\"id\"`: search for documents with the specified archvied process instance id. * `submittedBy=\"id\"`: search for documents that were submitted by the user with the specified identifier. * `name=\"string\"`: search for documents with names that contain _string_. Depending on the setting for [word-based search](using-list-and-search-methods.md), the search returns documents with _string_ at the start of the name or the start of a word in the name. * `description=\"string\"`: search for documents with descriptions that contain _string_. Depending on the setting for [word-based search](using-list-and-search-methods.md), the search returns documents with _string_ at the start of the description or the start of a word in the description.- 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)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
searchArchivedProcessInstanceDocuments
List<ArchivedProcessInstanceDocument> searchArchivedProcessInstanceDocuments(Map<String,Object> queryParams)
Finds ArchivedProcessInstanceDocuments Finds ArchivedProcessInstanceDocuments with pagination params and filters You can filter on : * `sourceObjectId=\"id\"`: search for documents by specifying the original document id. This is useful if you know the id of a ProcessInstanceDocument and you wish to retrieve all its previous versions.. * `caseId=\"id\"`: search for documents with the specified open process instance id. * `archivedProcessInstanceId=\"id\"`: search for documents with the specified archvied process instance id. * `submittedBy=\"id\"`: search for documents that were submitted by the user with the specified identifier. * `name=\"string\"`: search for documents with names that contain _string_. Depending on the setting for [word-based search](using-list-and-search-methods.md), the search returns documents with _string_ at the start of the name or the start of a word in the name. * `description=\"string\"`: search for documents with descriptions that contain _string_. Depending on the setting for [word-based search](using-list-and-search-methods.md), the search returns documents with _string_ at the start of the description or the start of a word in the description. Note, this is equivalent to the othersearchArchivedProcessInstanceDocumentsmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theArchivedProcessInstanceDocumentApi.SearchArchivedProcessInstanceDocumentsQueryParamsclass 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)
- Returns:
- List<ArchivedProcessInstanceDocument>
-
searchArchivedProcessInstanceDocumentsWithHttpInfo
ApiResponse<List<ArchivedProcessInstanceDocument>> searchArchivedProcessInstanceDocumentsWithHttpInfo(Map<String,Object> queryParams)
Finds ArchivedProcessInstanceDocuments Finds ArchivedProcessInstanceDocuments with pagination params and filters You can filter on : * `sourceObjectId=\"id\"`: search for documents by specifying the original document id. This is useful if you know the id of a ProcessInstanceDocument and you wish to retrieve all its previous versions.. * `caseId=\"id\"`: search for documents with the specified open process instance id. * `archivedProcessInstanceId=\"id\"`: search for documents with the specified archvied process instance id. * `submittedBy=\"id\"`: search for documents that were submitted by the user with the specified identifier. * `name=\"string\"`: search for documents with names that contain _string_. Depending on the setting for [word-based search](using-list-and-search-methods.md), the search returns documents with _string_ at the start of the name or the start of a word in the name. * `description=\"string\"`: search for documents with descriptions that contain _string_. Depending on the setting for [word-based search](using-list-and-search-methods.md), the search returns documents with _string_ at the start of the description or the start of a word in the description. Note, this is equivalent to the othersearchArchivedProcessInstanceDocumentsthat 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)
- Returns:
- List<ArchivedProcessInstanceDocument>
-
-