summaryrefslogtreecommitdiffstats
path: root/lib/public/Share
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-07-13 17:29:57 +0200
committerGitHub <noreply@github.com>2018-07-13 17:29:57 +0200
commit82021b2b1bd6e6ae9c85564ba614797a1110e29c (patch)
treedcae47bf607411ae0e2e4e54ed5715aa98354c35 /lib/public/Share
parent14314584ba88ed8d8a7c8486b61c6677a14271f2 (diff)
parent4f5814c27bc43a8f10bd35f60bc3254697c50659 (diff)
downloadnextcloud-server-82021b2b1bd6e6ae9c85564ba614797a1110e29c.tar.gz
nextcloud-server-82021b2b1bd6e6ae9c85564ba614797a1110e29c.zip
Merge pull request #5280 from nextcloud/shared-with-display-name
sharedWithDisplayName & sharedWithAvatar
Diffstat (limited to 'lib/public/Share')
-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_*
*