diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-10-16 10:31:38 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-11-01 02:15:07 +0100 |
commit | f377a61f90065439e2f176669079c00d522adf12 (patch) | |
tree | 25ea0a4c30facec9c660d1a044be175505906c01 /lib/public | |
parent | d0411b2369e285b8c82e49294244032ca9624075 (diff) | |
download | nextcloud-server-f377a61f90065439e2f176669079c00d522adf12.tar.gz nextcloud-server-f377a61f90065439e2f176669079c00d522adf12.zip |
allow to add labels to shares
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Share/IShare.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/public/Share/IShare.php b/lib/public/Share/IShare.php index dcd5fdecbea..7bcecbdc872 100644 --- a/lib/public/Share/IShare.php +++ b/lib/public/Share/IShare.php @@ -258,6 +258,23 @@ interface IShare { public function getExpirationDate(); /** + * set a label for a share, some shares, e.g. public links can have a label + * + * @param string $label + * @return \OCP\Share\IShare The modified object + * @since 15.0.0 + */ + public function setLabel($label); + + /** + * get label for the share, some shares, e.g. public links can have a label + * + * @return string + * @since 15.0.0 + */ + public function getLabel(); + + /** * Set the sharer of the path. * * @param string $sharedBy |