Class WorkflowsIndividualApi

java.lang.Object
org.wso2.am.integration.clients.admin.api.WorkflowsIndividualApi

public class WorkflowsIndividualApi extends Object
  • Constructor Details

    • WorkflowsIndividualApi

      public WorkflowsIndividualApi()
    • WorkflowsIndividualApi

      public WorkflowsIndividualApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • workflowsExternalWorkflowRefGetCall

      public okhttp3.Call workflowsExternalWorkflowRefGetCall(String externalWorkflowRef, String ifNoneMatch, ApiCallback _callback) throws ApiException
      Build call for workflowsExternalWorkflowRefGet
      Parameters:
      externalWorkflowRef - from the externel workflow reference we decide what is the the pending request that the are requesting. (required)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • workflowsExternalWorkflowRefGet

      public WorkflowInfoDTO workflowsExternalWorkflowRefGet(String externalWorkflowRef, String ifNoneMatch) throws ApiException
      Get Pending Workflow Details by External Workflow Reference Using this operation, you can retrieve complete details of a pending workflow request that either belongs to application creation, application subscription, application registration, api state change, user self sign up.. You need to provide the External_Workflow_Reference of the workflow Request to retrive it.
      Parameters:
      externalWorkflowRef - from the externel workflow reference we decide what is the the pending request that the are requesting. (required)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)
      Returns:
      WorkflowInfoDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • workflowsExternalWorkflowRefGetWithHttpInfo

      public ApiResponse<WorkflowInfoDTO> workflowsExternalWorkflowRefGetWithHttpInfo(String externalWorkflowRef, String ifNoneMatch) throws ApiException
      Get Pending Workflow Details by External Workflow Reference Using this operation, you can retrieve complete details of a pending workflow request that either belongs to application creation, application subscription, application registration, api state change, user self sign up.. You need to provide the External_Workflow_Reference of the workflow Request to retrive it.
      Parameters:
      externalWorkflowRef - from the externel workflow reference we decide what is the the pending request that the are requesting. (required)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)
      Returns:
      ApiResponse<WorkflowInfoDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • workflowsExternalWorkflowRefGetAsync

      public okhttp3.Call workflowsExternalWorkflowRefGetAsync(String externalWorkflowRef, String ifNoneMatch, ApiCallback<WorkflowInfoDTO> _callback) throws ApiException
      Get Pending Workflow Details by External Workflow Reference (asynchronously) Using this operation, you can retrieve complete details of a pending workflow request that either belongs to application creation, application subscription, application registration, api state change, user self sign up.. You need to provide the External_Workflow_Reference of the workflow Request to retrive it.
      Parameters:
      externalWorkflowRef - from the externel workflow reference we decide what is the the pending request that the are requesting. (required)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • workflowsUpdateWorkflowStatusPostCall

      public okhttp3.Call workflowsUpdateWorkflowStatusPostCall(String workflowReferenceId, WorkflowDTO workflowDTO, ApiCallback _callback) throws ApiException
      Build call for workflowsUpdateWorkflowStatusPost
      Parameters:
      workflowReferenceId - Workflow reference id (required)
      workflowDTO - Workflow event that need to be updated (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • workflowsUpdateWorkflowStatusPost

      public WorkflowDTO workflowsUpdateWorkflowStatusPost(String workflowReferenceId, WorkflowDTO workflowDTO) throws ApiException
      Update Workflow Status This operation can be used to approve or reject a workflow task.
      Parameters:
      workflowReferenceId - Workflow reference id (required)
      workflowDTO - Workflow event that need to be updated (required)
      Returns:
      WorkflowDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • workflowsUpdateWorkflowStatusPostWithHttpInfo

      public ApiResponse<WorkflowDTO> workflowsUpdateWorkflowStatusPostWithHttpInfo(String workflowReferenceId, WorkflowDTO workflowDTO) throws ApiException
      Update Workflow Status This operation can be used to approve or reject a workflow task.
      Parameters:
      workflowReferenceId - Workflow reference id (required)
      workflowDTO - Workflow event that need to be updated (required)
      Returns:
      ApiResponse<WorkflowDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • workflowsUpdateWorkflowStatusPostAsync

      public okhttp3.Call workflowsUpdateWorkflowStatusPostAsync(String workflowReferenceId, WorkflowDTO workflowDTO, ApiCallback<WorkflowDTO> _callback) throws ApiException
      Update Workflow Status (asynchronously) This operation can be used to approve or reject a workflow task.
      Parameters:
      workflowReferenceId - Workflow reference id (required)
      workflowDTO - Workflow event that need to be updated (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object