public interface StaticAsset extends Serializable
Modifier and Type | Method and Description |
---|---|
StaticAsset |
cloneEntity() |
String |
getAltText()
Returns the altText of this asset.
|
Boolean |
getArchivedFlag() |
AdminAuditable |
getAuditable() |
Map<String,StaticAssetDescription> |
getContentMessageValues()
Deprecated.
- Use
getTitle() or getAltText() getAltText() instead. |
Boolean |
getDeletedFlag() |
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.
|
Boolean |
getLockedFlag() |
String |
getMimeType()
Returns the mimeType of the asset.
|
String |
getName()
The name of the static asset.
|
Long |
getOriginalAssetId() |
SandBox |
getOriginalSandBox() |
SandBox |
getSandbox() |
Site |
getSite()
Deprecated.
- not currently used
|
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 |
setArchivedFlag(Boolean archivedFlag) |
void |
setAuditable(AdminAuditable auditable) |
void |
setContentMessageValues(Map<String,StaticAssetDescription> contentMessageValues)
Deprecated.
- Use
setTitle(String) or setAltText(String) instead. |
void |
setDeletedFlag(Boolean deletedFlag) |
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 |
setLockedFlag(Boolean lockedFlag) |
void |
setMimeType(String mimeType)
Sets the mimeType of the asset.
|
void |
setName(String name)
Sets the name of the static asset.
|
void |
setOriginalAssetId(Long originalPageId) |
void |
setOriginalSandBox(SandBox originalSandBox) |
void |
setSandbox(SandBox sandbox) |
void |
setSite(Site site)
Deprecated.
- not currently used
|
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.
|
Long 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()
void setContentMessageValues(Map<String,StaticAssetDescription> contentMessageValues)
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
- Site getSite()
void setSite(Site site)
site
- SandBox getOriginalSandBox()
void setOriginalSandBox(SandBox originalSandBox)
AdminAuditable getAuditable()
void setAuditable(AdminAuditable auditable)
Boolean getLockedFlag()
void setLockedFlag(Boolean lockedFlag)
Boolean getDeletedFlag()
void setDeletedFlag(Boolean deletedFlag)
Boolean getArchivedFlag()
void setArchivedFlag(Boolean archivedFlag)
Long getOriginalAssetId()
void setOriginalAssetId(Long originalPageId)
SandBox getSandbox()
void setSandbox(SandBox sandbox)
StaticAsset cloneEntity()
Copyright © 2014. All rights reserved.