summaryrefslogtreecommitdiffstats
path: root/lib/public/Share/IShare.php
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-07-12 14:55:50 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-21 15:02:18 +0200
commita93f2a648b2694dcebc3dffd9ca391c1303ce381 (patch)
tree17540bc009d2f4362bd17439e671b3174a20afa1 /lib/public/Share/IShare.php
parentcce12f0ca3e2b2b158ffa43450b862053291b8d0 (diff)
downloadnextcloud-server-a93f2a648b2694dcebc3dffd9ca391c1303ce381.tar.gz
nextcloud-server-a93f2a648b2694dcebc3dffd9ca391c1303ce381.zip
allow to add a personal note to a share
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/public/Share/IShare.php')
-rw-r--r--lib/public/Share/IShare.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/public/Share/IShare.php b/lib/public/Share/IShare.php
index 870794d6536..5303cde45a6 100644
--- a/lib/public/Share/IShare.php
+++ b/lib/public/Share/IShare.php
@@ -223,6 +223,24 @@ interface IShare {
public function getPermissions();
/**
+ * Attach a note to a share
+ *
+ * @param string $note
+ * @return \OCP\Share\IShare The modified object
+ * @since 14.0.0
+ */
+ public function setNote($note);
+
+ /**
+ * Get note attached to a share
+ *
+ * @return string
+ * @since 14.0.0
+ */
+ public function getNote();
+
+
+ /**
* Set the expiration date
*
* @param null|\DateTime $expireDate