Class CategorizableTranslatedSelectable<T>

java.lang.Object
io.goobi.viewer.model.cms.Selectable<T>
io.goobi.viewer.model.cms.TranslatedSelectable<T>
io.goobi.viewer.model.cms.CategorizableTranslatedSelectable<T>
Type Parameters:
T -
All Implemented Interfaces:
Serializable, Comparable<Selectable<T>>

public class CategorizableTranslatedSelectable<T> extends TranslatedSelectable<T> implements Serializable
A TranslatedSelectable which may also contain a list of categories
Author:
florian
See Also:
  • Constructor Details

    • CategorizableTranslatedSelectable

      public CategorizableTranslatedSelectable(T value, boolean selected, Locale defaultLocale, List<Selectable<CMSCategory>> categories)

      Constructor for CategorizableTranslatedSelectable.

      Parameters:
      value - a T object.
      selected - a boolean.
      defaultLocale - a Locale object.
      categories - a List object.
  • Method Details

    • getCategories

      public List<Selectable<CMSCategory>> getCategories()

      Getter for the field categories.

      Returns:
      the categories
    • setCategories

      public void setCategories(List<Selectable<CMSCategory>> categories)

      Setter for the field categories.

      Parameters:
      categories - a List object.
    • getSelectedCategories

      public List<CMSCategory> getSelectedCategories()

      getSelectedCategories.

      Returns:
      a List object.