Class RecordSectionResource
java.lang.Object
io.goobi.viewer.api.rest.v1.records.RecordSectionResource
- Author:
- Florian Alpers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.intranda.api.iiif.presentation.IPresentationModelElementgetRange()getRISAsText.
-
Constructor Details
-
RecordSectionResource
public RecordSectionResource(@Context HttpServletRequest request, @PathParam("pi") String pi, @PathParam("divId") String divId)
-
-
Method Details
-
getRISAsFile
@GET @Path("/ris") @Produces("text/plain") public String getRISAsFile() throws PresentationException, IndexUnreachableException, DAOException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException- Throws:
PresentationExceptionIndexUnreachableExceptionDAOExceptionde.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
-
getRISAsText
@GET @Path("/ris.txt") @Produces("text/plain") public String getRISAsText() throws PresentationException, IndexUnreachableException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException, DAOExceptiongetRISAsText.- Returns:
- the RIS citation for the section as plain text
- Throws:
PresentationException- if any.IndexUnreachableException- if any.de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException- if any.DAOException- if any.
-
getRange
@GET @Path("/range") @Produces("application/json") public de.intranda.api.iiif.presentation.IPresentationModelElement getRange() throws de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException, PresentationException, IndexUnreachableException, URISyntaxException, ViewerConfigurationException, DAOException- Throws:
de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundExceptionPresentationExceptionIndexUnreachableExceptionURISyntaxExceptionViewerConfigurationExceptionDAOException
-