public class CustomerCreditUpdateWriter extends Object implements ItemWriter<CustomerCredit>
Constructor and Description |
---|
CustomerCreditUpdateWriter() |
Modifier and Type | Method and Description |
---|---|
void |
setCreditFilter(double creditFilter) |
void |
setDao(CustomerCreditDao dao) |
void |
write(List<? extends CustomerCredit> customerCredits)
Process the supplied data element.
|
public void write(List<? extends CustomerCredit> customerCredits) throws Exception
ItemWriter
write
in interface ItemWriter<CustomerCredit>
Exception
- if there are errors. The framework will catch the
exception and convert or rethrow it as appropriate.public void setCreditFilter(double creditFilter)
public void setDao(CustomerCreditDao dao)
Copyright © 2014 Pivotal. All rights reserved.