Interface RuleEngineCronJobDAO
- All Known Implementing Classes:
DefaultRuleEngineCronJobDAO
public interface RuleEngineCronJobDAO
DAO object to access to common repository related Job information
-
Method Summary
Modifier and TypeMethodDescriptionintcountCronJobsByJob(String jobCode, CronJobStatus... statuses) Get number of rule engine cron jobs for a given job code and specified statusesfindRuleEngineJobByCode(String jobCode) Try to get the registered rule engine Job
-
Method Details
-
countCronJobsByJob
Get number of rule engine cron jobs for a given job code and specified statuses- Parameters:
jobCode- code of the related jobstatuses- array of statuses to filter the cron jobs- Returns:
- a number of cron jobs satisfying the search criteria
-
findRuleEngineJobByCode
Try to get the registered rule engine Job- Parameters:
jobCode- the code of job- Returns:
- the instance of
RuleEngineJobModel
-