/**
  * Delete a Kloster entity
  */
 public function deleteAction()
 {
     $uuid = $this->request->getArgument('uUID');
     if (empty($uuid)) {
         $this->throwStatus(400, 'Required uUID not provided', null);
     }
     $kloster = $this->klosterRepository->findByIdentifier($uuid);
     if (!is_object($kloster)) {
         $this->throwStatus(400, 'Entity Kloster not available', null);
     }
     $this->klosterRepository->remove($kloster);
     $klosterordens = $kloster->getKlosterordens();
     if (is_array($klosterordens)) {
         foreach ($klosterordens as $i => $klosterorden) {
             $this->klosterordenRepository->remove($klosterorden);
         }
     }
     $klosterstandorts = $kloster->getKlosterstandorts();
     if (is_array($klosterstandorts)) {
         foreach ($klosterstandorts as $i => $klosterstandort) {
             $this->klosterstandortRepository->remove($klosterstandort);
         }
     }
     $literaturs = $kloster->getKlosterHasLiteraturs();
     if (is_array($literaturs)) {
         foreach ($literaturs as $literatur) {
             $this->klosterHasLiteraturRepository->remove($literatur);
         }
     }
     $urls = $kloster->getKlosterHasUrls();
     if (is_array($urls)) {
         foreach ($urls as $url) {
             $this->klosterHasUrlRepository->remove($url);
         }
     }
     $this->throwStatus(200, null, null);
 }