Package io.goobi.viewer.model.cms.media
package io.goobi.viewer.model.cms.media
Model for CMS media assets, representing uploaded images and files together with their
metadata, priority ordering, and holder interfaces used by CMS pages and campaigns.
-
ClassDescriptionAny object which may directly contain a
CMSMediaItem.Represents a media file (image, video, audio, or document) managed in the CMS media library.Enumerates the display priority levels for a CMS media item, distinguishing items that should be highlighted from those with default treatment.Stores locale-specific metadata (title, description, link) for aCMSMediaItem.Provides filtered and sorted lists ofCMSMediaItemobjects from the DAO, supporting tag-based filtering, a priority slot mechanism, and optional random ordering.Extension ofCMSMediaHolderfor content components that manage multiple CMS media items, each addressed by a zero-based index.Simple representation of a cms-media-item.Contains a list ofMediaItemsbuilt fromCMSMediaItems.Comparator that sorts as many items marked as high priority to the beginning of the list as are given in the constructor The remaining items will be sorted randomly if the random parameter is true or else by theCMSMediaItem.compareTo(CMSMediaItem).