|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.cms.file.domain.StaticAssetImpl
@Entity public class StaticAssetImpl
Created by bpolster.
| Nested Class Summary | |
|---|---|
static class |
StaticAssetImpl.Presentation
|
| Field Summary | |
|---|---|
protected String |
altText
|
protected Boolean |
archivedFlag
|
protected AdminAuditable |
auditable
|
protected Map<String,StaticAssetDescription> |
contentMessageValues
|
protected Boolean |
deletedFlag
|
protected String |
fileExtension
|
protected Long |
fileSize
|
protected String |
fullUrl
|
protected Long |
id
|
protected Boolean |
lockedFlag
|
protected String |
mimeType
|
protected String |
name
|
protected Long |
originalAssetId
|
protected SandBox |
originalSandBox
|
protected SandBox |
sandbox
|
protected Site |
site
|
protected String |
storageType
|
protected String |
title
|
| Fields inherited from interface org.broadleafcommerce.common.admin.domain.AdminMainEntity |
|---|
MAIN_ENTITY_NAME_PROPERTY |
| Constructor Summary | |
|---|---|
StaticAssetImpl()
|
|
| Method Summary | |
|---|---|
StaticAsset |
cloneEntity()
|
String |
getAltText()
Returns the altText of this asset. |
Boolean |
getArchivedFlag()
|
AdminAuditable |
getAuditable()
|
Map<String,StaticAssetDescription> |
getContentMessageValues()
|
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 |
getMainEntityName()
|
String |
getMimeType()
Returns the mimeType of the asset. |
String |
getName()
The name of the static asset. |
Long |
getOriginalAssetId()
|
SandBox |
getOriginalSandBox()
|
SandBox |
getSandbox()
|
Site |
getSite()
|
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)
|
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 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(String title)
Set the title of the static asset. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Long id
protected AdminAuditable auditable
protected String name
protected Site site
protected String fullUrl
protected String title
protected String altText
protected String mimeType
protected Long fileSize
protected String fileExtension
protected Map<String,StaticAssetDescription> contentMessageValues
protected SandBox sandbox
protected SandBox originalSandBox
protected Boolean archivedFlag
protected Boolean deletedFlag
protected Boolean lockedFlag
protected Long originalAssetId
protected String storageType
| Constructor Detail |
|---|
public StaticAssetImpl()
| Method Detail |
|---|
public String getFullUrl()
StaticAsset
getFullUrl in interface StaticAssetpublic void setFullUrl(String fullUrl)
StaticAsset
setFullUrl in interface StaticAssetpublic String getTitle()
StaticAsset
getTitle in interface StaticAssetpublic void setTitle(String title)
StaticAsset
setTitle in interface StaticAssetpublic String getAltText()
StaticAsset
getAltText in interface StaticAssetpublic void setAltText(String altText)
StaticAsset
setAltText in interface StaticAssetpublic Long getFileSize()
StaticAsset
getFileSize in interface StaticAssetpublic void setFileSize(Long fileSize)
StaticAsset
setFileSize in interface StaticAssetpublic Map<String,StaticAssetDescription> getContentMessageValues()
getContentMessageValues in interface StaticAssetpublic void setContentMessageValues(Map<String,StaticAssetDescription> contentMessageValues)
setContentMessageValues in interface StaticAssetpublic Boolean getArchivedFlag()
getArchivedFlag in interface StaticAssetpublic void setArchivedFlag(Boolean archivedFlag)
setArchivedFlag in interface StaticAssetpublic Long getOriginalAssetId()
getOriginalAssetId in interface StaticAssetpublic void setOriginalAssetId(Long originalAssetId)
setOriginalAssetId in interface StaticAssetpublic SandBox getSandbox()
getSandbox in interface StaticAssetpublic void setSandbox(SandBox sandbox)
setSandbox in interface StaticAssetpublic String getMimeType()
StaticAsset
getMimeType in interface StaticAssetpublic void setMimeType(String mimeType)
StaticAsset
setMimeType in interface StaticAssetpublic String getFileExtension()
StaticAsset
getFileExtension in interface StaticAssetpublic void setFileExtension(String fileExtension)
StaticAsset
setFileExtension 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 Boolean getDeletedFlag()
getDeletedFlag in interface StaticAssetpublic void setDeletedFlag(Boolean deletedFlag)
setDeletedFlag in interface StaticAssetpublic Long getId()
StaticAsset
getId in interface StaticAssetpublic void setId(Long id)
StaticAsset
setId in interface StaticAssetpublic Boolean getLockedFlag()
getLockedFlag in interface StaticAssetpublic void setLockedFlag(Boolean lockedFlag)
setLockedFlag in interface StaticAssetpublic String getName()
StaticAsset
getName in interface StaticAssetpublic void setName(String name)
StaticAsset
setName 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)
StaticAsset
setStorageType in interface StaticAssetpublic String getMainEntityName()
getMainEntityName in interface AdminMainEntity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||