aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/FullTextSearch
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-07-16 11:22:33 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-07-16 11:22:33 -0100
commit8bafd67c1fe6d55502c1cc89427a9dfeaad548d3 (patch)
treec8d58e0f7b48138d6df887679784a56d4db12f74 /lib/public/FullTextSearch
parentf877176fed9fdac40fa51fde994640f963ec9fb3 (diff)
downloadnextcloud-server-8bafd67c1fe6d55502c1cc89427a9dfeaad548d3.tar.gz
nextcloud-server-8bafd67c1fe6d55502c1cc89427a9dfeaad548d3.zip
set and complete the searched string
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/public/FullTextSearch')
-rw-r--r--lib/public/FullTextSearch/Model/ISearchRequest.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/public/FullTextSearch/Model/ISearchRequest.php b/lib/public/FullTextSearch/Model/ISearchRequest.php
index c7e96913018..2aafebdf40e 100644
--- a/lib/public/FullTextSearch/Model/ISearchRequest.php
+++ b/lib/public/FullTextSearch/Model/ISearchRequest.php
@@ -91,6 +91,24 @@ interface ISearchRequest {
*/
public function getSearch(): string;
+ /**
+ * Set the searched string.
+ *
+ * @since 17.0.0
+ *
+ * @return ISearchRequest
+ */
+ public function setSearch(string $search): ISearchRequest;
+
+ /**
+ * Complete the searched string.
+ *
+ * @since 17.0.0
+ *
+ * @return ISearchRequest
+ */
+ public function addSearch(string $search): ISearchRequest;
+
/**
* Get the value of an option (as string).