@Override
 public void delete(IDto obj) throws Exception {
   PerfilAcessoMenuDTO perfilAcessoMenuDTO = (PerfilAcessoMenuDTO) obj;
   List condicao = new ArrayList();
   condicao.add(new Condition("idPerfilAcesso", "=", perfilAcessoMenuDTO.getIdPerfilAcesso()));
   condicao.add(new Condition("idMenu", "=", perfilAcessoMenuDTO.getIdMenu()));
   super.deleteByCondition(condicao);
 }
  public void deleteByIdRequisicaoMudanca(Integer idRequisicaoMudanca)
      throws ServiceException, Exception {
    ArrayList<Condition> condicoes = new ArrayList<Condition>();

    condicoes.add(new Condition("idRequisicaoMudanca", "=", idRequisicaoMudanca));

    super.deleteByCondition(condicoes);
  }
 public void deleteLinha(Integer idRequisicaoMudanca, Integer idEmpregado) throws Exception {
   //		List parametro = new ArrayList();
   //		parametro.add(idRequisicaoMudanca);
   //		String sql = "DELETE FROM aprovacaomudanca where (datahoravotacao = 'Ainda não votou.' and
   // idrequisicaomudanca = ?)";
   //		this.execSQL(sql.toString(), parametro.toArray());
   List lstCondicao = new ArrayList();
   lstCondicao.add(new Condition("idRequisicaoMudanca", "=", idRequisicaoMudanca));
   lstCondicao.add(new Condition("idEmpregado", "=", idEmpregado));
   super.deleteByCondition(lstCondicao);
 }
 public void deleteByIdEvento(Integer idEvento) throws Exception {
   List<Condition> lstCondicao = new ArrayList<Condition>();
   lstCondicao.add(new Condition(Condition.AND, "idEvento", "=", idEvento));
   super.deleteByCondition(lstCondicao);
 }
 public void deleteByIdEntrevista(Integer parm) throws Exception {
   List condicao = new ArrayList();
   condicao.add(new Condition("idEntrevista", "=", parm));
   super.deleteByCondition(condicao);
 }
 public void updateByIdRequisicaoMudanca(AprovacaoMudancaDTO aprovacaoMudancaDto)
     throws Exception {
   super.updateNotNull(aprovacaoMudancaDto);
 }
 public void deleteByIdRequisicaoMudanca(Integer idRequisicaoMudanca) throws Exception {
   /*List lstCondicao = new ArrayList();
   lstCondicao.add(new Condition("idRequisicaoMudanca", "=", idRequisicaoMudanca));
   super.deleteByCondition(lstCondicao);*/
   super.execUpdate(SQL_DELETE_BY_ID_MUDANCA, new Object[] {idRequisicaoMudanca});
 }
 public void deleteByIdItemCotacao(Integer parm) throws Exception {
   List condicao = new ArrayList();
   condicao.add(new Condition("idItemCotacao", "=", parm));
   super.deleteByCondition(condicao);
 }
 public void deleteByIdAvaliacaoFornecedor(final Integer idAvaliacaoFornecedor)
     throws PersistenceException {
   final List lstCondicao = new ArrayList<>();
   lstCondicao.add(new Condition("idAvaliacaoFornecedor", "=", idAvaliacaoFornecedor));
   super.deleteByCondition(lstCondicao);
 }
 public void deleteByIdCriterio(final Integer parm) throws PersistenceException {
   final List<Condition> condicao = new ArrayList<>();
   condicao.add(new Condition("idCriterio", "=", parm));
   super.deleteByCondition(condicao);
 }