diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-07-12 14:55:50 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-07-21 15:02:18 +0200 |
commit | a93f2a648b2694dcebc3dffd9ca391c1303ce381 (patch) | |
tree | 17540bc009d2f4362bd17439e671b3174a20afa1 /lib/public/Share/IShare.php | |
parent | cce12f0ca3e2b2b158ffa43450b862053291b8d0 (diff) | |
download | nextcloud-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.php | 18 |
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 |