Uses of Interface
nl.gx.webmanager.cms.mediarepository.MediaItem
-
Packages that use MediaItem Package Description nl.gx.forms.wmpformelement.api nl.gx.webmanager.cms.core This package contains interfaces for the webmanager api.nl.gx.webmanager.cms.element This package contains the interfaces for the various content elements.nl.gx.webmanager.cms.mediarepository This package contains interfaces for the mediarepository.nl.gx.webmanager.contentapi.event nl.gx.webmanager.foundation Various utility and base classes that are used to implement the webmanager api.nl.gx.webmanager.services.contentapi nl.gx.webmanager.services.seo -
-
Uses of MediaItem in nl.gx.forms.wmpformelement.api
Methods in nl.gx.forms.wmpformelement.api that return MediaItem Modifier and Type Method Description MediaItem
FormElementContextStepMapping. getMediaItem()
Returns the media item.Methods in nl.gx.forms.wmpformelement.api with parameters of type MediaItem Modifier and Type Method Description void
FormElementContextStepMapping. setMediaItem(MediaItem mediaItem)
Sets the media item. -
Uses of MediaItem in nl.gx.webmanager.cms.core
Methods in nl.gx.webmanager.cms.core that return MediaItem Modifier and Type Method Description MediaItem
ContentItemVersion. getLeadImageMediaItem()
Returns the image media item assigned as lead image of this content item version.MediaItem
PresentationContext. getMediaItem()
Return MediaItem of this PresentationContext.MediaItem
RelatedMediaItemLink. getMediaItem()
Returns the associated media item.Methods in nl.gx.webmanager.cms.core with parameters of type MediaItem Modifier and Type Method Description void
ContentItemVersion. setLeadImageMediaItem(MediaItem mediaItem)
Sets the lead image of this content item version as reference to an image media item stored in the content repository.void
PresentationContext. setMediaItem(MediaItem mediaItem)
Sets the given mediaItem and sets the mediaItemVersion too by invoking the getCurrent method on the given mediaItem.void
RelatedMediaItemLink. setMediaItem(MediaItem mediaItem)
Sets the associated media item -
Uses of MediaItem in nl.gx.webmanager.cms.element
Methods in nl.gx.webmanager.cms.element that return MediaItem Modifier and Type Method Description MediaItem
DownloadElement. getMediaItem()
Returns the media item representation of the actual download.MediaItem
ImageElement. getMediaItem()
Returns the media item representation of the actual image.Methods in nl.gx.webmanager.cms.element with parameters of type MediaItem Modifier and Type Method Description void
ImageElement. setMediaItem(MediaItem mediaItem)
Sets the image media item representation of the actual image. -
Uses of MediaItem in nl.gx.webmanager.cms.mediarepository
Methods in nl.gx.webmanager.cms.mediarepository that return MediaItem Modifier and Type Method Description MediaItem[]
MediaItemFilter. getExcludeMediaItems()
Returns the filter exclude media items parameter.MediaItem
MediaItemVersion. getMediaItem()
Deprecated.useContentItemVersion.getContentItem()
instead.MediaItem[]
MediaCollectionElement. getMediaItems()
Returns an array of media items associated with the media collection element (either by manual assignment or by executing a query based on the provided information).MediaItem
MediaItemFilter. getReferencedMediaItem()
Returns the filter referenced media item.MediaItem[]
MediaSearchResult. getResults(int from, int to)
Returns the subset of media item search result.Methods in nl.gx.webmanager.cms.mediarepository with parameters of type MediaItem Modifier and Type Method Description void
MediaCollectionElement. appendMediaItem(MediaItem mediaItem)
Appends a mediaItem at the end of the list.void
MediaCollectionElement. insertMediaItem(int position, MediaItem mediaItem)
Inserts a mediaItem at the specified position in the list, or at the first position if this is the first item.void
MediaItemFilter. setExcludeMediaItems(MediaItem[] mediaItems)
Set the filter exclude media items parameter.void
MediaCollectionElement. setMediaItems(MediaItem[] mediaItems)
Set or replace the mediaitems within this element with the ones provided.void
MediaItemFilter. setReferencedMediaItem(MediaItem mediaItem)
Sets the filter referenced media item. -
Uses of MediaItem in nl.gx.webmanager.contentapi.event
Methods in nl.gx.webmanager.contentapi.event that return MediaItem Modifier and Type Method Description MediaItem
MediaItemEvent. getMediaItem()
Returns the media item associated with the event.MediaItem
MediaItemEvent. getOriginalMediaItem()
Returns the original media item associated with the event.Constructors in nl.gx.webmanager.contentapi.event with parameters of type MediaItem Constructor Description MediaItemEvent(Event.Type eventType, MediaItem mediaItem, String eventAction, Object source, int discussionId, Website[] websites)
Deprecated.MediaItemEvent(Event.Type eventType, MediaItem mediaItem, String eventAction, Object source, int discussionId, Website[] websites, Class<? extends MediaItem> scope)
Deprecated.MediaItemEvent(Event.Type eventType, MediaItem mediaItem, String eventAction, Object source, Website[] websites)
Constructor of the media item event.MediaItemEvent(Event.Type eventType, MediaItem mediaItem, String eventAction, Object source, Website[] websites, Class<? extends MediaItem> scope)
Constructor of the media item event.MediaItemEvent(Event.Type eventType, MediaItem mediaItem, MediaItem originalMediaItem, String eventAction, Object source, int discussionId, Website[] websites)
Deprecated.MediaItemEvent(Event.Type eventType, MediaItem mediaItem, MediaItem originalMediaItem, String eventAction, Object source, int discussionId, Website[] websites, Class<? extends MediaItem> scope)
Deprecated.MediaItemEvent(Event.Type eventType, MediaItem mediaItem, MediaItem originalMediaItem, String eventAction, Object source, Website[] websites)
Constructor of the media item event.MediaItemEvent(Event.Type eventType, MediaItem mediaItem, MediaItem originalMediaItem, String eventAction, Object source, Website[] websites, Class<? extends MediaItem> scope)
Constructor of the media item event.Constructor parameters in nl.gx.webmanager.contentapi.event with type arguments of type MediaItem Constructor Description MediaItemEvent(Event.Type eventType, MediaItem mediaItem, String eventAction, Object source, int discussionId, Website[] websites, Class<? extends MediaItem> scope)
Deprecated.MediaItemEvent(Event.Type eventType, MediaItem mediaItem, String eventAction, Object source, Website[] websites, Class<? extends MediaItem> scope)
Constructor of the media item event.MediaItemEvent(Event.Type eventType, MediaItem mediaItem, MediaItem originalMediaItem, String eventAction, Object source, int discussionId, Website[] websites, Class<? extends MediaItem> scope)
Deprecated.MediaItemEvent(Event.Type eventType, MediaItem mediaItem, MediaItem originalMediaItem, String eventAction, Object source, Website[] websites, Class<? extends MediaItem> scope)
Constructor of the media item event. -
Uses of MediaItem in nl.gx.webmanager.foundation
Methods in nl.gx.webmanager.foundation that return MediaItem Modifier and Type Method Description MediaItem
PresentationContextImpl. getMediaItem()
Methods in nl.gx.webmanager.foundation with parameters of type MediaItem Modifier and Type Method Description void
PresentationContextImpl. setMediaItem(MediaItem mediaItem)
-
Uses of MediaItem in nl.gx.webmanager.services.contentapi
Methods in nl.gx.webmanager.services.contentapi that return MediaItem Modifier and Type Method Description MediaItem
MediaRepositoryManagementService. copyMediaItem(Website website, MediaItem mediaItem)
Copies the given media item to the target website.MediaItem
MediaRepositoryManagementService. copyMediaItem(Website website, MediaItem mediaItem, boolean retainTerms)
Copies the given media item to the target website.MediaItem
MediaRepositoryManagementService. copyMediaItem(MediaItem mediaItem)
Copies the given media item.MediaItem
MediaRepositoryManagementService. copyMediaItemVersion(MediaItemVersion mediaItemVersion)
Copies the given media item version to a new media item.MediaItem
MediaRepositoryManagementService. createDownloadMediaItem(Website website)
Creates a new download media item and returns it.MediaItem
MediaRepositoryManagementService. createImageMediaItem(Website website)
Creates a new image media item and returns it.MediaItem
MediaRepositoryManagementService. createMediaItem(Website website, String type)
Creates a new media item of the specified type in thecurrent editing language
and returns it.MediaItem
MediaRepositoryManagementService. createMediaItem(Website website, String type, Language language)
Creates a new media item of the specified type in a given language and returns it.MediaItem
MediaRepositoryManagementService. createMediaItemFromPageVersion(PageVersion pageVersion, String type)
Creates a new media item as a copy of a given page version.MediaItem
MediaRepositoryManagementService. createPageMediaItem(Website website, Page page)
Creates a new page media item and a page media item version for each existing page version of the provided page.MediaItem
MediaRepositoryManagementService. createPageModelMediaItem(Website website, nl.gx.webmanager.cms.pagemodel.PageModel pageModel)
Deprecated.Page models are removed from XC.MediaItem[]
MediaRepositoryManagementService. getAllMediaItems(String mediaType)
NB: THIS METHOD UNCONDITIONALLY RETRIEVES ALL MEDIAITEMS OF A PARTICULAR TYPE.MediaItem
MediaRepositoryManagementService. getFromOriginId(Website website, String originId)
Find aMediaItem
based on its originId.Methods in nl.gx.webmanager.services.contentapi with parameters of type MediaItem Modifier and Type Method Description MediaItem
MediaRepositoryManagementService. copyMediaItem(Website website, MediaItem mediaItem)
Copies the given media item to the target website.MediaItem
MediaRepositoryManagementService. copyMediaItem(Website website, MediaItem mediaItem, boolean retainTerms)
Copies the given media item to the target website.MediaItem
MediaRepositoryManagementService. copyMediaItem(MediaItem mediaItem)
Copies the given media item.MediaItemVersion
MediaRepositoryManagementService. createMediaItemVersion(MediaItem mediaItem)
Creates a new MediaItemVersion for a media item in thecurrent editing language
.MediaItemVersion
MediaRepositoryManagementService. createMediaItemVersion(MediaItem mediaItem, Language language)
Creates a new MediaItemVersion for a media item in a given language.MediaItemVersion
MediaRepositoryManagementService. createMediaItemVersion(MediaItem mediaItem, MediaItemVersion original)
Deprecated.MediaItemVersion
MediaRepositoryManagementService. createMediaItemVersionFromPageVersion(MediaItem mediaItem, PageVersion pageVersion)
Creates a new media item version as a copy of a given page version and adds it to the given media item.boolean
MediaRepositoryManagementService. deleteMediaItem(MediaItem mediaItem)
Deletes the given media item. -
Uses of MediaItem in nl.gx.webmanager.services.seo
Methods in nl.gx.webmanager.services.seo with parameters of type MediaItem Modifier and Type Method Description void
SEOService. deleteFriendlyURL(MediaItem mediaItem)
Deletes the friendly URL for the given media item.
-