Examples of FuncaoFun


Examples of ecar.pojo.FuncaoFun

        builder.addNode("capa",
            "titulo=\"" + builder.normalize(titulo) + "\"" +
            " tituloItens=\"" + builder.normalize(tituloItens) + "\"" +
            " orgao=\"" + builder.normalize(orgao) + "\"");
       
      FuncaoFun criterioFun = funcaoDao.getFuncao(Long.valueOf("6")); // 6 = Crit�rios
     
      if(criterioFun != null &&
          (listaCriteriosCom != null && listaCriteriosCom.size() > 0
          || listaCriteriosSem != null && listaCriteriosSem.size() > 0)){
          builder.addNode("filtros", "tipo=\"" + builder.normalize(criterioFun.getLabelPadraoFun()) + "\"" +
                  " estilo=\"CS\""); //CS --> Monta tabela com colunas de Com/Sem
         
          if(listaCriteriosCom != null && listaCriteriosCom.size() > 0){
            Iterator itCriterios = listaCriteriosCom.iterator();
            while(itCriterios.hasNext()){
View Full Code Here

Examples of ecar.pojo.FuncaoFun

  public Set getSetFuncoes(String funcoes[]) throws ECARException{
      Set retorno = new HashSet();
    if(funcoes != null){
      for(int i = 0; i < funcoes.length; i++){       
        try{
          FuncaoFun funcao = (FuncaoFun) this.buscar(FuncaoFun.class, Long.valueOf(funcoes[i]));
          retorno.add(funcao);   
        } catch (ECARException e) {
          this.logger.error(e);
          throw e;
        }
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     */
    @SuppressWarnings("unchecked")
  public List getFuncoesNaoOpcionais() throws ECARException {
        List retorno = new ArrayList();

        FuncaoFun funcao = new FuncaoFun();

        funcao.setIndAtivoFun("S");
        funcao.setIndOpcionalFun("N");

        retorno = this.pesquisar(funcao, new String[]{"nomeFun",FuncaoDao.ORDEM_ASC});

        return retorno;
    }
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     */
    @SuppressWarnings("unchecked")
  public List getFuncoesOpcionais() throws ECARException {
        List retorno = new ArrayList();

        FuncaoFun funcao = new FuncaoFun();

        funcao.setIndAtivoFun("S");
        funcao.setIndOpcionalFun("S");

        retorno = this.pesquisar(funcao, new String[]{"nomeFun",FuncaoDao.ORDEM_ASC});

        return retorno;

View Full Code Here

Examples of ecar.pojo.FuncaoFun

     * @return Long
     * @throws ECARException
     */
    public long getCodFuncaoDadosGerais() throws ECARException{
      long retorno = 0;
      FuncaoFun funcaoFun = this.getFuncaoDadosGerais();
      if (funcaoFun != null){
        retorno = funcaoFun.getCodFun().longValue();
      }
     
      return retorno;
    }
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     * @return
     * @throws ECARException
     */
    @SuppressWarnings("static-access")
    public FuncaoFun getFuncaoDadosGerais() throws ECARException{
      FuncaoFun funcaoFun = new FuncaoFun();
      funcaoFun.setNomeFun(FuncaoDao.NOME_FUNCAO_DADOS_GERAIS);
      List listFuncao = this.pesquisar(funcaoFun, new String[]{"codFun",FuncaoDao.ORDEM_ASC});
      if (!listFuncao.isEmpty()){
        return ((FuncaoFun) listFuncao.get(0));
      }
      return null;
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     * @return
     * @throws ECARException
     */
    @SuppressWarnings("static-access")
    public FuncaoFun getFuncaoEntidades() throws ECARException{
      FuncaoFun funcaoFun = new FuncaoFun();
      funcaoFun.setNomeFun(FuncaoDao.NOME_FUNCAO_ENTIDADES);
      List listFuncao = this.pesquisar(funcaoFun, new String[]{"codFun",FuncaoDao.ORDEM_ASC});
      if (!listFuncao.isEmpty()){
        return ((FuncaoFun) listFuncao.get(0));
      }
      return null;
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     * @param nomeFuncao
     * @return
     * @throws ECARException
     */
    public FuncaoFun getFuncaoPorNome(String nomeFuncao) throws ECARException{
      FuncaoFun funcaoFun = new FuncaoFun();
      funcaoFun.setNomeFun(nomeFuncao);
      List listFuncao = this.pesquisar(funcaoFun, new String[]{"codFun",FuncaoDao.ORDEM_ASC});
      if (!listFuncao.isEmpty()){
        return ((FuncaoFun) listFuncao.get(0));
      }
      return null;
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     * @return Long
     * @throws ECARException
     */
    public long getCodFuncaoPontosCriticos() throws ECARException{
      long retorno = 0;
      FuncaoFun funcaoFun = this.getFuncaoPontosCriticos();
      if (funcaoFun != null){
        retorno = funcaoFun.getCodFun().longValue();
      }
     
      return retorno;
    }
View Full Code Here

Examples of ecar.pojo.FuncaoFun

     * @return
     * @throws ECARException
     */
    @SuppressWarnings("static-access")
    public FuncaoFun getFuncaoPontosCriticos() throws ECARException{
      FuncaoFun funcaoFun = new FuncaoFun();
      funcaoFun.setNomeFun(FuncaoDao.NOME_FUNCAO_PONTOS_CRITICOS);
      List listFuncao = this.pesquisar(funcaoFun, new String[]{"codFun",FuncaoDao.ORDEM_ASC});
      if (!listFuncao.isEmpty()){
        return ((FuncaoFun) listFuncao.get(0));
      }
      return null;
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.