Interface CronJobDao

All Superinterfaces:
Dao

@Deprecated(since="ages", forRemoval=true) public interface CronJobDao extends Dao
Deprecated, for removal: This API element is subject to removal in a future version.
since ages - useCronJobDao
The cronjob DAO interface. Used for finding the cronjob and jobs in the backend.
Since:
4.0
Spring Bean ID:
cronJobDao
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Finds a given cronJobModel as abortable or not.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Search with the given code for CronJob items.
    Deprecated, for removal: This API element is subject to removal in a future version.
    since ages - useJobDao instead.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Finds a given cronJobModel as performable or not.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Finds all CronJobModel instance in state RUNNING or RUNNINGRESTART.
    boolean
    findUndoable(CronJobModel cronJobModel)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Finds a given cronJobModel as undoable or not.
  • Method Details

    • findCronJobs

      List<CronJobModel> findCronJobs(String code)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Search with the given code for CronJob items.
      Parameters:
      code - the CronJob code
      Returns:
      a List with CronJobModels. Returns an empty List if nothing was found.
    • findJobs

      @Deprecated(since="ages", forRemoval=true) List<JobModel> findJobs(String code)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since ages - useJobDao instead.
      Search with the given code for Job items.
      Parameters:
      code - the Job code
      Returns:
      a List with JobModels. Returns an empty List if nothing was found.
    • findRunningCronJobs

      List<CronJobModel> findRunningCronJobs()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Finds all CronJobModel instance in state RUNNING or RUNNINGRESTART.
    • findPerformable

      boolean findPerformable(CronJobModel cronJobModel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Finds a given cronJobModel as performable or not.
    • findAbortable

      boolean findAbortable(CronJobModel cronJobModel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Finds a given cronJobModel as abortable or not.
    • findUndoable

      boolean findUndoable(CronJobModel cronJobModel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Finds a given cronJobModel as undoable or not.