Modifier and Type | Method and Description |
---|---|
String |
UrlCreator.getFilename(Media media,
Language lang,
Resolution res)
Deprecated.
|
String |
UrlCreator.getUrl(Media media,
Language language,
Resolution resolution,
int mode)
Deprecated.
|
void |
GenerationContext.mediaReferenced(Media media,
Language language,
Resolution resolution)
Prints a referenced media to the generation target, if it was not yet printed.
|
Modifier and Type | Method and Description |
---|---|
Media |
MappingMedium.getImage()
Provides the medium the map bases upon.
|
Media |
ElementReference.getMedia()
Provides the referenced element as firstspirit media object, if applicable.
|
Media |
ListDomNode.getMedia()
Returns the
Media that is used as bullet icon. |
Media |
TargetReference.getMedia()
Returns a set medium if any or
null if reference is not a type of Media . |
Media |
BinaryMedium.getMedium()
Returns the medium of the binary medium.
|
Modifier and Type | Method and Description |
---|---|
void |
ElementReference.setMedia(Media medium)
Sets the given media object as referenced element.
|
void |
ListDomNode.setMedia(Media media)
Provide the
Media that should be used as bullet icon. |
void |
BinaryMedium.setMedium(Media medium)
Sets the medium of the binary medium.
|
Modifier and Type | Method and Description |
---|---|
IdProvidingFormData |
MediaFormsProducer.create(Media media)
Creates a new form data based on the given media.
|
Modifier and Type | Method and Description |
---|---|
String |
URLProperties.getStoredUrl(Media node,
Language language,
Resolution resolution)
Get the stored URL for the specified parameter set.
|
void |
URLProperties.setStoredUrl(String url,
Media node,
Language language,
Resolution resolution)
Set the stored URL for the specified parameter set.
|
Modifier and Type | Method and Description |
---|---|
Media |
MediaFolder.createMedia(String uidSuggestion,
String filename,
int type,
boolean languageDependent)
Create a new media in the current MediaStore-folder
|
Media |
MediaFolder.createMedia(String uidSuggestion,
String filename,
int type,
boolean languageDependent,
boolean unifyIdentifierOnServer)
Create a new media in this
mediafolder |
Media |
MediaFolder.createMedia(String uidSuggestion,
String filename,
int type,
boolean languageDependent,
Map<Language,String> lang2DisplayName,
boolean unifyIdentifierOnServer)
Create a new media in this
mediafolder |
Media |
MediaStoreRoot.getMediaByUid(String uid)
Returns the media specified by given
uid or null ,
if no media was found with given uid |
Modifier and Type | Method and Description |
---|---|
Media |
PageRefFolder.getGraphicalNavigationMedia(int state)
Gets the
media for the given graphical navigation state
(on of PageRefFolder.MEDIA , PageRefFolder.MEDIA_MOUSEOVER , PageRefFolder.MEDIA_SELECTED , PageRefFolder.MEDIA_SELECTED_MOUSEOVER )
or null if no media is set for the given state. |
Modifier and Type | Method and Description |
---|---|
void |
PageRefFolder.setGraphicalNavigationMedia(int state,
Media media)
Sets the
media for the graphical navigation for the
given graphical navigation state (on of PageRefFolder.MEDIA , PageRefFolder.MEDIA_MOUSEOVER , PageRefFolder.MEDIA_SELECTED , PageRefFolder.MEDIA_SELECTED_MOUSEOVER )To reset the picture for a specific state call with null for param 'media' |
Modifier and Type | Method and Description |
---|---|
Image<Media> |
ImageAgent.getImageFromMedia(Media media)
Creates an
Image container based on the given media object. |
<T extends MediaElement> |
TransferAgent.getMediaType(Class<T> clazz)
Provides the transfer type for a given FirstSpirit media element type.
|
Modifier and Type | Method and Description |
---|---|
O |
Image.Consumer.consume(Media media)
Consume a medium.
|
Image<Media> |
ImageAgent.getImageFromMedia(Media media)
Creates an
Image container based on the given media object. |
String |
PreviewUrlAgent.MediaPreviewUrlBuilder.getUrl(Media media)
Returns the URL-String for the Media.
|
RenderingAgent.Renderer |
RenderingAgent.RendererWithoutLinkRoot.linkRoot(Media media)
The provided node is used as starting point for relative links when evaluating the provided template source.
|
void |
RenderingAgent.MediaLinkListener.mediaLinked(Media media,
Language language,
Resolution resolution)
Callback
|
Modifier and Type | Method and Description |
---|---|
void |
DataTemplating.ParameterSet.addMedium(String name,
Media media,
Resolution resolution)
Adds a medium as parameter.
|
Modifier and Type | Method and Description |
---|---|
String |
UrlCreator.getFilename(Media media,
Language language,
Resolution resolution)
The complete file name (relative to content root) where the produced content of the provided
medium will be stored. |
String |
FilenameFactory.getFilename(String url,
Media node,
Language language,
Resolution resolution)
Calculate filename for provided combination of node, language, and resolution.
|
String |
UrlFactory.getUrl(Media node,
Language language,
Resolution resolution)
Calculate path to provided combination of node, language, and resolution.
|
String |
UrlCreator.getUrl(Media media,
Language language,
Resolution resolution,
int mode)
Get the url for the specified medium (for the specified language and resolution).
|
Modifier and Type | Method and Description |
---|---|
void |
UploadHook.postProcess(BaseContext baseContext,
Media media,
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(BaseContext baseContext,
Media media,
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(BaseContext baseContext,
Media media,
File file,
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(BaseContext baseContext,
Media media,
Picture picture,
Resolution resolution,
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(BaseContext baseContext,
Media media,
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.
|
Modifier and Type | Method and Description |
---|---|
Media |
FocusAreaProviderContext.getMedia()
The contextual
Media element the focus areas have been requested for. |
Modifier and Type | Method and Description |
---|---|
void |
CropDialogOperation.setMedia(Media media)
Configures the
Media picture, which should be cropped. |
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210