ProcessInstanceApiClient

Struct ProcessInstanceApiClient 

Source
pub struct ProcessInstanceApiClient { /* private fields */ }

Implementations§

Trait Implementations§

Source§

impl ProcessInstanceApi for ProcessInstanceApiClient

Source§

fn delete_async_historic_query_based( &self, delete_process_instances_dto: Option<DeleteProcessInstancesDto>, ) -> Result<BatchDto, Error>

Source§

fn delete_process_instance( &self, id: &str, skip_custom_listeners: Option<bool>, skip_io_mappings: Option<bool>, skip_subprocesses: Option<bool>, fail_if_not_exists: Option<bool>, ) -> Result<(), Error>

Source§

fn delete_process_instance_variable( &self, id: &str, var_name: &str, ) -> Result<(), Error>

Source§

fn delete_process_instances_async_operation( &self, delete_process_instances_dto: Option<DeleteProcessInstancesDto>, ) -> Result<BatchDto, Error>

Source§

fn get_activity_instance_tree( &self, id: &str, ) -> Result<ActivityInstanceDto, Error>

Source§

fn get_process_instance_variable( &self, id: &str, var_name: &str, deserialize_value: Option<bool>, ) -> Result<VariableValueDto, Error>

Source§

fn get_process_instance_variable_binary( &self, id: &str, var_name: &str, ) -> Result<PathBuf, Error>

Source§

fn get_process_instance_variables( &self, id: &str, deserialize_value: Option<bool>, ) -> Result<HashMap<String, VariableValueDto>, Error>

Source§

fn get_process_instances( &self, sort_by: Option<&str>, sort_order: Option<&str>, first_result: Option<i32>, max_results: Option<i32>, process_instance_ids: Option<&str>, business_key: Option<&str>, business_key_like: Option<&str>, case_instance_id: Option<&str>, process_definition_id: Option<&str>, process_definition_key: Option<&str>, process_definition_key_in: Option<&str>, process_definition_key_not_in: Option<&str>, deployment_id: Option<&str>, super_process_instance: Option<&str>, sub_process_instance: Option<&str>, super_case_instance: Option<&str>, sub_case_instance: Option<&str>, active: Option<bool>, suspended: Option<bool>, with_incident: Option<bool>, incident_id: Option<&str>, incident_type: Option<&str>, incident_message: Option<&str>, incident_message_like: Option<&str>, tenant_id_in: Option<&str>, without_tenant_id: Option<bool>, process_definition_without_tenant_id: Option<bool>, activity_id_in: Option<&str>, root_process_instances: Option<bool>, leaf_process_instances: Option<bool>, variables: Option<&str>, variable_names_ignore_case: Option<bool>, variable_values_ignore_case: Option<bool>, ) -> Result<Vec<ProcessInstanceDto>, Error>

Source§

fn get_process_instances_count( &self, process_instance_ids: Option<&str>, business_key: Option<&str>, business_key_like: Option<&str>, case_instance_id: Option<&str>, process_definition_id: Option<&str>, process_definition_key: Option<&str>, process_definition_key_in: Option<&str>, process_definition_key_not_in: Option<&str>, deployment_id: Option<&str>, super_process_instance: Option<&str>, sub_process_instance: Option<&str>, super_case_instance: Option<&str>, sub_case_instance: Option<&str>, active: Option<bool>, suspended: Option<bool>, with_incident: Option<bool>, incident_id: Option<&str>, incident_type: Option<&str>, incident_message: Option<&str>, incident_message_like: Option<&str>, tenant_id_in: Option<&str>, without_tenant_id: Option<bool>, process_definition_without_tenant_id: Option<bool>, activity_id_in: Option<&str>, root_process_instances: Option<bool>, leaf_process_instances: Option<bool>, variables: Option<&str>, variable_names_ignore_case: Option<bool>, variable_values_ignore_case: Option<bool>, ) -> Result<CountResultDto, Error>

Source§

fn modify_process_instance( &self, id: &str, process_instance_modification_dto: Option<ProcessInstanceModificationDto>, ) -> Result<(), Error>

Source§

fn modify_process_instance_async_operation( &self, id: &str, process_instance_modification_dto: Option<ProcessInstanceModificationDto>, ) -> Result<BatchDto, Error>

Source§

fn modify_process_instance_variables( &self, id: &str, patch_variables_dto: Option<PatchVariablesDto>, ) -> Result<(), Error>

Source§

fn query_process_instances( &self, first_result: Option<i32>, max_results: Option<i32>, process_instance_query_dto: Option<ProcessInstanceQueryDto>, ) -> Result<Vec<ProcessInstanceDto>, Error>

Source§

fn query_process_instances_count( &self, process_instance_query_dto: Option<ProcessInstanceQueryDto>, ) -> Result<CountResultDto, Error>

Source§

fn set_process_instance_variable( &self, id: &str, var_name: &str, variable_value_dto: Option<VariableValueDto>, ) -> Result<(), Error>

Source§

fn set_process_instance_variable_binary( &self, id: &str, var_name: &str, data: Option<PathBuf>, value_type: Option<&str>, ) -> Result<(), Error>

Source§

fn set_retries_by_process( &self, set_job_retries_by_process_dto: Option<SetJobRetriesByProcessDto>, ) -> Result<BatchDto, Error>

Source§

fn set_retries_by_process_historic_query_based( &self, set_job_retries_by_process_dto: Option<SetJobRetriesByProcessDto>, ) -> Result<BatchDto, Error>

Source§

fn update_suspension_state( &self, process_instance_suspension_state_dto: Option<ProcessInstanceSuspensionStateDto>, ) -> Result<(), Error>

Source§

fn update_suspension_state_async_operation( &self, process_instance_suspension_state_async_dto: Option<ProcessInstanceSuspensionStateAsyncDto>, ) -> Result<BatchDto, Error>

Source§

fn update_suspension_state_by_id( &self, id: &str, suspension_state_dto: Option<SuspensionStateDto>, ) -> Result<(), Error>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Err = <U as TryFrom<T>>::Err

Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Err>

Source§

impl<T> ErasedDestructor for T
where T: 'static,