ProcessDefinitionApiClient

Struct ProcessDefinitionApiClient 

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

Implementations§

Trait Implementations§

Source§

impl ProcessDefinitionApi for ProcessDefinitionApiClient

Source§

fn delete_process_definition( &self, id: &str, cascade: Option<bool>, skip_custom_listeners: Option<bool>, skip_io_mappings: Option<bool>, ) -> Result<(), Error>

Source§

fn delete_process_definitions_by_key( &self, key: &str, cascade: Option<bool>, skip_custom_listeners: Option<bool>, skip_io_mappings: Option<bool>, ) -> Result<(), Error>

Source§

fn delete_process_definitions_by_key_and_tenant_id( &self, key: &str, tenant_id: &str, cascade: Option<bool>, skip_custom_listeners: Option<bool>, skip_io_mappings: Option<bool>, ) -> Result<(), Error>

Source§

fn get_activity_statistics( &self, id: &str, failed_jobs: Option<bool>, incidents: Option<bool>, incidents_for_type: Option<&str>, ) -> Result<Vec<ActivityStatisticsResultDto>, Error>

Source§

fn get_activity_statistics_by_process_definition_key( &self, key: &str, failed_jobs: Option<bool>, incidents: Option<bool>, incidents_for_type: Option<&str>, ) -> Result<Vec<ActivityStatisticsResultDto>, Error>

Source§

fn get_activity_statistics_by_process_definition_key_and_tenant_id( &self, key: &str, tenant_id: &str, failed_jobs: Option<bool>, incidents: Option<bool>, incidents_for_type: Option<&str>, ) -> Result<Vec<ActivityStatisticsResultDto>, Error>

Source§

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

Source§

fn get_deployed_start_form_by_key(&self, key: &str) -> Result<PathBuf, Error>

Source§

fn get_deployed_start_form_by_key_and_tenant_id( &self, key: &str, tenant_id: &str, ) -> Result<PathBuf, Error>

Source§

fn get_latest_process_definition_by_tenant_id( &self, key: &str, tenant_id: &str, ) -> Result<ProcessDefinitionDto, Error>

Source§

fn get_process_definition( &self, id: &str, ) -> Result<ProcessDefinitionDto, Error>

Source§

fn get_process_definition_bpmn20_xml( &self, id: &str, ) -> Result<ProcessDefinitionDiagramDto, Error>

Source§

fn get_process_definition_bpmn20_xml_by_key( &self, key: &str, ) -> Result<ProcessDefinitionDiagramDto, Error>

Source§

fn get_process_definition_bpmn20_xml_by_key_and_tenant_id( &self, key: &str, tenant_id: &str, ) -> Result<ProcessDefinitionDiagramDto, Error>

Source§

fn get_process_definition_by_key( &self, key: &str, ) -> Result<ProcessDefinitionDto, Error>

Source§

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

Source§

fn get_process_definition_diagram_by_key( &self, key: &str, ) -> Result<PathBuf, Error>

Source§

fn get_process_definition_diagram_by_key_and_tenant_id( &self, key: &str, tenant_id: &str, ) -> Result<PathBuf, Error>

Source§

fn get_process_definition_statistics( &self, failed_jobs: Option<bool>, incidents: Option<bool>, incidents_for_type: Option<&str>, root_incidents: Option<bool>, ) -> Result<Vec<ProcessDefinitionStatisticsResultDto>, Error>

Source§

fn get_process_definitions( &self, process_definition_id: Option<&str>, process_definition_id_in: Option<&str>, name: Option<&str>, name_like: Option<&str>, deployment_id: Option<&str>, deployed_after: Option<String>, deployed_at: Option<String>, key: Option<&str>, keys_in: Option<&str>, key_like: Option<&str>, category: Option<&str>, category_like: Option<&str>, version: Option<i32>, latest_version: Option<bool>, resource_name: Option<&str>, resource_name_like: Option<&str>, startable_by: Option<&str>, active: Option<bool>, suspended: 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>, include_process_definitions_without_tenant_id: Option<bool>, version_tag: Option<&str>, version_tag_like: Option<&str>, without_version_tag: Option<bool>, startable_in_tasklist: Option<bool>, not_startable_in_tasklist: Option<bool>, startable_permission_check: Option<bool>, sort_by: Option<&str>, sort_order: Option<&str>, first_result: Option<i32>, max_results: Option<i32>, ) -> Result<Vec<ProcessDefinitionDto>, Error>

Source§

fn get_process_definitions_count( &self, process_definition_id: Option<&str>, process_definition_id_in: Option<&str>, name: Option<&str>, name_like: Option<&str>, deployment_id: Option<&str>, deployed_after: Option<String>, deployed_at: Option<String>, key: Option<&str>, keys_in: Option<&str>, key_like: Option<&str>, category: Option<&str>, category_like: Option<&str>, version: Option<i32>, latest_version: Option<bool>, resource_name: Option<&str>, resource_name_like: Option<&str>, startable_by: Option<&str>, active: Option<bool>, suspended: 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>, include_process_definitions_without_tenant_id: Option<bool>, version_tag: Option<&str>, version_tag_like: Option<&str>, without_version_tag: Option<bool>, startable_in_tasklist: Option<bool>, not_startable_in_tasklist: Option<bool>, startable_permission_check: Option<bool>, ) -> Result<CountResultDto, Error>

Source§

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

Source§

fn get_rendered_start_form_by_key(&self, key: &str) -> Result<PathBuf, Error>

Source§

fn get_rendered_start_form_by_key_and_tenant_id( &self, key: &str, tenant_id: &str, ) -> Result<PathBuf, Error>

Source§

fn get_start_form(&self, id: &str) -> Result<FormDto, Error>

Source§

fn get_start_form_by_key(&self, key: &str) -> Result<FormDto, Error>

Source§

fn get_start_form_by_key_and_tenant_id( &self, key: &str, tenant_id: &str, ) -> Result<FormDto, Error>

Source§

fn get_start_form_variables( &self, id: &str, variable_names: Option<&str>, deserialize_values: Option<bool>, ) -> Result<HashMap<String, VariableValueDto>, Error>

Source§

fn get_start_form_variables_by_key( &self, key: &str, variable_names: Option<&str>, deserialize_values: Option<bool>, ) -> Result<HashMap<String, VariableValueDto>, Error>

Source§

fn get_start_form_variables_by_key_and_tenant_id( &self, key: &str, tenant_id: &str, variable_names: Option<&str>, deserialize_values: Option<bool>, ) -> Result<HashMap<String, VariableValueDto>, Error>

Source§

fn restart_process_instance( &self, id: &str, restart_process_instance_dto: Option<RestartProcessInstanceDto>, ) -> Result<(), Error>

Source§

fn restart_process_instance_async_operation( &self, id: &str, restart_process_instance_dto: Option<RestartProcessInstanceDto>, ) -> Result<BatchDto, Error>

Source§

fn start_process_instance( &self, id: &str, start_process_instance_dto: Option<StartProcessInstanceDto>, ) -> Result<ProcessInstanceWithVariablesDto, Error>

Source§

fn start_process_instance_by_key( &self, key: &str, start_process_instance_dto: Option<StartProcessInstanceDto>, ) -> Result<ProcessInstanceWithVariablesDto, Error>

Source§

fn start_process_instance_by_key_and_tenant_id( &self, key: &str, tenant_id: &str, start_process_instance_dto: Option<StartProcessInstanceDto>, ) -> Result<ProcessInstanceWithVariablesDto, Error>

Source§

fn submit_form( &self, id: &str, start_process_instance_form_dto: Option<StartProcessInstanceFormDto>, ) -> Result<ProcessInstanceDto, Error>

Source§

fn submit_form_by_key( &self, key: &str, start_process_instance_form_dto: Option<StartProcessInstanceFormDto>, ) -> Result<ProcessInstanceDto, Error>

Source§

fn submit_form_by_key_and_tenant_id( &self, key: &str, tenant_id: &str, start_process_instance_form_dto: Option<StartProcessInstanceFormDto>, ) -> Result<ProcessInstanceDto, Error>

Source§

fn update_history_time_to_live_by_process_definition_id( &self, id: &str, history_time_to_live_dto: Option<HistoryTimeToLiveDto>, ) -> Result<(), Error>

Source§

fn update_history_time_to_live_by_process_definition_key( &self, key: &str, history_time_to_live_dto: Option<HistoryTimeToLiveDto>, ) -> Result<(), Error>

Source§

fn update_history_time_to_live_by_process_definition_key_and_tenant_id( &self, key: &str, tenant_id: &str, history_time_to_live_dto: Option<HistoryTimeToLiveDto>, ) -> Result<(), Error>

Source§

fn update_process_definition_suspension_state( &self, process_definition_suspension_state_dto: Option<ProcessDefinitionSuspensionStateDto>, ) -> Result<(), Error>

Source§

fn update_process_definition_suspension_state_by_id( &self, id: &str, process_definition_suspension_state_dto: Option<ProcessDefinitionSuspensionStateDto>, ) -> Result<(), Error>

Source§

fn update_process_definition_suspension_state_by_key( &self, key: &str, process_definition_suspension_state_dto: Option<ProcessDefinitionSuspensionStateDto>, ) -> Result<(), Error>

Source§

fn update_process_definition_suspension_state_by_key_and_tenant_id( &self, key: &str, tenant_id: &str, process_definition_suspension_state_dto: Option<ProcessDefinitionSuspensionStateDto>, ) -> 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,