Class SubmissionAsyncMsgDao


public class SubmissionAsyncMsgDao extends AbstractDao
Provides a DAO for the SubmissionAsyncMsg entity.
Since:
4.3.2
See Also:
  • Constructor Details

    • SubmissionAsyncMsgDao

      public SubmissionAsyncMsgDao()
  • Method Details

    • getAsyncMsgForID

      public SubmissionAsyncMsg getAsyncMsgForID(Object id)
      Return the submission async message for the given primary key.
      Parameters:
      id - the OID
      Returns:
      the submission async message for the given primary key, or null if not found or access is not authorized
    • getAsyncMsgForKey

      public SubmissionAsyncMsg getAsyncMsgForKey(String msgKey)
      Return the submission async message for the given msg key.
      Parameters:
      msgKey - the message key
      Returns:
      the submission async message for the given primary key, or null if not found or access is not authorized
    • getReadyAsyncMsgsForTopic

      public List<SubmissionAsyncMsg> getReadyAsyncMsgsForTopic(String topic, int fetchLimit)
      Return list of 'Ready' status async messages for given topic.
      Parameters:
      topic - the messages topic
      fetchLimit - the request fetch limit
      Returns:
      list of 'Ready' status async messages for given topic
    • getReadyAsyncMsgsForExpiry

      public List<SubmissionAsyncMsg> getReadyAsyncMsgsForExpiry()
      Return list of 'Ready' status async messages which have expired
      Returns:
      list of 'Ready' status async messages which have expired