summaryrefslogtreecommitdiffstats
path: root/bl/folderbl.php
diff options
context:
space:
mode:
Diffstat (limited to 'bl/folderbl.php')
-rw-r--r--bl/folderbl.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/bl/folderbl.php b/bl/folderbl.php
index 638f10bd3..c17c516ba 100644
--- a/bl/folderbl.php
+++ b/bl/folderbl.php
@@ -49,7 +49,9 @@ class FolderBl extends Bl {
}
}
-
+ /**
+ * @throws BLException if name exists already
+ */
public function create($folderName, $userId, $parentId=0) {
$this->allowNoNameTwice($folderName, $userId);
@@ -68,6 +70,9 @@ class FolderBl extends Bl {
}
+ /**
+ * @throws BLException if name exists already
+ */
public function rename($folderId, $folderName, $userId){
$this->allowNoNameTwice($folderName, $userId);
@@ -76,5 +81,6 @@ class FolderBl extends Bl {
$this->mapper->update($folder);
}
+ // TODO: delete associated items
}