daily pastebin goal
79%
SHARE
TWEET

Untitled

a guest Aug 19th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package br.com.allied.controle;
  2.  
  3. import br.com.allied.servico.ColaboradorServico;
  4. import br.com.allied.servico.CorporativoServico;
  5. import br.com.allied.servico.EmpresarialServico;
  6. import br.com.allied.servico.RemotoServico;
  7. /*import br.com.allied.utils.BatchUpdate;*/
  8. import br.com.caelum.vraptor.Path;
  9. import br.com.caelum.vraptor.Resource;
  10.  
  11. /**
  12.  * @author Ailton Muniz Santos Junior
  13.  *
  14.  */
  15. @Resource
  16. public class LoadCsvController {
  17.    
  18.     private final ColaboradorServico colaboradorServico;
  19.     private final CorporativoServico corporativoServico;
  20.     private final RemotoServico remotoServico;
  21.     private final EmpresarialServico empresarialServico;
  22.  
  23.     public LoadCsvController(ColaboradorServico colaboradorServico,
  24.                              CorporativoServico corporativoServico,
  25.                              RemotoServico remotoServico,
  26.                              EmpresarialServico empresarialServico) {
  27.        
  28.         this.colaboradorServico = colaboradorServico;
  29.         this.corporativoServico = corporativoServico;
  30.         this.remotoServico = remotoServico;
  31.         this.empresarialServico = empresarialServico;
  32.     }
  33.  
  34.     @Path("/loadCsv")
  35.     /**
  36.      * Inicia o batch
  37.      */
  38.     public void adiciona() {
  39.         /*
  40.         new BatchUpdate(colaboradorServico,
  41.                         corporativoServico,
  42.                         remotoServico,
  43.                         empresarialServico).start();
  44.         */
  45.     }
  46. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top