Rev 510 | Rev 520 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 510 | Rev 515 | ||
|---|---|---|---|
| Line 55... | Line 55... | ||
| 55 | public TipoPeriodoConsulta[] getTiposPeriodoConsulta() { |
55 | public TipoPeriodoConsulta[] getTiposPeriodoConsulta() { |
| 56 | return TipoPeriodoConsulta.values(); |
56 | return TipoPeriodoConsulta.values(); |
| 57 | }
|
57 | }
|
| 58 | 58 | ||
| 59 | /**************************************************/
|
59 | /**************************************************/
|
| - | 60 | ||
| - | 61 | public void gerarTransferenciasAntigo() { |
|
| - | 62 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
|
| - | 63 | public void execute() { |
|
| - | 64 | transferenciaService.gerarTransferenciasAutomaticamenteAntigo(getEntidade()); |
|
| - | 65 | LancadorMensagem.lancarSucesso("TRANSFERÊNCIAS DE " + TipoProduto.parse(getEntidade().getTipoProduto()).getDescricao() + " GERADAS COM SUCESSO"); |
|
| - | 66 | }
|
|
| - | 67 | }); |
|
| - | 68 | }
|
|
| 60 | 69 | ||
| 61 | public void gerarTransferencias() { |
70 | public void gerarTransferencias() { |
| 62 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
71 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
| 63 | public void execute() { |
72 | public void execute() { |
| 64 | transferenciaService.gerarTransferenciasAutomaticamente(getEntidade()); |
73 | transferenciaService.gerarTransferenciasAutomaticamente(getEntidade()); |