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
  • 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

      public ViewerPage(CMSPage page)
      Parameters:
      page -
  • Method Details

    • getLink

      public URI 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