Package org.dspace.app.iiif.service
Class SearchService
- java.lang.Object
-
- org.dspace.app.iiif.service.AbstractResourceService
-
- org.dspace.app.iiif.service.SearchService
-
@RequestScope @Component public class SearchService extends AbstractResourceService
This service provides methods for creatingSearch APIresponse. There should be a single instance of this service per request. The@RequestScopeprovides a single instance created and available during complete lifecycle of the HTTP request.
-
-
Field Summary
-
Fields inherited from class org.dspace.app.iiif.service.AbstractResourceService
BITSTREAM_PATH_PREFIX, CLIENT_URL, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, defaultCanvasHeightFallback, defaultCanvasWidthFallback, DOCUMENT_VIEWING_HINT, IIIF_ENDPOINT, IIIF_LOGO_IMAGE, IMAGE_PATH, IMAGE_SERVICE, SEARCH_URL, THUMBNAIL_PATH
-
-
Constructor Summary
Constructors Constructor Description SearchService(org.dspace.services.ConfigurationService configurationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringsearchWithinManifest(UUID uuid, String query)Executes a search query for items in the current manifest.-
Methods inherited from class org.dspace.app.iiif.service.AbstractResourceService
getManifestId, setConfiguration, setDefaultCanvasDimensions
-
-
-
-
Method Detail
-
searchWithinManifest
public String searchWithinManifest(UUID uuid, String query) throws NotImplementedException
Executes a search query for items in the current manifest. A search plugin must be enabled.- Parameters:
uuid- dspace item uuidquery- the solr query- Returns:
- IIIF search result with page coordinate annotations.
- Throws:
NotImplementedException
-
-