Class SubmissionServiceDao


  • public class SubmissionServiceDao
    extends BaseDao
    Provides a DAO for the SubmissionServiceLog entity.
    Since:
    4.3.4
    • Constructor Detail

      • SubmissionServiceDao

        public SubmissionServiceDao()
    • Method Detail

      • getSubServiceLog

        public List<SubmissionServiceLog> getSubServiceLog​(String keyword,
                                                           String clientId,
                                                           Date startDate,
                                                           Date endDate)
        Return the submission service log records for the given query criteria.
        Parameters:
        keyword - the search keyword
        clientId - the client id
        startDate - the search start date
        endDate - the search end date
        Returns:
        the submission service log records for the given query criteria
        Since:
        5.0.0
      • getSubmissionServiceForLicensing

        public org.apache.cayenne.ResultIterator<SubmissionServiceLog> getSubmissionServiceForLicensing()
        Return the set of transactions that shall be published for licensing.
        Returns:
        an iterator over the set of transactions eligible for licensing
        Since:
        4.3.4
      • getServiceLogByName

        public List<SubmissionServiceLog> getServiceLogByName​(Submission submission,
                                                              String serviceName)
        Return the submission service entries for the given submission and service name, sorted ascending by creation date (oldest first).
        Parameters:
        submission - the submission (required)
        serviceName - the service name (required)
        Returns:
        the list of matching submission service entries
        Since:
        5.1.7