summaryrefslogtreecommitdiffstats
path: root/lib/public/Share/IShare.php
diff options
context:
space:
mode:
authorMaxence Lange <maxence@nextcloud.com>2017-06-06 10:21:42 -0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-05-21 01:24:45 +0200
commit0009adae80cf9b3f8bcc40bd3f75d2a3f2cee6ad (patch)
tree22a62264854300ff73a62bcf94262d5fcad86adf /lib/public/Share/IShare.php
parentca089b9412af79cc696342968a657991755a2e2e (diff)
downloadnextcloud-server-0009adae80cf9b3f8bcc40bd3f75d2a3f2cee6ad.tar.gz
nextcloud-server-0009adae80cf9b3f8bcc40bd3f75d2a3f2cee6ad.zip
SharedWithDisplayName + SharedWithAvatar
Signed-off-by: Maxence Lange <maxence@nextcloud.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public/Share/IShare.php')
-rw-r--r--lib/public/Share/IShare.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/public/Share/IShare.php b/lib/public/Share/IShare.php
index c19364c86c8..870794d6536 100644
--- a/lib/public/Share/IShare.php
+++ b/lib/public/Share/IShare.php
@@ -170,6 +170,40 @@ interface IShare {
public function getSharedWith();
/**
+ * Set the display name of the receiver of this share.
+ *
+ * @param string $displayName
+ * @return \OCP\Share\IShare The modified object
+ * @since 14.0.0
+ */
+ public function setSharedWithDisplayName($displayName);
+
+ /**
+ * Get the display name of the receiver of this share.
+ *
+ * @return string
+ * @since 14.0.0
+ */
+ public function getSharedWithDisplayName();
+
+ /**
+ * Set the avatar of the receiver of this share.
+ *
+ * @param string $src
+ * @return \OCP\Share\IShare The modified object
+ * @since 14.0.0
+ */
+ public function setSharedWithAvatar($src);
+
+ /**
+ * Get the avatar of the receiver of this share.
+ *
+ * @return string
+ * @since 14.0.0
+ */
+ public function getSharedWithAvatar();
+
+ /**
* Set the permissions.
* See \OCP\Constants::PERMISSION_*
*