public interface StaticAsset extends Serializable, MultiTenantCloneable<StaticAsset>
| Modifier and Type | Method and Description |
|---|---|
String |
getAltText()
Returns the altText of this asset.
|
Map<String,StaticAssetDescription> |
getContentMessageValues()
Deprecated.
- Use
getTitle() or getAltText()getAltText() instead. |
String |
getFileExtension()
Returns the file extension of the asset.
|
Long |
getFileSize()
Filesize of the asset.
|
String |
getFullUrl()
URL used to retrieve this asset.
|
Long |
getId()
Returns the id of the static asset.
|
String |
getMimeType()
Returns the mimeType of the asset.
|
String |
getName()
The name of the static asset.
|
StorageType |
getStorageType()
Returns how the underlying asset is stored.
|
String |
getTitle()
Returns the title of this asset.
|
void |
setAltText(String altText)
Set the altText of the static asset.
|
void |
setContentMessageValues(Map<String,StaticAssetDescription> contentMessageValues)
Deprecated.
- Use
setTitle(String) or setAltText(String) instead. |
void |
setFileExtension(String fileExtension)
Sets the fileExtension of the asset.
|
void |
setFileSize(Long fileSize)
Sets the filesize of the asset
|
void |
setFullUrl(String fullUrl)
Sets the URL for the asset
|
void |
setId(Long id)
Sets the id of the static asset.
|
void |
setMimeType(String mimeType)
Sets the mimeType of the asset.
|
void |
setName(String name)
Sets the name of the static asset.
|
void |
setStorageType(StorageType storageType)
Returns how the asset was stored in the backend (e.g.
|
void |
setTitle(String title)
Set the title of the static asset.
|
createOrRetrieveCopyInstanceLong getId()
void setId(Long id)
id - String getName()
void setName(String name)
name - String getAltText()
void setAltText(String altText)
title - String getTitle()
void setTitle(String title)
title - String getFullUrl()
void setFullUrl(String fullUrl)
fullUrl - Long getFileSize()
void setFileSize(Long fileSize)
fileSize - Map<String,StaticAssetDescription> getContentMessageValues()
getTitle() or getAltText()getAltText() instead.void setContentMessageValues(Map<String,StaticAssetDescription> contentMessageValues)
setTitle(String) or setAltText(String) instead.contentMessageValues - String getMimeType()
void setMimeType(String mimeType)
String getFileExtension()
void setFileExtension(String fileExtension)
fileExtension - StorageType getStorageType()
StorageType.DATABASE for backwards compatibility.StaticAssetService}void setStorageType(StorageType storageType)
storageType - Copyright © 2019. All rights reserved.