Class GeracaoArquivoXMLNFe

java.lang.Object
systextil.bo.obrf.GeracaoArquivoXMLNFe

public class GeracaoArquivoXMLNFe extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    enviaEmail(br.com.intersys.systextil.connection.AppConnection cn, String entradaSaida, CNPJ cgc, Mdi mdi, File xml, String tipoXML)
     
    void
    enviaEmail(br.com.intersys.systextil.connection.AppConnection cn, String entradaSaida, systextil.dao.Cnpj cgc, Mdi mdi, File xml, String tipoXML)
    Deprecated, for removal: This API element is subject to removal in a future version.
    escreveXMLExistente(br.com.intersys.systextil.connection.AppConnection conn, String entradaSaida, int codigoEmpresa, int numeroNotaFiscal, String serie, CNPJ cgc, String tipoXml)
     
    escreveXMLExistente(br.com.intersys.systextil.connection.AppConnection conn, String entradaSaida, int codigoEmpresa, int numeroNotaFiscal, String serie, systextil.dao.Cnpj cgc, String tipoXml)
    Deprecated, for removal: This API element is subject to removal in a future version.
    static boolean
    gravarArquivoXML(br.com.intersys.systextil.connection.AppConnection conn, int codigoEmpresa, int numeroNotaFiscal, String serie, CNPJ cgc, String entradaSaida, String numeroDanfe, OutputStream out)
    Grava em um OutputStream o arquivo XML de uma nota fiscal que está guardado na tabela OBRF_160
    static boolean
    gravarArquivoXML(br.com.intersys.systextil.connection.AppConnection conn, int codigoEmpresa, int numeroNotaFiscal, String serie, systextil.dao.Cnpj cgc, String entradaSaida, String numeroDanfe, OutputStream out)
    Deprecated, for removal: This API element is subject to removal in a future version.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GeracaoArquivoXMLNFe

      public GeracaoArquivoXMLNFe()
  • Method Details

    • enviaEmail

      @Deprecated(forRemoval=true) public void enviaEmail(br.com.intersys.systextil.connection.AppConnection cn, String entradaSaida, systextil.dao.Cnpj cgc, Mdi mdi, File xml, String tipoXML) throws TagException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      TagException
    • enviaEmail

      public void enviaEmail(br.com.intersys.systextil.connection.AppConnection cn, String entradaSaida, CNPJ cgc, Mdi mdi, File xml, String tipoXML) throws TagException
      Throws:
      TagException
    • escreveXMLExistente

      @Deprecated(forRemoval=true) public File escreveXMLExistente(br.com.intersys.systextil.connection.AppConnection conn, String entradaSaida, int codigoEmpresa, int numeroNotaFiscal, String serie, systextil.dao.Cnpj cgc, String tipoXml) throws TagException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      TagException
    • escreveXMLExistente

      public File escreveXMLExistente(br.com.intersys.systextil.connection.AppConnection conn, String entradaSaida, int codigoEmpresa, int numeroNotaFiscal, String serie, CNPJ cgc, String tipoXml) throws TagException
      Throws:
      TagException
    • gravarArquivoXML

      @Deprecated(forRemoval=true) public static boolean gravarArquivoXML(br.com.intersys.systextil.connection.AppConnection conn, int codigoEmpresa, int numeroNotaFiscal, String serie, systextil.dao.Cnpj cgc, String entradaSaida, String numeroDanfe, OutputStream out)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Grava em um OutputStream o arquivo XML de uma nota fiscal que está guardado na tabela OBRF_160
      Parameters:
      conn - a conexão ao banco de dados
      codigoEmpresa - o código da empresa da nota fiscal
      numeroNotaFiscal - o número da nota fiscal
      serie - a série da nota fiscal
      cgc - o CNPJ associado à nota fiscal
      entradaSaida - se a nota fiscal é de entrada ou de saída
      numeroDanfe - o número de Danfe que foi gerado para essa nota fiscal
      out - o objeto que receberá os bytes do arquivo
      Returns:
      se os bytes desse arquivo XML foram encontrados e gravados com sucesso no OutputStream fornecido
    • gravarArquivoXML

      public static boolean gravarArquivoXML(br.com.intersys.systextil.connection.AppConnection conn, int codigoEmpresa, int numeroNotaFiscal, String serie, CNPJ cgc, String entradaSaida, String numeroDanfe, OutputStream out)
      Grava em um OutputStream o arquivo XML de uma nota fiscal que está guardado na tabela OBRF_160
      Parameters:
      conn - a conexão ao banco de dados
      codigoEmpresa - o código da empresa da nota fiscal
      numeroNotaFiscal - o número da nota fiscal
      serie - a série da nota fiscal
      cgc - o CNPJ associado à nota fiscal
      entradaSaida - se a nota fiscal é de entrada ou de saída
      numeroDanfe - o número de Danfe que foi gerado para essa nota fiscal
      out - o objeto que receberá os bytes do arquivo
      Returns:
      se os bytes desse arquivo XML foram encontrados e gravados com sucesso no OutputStream fornecido