summaryrefslogtreecommitdiffstats
path: root/lib/public/Share/IShare.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Share/IShare.php')
-rw-r--r--lib/public/Share/IShare.php17
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