@Entity public class StaticAssetImpl extends java.lang.Object implements StaticAsset, AdminMainEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
StaticAssetImpl.Presentation |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
altText |
protected java.lang.Boolean |
archivedFlag |
protected AdminAuditable |
auditable |
protected java.util.Map<java.lang.String,StaticAssetDescription> |
contentMessageValues |
protected java.lang.Boolean |
deletedFlag |
protected java.lang.String |
fileExtension |
protected java.lang.Long |
fileSize |
protected java.lang.String |
fullUrl |
protected java.lang.Long |
id |
protected java.lang.Boolean |
lockedFlag |
protected java.lang.String |
mimeType |
protected java.lang.String |
name |
protected java.lang.Long |
originalAssetId |
protected SandBox |
originalSandBox |
protected SandBox |
sandbox |
protected Site |
site |
protected java.lang.String |
storageType |
protected java.lang.String |
title |
MAIN_ENTITY_NAME_PROPERTY| Constructor and Description |
|---|
StaticAssetImpl() |
| Modifier and Type | Method and Description |
|---|---|
StaticAsset |
cloneEntity() |
java.lang.String |
getAltText()
Returns the altText of this asset.
|
java.lang.Boolean |
getArchivedFlag() |
AdminAuditable |
getAuditable() |
java.util.Map<java.lang.String,StaticAssetDescription> |
getContentMessageValues() |
java.lang.Boolean |
getDeletedFlag() |
java.lang.String |
getFileExtension()
Returns the file extension of the asset.
|
java.lang.Long |
getFileSize()
Filesize of the asset.
|
java.lang.String |
getFullUrl()
URL used to retrieve this asset.
|
java.lang.Long |
getId()
Returns the id of the static asset.
|
java.lang.Boolean |
getLockedFlag() |
java.lang.String |
getMainEntityName() |
java.lang.String |
getMimeType()
Returns the mimeType of the asset.
|
java.lang.String |
getName()
The name of the static asset.
|
java.lang.Long |
getOriginalAssetId() |
SandBox |
getOriginalSandBox() |
SandBox |
getSandbox() |
Site |
getSite() |
StorageType |
getStorageType()
Returns how the underlying asset is stored.
|
java.lang.String |
getTitle()
Returns the title of this asset.
|
void |
setAltText(java.lang.String altText)
Set the altText of the static asset.
|
void |
setArchivedFlag(java.lang.Boolean archivedFlag) |
void |
setAuditable(AdminAuditable auditable) |
void |
setContentMessageValues(java.util.Map<java.lang.String,StaticAssetDescription> contentMessageValues) |
void |
setDeletedFlag(java.lang.Boolean deletedFlag) |
void |
setFileExtension(java.lang.String fileExtension)
Sets the fileExtension of the asset.
|
void |
setFileSize(java.lang.Long fileSize)
Sets the filesize of the asset
|
void |
setFullUrl(java.lang.String fullUrl)
Sets the URL for the asset
|
void |
setId(java.lang.Long id)
Sets the id of the static asset.
|
void |
setLockedFlag(java.lang.Boolean lockedFlag) |
void |
setMimeType(java.lang.String mimeType)
Sets the mimeType of the asset.
|
void |
setName(java.lang.String name)
Sets the name of the static asset.
|
void |
setOriginalAssetId(java.lang.Long originalAssetId) |
void |
setOriginalSandBox(SandBox originalSandBox) |
void |
setSandbox(SandBox sandbox) |
void |
setSite(Site site) |
void |
setStorageType(StorageType storageType)
Returns how the asset was stored in the backend (e.g.
|
void |
setTitle(java.lang.String title)
Set the title of the static asset.
|
protected java.lang.Long id
protected AdminAuditable auditable
protected java.lang.String name
protected Site site
protected java.lang.String fullUrl
protected java.lang.String title
protected java.lang.String altText
protected java.lang.String mimeType
protected java.lang.Long fileSize
protected java.lang.String fileExtension
protected java.util.Map<java.lang.String,StaticAssetDescription> contentMessageValues
protected SandBox sandbox
protected SandBox originalSandBox
protected java.lang.Boolean archivedFlag
protected java.lang.Boolean deletedFlag
protected java.lang.Boolean lockedFlag
protected java.lang.Long originalAssetId
protected java.lang.String storageType
public java.lang.String getFullUrl()
StaticAssetgetFullUrl in interface StaticAssetpublic void setFullUrl(java.lang.String fullUrl)
StaticAssetsetFullUrl in interface StaticAssetpublic java.lang.String getTitle()
StaticAssetgetTitle in interface StaticAssetpublic void setTitle(java.lang.String title)
StaticAssetsetTitle in interface StaticAssetpublic java.lang.String getAltText()
StaticAssetgetAltText in interface StaticAssetpublic void setAltText(java.lang.String altText)
StaticAssetsetAltText in interface StaticAssetpublic java.lang.Long getFileSize()
StaticAssetgetFileSize in interface StaticAssetpublic void setFileSize(java.lang.Long fileSize)
StaticAssetsetFileSize in interface StaticAssetpublic java.util.Map<java.lang.String,StaticAssetDescription> getContentMessageValues()
getContentMessageValues in interface StaticAssetpublic void setContentMessageValues(java.util.Map<java.lang.String,StaticAssetDescription> contentMessageValues)
setContentMessageValues in interface StaticAssetpublic java.lang.Boolean getArchivedFlag()
getArchivedFlag in interface StaticAssetpublic void setArchivedFlag(java.lang.Boolean archivedFlag)
setArchivedFlag in interface StaticAssetpublic java.lang.Long getOriginalAssetId()
getOriginalAssetId in interface StaticAssetpublic void setOriginalAssetId(java.lang.Long originalAssetId)
setOriginalAssetId in interface StaticAssetpublic SandBox getSandbox()
getSandbox in interface StaticAssetpublic void setSandbox(SandBox sandbox)
setSandbox in interface StaticAssetpublic java.lang.String getMimeType()
StaticAssetgetMimeType in interface StaticAssetpublic void setMimeType(java.lang.String mimeType)
StaticAssetsetMimeType in interface StaticAssetpublic java.lang.String getFileExtension()
StaticAssetgetFileExtension in interface StaticAssetpublic void setFileExtension(java.lang.String fileExtension)
StaticAssetsetFileExtension in interface StaticAssetpublic SandBox getOriginalSandBox()
getOriginalSandBox in interface StaticAssetpublic void setOriginalSandBox(SandBox originalSandBox)
setOriginalSandBox in interface StaticAssetpublic AdminAuditable getAuditable()
getAuditable in interface StaticAssetpublic void setAuditable(AdminAuditable auditable)
setAuditable in interface StaticAssetpublic java.lang.Boolean getDeletedFlag()
getDeletedFlag in interface StaticAssetpublic void setDeletedFlag(java.lang.Boolean deletedFlag)
setDeletedFlag in interface StaticAssetpublic java.lang.Long getId()
StaticAssetgetId in interface StaticAssetpublic void setId(java.lang.Long id)
StaticAssetsetId in interface StaticAssetpublic java.lang.Boolean getLockedFlag()
getLockedFlag in interface StaticAssetpublic void setLockedFlag(java.lang.Boolean lockedFlag)
setLockedFlag in interface StaticAssetpublic java.lang.String getName()
StaticAssetgetName in interface StaticAssetpublic void setName(java.lang.String name)
StaticAssetsetName in interface StaticAssetpublic Site getSite()
getSite in interface StaticAssetpublic void setSite(Site site)
setSite in interface StaticAssetpublic StaticAsset cloneEntity()
cloneEntity in interface StaticAssetpublic StorageType getStorageType()
StaticAssetStorageType.DATABASE for backwards compatibility.getStorageType in interface StaticAssetStaticAssetService}public void setStorageType(StorageType storageType)
StaticAssetsetStorageType in interface StaticAssetpublic java.lang.String getMainEntityName()
getMainEntityName in interface AdminMainEntityCopyright © 2018. All Rights Reserved.