Summer.Batch.Core.Repository.Dao.DbStepExecutionDao Class Reference

Database implementation of IStepExecutionDao. Allows customization of the tables names used for step meta data via a prefix property. Uses sequences or tables (via IDataFieldMaxValueIncrementer abstraction) to create all primary keys before inserting a new row. All objects are checked to ensure all fields to be stored are not null. If any are found to be null, an ArgumentException will be thrown. More...

Inheritance diagram for Summer.Batch.Core.Repository.Dao.DbStepExecutionDao:
Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao Summer.Batch.Core.Repository.Dao.IStepExecutionDao Summer.Batch.Common.Factory.IInitializationPostOperations

Public Member Functions

void SaveStepExecution (StepExecution stepExecution)
 Persists the given step execution. It must not have been persisted yet. More...
 
void SaveStepExecutions (ICollection< StepExecution > stepExecutions)
 Persists the step executions in a collection. The step executions must not have been persisted yet. More...
 
void UpdateStepExecution (StepExecution stepExecution)
 Persits the updates of a step execution. It must have already been persisted. More...
 
StepExecution GetStepExecution (JobExecution jobExecution, long stepExecutionId)
 
void AddStepExecutions (JobExecution jobExecution)
 Adds persisted step executions to a job execution. More...
 

Properties

int ExitMessageLength [set]
 The exit message maximum length. More...
 
IDataFieldMaxValueIncrementer StepIncrementer [set]
 The data field incrementer for job execution ids. More...
 

Additional Inherited Members

Detailed Description

Database implementation of IStepExecutionDao. Allows customization of the tables names used for step meta data via a prefix property. Uses sequences or tables (via IDataFieldMaxValueIncrementer abstraction) to create all primary keys before inserting a new row. All objects are checked to ensure all fields to be stored are not null. If any are found to be null, an ArgumentException will be thrown.

Member Function Documentation

void Summer.Batch.Core.Repository.Dao.DbStepExecutionDao.AddStepExecutions ( JobExecution  jobExecution)

Adds persisted step executions to a job execution.

Parameters
jobExecutiona job execution

Implements Summer.Batch.Core.Repository.Dao.IStepExecutionDao.

StepExecution Summer.Batch.Core.Repository.Dao.DbStepExecutionDao.GetStepExecution ( JobExecution  jobExecution,
long  stepExecutionId 
)
Parameters
jobExecutiona job execution
stepExecutionIda step execution id
Returns
the step execution with the given id in the given job execution

Implements Summer.Batch.Core.Repository.Dao.IStepExecutionDao.

void Summer.Batch.Core.Repository.Dao.DbStepExecutionDao.SaveStepExecution ( StepExecution  stepExecution)

Persists the given step execution. It must not have been persisted yet.

Parameters
stepExecutionthe stepExecution to persist

Implements Summer.Batch.Core.Repository.Dao.IStepExecutionDao.

void Summer.Batch.Core.Repository.Dao.DbStepExecutionDao.SaveStepExecutions ( ICollection< StepExecution stepExecutions)

Persists the step executions in a collection. The step executions must not have been persisted yet.

Parameters
stepExecutionsa collection of step executions to persists

Implements Summer.Batch.Core.Repository.Dao.IStepExecutionDao.

void Summer.Batch.Core.Repository.Dao.DbStepExecutionDao.UpdateStepExecution ( StepExecution  stepExecution)

Persits the updates of a step execution. It must have already been persisted.

Parameters
stepExecutiona persisted step execution

Implements Summer.Batch.Core.Repository.Dao.IStepExecutionDao.

Property Documentation

int Summer.Batch.Core.Repository.Dao.DbStepExecutionDao.ExitMessageLength
set

The exit message maximum length.

IDataFieldMaxValueIncrementer Summer.Batch.Core.Repository.Dao.DbStepExecutionDao.StepIncrementer
set

The data field incrementer for job execution ids.


The documentation for this class was generated from the following file:
  • Summer.Batch.Core/Core/Repository/Dao/DbStepExecutionDao.cs