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

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      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.
      java.util.List<CronJobModel> findCronJobs​(java.lang.String code)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Search with the given code for CronJob items.
      java.util.List<JobModel> findJobs​(java.lang.String code)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since ages - useJobDao instead.
      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.
      java.util.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.
      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 Detail

      • findCronJobs

        java.util.List<CronJobModel> findCronJobs​(java.lang.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)
        java.util.List<JobModel> findJobs​(java.lang.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

        java.util.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.