Record Class GraMonitoramentoFiltro

java.lang.Object
java.lang.Record
systextil.bo.inte.gra.dto.GraMonitoramentoFiltro
Record Components:
empresa - empresa da fila (INTE_002)
tipo - "pedidos", "notas" ou outro (todos)
documento - numero do pedido ou da nota, ou um trecho da chave de acesso
fornecedor - CNPJ/CPF (inteiro ou o comeco, com ou sem mascara) ou parte do nome
situacao - codigos da situacao pela fila (GraDAO.SITUACAO), separados por virgula; vazio: todos
dataInicio - inicio do periodo (yyyy-MM-dd): incluido ou modificado no intervalo
dataFim - fim do periodo (yyyy-MM-dd)
ordenacao - chave da coluna da grid; padrao: "Modificado em"
direcao - ASC ou DESC; padrao: DESC
offset - linhas ja carregadas pela tela
limite - linhas desta pagina

public record GraMonitoramentoFiltro(int empresa, String tipo, String documento, String fornecedor, String situacao, String dataInicio, String dataFim, String ordenacao, String direcao, int offset, int limite) extends Record
Filtros, ordem e pagina da aba Pedidos / Notas fiscais, como chegam da tela (PendenteAnalise, 9.6). Valor vazio ou nulo nao filtra; texto desconhecido em tipo, ordenacao ou direcao cai no padrao (o SQL nunca recebe o texto da tela).
  • Constructor Details

    • GraMonitoramentoFiltro

      public GraMonitoramentoFiltro(int empresa, String tipo, String documento, String fornecedor, String situacao, String dataInicio, String dataFim, String ordenacao, String direcao, int offset, int limite)
      Creates an instance of a GraMonitoramentoFiltro record class.
      Parameters:
      empresa - the value for the empresa record component
      tipo - the value for the tipo record component
      documento - the value for the documento record component
      fornecedor - the value for the fornecedor record component
      situacao - the value for the situacao record component
      dataInicio - the value for the dataInicio record component
      dataFim - the value for the dataFim record component
      ordenacao - the value for the ordenacao record component
      direcao - the value for the direcao record component
      offset - the value for the offset record component
      limite - the value for the limite record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • empresa

      public int empresa()
      Returns the value of the empresa record component.
      Returns:
      the value of the empresa record component
    • tipo

      public String tipo()
      Returns the value of the tipo record component.
      Returns:
      the value of the tipo record component
    • documento

      public String documento()
      Returns the value of the documento record component.
      Returns:
      the value of the documento record component
    • fornecedor

      public String fornecedor()
      Returns the value of the fornecedor record component.
      Returns:
      the value of the fornecedor record component
    • situacao

      public String situacao()
      Returns the value of the situacao record component.
      Returns:
      the value of the situacao record component
    • dataInicio

      public String dataInicio()
      Returns the value of the dataInicio record component.
      Returns:
      the value of the dataInicio record component
    • dataFim

      public String dataFim()
      Returns the value of the dataFim record component.
      Returns:
      the value of the dataFim record component
    • ordenacao

      public String ordenacao()
      Returns the value of the ordenacao record component.
      Returns:
      the value of the ordenacao record component
    • direcao

      public String direcao()
      Returns the value of the direcao record component.
      Returns:
      the value of the direcao record component
    • offset

      public int offset()
      Returns the value of the offset record component.
      Returns:
      the value of the offset record component
    • limite

      public int limite()
      Returns the value of the limite record component.
      Returns:
      the value of the limite record component