Class SubmissionHistoryDao


public class SubmissionHistoryDao extends AbstractDao
Provides a DAO for the SubmissionHistory entity.
See Also:
  • Constructor Details

    • SubmissionHistoryDao

      public SubmissionHistoryDao()
  • Method Details

    • getSubmissionHistory

      public SubmissionHistory getSubmissionHistory(Object id)
      Return the submission history entry with the specified OID
      Parameters:
      id - the OID
      Returns:
      the matching submission history entry, or null if not found
    • getMostRecentHistoryWithStatus

      public SubmissionHistory getMostRecentHistoryWithStatus(Submission submission, String formStatus)
      Search the submission for the most recent submission history with the given form status.
      Parameters:
      submission - the submission (required)
      formStatus - the form status to look for (required, one of Submission.FORM_STATUS_VALUES)
      Returns:
      the matching submission history, or null if none was found
      Since:
      4.0.0