implemented basic search function with Homebox provider

This commit is contained in:
2026-05-17 04:22:29 +02:00
parent f39bf049a0
commit d91f39d087
14 changed files with 252 additions and 6 deletions
@@ -0,0 +1,20 @@
package com.vaessl.app.search;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import com.vaessl.app.connection.ServiceProvider;
/**
* Implemented by any service that supports querying its remote API for items.
*/
public interface SearchProvider extends ServiceProvider {
/**
* Executes a search query against the remote service and returns matching results.
*
* @param request the search request containing the query string, app URL, and user credentials
* @return a list of {@link SearchResponse} items matching the query
*/
Page<SearchResponse> getSearchResults(SearchRequest request, Pageable pageable);
}