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
-
Constructor Summary
ConstructorDescriptionViewerPage
(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
-image
-label
-order
-
-
ViewerPage
- Parameters:
page
-
-
-
Method Details
-
getLink
- Returns:
- the link
-
getImage
public de.intranda.api.iiif.presentation.content.IContent getImage()- Returns:
- the image
-
getLabel
public de.intranda.metadata.multilanguage.IMetadataValue getLabel()- Returns:
- the label
-
getOrder
public long getOrder()- Returns:
- the order
-