public function generateDefaultCodesAction()
 {
     $code = $this->_getParam('code');
     $handlerName = $this->_getParam('handlerName');
     $condition = (int) $this->_getParam('condition');
     $healthStatusHandler = new HealthStatusHandler();
     $healthStatusHandler->name = $handlerName;
     $healthStatusHandler->condition = $condition;
     $data = '';
     switch ($code) {
         case 'handlerObject':
             $data = $healthStatusHandler->generateDefaultHandlerObject();
             break;
         case 'datasource':
             $data = $healthStatusHandler->generateDefaultDatasource();
             break;
         case 'template':
             $data = $healthStatusHandler->generateDefaultTemplate();
             break;
     }
     $json = Zend_Controller_Action_HelperBroker::getStaticHelper('json');
     $json->suppressExit = true;
     $json->direct($data);
 }