Class SimpleBrowseElementInfo

java.lang.Object
io.goobi.viewer.model.viewer.collections.SimpleBrowseElementInfo
All Implemented Interfaces:
BrowseElementInfo

public class SimpleBrowseElementInfo extends Object implements BrowseElementInfo

SimpleBrowseElementInfo class.

  • Constructor Details

    • SimpleBrowseElementInfo

      public SimpleBrowseElementInfo(String collectionName)

      Constructor for SimpleBrowseElementInfo.

      Parameters:
      collectionName - a String object.
    • SimpleBrowseElementInfo

      public SimpleBrowseElementInfo(String collectionName, URI linkURI, URI iconURI)

      Constructor for SimpleBrowseElementInfo.

      Parameters:
      collectionName - a String object.
      linkURI - a URI object.
      iconURI - a URI object.
  • Method Details

    • getDescription

      public String getDescription()

      getDescription.

      Specified by:
      getDescription in interface BrowseElementInfo
      Returns:
      a String object.
    • getDescription

      public String getDescription(String language)
      Specified by:
      getDescription in interface BrowseElementInfo
      Returns:
      a String object.
    • setDescription

      public void setDescription(String description)

      Setter for the field description.

      Parameters:
      description - a String object.
    • getLinkURI

      public URI getLinkURI(javax.servlet.http.HttpServletRequest request)

      getLinkURI.

      Specified by:
      getLinkURI in interface BrowseElementInfo
      Parameters:
      request - a HttpServletRequest object.
      Returns:
      a URI object.
    • getLinkURI

      public URI getLinkURI()

      getLinkURI.

      Specified by:
      getLinkURI in interface BrowseElementInfo
      Returns:
      a URI object.
    • setLinkURI

      public void setLinkURI(URI linkURI)

      Setter for the field linkURI.

      Parameters:
      linkURI - a URI object.
    • getIconURI

      public URI getIconURI()

      getIconURI.

      Specified by:
      getIconURI in interface BrowseElementInfo
      Returns:
      a URI object.
    • setIconURI

      public void setIconURI(URI iconURI)

      Setter for the field iconURI.

      Parameters:
      iconURI - a URI object.
    • getIconURI

      public URI getIconURI(int width, int height)

      getIconURI.

      Specified by:
      getIconURI in interface BrowseElementInfo
      Parameters:
      width - a int.
      height - a int.
      Returns:
      a URI object.
    • getIconURI

      public URI getIconURI(int size)

      getIconURI.

      Specified by:
      getIconURI in interface BrowseElementInfo
      Parameters:
      size - a int.
      Returns:
      a URI object.
    • getName

      public String getName()

      getName.

      Specified by:
      getName in interface BrowseElementInfo
      Returns:
      a String object.
    • getTranslationsForName

      public de.intranda.metadata.multilanguage.IMetadataValue getTranslationsForName()

      getTranslationsForName.

      Specified by:
      getTranslationsForName in interface BrowseElementInfo
      Returns:
      a IMetadataValue object.
    • getTranslationsForDescription

      public de.intranda.metadata.multilanguage.IMetadataValue getTranslationsForDescription()
      Specified by:
      getTranslationsForDescription in interface BrowseElementInfo
      Returns:
      IMetadataValue