/**
  * Saves the posted Folder to database
  *
  * @return String, "" in case of success
  * @permissions right2
  */
 protected function actionFolderSave()
 {
     if ($this->getParam("mode") == "new") {
         $objFolder = new class_module_pages_folder();
     } else {
         $objFolder = new class_module_pages_folder($this->getSystemid());
         if (!$objFolder->rightEdit()) {
             return $this->getLang("commons_error_permissions");
         }
     }
     $objForm = $this->getFolderForm($objFolder);
     if (!$objForm->validateForm()) {
         return $this->actionNewFolder($this->getParam("mode"), $objForm);
     }
     $objForm->updateSourceObject();
     $objFolder->updateObjectToDb();
     $this->adminReload(class_link::getLinkAdminHref($this->getArrModule("modul"), "list", "&blockAction=1&peClose=1"));
     return "";
 }