@Entity public class StaticAssetImpl extends Object implements StaticAsset, AdminMainEntity
Modifier and Type | Class and Description |
---|---|
static class |
StaticAssetImpl.Presentation |
Modifier and Type | Field and Description |
---|---|
protected String |
altText |
protected AdminAuditable |
auditable |
protected Map<String,StaticAssetDescription> |
contentMessageValues |
protected String |
fileExtension |
protected Long |
fileSize |
protected String |
fullUrl |
protected Long |
id |
protected String |
mimeType |
protected String |
name |
protected String |
storageType |
protected String |
title |
MAIN_ENTITY_NAME_PROPERTY
Constructor and Description |
---|
StaticAssetImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getAltText()
Returns the altText of this asset.
|
AdminAuditable |
getAuditable() |
Map<String,StaticAssetDescription> |
getContentMessageValues() |
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 |
getMainEntityName() |
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 |
setAuditable(AdminAuditable auditable) |
void |
setContentMessageValues(Map<String,StaticAssetDescription> contentMessageValues) |
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.
|
protected Long id
protected AdminAuditable auditable
protected String name
protected String fullUrl
protected String title
protected String altText
protected String mimeType
protected Long fileSize
protected String fileExtension
protected Map<String,StaticAssetDescription> contentMessageValues
protected String storageType
public String getFullUrl()
StaticAsset
getFullUrl
in interface StaticAsset
public void setFullUrl(String fullUrl)
StaticAsset
setFullUrl
in interface StaticAsset
public String getTitle()
StaticAsset
getTitle
in interface StaticAsset
public void setTitle(String title)
StaticAsset
setTitle
in interface StaticAsset
public String getAltText()
StaticAsset
getAltText
in interface StaticAsset
public void setAltText(String altText)
StaticAsset
setAltText
in interface StaticAsset
public Long getFileSize()
StaticAsset
getFileSize
in interface StaticAsset
public void setFileSize(Long fileSize)
StaticAsset
setFileSize
in interface StaticAsset
public Map<String,StaticAssetDescription> getContentMessageValues()
getContentMessageValues
in interface StaticAsset
public void setContentMessageValues(Map<String,StaticAssetDescription> contentMessageValues)
setContentMessageValues
in interface StaticAsset
public String getMimeType()
StaticAsset
getMimeType
in interface StaticAsset
public void setMimeType(String mimeType)
StaticAsset
setMimeType
in interface StaticAsset
public String getFileExtension()
StaticAsset
getFileExtension
in interface StaticAsset
public void setFileExtension(String fileExtension)
StaticAsset
setFileExtension
in interface StaticAsset
public AdminAuditable getAuditable()
getAuditable
in interface StaticAsset
public void setAuditable(AdminAuditable auditable)
setAuditable
in interface StaticAsset
public Long getId()
StaticAsset
getId
in interface StaticAsset
public void setId(Long id)
StaticAsset
setId
in interface StaticAsset
public String getName()
StaticAsset
getName
in interface StaticAsset
public void setName(String name)
StaticAsset
setName
in interface StaticAsset
public StorageType getStorageType()
StaticAsset
StorageType.DATABASE
for backwards compatibility.getStorageType
in interface StaticAsset
StaticAssetService}
public void setStorageType(StorageType storageType)
StaticAsset
setStorageType
in interface StaticAsset
public String getMainEntityName()
getMainEntityName
in interface AdminMainEntity
Copyright © 2014. All rights reserved.