Uses of Interface
de.espirit.firstspirit.access.store.mediastore.Media
Packages that use Media
Package
Description
-
Uses of Media in de.espirit.firstspirit.access
Methods in de.espirit.firstspirit.access with parameters of type MediaModifier and TypeMethodDescriptionUrlCreator.getFilename
(Media media, Language lang, Resolution res) Deprecated.UrlCreator.getUrl
(Media media, Language language, Resolution resolution, int mode) Deprecated.void
GenerationContext.mediaReferenced
(@NotNull Media media, @Nullable Language language, @Nullable Resolution resolution) Prints a referenced media to the generation target, if it was not yet printed. -
Uses of Media in de.espirit.firstspirit.access.editor.value
Methods in de.espirit.firstspirit.access.editor.value that return MediaModifier and TypeMethodDescriptionMappingMedium.getImage()
Provides the medium the map bases upon.@Nullable Media
ElementReference.getMedia()
Provides the referenced element as firstspirit media object, if applicable.@Nullable Media
ListDomNode.getMedia()
Returns theMedia
that is used as bullet icon.@Nullable Media
TargetReference.getMedia()
Returns a set medium if any ornull
if reference is not a type ofMedia
.BinaryMedium.getMedium()
Returns the medium of the binary medium.Methods in de.espirit.firstspirit.access.editor.value with parameters of type MediaModifier and TypeMethodDescriptionvoid
Sets the given media object as referenced element.void
Provide theMedia
that should be used as bullet icon.void
Sets the medium of the binary medium. -
Uses of Media in de.espirit.firstspirit.access.store.globalstore
Methods in de.espirit.firstspirit.access.store.globalstore with parameters of type MediaModifier and TypeMethodDescription@Nullable String
URLProperties.getStoredUrl
(@NotNull Media node, @Nullable Language language, @Nullable Resolution resolution) Get the stored URL for the specified parameter set.void
URLProperties.setStoredUrl
(@Nullable String url, @NotNull Media node, @Nullable Language language, @Nullable Resolution resolution) Set the stored URL for the specified parameter set. -
Uses of Media in de.espirit.firstspirit.access.store.mediastore
Methods in de.espirit.firstspirit.access.store.mediastore that return MediaModifier and TypeMethodDescriptionMediaFolder.createMedia
(String uidSuggestion, String filename, int type, boolean languageDependent) Create a new media in the current MediaStore-folderMediaFolder.createMedia
(String uidSuggestion, String filename, int type, boolean languageDependent, boolean unifyIdentifierOnServer) Create a new media in thismediafolder
MediaFolder.createMedia
(String uidSuggestion, String filename, int type, boolean languageDependent, Map<Language, String> lang2DisplayName, boolean unifyIdentifierOnServer) Create a new media in thismediafolder
MediaStoreRoot.getMediaByUid
(@NotNull String uid) Returns the media specified by givenuid
ornull
, if no media was found with given uid -
Uses of Media in de.espirit.firstspirit.access.store.sitestore
Methods in de.espirit.firstspirit.access.store.sitestore that return MediaModifier and TypeMethodDescriptionPageRefFolder.getGraphicalNavigationMedia
(int state) Gets themedia
for the given graphical navigation state (on ofPageRefFolder.MEDIA
,PageRefFolder.MEDIA_MOUSEOVER
,PageRefFolder.MEDIA_SELECTED
,PageRefFolder.MEDIA_SELECTED_MOUSEOVER
) ornull
if no media is set for the given state.Methods in de.espirit.firstspirit.access.store.sitestore with parameters of type MediaModifier and TypeMethodDescriptionvoid
PageRefFolder.setGraphicalNavigationMedia
(int state, Media media) Sets themedia
for the graphical navigation for the given graphical navigation state (on ofPageRefFolder.MEDIA
,PageRefFolder.MEDIA_MOUSEOVER
,PageRefFolder.MEDIA_SELECTED
,PageRefFolder.MEDIA_SELECTED_MOUSEOVER
)
To reset the picture for a specific state call withnull
for param 'media' -
Uses of Media in de.espirit.firstspirit.agency
Methods in de.espirit.firstspirit.agency that return types with arguments of type MediaModifier and TypeMethodDescriptionImageAgent.getImageFromMedia
(@Nullable Media media) Creates anImage
container based on the given media object.<T extends MediaElement>
TransferType<Media>TransferAgent.getMediaType
(Class<T> clazz) Provides the transfer type for a given FirstSpirit media element type.Methods in de.espirit.firstspirit.agency with parameters of type MediaModifier and TypeMethodDescriptionConsume a medium.ImageAgent.getImageFromMedia
(@Nullable Media media) Creates anImage
container based on the given media object.@NotNull String
Returns the URL-String for the Media.@NotNull RenderingAgent.Renderer
The provided node is used as starting point for relative links when evaluating the provided template source.void
RenderingAgent.MediaLinkListener.mediaLinked
(@NotNull Media media, @Nullable Language language, @Nullable Resolution resolution) Callback -
Uses of Media in de.espirit.firstspirit.client.plugin.dataaccess.aspects
Methods in de.espirit.firstspirit.client.plugin.dataaccess.aspects with parameters of type MediaModifier and TypeMethodDescriptionvoid
DataTemplating.ParameterSet.addMedium
(@NotNull String name, @NotNull Media media, @Nullable Resolution resolution) Adds a medium as parameter. -
Uses of Media in de.espirit.firstspirit.generate
Methods in de.espirit.firstspirit.generate with parameters of type MediaModifier and TypeMethodDescriptionFilenameFactory.getFilename
(String url, Media node, @Nullable Language language, @Nullable Resolution resolution) Calculate filename for provided combination of node, language, and resolution.UrlCreator.getFilename
(Media media, Language language, Resolution resolution) The complete file name (relative to content root) where the produced content of the providedmedium
will be stored.UrlCreator.getUrl
(@NotNull Media media, @Nullable Language language, @Nullable Resolution resolution, int mode) Get the url for the specified medium (for the specified language and resolution).@NotNull String
UrlFactory.getUrl
(@NotNull Media node, @NotNull Language language, @Nullable Resolution resolution) Calculate path to provided combination of node, language, and resolution. -
Uses of Media in de.espirit.firstspirit.service.mediamanagement
Methods in de.espirit.firstspirit.service.mediamanagement with parameters of type MediaModifier and TypeMethodDescriptionvoid
UploadHook.postProcess
(@NotNull BaseContext baseContext, @NotNull Media media, @NotNull File file, long length) Hook method will be called on media upload AFTER the uploaded file is transmitted into the FirstSpirit-Server-Repository.void
UploadHook.postProcess
(@NotNull BaseContext baseContext, @NotNull Media media, @NotNull Picture picture, long length) Hook method will be called on media upload AFTER the uploaded file is transmitted into the FirstSpirit-Server-Repository.void
UploadHook.preProcess
(@NotNull BaseContext baseContext, @NotNull Media media, @NotNull File file, @NotNull InputStream inputStream, long length) Hook method will be called on media upload BEFORE the uploaded file will be transmitted to the FirstSpirit-Server-Repository.void
UploadHook.preProcess
(@NotNull BaseContext baseContext, @NotNull Media media, @NotNull Picture picture, Resolution resolution, @NotNull InputStream inputStream, long length) Hook method will be called on media upload BEFORE the uploaded file will be transmitted to the FirstSpirit-Server-Repository.void
UploadHook.uploadAborted
(@NotNull BaseContext baseContext, @NotNull Media media, @NotNull MediaElement mediaElement) This method will be called if an upload has been rejected by any upload-hook instance and this hook has been already executed. -
Uses of Media in de.espirit.firstspirit.webedit.plugin.focus
Methods in de.espirit.firstspirit.webedit.plugin.focus that return Media -
Uses of Media in de.espirit.firstspirit.webedit.server
Methods in de.espirit.firstspirit.webedit.server with parameters of type Media