diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-02-04 14:28:09 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-02-04 14:28:09 +0100 |
commit | 0f22a8db1d29b6be8ec13dcb92ba5f344f2a34f0 (patch) | |
tree | 59296b820cbf061e5d13abfa1a733bda95d536cc /lib/public | |
parent | 2c0cb5a00eb15bfb233bb29de1156e7e35d84743 (diff) | |
download | nextcloud-server-0f22a8db1d29b6be8ec13dcb92ba5f344f2a34f0.tar.gz nextcloud-server-0f22a8db1d29b6be8ec13dcb92ba5f344f2a34f0.zip |
Also add type (file/folder) to IShare object
We need this for the hooks :(
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/share/ishare.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/public/share/ishare.php b/lib/public/share/ishare.php index 074f4117584..5054a886af5 100644 --- a/lib/public/share/ishare.php +++ b/lib/public/share/ishare.php @@ -78,6 +78,32 @@ interface IShare { public function setNodeId($fileId); /** + * Get the fileid of the node of this share + * @return int + * @since 9.0.0 + * @throws NotFoundException + */ + public function getNodeId(); + + /** + * Set the type of node (file/folder) + * + * @param string $type + * @return \OCP\Share\IShare The modified object + * @since 9.0.0 + */ + public function setNodeType($type); + + /** + * Get the type of node (file/folder) + * + * @return string + * @since 9.0.0 + * @throws NotFoundException + */ + public function getNodeType(); + + /** * Set the shareType * * @param int $shareType |