Class CollectionBuilder
java.lang.Object
io.goobi.viewer.model.iiif.presentation.v3.builder.AbstractBuilder
io.goobi.viewer.model.iiif.presentation.v3.builder.CollectionBuilder
Builds IIIF Presentation API v3 Collection resources from Solr index data.
- Author:
- Florian Alpers
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]Required field to create manifest stubs for works in collection.static final Stringstatic final StringFields inherited from class io.goobi.viewer.model.iiif.presentation.v3.builder.AbstractBuilder
config, dataRetriever, request, thumbHeight, thumbWidth, urls, v1Builder -
Constructor Summary
ConstructorsConstructorDescriptionCollectionBuilder(AbstractApiUrlManager apiUrlManager, HttpServletRequest request) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddRequiredStatement(de.intranda.api.iiif.presentation.v3.Collection3 baseCollection) de.intranda.api.iiif.presentation.v3.Collection3de.intranda.api.iiif.presentation.v3.Collection3Methods inherited from class io.goobi.viewer.model.iiif.presentation.v3.builder.AbstractBuilder
absolutize, absolutize, addMetadata, contained, createAnchorLink, createLabel, createRecordLink, escapeURI, getAnnotationListURI, getAnnotationListURI, getAnnotationURI, getAnnotationURI, getAttributions, getAutoCompleteServiceURI, getAutoSuggestURI, getCanvasURI, getCollectionURI, getCommentAnnotationURI, getDescription, getExternalManifestURI, getFilename, getImageAnnotationURI, getLabel, getLabel, getLabelIfExists, getLidoResolverUrl, getLocale, getManifestURI, getMetsResolverUrl, getPageOrderFromCanvasURI, getPIFromCanvasURI, getProvider, getRangeURI, getRequiredStatement, getRightsStatement, getSearchServiceURI, getSearchURI, getSolrFieldValue, getThumbnail, getThumbnail, getThumbnail, getThumbnail, getViewUrl, isAccessGranted, isAccessGranted
-
Field Details
-
CONTAINED_WORKS_QUERY_FIELDS
Required field to create manifest stubs for works in collection. -
RSS_FEED_LABEL
- See Also:
-
RSS_FEED_FORMAT
- See Also:
-
-
Constructor Details
-
CollectionBuilder
- Parameters:
apiUrlManager-AbstractApiUrlManagerrequest-HttpServletRequest
-
-
Method Details
-
build
public de.intranda.api.iiif.presentation.v3.Collection3 build(String collectionField) throws IndexUnreachableException - Parameters:
collectionField- Solr field containing the collection hierarchy- Returns:
Collection3- Throws:
IndexUnreachableException
-
build
public de.intranda.api.iiif.presentation.v3.Collection3 build(String collectionField, String collectionName) throws IndexUnreachableException, PresentationException - Parameters:
collectionField- Solr field containing the collection hierarchycollectionName- name of the collection to build- Returns:
Collection3- Throws:
IndexUnreachableExceptionPresentationException
-
addRequiredStatement
protected void addRequiredStatement(de.intranda.api.iiif.presentation.v3.Collection3 baseCollection)
-