diff options
Diffstat (limited to 'lib/private/share20/ishare.php')
-rw-r--r-- | lib/private/share20/ishare.php | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/lib/private/share20/ishare.php b/lib/private/share20/ishare.php index 2e54da7a029..a149c578fb2 100644 --- a/lib/private/share20/ishare.php +++ b/lib/private/share20/ishare.php @@ -101,7 +101,7 @@ interface IShare { * @param \DateTime $expireDate * @return Share The modified object */ - public function setExpirationDate(\DateTime $expireDate); + public function setExpirationDate($expireDate); /** * Get the share expiration date @@ -111,6 +111,14 @@ interface IShare { public function getExpirationDate(); /** + * Set the sharer of the path + * + * @param IUser|string $sharedBy + * @return Share The modified object + */ + public function setSharedBy($sharedBy); + + /** * Get share sharer * * @return IUser|string @@ -118,6 +126,15 @@ interface IShare { public function getSharedBy(); /** + * Set the original share owner (who owns the path) + * + * @param IUser|string + * + * @return Share The modified object + */ + public function setShareOwner($shareOwner); + + /** * Get the original share owner (who owns the path) * * @return IUser|string @@ -141,6 +158,14 @@ interface IShare { public function getPassword(); /** + * Set the token + * + * @param string $token + * @return Share The modified object + */ + public function setToken($token); + + /** * Get the token * * @return string @@ -155,6 +180,14 @@ interface IShare { public function getParent(); /** + * Set the target of this share + * + * @param string $target + * @return Share The modified object + */ + public function setTarget($target); + + /** * Get the target of this share * * @return string |