Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | package br.gov.al.saude.scs.parametros; |
| 2 | |||
| 3 | import java.io.Serializable; |
||
| 4 | |||
| 5 | import br.gov.al.saude.framework.core.util.VerificadorUtil; |
||
| 6 | import br.gov.al.saude.sca.model.usuario.view.UsuarioView; |
||
| 7 | |||
| 8 | public class ParametrosConsultarTurma implements Serializable { |
||
| 9 | |||
| 10 | private static final long serialVersionUID = 1L; |
||
| 11 | |||
| 12 | private UsuarioView usuarioLogado; |
||
| 13 | private Long sequencialCapacitacao; |
||
| 14 | private Long sequencialTurma; |
||
| 15 | private Integer numeroAnoExercicio; |
||
| 16 | private Integer primeiroRegistro; |
||
| 17 | private Integer tamanhoPagina; |
||
| 18 | |||
| 19 | public ParametrosConsultarTurma() {} |
||
| 20 | |||
| 21 | public ParametrosConsultarTurma(UsuarioView usuarioLogado, Long sequencialCapacitacao, Long sequencialTurma, |
||
| 22 | Integer numeroAnoExercicio, Integer primeiroRegistro, Integer tamanhoPagina) { |
||
| 23 | super(); |
||
| 24 | this.usuarioLogado = usuarioLogado; |
||
| 25 | this.sequencialCapacitacao = sequencialCapacitacao; |
||
| 26 | this.sequencialTurma = sequencialTurma; |
||
| 27 | this.numeroAnoExercicio = numeroAnoExercicio; |
||
| 28 | this.primeiroRegistro = primeiroRegistro; |
||
| 29 | this.tamanhoPagina = tamanhoPagina; |
||
| 30 | } |
||
| 31 | |||
| 32 | public UsuarioView getUsuarioLogado() { |
||
| 33 | return usuarioLogado; |
||
| 34 | } |
||
| 35 | |||
| 36 | public Long getSequencialUsuarioLogado(){ |
||
| 37 | return VerificadorUtil.naoEstaNulo(getUsuarioLogado()) ? getUsuarioLogado().getSequencialPessoa() : null; |
||
| 38 | } |
||
| 39 | |||
| 40 | public void setUsuarioLogado(UsuarioView usuarioLogado) { |
||
| 41 | this.usuarioLogado = usuarioLogado; |
||
| 42 | } |
||
| 43 | |||
| 44 | public Long getSequencialCapacitacao() { |
||
| 45 | return sequencialCapacitacao; |
||
| 46 | } |
||
| 47 | |||
| 48 | public void setSequencialCapacitacao(Long sequencialCapacitacao) { |
||
| 49 | this.sequencialCapacitacao = sequencialCapacitacao; |
||
| 50 | } |
||
| 51 | |||
| 52 | public Long getSequencialTurma() { |
||
| 53 | return sequencialTurma; |
||
| 54 | } |
||
| 55 | |||
| 56 | public void setSequencialTurma(Long sequencialTurma) { |
||
| 57 | this.sequencialTurma = sequencialTurma; |
||
| 58 | } |
||
| 59 | |||
| 60 | public Integer getNumeroAnoExercicio() { |
||
| 61 | return numeroAnoExercicio; |
||
| 62 | } |
||
| 63 | |||
| 64 | public void setNumeroAnoExercicio(Integer numeroAnoExercicio) { |
||
| 65 | this.numeroAnoExercicio = numeroAnoExercicio; |
||
| 66 | } |
||
| 67 | |||
| 68 | public Integer getPrimeiroRegistro() { |
||
| 69 | return primeiroRegistro; |
||
| 70 | } |
||
| 71 | |||
| 72 | public void setPrimeiroRegistro(Integer primeiroRegistro) { |
||
| 73 | this.primeiroRegistro = primeiroRegistro; |
||
| 74 | } |
||
| 75 | |||
| 76 | public Integer getTamanhoPagina() { |
||
| 77 | return tamanhoPagina; |
||
| 78 | } |
||
| 79 | |||
| 80 | public void setTamanhoPagina(Integer tamanhoPagina) { |
||
| 81 | this.tamanhoPagina = tamanhoPagina; |
||
| 82 | } |
||
| 83 | } |