|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ecar.servlet.relatorio.PPA_Orgao.RelatorioPPAOrgaoService
public class RelatorioPPAOrgaoService
Classe de acoplamento do relatorio PPA por �rg�o com o sistema E-car
Arvore de chamada de Metodos ::
RelatorioPPAServlet
generatePPA
getDados
Field Summary | |
---|---|
private CalcularTotalVisitor |
calcularTotal
Calcula os totais na tabela de resumo do relatorio PPA |
private java.lang.Character |
CONSTANTE_IND_ATIVO
|
private java.lang.Long |
CONSTANTE_MINISTERIO_PUBLICO
|
private int |
CONSTANTE_ORGAO
|
private java.lang.Long |
CONSTANTE_PERIODO_EXERCICIO
|
private int |
CONSTANTE_PODER
|
private java.lang.Long |
CONSTANTE_PODER_LEGISLATIVO
|
private java.util.ArrayList<PPA_OrgaoBean> |
dados
Dados do relatorio |
private java.util.List<ExercicioExe> |
listaExercicios
Listagem de exercicios do periodo |
private org.apache.log4j.Logger |
logger
Log da classe |
private java.lang.Long |
ORGAO_ADMIN_SEFA
|
private java.lang.Long |
ORGAO_ADMIN_SEPL
|
private javax.servlet.http.HttpServletRequest |
request
Requisicao |
private java.math.BigDecimal |
totalGeral1
|
private java.math.BigDecimal |
totalGeral2
|
private java.math.BigDecimal |
totalGeral3
|
private java.math.BigDecimal |
totalGeral4
|
Constructor Summary | |
---|---|
private |
RelatorioPPAOrgaoService()
|
Method Summary | |
---|---|
private java.util.ArrayList<OrgaoOrg> |
fixarOrgaos(java.util.Set<OrgaoOrg> list)
|
java.util.ArrayList<PPA_OrgaoBean> |
generatePPA()
Recupera dados e dispara actions para geracao do relatorio |
private void |
gerarContador()
|
private void |
getDados()
Retorna itens para geracao do relatorio PPA |
static RelatorioPPAOrgaoService |
getInstance(javax.servlet.http.HttpServletRequest paramRequest)
Retorna instancia da classe RelatorioPPAProgramaService com parametro de entrada request |
private java.math.BigDecimal[] |
getPrevisao(ItemEstruturaIett itemEstrut)
|
java.math.BigDecimal |
getTotalGeral()
|
java.math.BigDecimal |
getTotalGeral1()
|
java.math.BigDecimal |
getTotalGeral2()
|
java.math.BigDecimal |
getTotalGeral3()
|
java.math.BigDecimal |
getTotalGeral4()
|
private void |
listError()
|
private void |
loadExerciciosValidos()
Carrega exercicios do periodo de 2008 - 2011 |
private java.util.Set |
reordenarOrgao(java.util.Collection list)
Reordena Colecao de elementos de acordo com objeto Comparator |
private void |
totalizarBean(PPA_OrgaoBean orgaoBean,
java.math.BigDecimal[] valores)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private org.apache.log4j.Logger logger
private javax.servlet.http.HttpServletRequest request
private final java.lang.Long CONSTANTE_PERIODO_EXERCICIO
private final java.lang.Character CONSTANTE_IND_ATIVO
private java.util.ArrayList<PPA_OrgaoBean> dados
private final CalcularTotalVisitor calcularTotal
private java.util.List<ExercicioExe> listaExercicios
private final int CONSTANTE_PODER
private final int CONSTANTE_ORGAO
private final java.lang.Long CONSTANTE_MINISTERIO_PUBLICO
private final java.lang.Long ORGAO_ADMIN_SEPL
private final java.lang.Long ORGAO_ADMIN_SEFA
private final java.lang.Long CONSTANTE_PODER_LEGISLATIVO
private java.math.BigDecimal totalGeral1
private java.math.BigDecimal totalGeral2
private java.math.BigDecimal totalGeral3
private java.math.BigDecimal totalGeral4
Constructor Detail |
---|
private RelatorioPPAOrgaoService()
Method Detail |
---|
public static RelatorioPPAOrgaoService getInstance(javax.servlet.http.HttpServletRequest paramRequest)
paramRequest
-
public java.util.ArrayList<PPA_OrgaoBean> generatePPA()
public java.math.BigDecimal getTotalGeral1()
public java.math.BigDecimal getTotalGeral2()
public java.math.BigDecimal getTotalGeral3()
public java.math.BigDecimal getTotalGeral4()
public java.math.BigDecimal getTotalGeral()
private java.util.ArrayList<OrgaoOrg> fixarOrgaos(java.util.Set<OrgaoOrg> list)
private void loadExerciciosValidos()
private void gerarContador()
private java.util.Set reordenarOrgao(java.util.Collection list)
list
- listagem
private void getDados()
periodoIni
- periodoFim
- private void totalizarBean(PPA_OrgaoBean orgaoBean, java.math.BigDecimal[] valores)
private java.math.BigDecimal[] getPrevisao(ItemEstruturaIett itemEstrut) throws ECARException
ECARException
private void listError()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |