Uses of Class
io.goobi.viewer.model.cms.media.CMSMediaItem
Packages that use CMSMediaItem
Package
Description
-
Uses of CMSMediaItem in io.goobi.viewer.api.rest.v1.cms
Methods in io.goobi.viewer.api.rest.v1.cms that return CMSMediaItemModifier and TypeMethodDescriptionCMSMediaResource.createMediaItem
(Path filePath) createMediaItem.Methods in io.goobi.viewer.api.rest.v1.cms with parameters of type CMSMediaItemModifier and TypeMethodDescriptionstatic void
CMSMediaResource.removeFromImageCache
(CMSMediaItem item, de.unigoettingen.sub.commons.cache.ContentServerCacheManager cacheManager) -
Uses of CMSMediaItem in io.goobi.viewer.api.rest.v2.cms
Methods in io.goobi.viewer.api.rest.v2.cms that return CMSMediaItemModifier and TypeMethodDescriptionCMSMediaResource.createMediaItem
(Path filePath) createMediaItem.Methods in io.goobi.viewer.api.rest.v2.cms with parameters of type CMSMediaItemModifier and TypeMethodDescriptionstatic void
CMSMediaResource.removeFromImageCache
(CMSMediaItem item) Constructor parameters in io.goobi.viewer.api.rest.v2.cms with type arguments of type CMSMediaItem -
Uses of CMSMediaItem in io.goobi.viewer.controller.imaging
Methods in io.goobi.viewer.controller.imaging with parameters of type CMSMediaItemModifier and TypeMethodDescriptionThumbnailHandler.getSquareThumbnailUrl
(CMSMediaItem item) Return the url to the image of the givenCMSMediaItem
of the default size.ThumbnailHandler.getSquareThumbnailUrl
(CMSMediaItem media, int size) Return the url to the image of the givenCMSMediaItem
of the given size.ThumbnailHandler.getThumbnailUrl
(CMSMediaItem item) Return the url to the image of the givenCMSMediaItem
, fit into a box of the default width and height.ThumbnailHandler.getThumbnailUrl
(CMSMediaItem media, int width, int height) Return the url to the image of the givenCMSMediaItem
, fit into a box of the given width and height.Method parameters in io.goobi.viewer.controller.imaging with type arguments of type CMSMediaItemModifier and TypeMethodDescriptionThumbnailHandler.getSquareThumbnailUrl
(Optional<CMSMediaItem> item) Return the url to the image of the givenCMSMediaItem
of the default size.ThumbnailHandler.getSquareThumbnailUrl
(Optional<CMSMediaItem> optional, int size) Return the url to the image of the givenCMSMediaItem
of the given size.ThumbnailHandler.getThumbnailUrl
(Optional<CMSMediaItem> item) Return the url to the image of the givenCMSMediaItem
, fit into a box of the default width and height.ThumbnailHandler.getThumbnailUrl
(Optional<CMSMediaItem> optional, int width, int height) Return the url to the image of the givenCMSMediaItem
, fit into a box of the given width and height. -
Uses of CMSMediaItem in io.goobi.viewer.dao
Methods in io.goobi.viewer.dao that return CMSMediaItemModifier and TypeMethodDescriptionIDAO.getCMSMediaItem
(long id) getCMSMediaItem.IDAO.getCMSMediaItemByFilename
(String string) getCMSMediaItemByFilename.Methods in io.goobi.viewer.dao that return types with arguments of type CMSMediaItemModifier and TypeMethodDescriptionIDAO.getAllCMSCollectionItems()
getAllCMSCollectionItems.IDAO.getAllCMSMediaItems()
getAllCMSMediaItems.IDAO.getCMSMediaItemsByCategory
(CMSCategory category) Get a list of allCMSMediaItem
s which contain the given categoryMethods in io.goobi.viewer.dao with parameters of type CMSMediaItemModifier and TypeMethodDescriptionboolean
IDAO.addCMSMediaItem
(CMSMediaItem item) addCMSMediaItem.boolean
IDAO.deleteCMSMediaItem
(CMSMediaItem item) deleteCMSMediaItem.boolean
IDAO.updateCMSMediaItem
(CMSMediaItem item) updateCMSMediaItem. -
Uses of CMSMediaItem in io.goobi.viewer.dao.impl
Methods in io.goobi.viewer.dao.impl that return CMSMediaItemModifier and TypeMethodDescriptionJPADAO.getCMSMediaItem
(long id) getCMSMediaItem.JPADAO.getCMSMediaItemByFilename
(String filename) getCMSMediaItemByFilename.Methods in io.goobi.viewer.dao.impl that return types with arguments of type CMSMediaItemModifier and TypeMethodDescriptionJPADAO.getAllCMSCollectionItems()
getAllCMSCollectionItems.JPADAO.getAllCMSMediaItems()
getAllCMSMediaItems.JPADAO.getCMSMediaItemsByCategory
(CMSCategory category) Get a list of allCMSMediaItem
s which contain the given categoryMethods in io.goobi.viewer.dao.impl with parameters of type CMSMediaItemModifier and TypeMethodDescriptionboolean
JPADAO.addCMSMediaItem
(CMSMediaItem item) addCMSMediaItem.boolean
JPADAO.deleteCMSMediaItem
(CMSMediaItem item) deleteCMSMediaItem.boolean
JPADAO.updateCMSMediaItem
(CMSMediaItem item) updateCMSMediaItem. -
Uses of CMSMediaItem in io.goobi.viewer.dao.update
Fields in io.goobi.viewer.dao.update with type parameters of type CMSMediaItem -
Uses of CMSMediaItem in io.goobi.viewer.managedbeans
Methods in io.goobi.viewer.managedbeans that return CMSMediaItemModifier and TypeMethodDescriptionCmsMediaBean.createMediaItem()
createMediaItem.CmsBean.getSelectedMediaItem()
Getter for the fieldselectedMediaItem
.Methods in io.goobi.viewer.managedbeans that return types with arguments of type CMSMediaItemModifier and TypeMethodDescriptionCmsMediaBean.getAllMedia()
getAllMedia.CmsMediaBean.getDataProvider()
Getter for the fielddataProvider
.CmsMediaBean.getMediaItems()
getMediaItems.CmsMediaBean.getSelectedMediaItem()
Getter for the fieldselectedMediaItem
.Methods in io.goobi.viewer.managedbeans with parameters of type CMSMediaItemModifier and TypeMethodDescriptionvoid
CmsMediaBean.deleteMedia
(CMSMediaItem item) deleteMedia.static String
CmsMediaBean.getMediaFileAsString
(CMSMediaItem item) getMediaFileAsString.static String
CmsMediaBean.getMediaPreviewUrl
(CMSMediaItem item) getMediaPreviewUrl.static String
CmsMediaBean.getMediaUrl
(CMSMediaItem item) getMediaUrl.static String
CmsMediaBean.getMediaUrl
(CMSMediaItem item, String width, String height) getMediaUrl.boolean
CmsMediaBean.isAudio
(CMSMediaItem item) isAudio.boolean
CmsMediaBean.isImage
(CMSMediaItem item) isImage.boolean
CmsMediaBean.isText
(CMSMediaItem item) isText.boolean
CmsMediaBean.isVideo
(CMSMediaItem item) isVideo.void
CmsMediaBean.saveMedia
(CMSMediaItem media) saveMedia.void
CmsMediaBean.saveMedia
(CMSMediaItem media, List<Selectable<CMSCategory>> categories) Save media item, adding or removing the given categories, depending wether they are selected or not. ifUser.hasPrivilegeForAllSubthemeDiscriminatorValues()
is false for the current user and none of the given categories is selected, then don't change the media categories since doing so would break category restrictionsvoid
CmsBean.setSelectedMediaItem
(CMSMediaItem selectedMediaItem) Setter for the fieldselectedMediaItem
.Method parameters in io.goobi.viewer.managedbeans with type arguments of type CMSMediaItemModifier and TypeMethodDescriptionvoid
CmsBean.fillSelectedMediaHolder
(CategorizableTranslatedSelectable<CMSMediaItem> mediaItem) Set the given (wrapped)CMSMediaItem
to Media holder set byCmsBean.setSelectedMediaHolder(io.goobi.viewer.model.cms.media.CMSMediaHolder)
void
CmsBean.fillSelectedMediaHolder
(CategorizableTranslatedSelectable<CMSMediaItem> mediaItem, boolean saveMedia) Set the given (wrapped)CMSMediaItem
to Media holder set byCmsBean.setSelectedMediaHolder(io.goobi.viewer.model.cms.media.CMSMediaHolder)
Additionally save the given media item if the parameter saveMedia is set to truevoid
CmsMediaBean.setSelectedMediaItem
(CategorizableTranslatedSelectable<CMSMediaItem> selectedMediaItem) Setter for the fieldselectedMediaItem
.void
CmsMediaBean.toggleSelectedMediaItem
(CategorizableTranslatedSelectable<CMSMediaItem> selectedMediaItem) toggleSelectedMediaItem. -
Uses of CMSMediaItem in io.goobi.viewer.model.cms
Methods in io.goobi.viewer.model.cms that return CMSMediaItemModifier and TypeMethodDescriptionHighlight.getMediaItem()
HighlightData.getMediaItem()
SimpleMediaHolder.getMediaItem()
Methods in io.goobi.viewer.model.cms that return types with arguments of type CMSMediaItemModifier and TypeMethodDescriptionHighlight.getMediaItemWrapper()
SimpleMediaHolder.getMediaItemWrapper()
Methods in io.goobi.viewer.model.cms with parameters of type CMSMediaItemModifier and TypeMethodDescriptionvoid
Highlight.setMediaItem
(CMSMediaItem item) void
HighlightData.setMediaItem
(CMSMediaItem mediaItem) void
SimpleMediaHolder.setMediaItem
(CMSMediaItem mediaItem) Constructors in io.goobi.viewer.model.cms with parameters of type CMSMediaItem -
Uses of CMSMediaItem in io.goobi.viewer.model.cms.collections
Methods in io.goobi.viewer.model.cms.collections that return CMSMediaItemMethods in io.goobi.viewer.model.cms.collections that return types with arguments of type CMSMediaItemMethods in io.goobi.viewer.model.cms.collections with parameters of type CMSMediaItemModifier and TypeMethodDescriptionvoid
CMSCollection.setMediaItem
(CMSMediaItem mediaItem) setMediaItem. -
Uses of CMSMediaItem in io.goobi.viewer.model.cms.media
Methods in io.goobi.viewer.model.cms.media that return CMSMediaItemMethods in io.goobi.viewer.model.cms.media that return types with arguments of type CMSMediaItemModifier and TypeMethodDescriptionCMSMediaLister.getMediaItems
(List<String> tags, Integer maxItems, Integer prioritySlots, boolean random) CMSMediaHolder.getMediaItemWrapper()
getMediaItemWrapper.Methods in io.goobi.viewer.model.cms.media with parameters of type CMSMediaItemModifier and TypeMethodDescriptionint
PriorityComparator.compare
(CMSMediaItem a, CMSMediaItem b) int
CMSMediaItem.compareTo
(CMSMediaItem o) static de.intranda.api.iiif.presentation.content.IContent
MediaItem.getMediaResource
(CMSMediaItem source) void
CMSMediaHolder.setMediaItem
(CMSMediaItem item) setMediaItem.Constructors in io.goobi.viewer.model.cms.media with parameters of type CMSMediaItemModifierConstructorDescriptionCMSMediaItem
(CMSMediaItem orig) copy constructorMediaItem
(CMSMediaItem source, jakarta.servlet.http.HttpServletRequest servletRequest) Constructor parameters in io.goobi.viewer.model.cms.media with type arguments of type CMSMediaItemModifierConstructorDescriptionMediaList
(List<CMSMediaItem> items, jakarta.servlet.http.HttpServletRequest servletRequest) -
Uses of CMSMediaItem in io.goobi.viewer.model.cms.pages.content.types
Methods in io.goobi.viewer.model.cms.pages.content.types that return CMSMediaItemMethods in io.goobi.viewer.model.cms.pages.content.types that return types with arguments of type CMSMediaItemMethods in io.goobi.viewer.model.cms.pages.content.types with parameters of type CMSMediaItem -
Uses of CMSMediaItem in io.goobi.viewer.model.crowdsourcing.campaigns
Methods in io.goobi.viewer.model.crowdsourcing.campaigns that return CMSMediaItemMethods in io.goobi.viewer.model.crowdsourcing.campaigns that return types with arguments of type CMSMediaItemMethods in io.goobi.viewer.model.crowdsourcing.campaigns with parameters of type CMSMediaItem