Class AbstractLoanItemWriter

java.lang.Object
org.springframework.batch.item.data.RepositoryItemWriter<org.apache.fineract.portfolio.loanaccount.domain.Loan>
org.apache.fineract.cob.loan.AbstractLoanItemWriter
All Implemented Interfaces:
org.springframework.batch.item.ItemWriter<org.apache.fineract.portfolio.loanaccount.domain.Loan>, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
InlineCOBLoanItemWriter, LoanItemWriter

public abstract class AbstractLoanItemWriter extends org.springframework.batch.item.data.RepositoryItemWriter<org.apache.fineract.portfolio.loanaccount.domain.Loan>
  • Field Summary

    Fields inherited from class org.springframework.batch.item.data.RepositoryItemWriter

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract LockOwner
     
    void
    write(org.springframework.batch.item.Chunk<? extends org.apache.fineract.portfolio.loanaccount.domain.Loan> items)
     

    Methods inherited from class org.springframework.batch.item.data.RepositoryItemWriter

    afterPropertiesSet, doWrite, setMethodName, setRepository

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractLoanItemWriter

      public AbstractLoanItemWriter()
  • Method Details

    • write

      public void write(@NonNull org.springframework.batch.item.Chunk<? extends org.apache.fineract.portfolio.loanaccount.domain.Loan> items) throws Exception
      Specified by:
      write in interface org.springframework.batch.item.ItemWriter<org.apache.fineract.portfolio.loanaccount.domain.Loan>
      Overrides:
      write in class org.springframework.batch.item.data.RepositoryItemWriter<org.apache.fineract.portfolio.loanaccount.domain.Loan>
      Throws:
      Exception
    • getLockOwner

      protected abstract LockOwner getLockOwner()