Interface WorkflowInstanceRepository


public interface WorkflowInstanceRepository
Repository interface for managing workflow instance entities. WorkflowInstanceRepository provides basic CRUD operations for workflow instance entities, supporting persistence and retrieval of workflow instance data with proper access control.
Since:
1.0
See Also:
  • Method Details

    • save

      void save(WorkflowCallerContext callerContext, WorkflowInstanceEntity workflowInstanceEntity)
      Saves a workflow instance entity to the repository.
      Parameters:
      callerContext - the context of the caller performing the operation
      workflowInstanceEntity - the workflow instance entity to save
    • get

      Optional<WorkflowInstanceEntity> get(WorkflowCallerContext callerContext, WorkflowInstanceId workflowInstanceId)
      Retrieves a workflow instance entity from the repository.
      Parameters:
      callerContext - the context of the caller requesting the entity
      workflowInstanceId - the ID of the workflow instance to retrieve
      Returns:
      an Optional containing the entity if found, empty otherwise