Interface InputStatusService

All Known Implementing Classes:
MongoInputStatusService

public interface InputStatusService
Provides CRUD operations for input status records.
  • Method Details

    • get

      Get the saved status record for an Input.
      Parameters:
      inputId - ID of the input whose status you want to get
      Returns:
      The InputStatusRecord for the given Input ID if it exists; otherwise an empty Optional.
    • save

      Save the status record for an Input.
      Parameters:
      statusRecord - The Input status record to save
      Returns:
      A copy of the saved object
    • delete

      int delete(String inputId)
      Remove the status record for a given Input
      Parameters:
      inputId - ID of the input whose status you want to delete
      Returns:
      The count of deleted objects (should be 0 or 1)