Interface RuleEngineCronJobDAO

All Known Implementing Classes:
DefaultRuleEngineCronJobDAO

public interface RuleEngineCronJobDAO
DAO object to access to common repository related Job information
  • Method Details

    • countCronJobsByJob

      int countCronJobsByJob(String jobCode, CronJobStatus... statuses)
      Get number of rule engine cron jobs for a given job code and specified statuses
      Parameters:
      jobCode - code of the related job
      statuses - array of statuses to filter the cron jobs
      Returns:
      a number of cron jobs satisfying the search criteria
    • findRuleEngineJobByCode

      RuleEngineJobModel findRuleEngineJobByCode(String jobCode)
      Try to get the registered rule engine Job
      Parameters:
      jobCode - the code of job
      Returns:
      the instance of RuleEngineJobModel