-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
- Loading branch information
Showing
6 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
namespace OCP\Contacts\ContactsMenu; | ||
|
||
use OCP\IUser; | ||
|
||
interface IContactsStore { | ||
|
||
|
||
/** | ||
* @param IUser $user | ||
* @param $filter | ||
* @return IEntry[] | ||
*/ | ||
public function getContacts(IUser $user, $filter); | ||
|
||
/** | ||
* @brief finds a contact by specifying the property to search on ($shareType) and the value ($shareWith) | ||
* @param IUser $user | ||
* @param integer $shareType | ||
* @param string $shareWith | ||
* @return IEntry|null | ||
*/ | ||
public function findOne(IUser $user, $shareType, $shareWith); | ||
|
||
} |