org.springframework.batch.core.repository.dao
Interface StepExecutionDao

All Known Implementing Classes:
JdbcStepExecutionDao, MapStepExecutionDao

public interface StepExecutionDao


Method Summary
 void addStepExecutions(JobExecution jobExecution)
          Retrieve all the StepExecution for the parent JobExecution.
 StepExecution getStepExecution(JobExecution jobExecution, Long stepExecutionId)
          Retrieve a StepExecution from its id.
 void saveStepExecution(StepExecution stepExecution)
          Save the given StepExecution.
 void updateStepExecution(StepExecution stepExecution)
          Update the given StepExecution Preconditions: Id must not be null.
 

Method Detail

saveStepExecution

void saveStepExecution(StepExecution stepExecution)
Save the given StepExecution. Preconditions: Id must be null. Postconditions: Id will be set to a unique Long.

Parameters:
stepExecution -

updateStepExecution

void updateStepExecution(StepExecution stepExecution)
Update the given StepExecution Preconditions: Id must not be null.

Parameters:
stepExecution -

getStepExecution

StepExecution getStepExecution(JobExecution jobExecution,
                               Long stepExecutionId)
Retrieve a StepExecution from its id.

Parameters:
jobExecution - the parent JobExecution
stepExecutionId - the step execution id
Returns:
a StepExecution

addStepExecutions

void addStepExecutions(JobExecution jobExecution)
Retrieve all the StepExecution for the parent JobExecution.

Parameters:
jobExecution - the parent job execution


Copyright © 2013 SpringSource. All Rights Reserved.