public function executeDelete(sfWebRequest $request)
 {
     $bed = WardBedPeer::retrieveByPk(Utility::DecryptQueryString($request->getParameter('id')));
     if ($bed) {
         $bed->setStatus(Constant::RECORD_STATUS_DELETED);
         if ($bed->save()) {
             $this->getUser()->setFlash('SUCCESS_MESSAGE', Constant::RECORD_STATUS_DELETED_SUCCESSFULLY);
         } else {
             $this->getUser()->setFlash('ERROR_MESSAGE', Constant::DB_ERROR);
         }
     } else {
         $this->getUser()->setFlash('ERROR_MESSAGE', Constant::INVALID_REQUEST);
     }
     $this->redirect('WardBed/list');
 }