ecar.servlet.relatorio
Class RelacaoItemEstrutura

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.RelacaoItemEstrutura
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RelacaoItemEstrutura
extends AbstractServletReportXmlXsl

Author:
aleixo
See Also:
Serialized Form

Field Summary
private static int CHECKBOX
           
private static int COMBOBOX
          CONSTANTES
private  FuncaoDao funcaoDao
           
private  java.util.List idsEstrutura
           
private static int IMAGEM
           
private  boolean imprimirEstrutura
           
private  ItemEstruturaCriterioDao itemCriterioDao
           
private  java.util.List itensSelecionados
           
private static int LISTBOX
           
private static int MULTIPLO
           
private static int MULTITEXTO
           
private static int RADIO_BUTTON
           
private static long serialVersionUID
           
private  SituacaoDao situacaoDao
           
private static int TEXT
           
private static int TEXTAREA
           
private  java.util.List totalizadores
           
private static int VALIDACAO
           
 
Fields inherited from class ecar.servlet.relatorio.AbstractServletReportXmlXsl
logger, SAIDA_DOWNLOAD, SAIDA_DOWNLOAD_E_GRAVAR, SAIDA_GRAVAR
 
Constructor Summary
RelacaoItemEstrutura()
           
 
Method Summary
 void geraXMLCapa(XmlBuilder builder, java.lang.String titulo, java.lang.String tituloItens, java.lang.String orgao, java.util.List listaCriteriosCom, java.util.List listaCriteriosSem, java.util.List listaSituacoes)
          Gera capa XML.
 void geraXMLEstrutura(XmlBuilder builder, ItemEstruturaIett item, java.lang.String nomeDinamico, java.lang.String tipoRelatorio, java.lang.String orgao)
          Gera estrutura Xml.
 void geraXMLTotalizador(XmlBuilder builder)
          Gera Xml totalizador.
 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 xls.
private  void incrementarTotalizador(java.lang.Long idEstrutura, java.lang.String nomeEstrutura)
          Incrementa totalizador.
 
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

idsEstrutura

private java.util.List idsEstrutura

totalizadores

private java.util.List totalizadores

itemCriterioDao

private ItemEstruturaCriterioDao itemCriterioDao

situacaoDao

private SituacaoDao situacaoDao

funcaoDao

private FuncaoDao funcaoDao

itensSelecionados

private java.util.List itensSelecionados

imprimirEstrutura

private boolean imprimirEstrutura

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

RelacaoItemEstrutura

public RelacaoItemEstrutura()
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

geraXMLCapa

public void geraXMLCapa(XmlBuilder builder,
                        java.lang.String titulo,
                        java.lang.String tituloItens,
                        java.lang.String orgao,
                        java.util.List listaCriteriosCom,
                        java.util.List listaCriteriosSem,
                        java.util.List listaSituacoes)
                 throws ECARException
Gera capa XML.

Parameters:
XmlBuilder - builder
String - titulo
String - tituloItens
String - orgao
List - listaCriteriosCom
List - listaCriteriosSem
List - listaSituacoes
Throws:
ECARException
Since:
N/C

geraXMLEstrutura

public void geraXMLEstrutura(XmlBuilder builder,
                             ItemEstruturaIett item,
                             java.lang.String nomeDinamico,
                             java.lang.String tipoRelatorio,
                             java.lang.String orgao)
                      throws ECARException
Gera estrutura Xml.

Parameters:
XmlBuilder - builder
ItemEstruturaIett - item
String - nomeDinamico
String - tipoRelatorio
String - orgao
Throws:
ECARException
Since:
N/C

geraXMLTotalizador

public void geraXMLTotalizador(XmlBuilder builder)
                        throws ECARException
Gera Xml totalizador.

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

incrementarTotalizador

private void incrementarTotalizador(java.lang.Long idEstrutura,
                                    java.lang.String nomeEstrutura)
Incrementa totalizador.

Parameters:
Long - idEstrutura
String - nomeEstrutura
Since:
N/C

getXslFileName

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

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


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