Class ProcStatusServico

java.lang.Object
org.compiere.process.SvrProcess
org.brerp.sped.nfe.process.ProcStatusServico
All Implemented Interfaces:
ProcessCall

public class ProcStatusServico extends SvrProcess
Processo para consultar o Status do Serviço
Version:
$Id: ProcStatusServico.java, 08/04/2010 15:35:00 mgrigioni, $Id: ProcStatusServico.java, 25 de fev de 2017 18:44:48 ceridorio
  • Refactor para JAXB e Adequao para PR.
  • Author:
    Mario Grigioni, Gabriel S. Schneider (gabriel.schneider@brerp.org), gabriels
  • Refactor e adequação para a versão 3.10 da NFe, Henrique Aparecido Lavezzo (henrique.lavezzo@devcoffee.com.br), hlavezzo
  • Multiplexador de mensagens para evitar override de protocolo do socket, tiago.ceridorio (tiago.ceridorio@devcoffee.com.br>, http://www.devcoffee.com.br)
    • Constructor Details

      • ProcStatusServico

        public ProcStatusServico()
    • Method Details

      • prepare

        protected void prepare()
        Description copied from class: SvrProcess
        Prepare - e.g., get Parameters.
        
        		ProcessInfoParameter[] para = getParameter();
        		for (int i = 0; i < para.length; i++)
        		{
        			String name = para[i].getParameterName();
        			if (para[i].getParameter() == null)
        				;
        			else if (name.equals("A_Asset_Group_ID"))
        				p_A_Asset_Group_ID = para[i].getParameterAsInt();
        			else if (name.equals("GuaranteeDate"))
        				p_GuaranteeDate = (Timestamp)para[i].getParameter();
        			else if (name.equals("AttachAsset"))
        				p_AttachAsset = "Y".equals(para[i].getParameter());
        			else
        				log.log(Level.SEVERE, "Unknown Parameter: " + name);
        		}
          
        Specified by:
        prepare in class SvrProcess
      • doIt

        protected String doIt() throws Exception
        DoIt
        Specified by:
        doIt in class SvrProcess
        Returns:
        Message (variables are parsed)
        Throws:
        Exception - if not successful e.g. throw new AdempiereUserError ("@FillMandatory@ @C_BankAccount_ID@");