diff options
author | Georg Ehrke <developer@georgehrke.com> | 2020-08-04 07:57:07 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2020-08-05 09:04:41 +0200 |
commit | b0c5457c422888f87b76f2b67f05917aed02a775 (patch) | |
tree | eb423d096287fb63d9a8a939c025ff6290b74393 /lib | |
parent | 1cf9f4281795610bfaf74af9e3f3f1c3c544c08c (diff) | |
download | nextcloud-server-b0c5457c422888f87b76f2b67f05917aed02a775.tar.gz nextcloud-server-b0c5457c422888f87b76f2b67f05917aed02a775.zip |
IAddressBook: add isShared and isSystemAddressBook
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/IAddressBook.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/public/IAddressBook.php b/lib/public/IAddressBook.php index b2c9a103c2c..ed66af4aa18 100644 --- a/lib/public/IAddressBook.php +++ b/lib/public/IAddressBook.php @@ -107,5 +107,20 @@ namespace OCP { * @since 5.0.0 */ public function delete($id); + + /** + * Returns true if this address-book is not owned by the current user, + * but shared with them. + * + * @return bool + * @since 20.0.0 + */ + public function isShared(): bool; + + /** + * @return bool + * @since 20.0.0 + */ + public function isSystemAddressBook(): bool; } } |