类 CustomerCreditUpdateWriter
- java.lang.Object
- org.springframework.batch.sample.domain.trade.internal.CustomerCreditUpdateWriter
- 所有已实现的接口:
ItemWriter<CustomerCredit>
public class CustomerCreditUpdateWriter extends java.lang.Object implements ItemWriter<CustomerCredit>
构造器概要
构造器 构造器 说明 CustomerCreditUpdateWriter()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
setCreditFilter(double creditFilter)
void
setDao(CustomerCreditDao dao)
void
write(java.util.List<? extends CustomerCredit> customerCredits)
Process the supplied data element.
构造器详细资料
CustomerCreditUpdateWriter
public CustomerCreditUpdateWriter()
方法详细资料
write
public void write(java.util.List<? extends CustomerCredit> customerCredits) throws java.lang.Exception
从接口复制的说明:ItemWriter
Process the supplied data element. Will not be called with any null items in normal operation.- 指定者:
write
在接口中ItemWriter<CustomerCredit>
- 参数:
customerCredits
- items to be written- 抛出:
java.lang.Exception
- if there are errors. The framework will catch the exception and convert or rethrow it as appropriate.
setCreditFilter
public void setCreditFilter(double creditFilter)
setDao
public void setDao(CustomerCreditDao dao)