/**
  * 
  * @param Encaminhamentos $entity
  * @return Encaminhamentos|boolean
  */
 public function remove(Encaminhamentos $entity)
 {
     try {
         $this->manager->remove($entity);
         $this->manager->flush();
         return true;
     } catch (Exception $ex) {
         return false;
     }
 }
Esempio n. 2
0
 /**
  * 
  * @param type $entity
  */
 public function remove($entity)
 {
     try {
         $this->manager->remove($entity);
         $this->manager->flush();
         return $entity;
     } catch (Exception $ex) {
         return false;
     }
 }
 /**
  * Removes all files and folders from cache folder
  */
 public function clearCache()
 {
     $this->_fileManager->remove($this->_path);
     return;
 }
 /**
  * 
  * @param Entradas $entradas
  * @return type
  */
 public function remove(Entradas $entradas)
 {
     $result = $this->entradasDAO->remove($entradas);
     return $result;
 }
 /**
  * 
  * @param Subsecretaria $subsecretaria
  * @return type
  */
 public function remove(Subsecretaria $subsecretaria)
 {
     $result = $this->subsecretariaDAO->remove($subsecretaria);
     return $result;
 }
 /**
  * 
  * @param Documentos $documentos
  * @return type
  */
 public function remove(Documentos $documentos)
 {
     $result = $this->documentosDAO->remove($documentos);
     return $result;
 }
 /**
  * 
  * @param type $entity
  * @return type
  */
 public function remove($entity)
 {
     $result = $this->entityDAO->remove($entity);
     return $result;
 }
Esempio n. 8
0
 /**
  * 
  * @param Setores $setores
  * @return type
  */
 public function remove(Setores $setores)
 {
     $result = $this->setoresDAO->remove($setores);
     return $result;
 }
 /**
  * 
  * @param Encaminhamentos $encaminhamentos
  * @return type
  */
 public function remove(Encaminhamentos $encaminhamentos)
 {
     $result = $this->encaminhamentosDAO->remove($encaminhamentos);
     return $result;
 }