Examples of FuncaoFun


Examples of ecar.pojo.FuncaoFun

     * @throws ECARException
     */
    public String getLabelFuncaoCategoriaAnexo( EstruturaEtt estrutura )
                                        throws ECARException
    {
        FuncaoFun funcao = new FuncaoFun(  );
        funcao.setNomeFun( "Categorias" );

        List pesquisa = new FuncaoDao( request ).pesquisar( funcao,
                                                            new String[] { "nomeFun", "asc" } );
        FuncaoFun f = (FuncaoFun) pesquisa.iterator(  ).next(  );

        try
        {
            return getLabelFuncao( estrutura,
                                   f.getCodFun(  ) ).getLabelEttf(  );
        } catch ( Exception e )
        {
            this.logger.error( e );

            if ( funcao.getLabelPadraoFun(  ) != null )
            {
                return f.getLabelPadraoFun(  );
            } else{
                return f.getNomeFun(  );
            }
        }
    }
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     * @throws ECARException
     */
    public String getLabelIndicadoresResultado( EstruturaEtt estrutura )
                                        throws ECARException
    {
        FuncaoFun funcao = new FuncaoFun(  );
        funcao.setNomeFun( "Indicadores_Resultado" );

        List pesquisa = new FuncaoDao( request ).pesquisar( funcao,
                                                            new String[] { "nomeFun", "asc" } );
        FuncaoFun f = (FuncaoFun) pesquisa.iterator(  ).next(  );

        try
        {
            return getLabelFuncao( estrutura,
                                   f.getCodFun(  ) ).getLabelEttf(  );
        } catch ( Exception e )
        {
            this.logger.error( e );

            if ( funcao.getLabelPadraoFun(  ) != null )
            {
                return f.getLabelPadraoFun(  );
            } else{
                return f.getNomeFun(  );
            }
        }
    }
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     * @throws ECARException
     */
    public String getLabelOcorrencias( EstruturaEtt estrutura )
                               throws ECARException
    {
        FuncaoFun funcao = new FuncaoFun(  );
        funcao.setNomeFun( "Evento" );

        List pesquisa = new FuncaoDao( request ).pesquisar( funcao,
                                                            new String[] { "nomeFun", "asc" } );
        FuncaoFun f = (FuncaoFun) pesquisa.iterator(  ).next(  );

        try
        {
            return getLabelFuncao( estrutura,
                                   f.getCodFun(  ) ).getLabelEttf(  );
        } catch ( Exception e )
        {
            this.logger.error( e );

            if ( funcao.getLabelPadraoFun(  ) != null )
            {
                return f.getLabelPadraoFun(  );
            } else{
                return f.getNomeFun(  );
            }
        }
    }
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     * @throws ECARException
     */
    public String getLabelQuantidadesPrevistas( EstruturaEtt estrutura )
                                        throws ECARException
    {
        FuncaoFun funcao = new FuncaoFun(  );
        funcao.setNomeFun( "Quantidades_Previstas" );

        List pesquisa = new FuncaoDao( request ).pesquisar( funcao,
                                                            new String[] { "nomeFun", "asc" } );
        FuncaoFun f = (FuncaoFun) pesquisa.iterator(  ).next(  );

        try
        {
            return getLabelFuncao( estrutura,
                                   f.getCodFun(  ) ).getLabelEttf(  );
        } catch ( Exception e )
        {
            this.logger.error( e );

            if ( f.getLabelPadraoFun(  ) != null )
            {
                return f.getLabelPadraoFun(  );
            } else{
                return f.getNomeFun(  );
            }
        }
    }
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     * @throws ECARException
     */
    public String getLabelApontamentos( EstruturaEtt estrutura )
                                throws ECARException
    {
        FuncaoFun funcao = new FuncaoFun(  );
        funcao.setNomeFun( "Apontamentos" );

        List pesquisa = new FuncaoDao( request ).pesquisar( funcao,
                                                            new String[] { "nomeFun", "asc" } );
        FuncaoFun f = (FuncaoFun) pesquisa.iterator(  ).next(  );

        try
        {
            return getLabelFuncao( estrutura,
                                   f.getCodFun(  ) ).getLabelEttf(  );
        } catch ( Exception e )
        {
            this.logger.error( e );

            if ( funcao.getLabelPadraoFun(  ) != null )
            {
                return f.getLabelPadraoFun(  );
            } else
            {
                return f.getNomeFun(  );
            }
        }
    }
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     * @throws ECARException
     */
    public EstruturaFuncaoEttf getApontamentos( EstruturaEtt estrutura )
                                        throws ECARException
    {
        FuncaoFun funcao = new FuncaoFun(  );
        funcao.setNomeFun( "Apontamentos" );

        List pesquisa = new FuncaoDao( request ).pesquisar( funcao,
                                                            new String[] { "nomeFun", "asc" } );
        FuncaoFun f = (FuncaoFun) pesquisa.iterator(  ).next(  );

        try
        {
            return getLabelFuncao( estrutura,
                                   f.getCodFun(  ) );
        } catch ( ECARException e )
        {
            this.logger.error( e );

            return null;
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     * @throws ECARException
     */
    public EstruturaFuncaoEttf getQuantidadesPrevistas( EstruturaEtt estrutura )
                                                throws ECARException
    {
        FuncaoFun funcao = new FuncaoFun(  );
        funcao.setNomeFun( "Quantidades_Previstas" );

        List pesquisa = new FuncaoDao( request ).pesquisar( funcao,
                                                            new String[] { "nomeFun", "asc" } );
        FuncaoFun f = (FuncaoFun) pesquisa.iterator(  ).next(  );

        try
        {
            return getLabelFuncao( estrutura,
                                   f.getCodFun(  ) );
        } catch ( ECARException e )
        {
            this.logger.error( e );

            return null;
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     * @throws ECARException
     */
    public EstruturaFuncaoEttf getItensAnexo( EstruturaEtt estrutura )
                                      throws ECARException
    {
        FuncaoFun funcao = new FuncaoFun(  );
        funcao.setNomeFun( "Itens_de_Anexo" );

        List pesquisa = new FuncaoDao( request ).pesquisar( funcao,
                                                            new String[] { "nomeFun", "asc" } );
        FuncaoFun f = (FuncaoFun) pesquisa.iterator(  ).next(  );

        try
        {
            return getLabelFuncao( estrutura,
                                   f.getCodFun(  ) );
        } catch ( ECARException e )
        {
            this.logger.error( e );

            return null;
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     * @throws ECARException
     */
    public String getLabelFuncaoContasOrcamento( EstruturaEtt estrutura )
                                         throws ECARException
    {
        FuncaoFun funcao = new FuncaoFun(  );
        funcao.setNomeFun( "Contas_do_Orcamento" );

        List pesquisa = new FuncaoDao( request ).pesquisar( funcao,
                                                            new String[] { "nomeFun", "asc" } );
        FuncaoFun f = (FuncaoFun) pesquisa.iterator(  ).next(  );

        try
        {
            return getLabelFuncao( estrutura,
                                   f.getCodFun(  ) ).getLabelEttf(  );
        } catch ( Exception e )
        {
            this.logger.error( e );

            if ( funcao.getLabelPadraoFun(  ) != null )
            {
                return f.getLabelPadraoFun(  );
            } else{
                return f.getNomeFun(  );
            }
        }
    }
View Full Code Here

Examples of ecar.pojo.FuncaoFun

    * @throws ECARException
    */
   public String getLabelFuncaoMetasIndicadores( EstruturaEtt estrutura )
                                       throws ECARException
   {
       FuncaoFun funcao = new FuncaoFun(  );
       funcao.setNomeFun( FuncaoDao.NOME_FUNCAO_METAS_INDICADORES );

       List pesquisa = new FuncaoDao( request ).pesquisar( funcao,
                                                           new String[] { "nomeFun", "asc" } );
       FuncaoFun f = (FuncaoFun) pesquisa.iterator(  ).next(  );

       try
       {
           return getLabelFuncao( estrutura,
                                  f.getCodFun(  ) ).getLabelEttf(  );
       } catch ( Exception e )
       {
           this.logger.error( e );

           if ( funcao.getLabelPadraoFun(  ) != null )
           {
               return f.getLabelPadraoFun(  );
           } else{
               return f.getNomeFun(  );
           }
       }
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.