Class ViewerPage

java.lang.Object
io.goobi.viewer.api.rest.model.ViewerPage

public class ViewerPage extends Object
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 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 page
      image - representative image content for the page
      label - display label of the page
      order - sort order of the page
    • ViewerPage

      public ViewerPage(CMSPage page)
      Parameters:
      page - CMS page to build the viewer page from
  • Method Details

    • getLink

      public URI getLink()
    • getImage

      public de.intranda.api.iiif.presentation.content.IContent getImage()
    • getLabel

      public de.intranda.metadata.multilanguage.IMetadataValue getLabel()
    • getOrder

      public long getOrder()