Examples of PerfilIntercambioDadosCadastroPidc


Examples of ecar.pojo.intercambioDados.funcionalidade.PerfilIntercambioDadosCadastroPidc

              throw new ECARException("estrutura.exclusao.erro.estruturaEtts");
            }           
                      
            if(contar(estrutura.getPerfilIntercambioDadosCadastroPidcsBaseImp()) > 0){
            excluir = false;
            PerfilIntercambioDadosCadastroPidc pidc = (PerfilIntercambioDadosCadastroPidc) new ArrayList(estrutura.getPerfilIntercambioDadosCadastroPidcsBaseImp()).get(0);
            throw new ECARException("estrutura.exclusao.erro.perfilIntercambioDadosPflids", null, new String[] {pidc.getNomePflid()});            
        }
           
        if(contar(estrutura.getPerfilIntercambioDadosCadastroPidcsCriacaoItemImp()) > 0){
            excluir = false;
            PerfilIntercambioDadosCadastroPidc pidc = (PerfilIntercambioDadosCadastroPidc) new ArrayList(estrutura.getPerfilIntercambioDadosCadastroPidcsCriacaoItemImp()).get(0);
            throw new ECARException("estrutura.exclusao.erro.perfilIntercambioDadosPflids", null, new String[] {pidc.getNomePflid()});            
        }
           
        if(contar(estrutura.getPerfilIntercambioDadosCadastroPidcsItemNivelSuperiorImp()) > 0){
            excluir = false;
            PerfilIntercambioDadosCadastroPidc pidc = (PerfilIntercambioDadosCadastroPidc) new ArrayList(estrutura.getPerfilIntercambioDadosCadastroPidcsItemNivelSuperiorImp()).get(0);
            throw new ECARException("estrutura.exclusao.erro.perfilIntercambioDadosPflids", null, new String[] {pidc.getNomePflid()});            
        }
       
            if (excluir) {
              objetosParaExcluir.addAll(estrutura.getEstruturaAtributoEttats());
                if(estrutura.getEstruturaAtributoEttats() != null){
View Full Code Here

Examples of ecar.pojo.intercambioDados.funcionalidade.PerfilIntercambioDadosCadastroPidc

     * @throws ECARException
     */
  private void verificarPerfilExistente(PerfilIntercambioDadosPflid perfilIntercambioDadosPflid)
    throws ECARException {
   
    PerfilIntercambioDadosPflid perfilIntercambioDadosFiltro = new PerfilIntercambioDadosCadastroPidc();
     
      perfilIntercambioDadosFiltro.setNomePflid(perfilIntercambioDadosPflid.getNomePflid());
 
      List<PerfilIntercambioDadosPflid> listaPerfil = pesquisar(perfilIntercambioDadosFiltro);
     
      //Se houver outro perfil com o mesmo nome o fluxo dever� ser abortado, impedindo que o usu�rio inclua dois perfis com o mesmo nome.
      for (PerfilIntercambioDadosPflid perfilIntercambioDadosInner : listaPerfil) {
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.