@ProviderType public class AssetEntryWrapper extends Object implements AssetEntry, ModelWrapper<AssetEntry>
This class is a wrapper for AssetEntry
.
AssetEntry
,
Serialized FormENTRY_ID_ACCESSOR
Constructor and Description |
---|
AssetEntryWrapper(AssetEntry assetEntry) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(AssetEntry assetEntry) |
boolean |
equals(Object obj) |
AssetRenderer<?> |
getAssetRenderer() |
AssetRendererFactory<?> |
getAssetRendererFactory() |
String[] |
getAvailableLanguageIds() |
List<AssetCategory> |
getCategories() |
long[] |
getCategoryIds() |
String |
getClassName()
Returns the fully qualified class name of this asset entry.
|
long |
getClassNameId()
Returns the class name ID of this asset entry.
|
long |
getClassPK()
Returns the class pk of this asset entry.
|
long |
getClassTypeId()
Returns the class type ID of this asset entry.
|
String |
getClassUuid()
Returns the class uuid of this asset entry.
|
long |
getCompanyId()
Returns the company ID of this asset entry.
|
Date |
getCreateDate()
Returns the create date of this asset entry.
|
String |
getDefaultLanguageId() |
String |
getDescription()
Returns the description of this asset entry.
|
String |
getDescription(Locale locale)
Returns the localized description of this asset entry in the language.
|
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this asset entry in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getDescription(String languageId)
Returns the localized description of this asset entry in the language.
|
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this asset entry in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getDescriptionCurrentLanguageId() |
String |
getDescriptionCurrentValue() |
Map<Locale,String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this asset entry.
|
Date |
getEndDate()
Returns the end date of this asset entry.
|
long |
getEntryId()
Returns the entry ID of this asset entry.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
Date |
getExpirationDate()
Returns the expiration date of this asset entry.
|
long |
getGroupId()
Returns the group ID of this asset entry.
|
int |
getHeight()
Returns the height of this asset entry.
|
String |
getLayoutUuid()
Returns the layout uuid of this asset entry.
|
boolean |
getListable()
Returns the listable of this asset entry.
|
String |
getMimeType()
Returns the mime type of this asset entry.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate()
Returns the modified date of this asset entry.
|
long |
getPrimaryKey()
Returns the primary key of this asset entry.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
double |
getPriority()
Returns the priority of this asset entry.
|
Date |
getPublishDate()
Returns the publish date of this asset entry.
|
Date |
getStartDate()
Returns the start date of this asset entry.
|
String |
getSummary()
Returns the summary of this asset entry.
|
String |
getSummary(Locale locale)
Returns the localized summary of this asset entry in the language.
|
String |
getSummary(Locale locale,
boolean useDefault)
Returns the localized summary of this asset entry in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getSummary(String languageId)
Returns the localized summary of this asset entry in the language.
|
String |
getSummary(String languageId,
boolean useDefault)
Returns the localized summary of this asset entry in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getSummaryCurrentLanguageId() |
String |
getSummaryCurrentValue() |
Map<Locale,String> |
getSummaryMap()
Returns a map of the locales and localized summaries of this asset entry.
|
String[] |
getTagNames() |
List<AssetTag> |
getTags() |
String |
getTitle()
Returns the title of this asset entry.
|
String |
getTitle(Locale locale)
Returns the localized title of this asset entry in the language.
|
String |
getTitle(Locale locale,
boolean useDefault)
Returns the localized title of this asset entry in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getTitle(String languageId)
Returns the localized title of this asset entry in the language.
|
String |
getTitle(String languageId,
boolean useDefault)
Returns the localized title of this asset entry in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getTitleCurrentLanguageId() |
String |
getTitleCurrentValue() |
Map<Locale,String> |
getTitleMap()
Returns a map of the locales and localized titles of this asset entry.
|
String |
getUrl()
Returns the url of this asset entry.
|
long |
getUserId()
Returns the user ID of this asset entry.
|
String |
getUserName()
Returns the user name of this asset entry.
|
String |
getUserUuid()
Returns the user uuid of this asset entry.
|
int |
getViewCount()
Returns the view count of this asset entry.
|
boolean |
getVisible()
Returns the visible of this asset entry.
|
int |
getWidth()
Returns the width of this asset entry.
|
AssetEntry |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isListable()
Returns
true if this asset entry is listable. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isVisible()
Returns
true if this asset entry is visible. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale) |
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this asset entry.
|
void |
setClassPK(long classPK)
Sets the class pk of this asset entry.
|
void |
setClassTypeId(long classTypeId)
Sets the class type ID of this asset entry.
|
void |
setClassUuid(String classUuid)
Sets the class uuid of this asset entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this asset entry.
|
void |
setCreateDate(Date createDate)
Sets the create date of this asset entry.
|
void |
setDescription(String description)
Sets the description of this asset entry.
|
void |
setDescription(String description,
Locale locale)
Sets the localized description of this asset entry in the language.
|
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this asset entry in the language, and sets the default locale.
|
void |
setDescriptionCurrentLanguageId(String languageId) |
void |
setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this asset entry from the map of locales and localized descriptions.
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
Sets the localized descriptions of this asset entry from the map of locales and localized descriptions, and sets the default locale.
|
void |
setEndDate(Date endDate)
Sets the end date of this asset entry.
|
void |
setEntryId(long entryId)
Sets the entry ID of this asset entry.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setExpirationDate(Date expirationDate)
Sets the expiration date of this asset entry.
|
void |
setGroupId(long groupId)
Sets the group ID of this asset entry.
|
void |
setHeight(int height)
Sets the height of this asset entry.
|
void |
setLayoutUuid(String layoutUuid)
Sets the layout uuid of this asset entry.
|
void |
setListable(boolean listable)
Sets whether this asset entry is listable.
|
void |
setMimeType(String mimeType)
Sets the mime type of this asset entry.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this asset entry.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this asset entry.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setPriority(double priority)
Sets the priority of this asset entry.
|
void |
setPublishDate(Date publishDate)
Sets the publish date of this asset entry.
|
void |
setStartDate(Date startDate)
Sets the start date of this asset entry.
|
void |
setSummary(String summary)
Sets the summary of this asset entry.
|
void |
setSummary(String summary,
Locale locale)
Sets the localized summary of this asset entry in the language.
|
void |
setSummary(String summary,
Locale locale,
Locale defaultLocale)
Sets the localized summary of this asset entry in the language, and sets the default locale.
|
void |
setSummaryCurrentLanguageId(String languageId) |
void |
setSummaryMap(Map<Locale,String> summaryMap)
Sets the localized summaries of this asset entry from the map of locales and localized summaries.
|
void |
setSummaryMap(Map<Locale,String> summaryMap,
Locale defaultLocale)
Sets the localized summaries of this asset entry from the map of locales and localized summaries, and sets the default locale.
|
void |
setTitle(String title)
Sets the title of this asset entry.
|
void |
setTitle(String title,
Locale locale)
Sets the localized title of this asset entry in the language.
|
void |
setTitle(String title,
Locale locale,
Locale defaultLocale)
Sets the localized title of this asset entry in the language, and sets the default locale.
|
void |
setTitleCurrentLanguageId(String languageId) |
void |
setTitleMap(Map<Locale,String> titleMap)
Sets the localized titles of this asset entry from the map of locales and localized titles.
|
void |
setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
Sets the localized titles of this asset entry from the map of locales and localized titles, and sets the default locale.
|
void |
setUrl(String url)
Sets the url of this asset entry.
|
void |
setUserId(long userId)
Sets the user ID of this asset entry.
|
void |
setUserName(String userName)
Sets the user name of this asset entry.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this asset entry.
|
void |
setViewCount(int viewCount)
Sets the view count of this asset entry.
|
void |
setVisible(boolean visible)
Sets whether this asset entry is visible.
|
void |
setWidth(int width)
Sets the width of this asset entry.
|
CacheModel<AssetEntry> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
AssetEntry |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString() |
AssetEntry |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public AssetEntryWrapper(AssetEntry assetEntry)
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<AssetEntry>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<AssetEntry>
public Object clone()
BaseModel
clone
in interface AssetEntryModel
clone
in interface BaseModel<AssetEntry>
clone
in class Object
public int compareTo(AssetEntry assetEntry)
compareTo
in interface AssetEntryModel
compareTo
in interface Comparable<AssetEntry>
public AssetRenderer<?> getAssetRenderer()
getAssetRenderer
in interface AssetEntry
public AssetRendererFactory<?> getAssetRendererFactory()
getAssetRendererFactory
in interface AssetEntry
public String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface AssetEntryModel
getAvailableLanguageIds
in interface LocalizedModel
public List<AssetCategory> getCategories()
getCategories
in interface AssetEntry
public long[] getCategoryIds()
getCategoryIds
in interface AssetEntry
public String getClassName()
getClassName
in interface AssetEntryModel
getClassName
in interface TypedModel
public long getClassNameId()
getClassNameId
in interface AssetEntryModel
getClassNameId
in interface TypedModel
public long getClassPK()
getClassPK
in interface AssetEntryModel
getClassPK
in interface AttachedModel
public long getClassTypeId()
getClassTypeId
in interface AssetEntryModel
public String getClassUuid()
getClassUuid
in interface AssetEntryModel
public long getCompanyId()
getCompanyId
in interface AssetEntryModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
public Date getCreateDate()
getCreateDate
in interface AssetEntryModel
getCreateDate
in interface AuditedModel
public String getDefaultLanguageId()
getDefaultLanguageId
in interface AssetEntryModel
getDefaultLanguageId
in interface LocalizedModel
public String getDescription()
getDescription
in interface AssetEntryModel
public String getDescription(Locale locale)
getDescription
in interface AssetEntryModel
locale
- the locale of the languagepublic String getDescription(Locale locale, boolean useDefault)
getDescription
in interface AssetEntryModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getDescription(String languageId)
getDescription
in interface AssetEntryModel
languageId
- the ID of the languagepublic String getDescription(String languageId, boolean useDefault)
getDescription
in interface AssetEntryModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface AssetEntryModel
public String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface AssetEntryModel
public Map<Locale,String> getDescriptionMap()
getDescriptionMap
in interface AssetEntryModel
public Date getEndDate()
getEndDate
in interface AssetEntryModel
public long getEntryId()
getEntryId
in interface AssetEntryModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface AssetEntryModel
getExpandoBridge
in interface BaseModel<AssetEntry>
getExpandoBridge
in interface ClassedModel
public Date getExpirationDate()
getExpirationDate
in interface AssetEntryModel
public long getGroupId()
getGroupId
in interface AssetEntryModel
getGroupId
in interface GroupedModel
public int getHeight()
getHeight
in interface AssetEntryModel
public String getLayoutUuid()
getLayoutUuid
in interface AssetEntryModel
public boolean getListable()
getListable
in interface AssetEntryModel
public String getMimeType()
getMimeType
in interface AssetEntryModel
public Date getModifiedDate()
getModifiedDate
in interface AssetEntryModel
getModifiedDate
in interface AuditedModel
public long getPrimaryKey()
getPrimaryKey
in interface AssetEntryModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface AssetEntryModel
getPrimaryKeyObj
in interface BaseModel<AssetEntry>
getPrimaryKeyObj
in interface ClassedModel
public double getPriority()
getPriority
in interface AssetEntryModel
public Date getPublishDate()
getPublishDate
in interface AssetEntryModel
public Date getStartDate()
getStartDate
in interface AssetEntryModel
public String getSummary()
getSummary
in interface AssetEntryModel
public String getSummary(Locale locale)
getSummary
in interface AssetEntryModel
locale
- the locale of the languagepublic String getSummary(Locale locale, boolean useDefault)
getSummary
in interface AssetEntryModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getSummary(String languageId)
getSummary
in interface AssetEntryModel
languageId
- the ID of the languagepublic String getSummary(String languageId, boolean useDefault)
getSummary
in interface AssetEntryModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getSummaryCurrentLanguageId()
getSummaryCurrentLanguageId
in interface AssetEntryModel
public String getSummaryCurrentValue()
getSummaryCurrentValue
in interface AssetEntryModel
public Map<Locale,String> getSummaryMap()
getSummaryMap
in interface AssetEntryModel
public String[] getTagNames()
getTagNames
in interface AssetEntry
public List<AssetTag> getTags()
getTags
in interface AssetEntry
public String getTitle()
getTitle
in interface AssetEntryModel
public String getTitle(Locale locale)
getTitle
in interface AssetEntryModel
locale
- the locale of the languagepublic String getTitle(Locale locale, boolean useDefault)
getTitle
in interface AssetEntryModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getTitle(String languageId)
getTitle
in interface AssetEntryModel
languageId
- the ID of the languagepublic String getTitle(String languageId, boolean useDefault)
getTitle
in interface AssetEntryModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getTitleCurrentLanguageId()
getTitleCurrentLanguageId
in interface AssetEntryModel
public String getTitleCurrentValue()
getTitleCurrentValue
in interface AssetEntryModel
public Map<Locale,String> getTitleMap()
getTitleMap
in interface AssetEntryModel
public String getUrl()
getUrl
in interface AssetEntryModel
public long getUserId()
getUserId
in interface AssetEntryModel
getUserId
in interface AuditedModel
public String getUserName()
getUserName
in interface AssetEntryModel
getUserName
in interface AuditedModel
public String getUserUuid()
getUserUuid
in interface AssetEntryModel
getUserUuid
in interface AuditedModel
public int getViewCount()
getViewCount
in interface AssetEntryModel
public boolean getVisible()
getVisible
in interface AssetEntryModel
public int getWidth()
getWidth
in interface AssetEntryModel
public int hashCode()
hashCode
in interface AssetEntryModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface AssetEntryModel
isCachedModel
in interface BaseModel<AssetEntry>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface AssetEntryModel
isEscapedModel
in interface BaseModel<AssetEntry>
true
if this model instance is escaped;
false
otherwisepublic boolean isListable()
true
if this asset entry is listable.isListable
in interface AssetEntryModel
true
if this asset entry is listable; false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface AssetEntryModel
isNew
in interface BaseModel<AssetEntry>
true
if this model instance does not yet exist in
the database; false
otherwisepublic boolean isVisible()
true
if this asset entry is visible.isVisible
in interface AssetEntryModel
true
if this asset entry is visible; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void prepareLocalizedFieldsForImport() throws LocaleException
prepareLocalizedFieldsForImport
in interface AssetEntryModel
prepareLocalizedFieldsForImport
in interface LocalizedModel
LocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport
in interface AssetEntryModel
prepareLocalizedFieldsForImport
in interface LocalizedModel
LocaleException
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface AssetEntryModel
setCachedModel
in interface BaseModel<AssetEntry>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setClassName(String className)
setClassName
in interface AssetEntryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AssetEntryModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this asset entrypublic void setClassPK(long classPK)
setClassPK
in interface AssetEntryModel
setClassPK
in interface AttachedModel
classPK
- the class pk of this asset entrypublic void setClassTypeId(long classTypeId)
setClassTypeId
in interface AssetEntryModel
classTypeId
- the class type ID of this asset entrypublic void setClassUuid(String classUuid)
setClassUuid
in interface AssetEntryModel
classUuid
- the class uuid of this asset entrypublic void setCompanyId(long companyId)
setCompanyId
in interface AssetEntryModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this asset entrypublic void setCreateDate(Date createDate)
setCreateDate
in interface AssetEntryModel
setCreateDate
in interface AuditedModel
createDate
- the create date of this asset entrypublic void setDescription(String description)
setDescription
in interface AssetEntryModel
description
- the description of this asset entrypublic void setDescription(String description, Locale locale)
setDescription
in interface AssetEntryModel
description
- the localized description of this asset entrylocale
- the locale of the languagepublic void setDescription(String description, Locale locale, Locale defaultLocale)
setDescription
in interface AssetEntryModel
description
- the localized description of this asset entrylocale
- the locale of the languagedefaultLocale
- the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId
in interface AssetEntryModel
public void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap
in interface AssetEntryModel
descriptionMap
- the locales and localized descriptions of this asset entrypublic void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
setDescriptionMap
in interface AssetEntryModel
descriptionMap
- the locales and localized descriptions of this asset entrydefaultLocale
- the default localepublic void setEndDate(Date endDate)
setEndDate
in interface AssetEntryModel
endDate
- the end date of this asset entrypublic void setEntryId(long entryId)
setEntryId
in interface AssetEntryModel
entryId
- the entry ID of this asset entrypublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface AssetEntryModel
setExpandoBridgeAttributes
in interface BaseModel<AssetEntry>
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface AssetEntryModel
setExpandoBridgeAttributes
in interface BaseModel<AssetEntry>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface AssetEntryModel
setExpandoBridgeAttributes
in interface BaseModel<AssetEntry>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setExpirationDate(Date expirationDate)
setExpirationDate
in interface AssetEntryModel
expirationDate
- the expiration date of this asset entrypublic void setGroupId(long groupId)
setGroupId
in interface AssetEntryModel
setGroupId
in interface GroupedModel
groupId
- the group ID of this asset entrypublic void setHeight(int height)
setHeight
in interface AssetEntryModel
height
- the height of this asset entrypublic void setLayoutUuid(String layoutUuid)
setLayoutUuid
in interface AssetEntryModel
layoutUuid
- the layout uuid of this asset entrypublic void setListable(boolean listable)
setListable
in interface AssetEntryModel
listable
- the listable of this asset entrypublic void setMimeType(String mimeType)
setMimeType
in interface AssetEntryModel
mimeType
- the mime type of this asset entrypublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AssetEntryModel
setModifiedDate
in interface AuditedModel
modifiedDate
- the modified date of this asset entrypublic void setNew(boolean n)
BaseModel
setNew
in interface AssetEntryModel
setNew
in interface BaseModel<AssetEntry>
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AssetEntryModel
primaryKey
- the primary key of this asset entrypublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface AssetEntryModel
setPrimaryKeyObj
in interface BaseModel<AssetEntry>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instancepublic void setPriority(double priority)
setPriority
in interface AssetEntryModel
priority
- the priority of this asset entrypublic void setPublishDate(Date publishDate)
setPublishDate
in interface AssetEntryModel
publishDate
- the publish date of this asset entrypublic void setStartDate(Date startDate)
setStartDate
in interface AssetEntryModel
startDate
- the start date of this asset entrypublic void setSummary(String summary)
setSummary
in interface AssetEntryModel
summary
- the summary of this asset entrypublic void setSummary(String summary, Locale locale)
setSummary
in interface AssetEntryModel
summary
- the localized summary of this asset entrylocale
- the locale of the languagepublic void setSummary(String summary, Locale locale, Locale defaultLocale)
setSummary
in interface AssetEntryModel
summary
- the localized summary of this asset entrylocale
- the locale of the languagedefaultLocale
- the default localepublic void setSummaryCurrentLanguageId(String languageId)
setSummaryCurrentLanguageId
in interface AssetEntryModel
public void setSummaryMap(Map<Locale,String> summaryMap)
setSummaryMap
in interface AssetEntryModel
summaryMap
- the locales and localized summaries of this asset entrypublic void setSummaryMap(Map<Locale,String> summaryMap, Locale defaultLocale)
setSummaryMap
in interface AssetEntryModel
summaryMap
- the locales and localized summaries of this asset entrydefaultLocale
- the default localepublic void setTitle(String title)
setTitle
in interface AssetEntryModel
title
- the title of this asset entrypublic void setTitle(String title, Locale locale)
setTitle
in interface AssetEntryModel
title
- the localized title of this asset entrylocale
- the locale of the languagepublic void setTitle(String title, Locale locale, Locale defaultLocale)
setTitle
in interface AssetEntryModel
title
- the localized title of this asset entrylocale
- the locale of the languagedefaultLocale
- the default localepublic void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId
in interface AssetEntryModel
public void setTitleMap(Map<Locale,String> titleMap)
setTitleMap
in interface AssetEntryModel
titleMap
- the locales and localized titles of this asset entrypublic void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
setTitleMap
in interface AssetEntryModel
titleMap
- the locales and localized titles of this asset entrydefaultLocale
- the default localepublic void setUrl(String url)
setUrl
in interface AssetEntryModel
url
- the url of this asset entrypublic void setUserId(long userId)
setUserId
in interface AssetEntryModel
setUserId
in interface AuditedModel
userId
- the user ID of this asset entrypublic void setUserName(String userName)
setUserName
in interface AssetEntryModel
setUserName
in interface AuditedModel
userName
- the user name of this asset entrypublic void setUserUuid(String userUuid)
setUserUuid
in interface AssetEntryModel
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this asset entrypublic void setViewCount(int viewCount)
setViewCount
in interface AssetEntryModel
viewCount
- the view count of this asset entrypublic void setVisible(boolean visible)
setVisible
in interface AssetEntryModel
visible
- the visible of this asset entrypublic void setWidth(int width)
setWidth
in interface AssetEntryModel
width
- the width of this asset entrypublic CacheModel<AssetEntry> toCacheModel()
BaseModel
toCacheModel
in interface AssetEntryModel
toCacheModel
in interface BaseModel<AssetEntry>
public AssetEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface AssetEntryModel
toEscapedModel
in interface BaseModel<AssetEntry>
AutoEscapeBeanHandler
public String toString()
toString
in interface AssetEntryModel
toString
in class Object
public AssetEntry toUnescapedModel()
toUnescapedModel
in interface AssetEntryModel
toUnescapedModel
in interface BaseModel<AssetEntry>
public String toXmlString()
BaseModel
toXmlString
in interface AssetEntryModel
toXmlString
in interface BaseModel<AssetEntry>
public boolean equals(Object obj)
equals
in class Object
public AssetEntry getWrappedModel()
getWrappedModel
in interface ModelWrapper<AssetEntry>
public boolean isEntityCacheEnabled()
BaseModel
true
if this model's entity cache is enabled.isEntityCacheEnabled
in interface BaseModel<AssetEntry>
true
if this model's entity cache is enabled;
false
otherwisepublic boolean isFinderCacheEnabled()
BaseModel
true
if this model's finder cache is enabled.isFinderCacheEnabled
in interface BaseModel<AssetEntry>
true
if this model's finder cache is enabled;
false
otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<AssetEntry>