INTF IF_SWF_CPWF_API

Source Link
Open in ADT

Home
Previous Object: IF_SWF_CP_JSON
Next Object: IF_SWF_CPWF_CALLBACK

Status: RELEASED

Public
Interface if_swf_cpwf_capi
Type callback_classname TYPE if_swf_cpwf_api=>callback_classname
Type retention_time TYPE if_swf_cpwf_api=>retention_time
Type cpwf_status TYPE if_swf_cpwf_api=>cpwf_status
Type cpwf_task_status TYPE if_swf_cpwf_api=>cpwf_task_status
Type cpwf_def_id TYPE if_swf_cpwf_api=>cpwf_def_id
Type cpwf_def_id_long TYPE if_swf_cpwf_api=>cpwf_def_id_long
Type cpwf_id TYPE if_swf_cpwf_api=>cpwf_id
Type context TYPE if_swf_cpwf_api=>context
Type cpwf_handle TYPE if_swf_cpwf_api=>cpwf_handle
Type cpwf_evt_def_id TYPE if_swf_cpwf_api=>cpwf_evt_def_id
Type cpwf_log_type TYPE if_swf_cpwf_api=>cpwf_log_type
Type uppercase_word TYPE if_swf_cpwf_api=>uppercase_word
Type uppercase_words TYPE if_swf_cpwf_api=>uppercase_words
Type name_mapping TYPE if_swf_cpwf_api=>name_mapping
Type name_mappings TYPE if_swf_cpwf_api=>name_mappings
Type user_task_instance TYPE if_swf_cpwf_api=>user_task_instance
Type user_task_instances TYPE if_swf_cpwf_api=>user_task_instances
Type workflow_definition TYPE if_swf_cpwf_api=>workflow_definition
Type workflow_definitions TYPE if_swf_cpwf_api=>workflow_definitions
Type workflow_log_error TYPE if_swf_cpwf_api=>workflow_log_error
Type workflow_log_errors TYPE if_swf_cpwf_api=>workflow_log_errors
Type workflow_log TYPE if_swf_cpwf_api=>workflow_log
Type workflow_logs TYPE if_swf_cpwf_api=>workflow_logs
Constant c_cpwf_status TYPE StructureTypetoABAPtodo
Constant c_cpwf_task_status TYPE StructureTypetoABAPtodo
Constant c_cpwf_log_type TYPE StructureTypetoABAPtodo
Constant cv_consumer_type_default TYPE SWF_CPWF_CONSUMER
Constant cv_no_retention_time TYPE if_swf_cpwf_api=>retention_time
Static Method get_start_context_from_data
  IMPORTING
    iv_data TYPE any
    it_name_mapping TYPE if_swf_cpwf_api=>name_mappings Optional
    iv_camel_case TYPE ABAP_BOOL Optional
    iv_capital_letter TYPE ABAP_BOOL Optional
    it_uppercase_word TYPE if_swf_cpwf_api=>uppercase_words Optional
    iv_suppress_empty_components TYPE ABAP_BOOL Optional
  RETURNING rv_context TYPE if_swf_cpwf_api=>context
  RAISING cx_swf_cpwf_api
Static Method get_context_from_data
  IMPORTING
    iv_data TYPE any
    it_name_mapping TYPE if_swf_cpwf_api=>name_mappings Optional
    iv_camel_case TYPE ABAP_BOOL Optional
    iv_capital_letter TYPE ABAP_BOOL Optional
    it_uppercase_word TYPE if_swf_cpwf_api=>uppercase_words Optional
    iv_suppress_empty_components TYPE ABAP_BOOL Optional
  RETURNING rv_context TYPE if_swf_cpwf_api=>context
  RAISING cx_swf_cpwf_api
Static Method get_context_data_from_json
  IMPORTING
    iv_context TYPE if_swf_cpwf_api=>context
    it_name_mapping TYPE if_swf_cpwf_api=>name_mappings Optional
    iv_camel_case TYPE ABAP_BOOL Optional
    iv_capital_letter TYPE ABAP_BOOL Optional
    it_uppercase_word TYPE if_swf_cpwf_api=>uppercase_words Optional
  EXPORTING
    ev_data TYPE any
  RAISING cx_swf_cpwf_api
Method start_workflow
  IMPORTING
    iv_cp_workflow_def_id TYPE if_swf_cpwf_api=>cpwf_def_id
    iv_context TYPE if_swf_cpwf_api=>context Optional
    iv_retention_time TYPE if_swf_cpwf_api=>retention_time
    iv_callback_class TYPE if_swf_cpwf_api=>callback_classname Optional
    iv_do_commit TYPE ABAP_BOOL Optional
  RETURNING rv_cpwf_handle TYPE if_swf_cpwf_api=>cpwf_handle
  RAISING cx_swf_cpwf_api
Method register_workflow
  IMPORTING
    iv_cp_workflow_inst_id TYPE if_swf_cpwf_api=>cpwf_id
    iv_retention_time TYPE if_swf_cpwf_api=>retention_time
    iv_callback_class TYPE if_swf_cpwf_api=>callback_classname Optional
    iv_do_commit TYPE ABAP_BOOL Optional
  EXPORTING
    ev_cpwf_handle TYPE if_swf_cpwf_api=>cpwf_handle
    ev_cpwf_status TYPE if_swf_cpwf_api=>cpwf_status
  RAISING cx_swf_cpwf_api
Method cancel_workflow
  IMPORTING
    iv_cpwf_handle TYPE if_swf_cpwf_api=>cpwf_handle
    iv_do_commit TYPE ABAP_BOOL Optional
  RAISING cx_swf_cpwf_api
Method get_workflow_status
  IMPORTING
    iv_cpwf_handle TYPE if_swf_cpwf_api=>cpwf_handle
  RETURNING rv_status TYPE if_swf_cpwf_api=>cpwf_status
  RAISING cx_swf_cpwf_api
Method get_workflow_log
  IMPORTING
    iv_cpwf_handle TYPE if_swf_cpwf_api=>cpwf_handle
  RETURNING rt_log TYPE if_swf_cpwf_api=>workflow_logs
  RAISING cx_swf_cpwf_api
Method get_workflow_context
  IMPORTING
    iv_cpwf_handle TYPE if_swf_cpwf_api=>cpwf_handle
  RETURNING rv_context TYPE if_swf_cpwf_api=>context
  RAISING cx_swf_cpwf_api
Method get_user_task_instances
  IMPORTING
    iv_cpwf_handle TYPE if_swf_cpwf_api=>cpwf_handle
  RETURNING rt_user_task_instance TYPE if_swf_cpwf_api=>user_task_instances
  RAISING cx_swf_cpwf_api
Method get_workflow_definitions
  RETURNING rt_workflow_definition TYPE if_swf_cpwf_api=>workflow_definitions
  RAISING cx_swf_cpwf_api
Method raise_event
  IMPORTING
    iv_cpwf_handle TYPE if_swf_cpwf_api=>cpwf_handle
    iv_event_def_id TYPE if_swf_cpwf_api=>cpwf_evt_def_id
    iv_event_context TYPE if_swf_cpwf_api=>context
    iv_do_commit TYPE ABAP_BOOL Optional
  RAISING cx_swf_cpwf_api
Method get_json_converter
  IMPORTING
    it_name_mapping TYPE if_swf_cpwf_api=>name_mappings Optional
    iv_camel_case TYPE ABAP_BOOL Optional
    iv_capital_letter TYPE ABAP_BOOL Optional
    it_uppercase_word TYPE if_swf_cpwf_api=>uppercase_words Optional
    iv_suppress_empty_components TYPE ABAP_BOOL Optional
    iv_uppercase TYPE ABAP_BOOL Optional
  RETURNING ro_json_converter TYPE if_swf_cp_json
Method update_retention_time
  IMPORTING
    iv_cpwf_handle TYPE if_swf_cpwf_api=>cpwf_handle
    iv_retention_time TYPE if_swf_cpwf_api=>retention_time
  RAISING cx_swf_cpwf_api
Method get_consumer_type
  RETURNING rv_consumer_type TYPE SWF_CPWF_CONSUMER
Method start_workflow_ext
  IMPORTING
    iv_cp_workflow_def_id TYPE if_swf_cpwf_api=>cpwf_def_id_long
    iv_context TYPE if_swf_cpwf_api=>context Optional
    iv_retention_time TYPE if_swf_cpwf_api=>retention_time
    iv_callback_class TYPE if_swf_cpwf_api=>callback_classname Optional
    iv_do_commit TYPE ABAP_BOOL Optional
  RETURNING rv_cpwf_handle TYPE if_swf_cpwf_api=>cpwf_handle
  RAISING cx_swf_cpwf_api
Method get_workflow_id
  IMPORTING
    iv_cpwf_handle TYPE if_swf_cpwf_api=>cpwf_handle
  RETURNING rv_cp_workflow_inst_id TYPE if_swf_cpwf_api=>cpwf_id
  RAISING cx_swf_cpwf_api

Exists on:
754false
750true
702false

Bug reports and ideas welcome
Made using abaplint.app