Class ContentAssistResourceBuilder

java.lang.Object
io.goobi.viewer.api.rest.resourcebuilders.ContentAssistResourceBuilder

public class ContentAssistResourceBuilder extends Object
Manages contentAssist requests by returning lists of suggested values from partial input.
Author:
florian
  • Constructor Details

    • ContentAssistResourceBuilder

      public ContentAssistResourceBuilder()
  • Method Details

    • getCollections

      public List<String> getCollections(String solrField, String inputString) throws de.unigoettingen.sub.commons.contentlib.exceptions.IllegalRequestException, IndexUnreachableException

      getCollections.

      Parameters:
      solrField - a String object.
      inputString - a String object.
      Returns:
      a List object.
      Throws:
      de.unigoettingen.sub.commons.contentlib.exceptions.IllegalRequestException - if the solrField doesn't exist in the index
      IndexUnreachableException - If an error occurred communicating with the SOLR index