Package io.goobi.viewer.api.rest.model
Class ViewerPage
java.lang.Object
io.goobi.viewer.api.rest.model.ViewerPage
Simple template to create a json-representation of a viewer page, typically a CMS-Page. Used to provide slides to sliders
- Author:
- Florian Alpers
-
Constructor Summary
ConstructorsConstructorDescriptionViewerPage(CMSPage page) ViewerPage(URI link, de.intranda.api.iiif.presentation.content.IContent image, de.intranda.metadata.multilanguage.IMetadataValue label, long order) -
Method Summary
-
Constructor Details
-
ViewerPage
public ViewerPage(URI link, de.intranda.api.iiif.presentation.content.IContent image, de.intranda.metadata.multilanguage.IMetadataValue label, long order) - Parameters:
link- URI linking to the pageimage- representative image content for the pagelabel- display label of the pageorder- sort order of the page
-
ViewerPage
- Parameters:
page- CMS page to build the viewer page from
-
-
Method Details
-
getLink
-
getImage
public de.intranda.api.iiif.presentation.content.IContent getImage() -
getLabel
public de.intranda.metadata.multilanguage.IMetadataValue getLabel() -
getOrder
public long getOrder()
-