Uses of Class
io.goobi.viewer.model.cms.media.CMSMediaItem
Package
Description
-
Uses of CMSMediaItem in io.goobi.viewer.api.rest.v1.cms
Modifier and TypeMethodDescriptionCMSMediaResource.createMediaItem
(Path filePath) createMediaItem.Modifier and TypeMethodDescriptionstatic void
CMSMediaResource.removeFromImageCache
(CMSMediaItem item) -
Uses of CMSMediaItem in io.goobi.viewer.api.rest.v2.cms
Modifier and TypeMethodDescriptionCMSMediaResource.createMediaItem
(Path filePath) createMediaItem.Modifier and TypeMethodDescriptionstatic void
CMSMediaResource.removeFromImageCache
(CMSMediaItem item) -
Uses of CMSMediaItem in io.goobi.viewer.controller.imaging
Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionIDAO.getCMSMediaItem
(long id) getCMSMediaItem.IDAO.getCMSMediaItemByFilename
(String string) getCMSMediaItemByFilename.Modifier and TypeMethodDescriptionIDAO.getAllCMSCollectionItems()
getAllCMSCollectionItems.IDAO.getAllCMSMediaItems()
getAllCMSMediaItems.IDAO.getCMSMediaItemsByCategory
(CMSCategory category) Get a list of allCMSMediaItem
s which contain the given categoryModifier 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
Modifier and TypeMethodDescriptionJPADAO.getCMSMediaItem
(long id) getCMSMediaItem.JPADAO.getCMSMediaItemByFilename
(String filename) getCMSMediaItemByFilename.Modifier and TypeMethodDescriptionJPADAO.getAllCMSCollectionItems()
getAllCMSCollectionItems.JPADAO.getAllCMSMediaItems()
getAllCMSMediaItems.JPADAO.getCMSMediaItemsByCategory
(CMSCategory category) Get a list of allCMSMediaItem
s which contain the given categoryModifier 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
-
Uses of CMSMediaItem in io.goobi.viewer.managedbeans
Modifier and TypeMethodDescriptionCmsMediaBean.createMediaItem()
createMediaItem.CmsBean.getSelectedMediaItem()
Getter for the fieldselectedMediaItem
.Modifier and TypeMethodDescriptionCmsMediaBean.getAllMedia()
getAllMedia.CmsMediaBean.getDataProvider()
Getter for the fielddataProvider
.CmsMediaBean.getMediaItems()
getMediaItems.CmsMediaBean.getSelectedMediaItem()
Getter for the fieldselectedMediaItem
.Modifier 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
.Modifier 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
Modifier and TypeMethodDescriptionHighlight.getMediaItem()
HighlightData.getMediaItem()
SimpleMediaHolder.getMediaItem()
Modifier and TypeMethodDescriptionHighlight.getMediaItemWrapper()
SimpleMediaHolder.getMediaItemWrapper()
Modifier and TypeMethodDescriptionvoid
Highlight.setMediaItem
(CMSMediaItem item) void
HighlightData.setMediaItem
(CMSMediaItem mediaItem) void
SimpleMediaHolder.setMediaItem
(CMSMediaItem mediaItem) -
Uses of CMSMediaItem in io.goobi.viewer.model.cms.collections
Modifier and TypeMethodDescriptionvoid
CMSCollection.setMediaItem
(CMSMediaItem mediaItem) setMediaItem. -
Uses of CMSMediaItem in io.goobi.viewer.model.cms.media
Modifier and TypeMethodDescriptionCMSMediaLister.getMediaItems
(List<String> tags, Integer maxItems, Integer prioritySlots, boolean random) CMSMediaHolder.getMediaItemWrapper()
getMediaItemWrapper.Modifier 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.ModifierConstructorDescriptionCMSMediaItem
(CMSMediaItem orig) copy constructorMediaItem
(CMSMediaItem source, javax.servlet.http.HttpServletRequest servletRequest) ModifierConstructorDescriptionMediaList
(List<CMSMediaItem> items, javax.servlet.http.HttpServletRequest servletRequest) -
Uses of CMSMediaItem in io.goobi.viewer.model.cms.pages.content.types
-
Uses of CMSMediaItem in io.goobi.viewer.model.crowdsourcing.campaigns