ecar.servlet.relatorio
Class RelatorioAcompanhamentoImpresso

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by ecar.servlet.relatorio.AbstractServletReportXmlXsl
              extended by ecar.servlet.relatorio.RelatorioAcompanhamentoImpresso
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RelatorioAcompanhamentoImpresso
extends AbstractServletReportXmlXsl

Author:
evandro, cristiano, claudismar
See Also:
Serialized Form

Field Summary
private  AcompReferenciaItemDao acompRefItemDao
           
private  AcompReferenciaAref aref
           
private static int CHECKBOX
           
private  java.lang.String[] codAriFilhos
           
private static int COMBOBOX
          CONSTANTES
private  ConfiguracaoCfg configura
           
(package private)  boolean dadosGerais
           
(package private)  boolean financeiro
           
(package private)  boolean funcoes
           
private static int IMAGEM
           
(package private)  boolean indicadores
           
private  ItemEstruturaDao itemDao
           
private  java.util.List listaAriCompleta
           
private  java.util.List listaCompletaOrdenada
           
private  java.util.List listaIett
           
private static int LISTBOX
           
private  java.util.List listFunAcomp
           
private static int MULTIPLO
           
private static int MULTITEXTO
           
(package private)  boolean posicoes
           
(package private)  boolean projecao
           
private static int RADIO_BUTTON
           
private  java.lang.String realPath
           
private  javax.servlet.http.HttpServletRequest request
           
private static long serialVersionUID
           
private static int TEXT
           
private static int TEXTAREA
           
private static int VALIDACAO
           
 
Fields inherited from class ecar.servlet.relatorio.AbstractServletReportXmlXsl
logger, SAIDA_DOWNLOAD, SAIDA_DOWNLOAD_E_GRAVAR, SAIDA_GRAVAR
 
Constructor Summary
RelatorioAcompanhamentoImpresso()
           
 
Method Summary
private  void defineFuncoes()
          Define fun��es.
private  void geraXMLAvaliacoes(XmlBuilder builder, AcompReferenciaItemAri itemAri)
          Gera avalia��es xml.
private  void geraXMLDadosAbasItem(XmlBuilder builder, ItemEstruturaIett iett)
          Gera XML dos Dados das Abas de itens.
private  void geraXMLDadosGerais(XmlBuilder builder, ItemEstruturaIett iett)
          Gera dados gerais xml.
private  void geraXMLEvolucaoFinanceira(XmlBuilder builder, AcompReferenciaItemAri itemAri)
          Gera evolu��o financeira xml.
private  void geraXMLHierarquia(XmlBuilder builder, ItemEstruturaIett iett)
          Gera Hierarquia xml.
private  void geraXMLIndicadores(XmlBuilder builder, AcompReferenciaItemAri itemAri)
          Gera indicadores xml.
private  void geraXMLItemAri(XmlBuilder builder, AcompReferenciaItemAri itemAri)
          Gera XML do ItemAri.
private  void geraXMLItens(XmlBuilder builder)
          Gera itens xml.
private  void geraXMLItensGeral(XmlBuilder builder)
          Gera itens Geral xml.
 java.lang.String getErrorPage(javax.servlet.http.HttpServletRequest request, java.lang.String mensagem)
          Pega o erro de pagina.
 java.lang.StringBuffer getXml(javax.servlet.http.HttpServletRequest request)
          Gera XML.
 java.lang.String getXslFileName()
          Pega o nome do arquivo xsl.
 
Methods inherited from class ecar.servlet.relatorio.AbstractServletReportXmlXsl
getCaminhoArquivoSaidaGravar, getSaida, service, setCaminhoArquivoSaidaGravar, setSaida
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

realPath

private java.lang.String realPath

configura

private ConfiguracaoCfg configura

listaIett

private java.util.List listaIett

listFunAcomp

private java.util.List listFunAcomp

posicoes

boolean posicoes

funcoes

boolean funcoes

dadosGerais

boolean dadosGerais

indicadores

boolean indicadores

financeiro

boolean financeiro

projecao

boolean projecao

request

private javax.servlet.http.HttpServletRequest request

codAriFilhos

private java.lang.String[] codAriFilhos

listaCompletaOrdenada

private java.util.List listaCompletaOrdenada

listaAriCompleta

private java.util.List listaAriCompleta

aref

private AcompReferenciaAref aref

itemDao

private ItemEstruturaDao itemDao

acompRefItemDao

private AcompReferenciaItemDao acompRefItemDao

COMBOBOX

private static final int COMBOBOX
CONSTANTES

See Also:
Constant Field Values

CHECKBOX

private static final int CHECKBOX
See Also:
Constant Field Values

LISTBOX

private static final int LISTBOX
See Also:
Constant Field Values

RADIO_BUTTON

private static final int RADIO_BUTTON
See Also:
Constant Field Values

TEXT

private static final int TEXT
See Also:
Constant Field Values

IMAGEM

private static final int IMAGEM
See Also:
Constant Field Values

MULTITEXTO

private static final int MULTITEXTO
See Also:
Constant Field Values

VALIDACAO

private static final int VALIDACAO
See Also:
Constant Field Values

MULTIPLO

private static final int MULTIPLO
See Also:
Constant Field Values

TEXTAREA

private static final int TEXTAREA
See Also:
Constant Field Values
Constructor Detail

RelatorioAcompanhamentoImpresso

public RelatorioAcompanhamentoImpresso()
Method Detail

getXml

public java.lang.StringBuffer getXml(javax.servlet.http.HttpServletRequest request)
                              throws ECARException
Gera XML.

Specified by:
getXml in class AbstractServletReportXmlXsl
Parameters:
HttpServletRequest - request
Returns:
StringBuffer
Throws:
ECARException
Since:
N/C

defineFuncoes

private void defineFuncoes()
                    throws ECARException
Define fun��es.

Throws:
ECARException
Since:
N/C

geraXMLItensGeral

private void geraXMLItensGeral(XmlBuilder builder)
                        throws ECARException
Gera itens Geral xml.

Parameters:
XmlBuilder - builder
Throws:
ECARException
Since:
N/C

getXslFileName

public java.lang.String getXslFileName()
Pega o nome do arquivo xsl.

Specified by:
getXslFileName in class AbstractServletReportXmlXsl
Returns:
String
Since:
N/C

getErrorPage

public java.lang.String getErrorPage(javax.servlet.http.HttpServletRequest request,
                                     java.lang.String mensagem)
Pega o erro de pagina.

Specified by:
getErrorPage in class AbstractServletReportXmlXsl
Parameters:
HttpServletRequest - request
String - mensagem
Returns:
String
Since:
N/C

geraXMLItens

private void geraXMLItens(XmlBuilder builder)
                   throws ECARException
Gera itens xml.

Parameters:
XmlBuilder - builder
Throws:
ECARException
Since:
N/C

geraXMLItemAri

private void geraXMLItemAri(XmlBuilder builder,
                            AcompReferenciaItemAri itemAri)
                     throws ECARException
Gera XML do ItemAri.

Parameters:
XmlBuilder - builder
AcompReferenciaItemAri - itemAri
Throws:
ECARException
Since:
N/C

geraXMLHierarquia

private void geraXMLHierarquia(XmlBuilder builder,
                               ItemEstruturaIett iett)
                        throws ECARException
Gera Hierarquia xml.

Parameters:
XmlBuilder - builder
ItemEstruturaIett - iett
Throws:
ECARException
Since:
N/C

geraXMLAvaliacoes

private void geraXMLAvaliacoes(XmlBuilder builder,
                               AcompReferenciaItemAri itemAri)
                        throws ECARException
Gera avalia��es xml.

Parameters:
XmlBuilder - builder
AcompReferenciaItemAri - itemAri
Throws:
ECARException
Since:
N/C

geraXMLDadosGerais

private void geraXMLDadosGerais(XmlBuilder builder,
                                ItemEstruturaIett iett)
                         throws ECARException
Gera dados gerais xml.

Parameters:
XmlBuilder - builder
ItemEstruturaIett - iett
Throws:
ECARException
Since:
N/C

geraXMLDadosAbasItem

private void geraXMLDadosAbasItem(XmlBuilder builder,
                                  ItemEstruturaIett iett)
                           throws ECARException
Gera XML dos Dados das Abas de itens.

Parameters:
XmlBuilder - builder
ItemEstruturaIett - iett
Throws:
ECARException
Since:
N/C

geraXMLIndicadores

private void geraXMLIndicadores(XmlBuilder builder,
                                AcompReferenciaItemAri itemAri)
                         throws ECARException
Gera indicadores xml.

Parameters:
XmlBuilder - builder
AcompReferenciaItemAri - itemAri
Throws:
ECARException
Since:
N/C

geraXMLEvolucaoFinanceira

private void geraXMLEvolucaoFinanceira(XmlBuilder builder,
                                       AcompReferenciaItemAri itemAri)
                                throws ECARException
Gera evolu��o financeira xml.

Parameters:
XmlBuilder - builder
AcompReferenciaItemAri - itemAri
Throws:
ECARException
Since:
N/C


Copyright © 2007, PRODEPA - Processamento de Dados do Pará