View Javadoc
1   package org.kuali.ole.batch.ingest;
2   
3   import org.kuali.ole.OLEConstants;
4   import org.kuali.ole.batch.impl.AbstractBatchProcess;
5   import org.kuali.ole.batch.service.OLEClaimNoticeService;
6   import org.kuali.ole.sys.context.SpringContext;
7   import org.kuali.rice.core.api.resourceloader.GlobalResourceLoader;
8   import org.slf4j.Logger;
9   import org.slf4j.LoggerFactory;
10  
11  /**
12   * Created with IntelliJ IDEA.
13   * User: vivekb
14   * Date: 12/30/13
15   * Time: 4:58 PM
16   * To change this template use File | Settings | File Templates.
17   */
18  public class OLEBatchProcessClaimReport extends AbstractBatchProcess {
19      private static final Logger LOG = LoggerFactory.getLogger(OLEBatchProcessClaimReport.class);
20  
21  
22      @Override
23      protected void prepareForRead() throws Exception {
24         LOG.info("Inside prepareForRead of OLEBatchProcessClaimReport ");
25      }
26  
27      @Override
28      protected void prepareForWrite() throws Exception {
29          LOG.info("Inside prepareForWrite of OLEBatchProcessClaimReport ");
30      }
31  
32      @Override
33      protected void getNextBatch() throws Exception {
34          LOG.info("Inside getNextBatch of OLEBatchProcessClaimReport ");
35      }
36  
37      @Override
38      protected void processBatch() throws Exception {
39          LOG.info("Inside processBatch of OLEBatchProcessClaimReport ");
40          OLEClaimNoticeService oleClaimNoticeService  = GlobalResourceLoader.getService("oleClaimNoticeService");
41          oleClaimNoticeService.generateClaimReports(job);
42  
43      }
44  }