Class JobStepDao

java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.JobStepDao

public class JobStepDao extends BaseDao
Provides a DAO for the JobStep entity.
Since:
4.0.0
  • Constructor Details

    • JobStepDao

      public JobStepDao()
  • Method Details

    • getJobStepForID

      public JobStep getJobStepForID(Object id)
      Return the job step for the given step primary key, or null if not found
      Parameters:
      id - the step primary key
      Returns:
      the job step for the given primary key
    • getStepsForJob

      public List<JobStep> getStepsForJob(Object jobId)
      Return the list of steps for the job with the given ID, sorted by creation time in ascending order.
      Parameters:
      jobId - the OID of the job (required)
      Returns:
      the list of matching job steps
    • getJobStepForName

      public JobStep getJobStepForName(Job job, String name)
      Return the step of the specified job and step name, or null if not found
      Parameters:
      job - the parent job (required)
      name - the step name (required)
      Returns:
      the step of the specified job and step name.