Package ecar.dao

Examples of ecar.dao.RegDemandaDao


  /**
     *
     */
    public PopUpRegDemanda() throws ECARException{
        pojo = new RegDemandaRegd();
        dao = new RegDemandaDao(null);
        atributoDemandaDao = new AtributoDemandaDao(null);
        this.setPesquisarEm(new String[] {atributoDemandaDao.getLabelAtributoDemandaFixo(descricaoRegd),
                          "Sigla " + atributoDemandaDao.getLabelAtributoDemandaFixo(entidade),
                          "Nome " + atributoDemandaDao.getLabelAtributoDemandaFixo(entidade),
                          atributoDemandaDao.getLabelAtributoDemandaFixo(nomeSolicitanteRegd)});
View Full Code Here


     *
     * @param request
     */
    public PopUpRegDemanda(HttpServletRequest request) throws ECARException{
        pojo = new RegDemandaRegd();
        dao = new RegDemandaDao(request);
        atributoDemandaDao = new AtributoDemandaDao(null);
        this.setPesquisarEm(new String[] {atributoDemandaDao.getLabelAtributoDemandaFixo(descricaoRegd),
                          "Sigla " + atributoDemandaDao.getLabelAtributoDemandaFixo(entidade),
                          "Nome " + atributoDemandaDao.getLabelAtributoDemandaFixo(entidade),
                          atributoDemandaDao.getLabelAtributoDemandaFixo(nomeSolicitanteRegd)});
View Full Code Here

      return iGetValoresCodFk(regDemanda);
      //return new RegDemandaDao(null).getValorLocaisDemanda(regDemanda,
          //        this.getNomeFkAtbdem());
    }
    if (this.getNomeAtbdem().equals("entidadeDemandaEntds")){
      return new RegDemandaDao(null).getValorEntidadesDemanda(regDemanda,
                  this.getNomeFkAtbdem());
    }
    if (this.getNomeAtbdem().equals("entidadeOrgaoDemandaEntorgds")){
      return new RegDemandaDao(null).getValorEntidadesOrgaosDemanda(regDemanda,
                  this.getNomeFkAtbdem());
    }
   
    return new RegDemandaDao(null).getValorAtributoDemanda(regDemanda,
                this.getNomeAtbdem(), this.getNomeFkAtbdem());
       
  }
View Full Code Here

  }
 
  public String iGetHierarquiaLocaisDemanda(RegDemandaRegd regDemanda) throws ECARException {
   
   
    return new RegDemandaDao(null).getHierarquiaLocaisDemanda(regDemanda);
       
  }
View Full Code Here

     */
  public String iGetValorCodFk(RegDemandaRegd regDemanda)
      throws ECARException {
   
    if (this.getNomeAtbdem().equals("localDemandaLdems")){
      return new RegDemandaDao(null).getValorLocaisDemanda(regDemanda,
                  this.getCodFkAtbdem());
    }
    if (this.getNomeAtbdem().equals("entidadeDemandaEntds")){
      return new RegDemandaDao(null).getValorEntidadesDemanda(regDemanda,
                  this.getCodFkAtbdem());
    }
    if (this.getNomeAtbdem().equals("entidadeOrgaoDemandaEntorgds")){
      return new RegDemandaDao(null).getValorEntidadesOrgaosDemanda(regDemanda,
                  this.getCodFkAtbdem());
    }
   
    return new RegDemandaDao(null).getValorAtributoDemanda(regDemanda,
                this.getNomeAtbdem(), this.getCodFkAtbdem());
         
  }
View Full Code Here

     */
  public String iGetValoresCodFk(RegDemandaRegd regDemanda)
      throws ECARException {
   
    if (this.nomeAtbdem.equals("localDemandaLdems")){   
      return new RegDemandaDao(null).getHierarquiaLocaisDemanda(regDemanda);
    }
   
    return null;
   
  }
View Full Code Here

TOP

Related Classes of ecar.dao.RegDemandaDao

Copyright © 2018 www.massapicom. 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.