Class RisResourceBuilder

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

public class RisResourceBuilder extends Object
Author:
florian
  • Constructor Details

    • RisResourceBuilder

      public RisResourceBuilder(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Parameters:
      request -
      response -
  • Method Details

    • writeRIS

      public javax.ws.rs.core.StreamingOutput writeRIS(List<SearchHit> searchHits) throws de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
      Parameters:
      searchHits -
      Returns:
      StreamingOutput
      Throws:
      de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
    • writeRIS

      public javax.ws.rs.core.StreamingOutput writeRIS(StructElement se) throws IndexUnreachableException, DAOException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
      Parameters:
      se -
      Returns:
      StreamingOutput
      Throws:
      IndexUnreachableException
      DAOException
      de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException
      de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
    • getRIS

      public String getRIS(StructElement se) throws de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException, IndexUnreachableException, DAOException
      Parameters:
      se -
      Returns:
      Generated RIS
      Throws:
      de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException
      DAOException
      IndexUnreachableException