@ProviderType public class AssetEntryWrapper extends java.lang.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 |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(AssetEntry assetEntry) |
boolean |
equals(java.lang.Object obj) |
AssetRenderer<?> |
getAssetRenderer() |
AssetRendererFactory<?> |
getAssetRendererFactory() |
java.lang.String[] |
getAvailableLanguageIds() |
java.util.List<AssetCategory> |
getCategories() |
long[] |
getCategoryIds() |
java.lang.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 p k of this asset entry.
|
long |
getClassTypeId()
Returns the class type ID of this asset entry.
|
java.lang.String |
getClassUuid()
Returns the class uuid of this asset entry.
|
long |
getCompanyId()
Returns the company ID of this asset entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this asset entry.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this asset entry.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the localized description of this asset entry in the language.
|
java.lang.String |
getDescription(java.util.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.
|
java.lang.String |
getDescription(java.lang.String languageId)
Returns the localized description of this asset entry in the language.
|
java.lang.String |
getDescription(java.lang.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.
|
java.lang.String |
getDescriptionCurrentLanguageId() |
java.lang.String |
getDescriptionCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this asset entry.
|
java.util.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.
|
java.util.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.
|
java.lang.String |
getLayoutUuid()
Returns the layout uuid of this asset entry.
|
boolean |
getListable()
Returns the listable of this asset entry.
|
java.lang.String |
getMimeType()
Returns the mime type of this asset entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this asset entry.
|
long |
getPrimaryKey()
Returns the primary key of this asset entry.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
double |
getPriority()
Returns the priority of this asset entry.
|
java.util.Date |
getPublishDate()
Returns the publish date of this asset entry.
|
java.util.Date |
getStartDate()
Returns the start date of this asset entry.
|
java.lang.String |
getSummary()
Returns the summary of this asset entry.
|
java.lang.String |
getSummary(java.util.Locale locale)
Returns the localized summary of this asset entry in the language.
|
java.lang.String |
getSummary(java.util.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.
|
java.lang.String |
getSummary(java.lang.String languageId)
Returns the localized summary of this asset entry in the language.
|
java.lang.String |
getSummary(java.lang.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.
|
java.lang.String |
getSummaryCurrentLanguageId() |
java.lang.String |
getSummaryCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getSummaryMap()
Returns a map of the locales and localized summaries of this asset entry.
|
java.lang.String[] |
getTagNames() |
java.util.List<AssetTag> |
getTags() |
java.lang.String |
getTitle()
Returns the title of this asset entry.
|
java.lang.String |
getTitle(java.util.Locale locale)
Returns the localized title of this asset entry in the language.
|
java.lang.String |
getTitle(java.util.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.
|
java.lang.String |
getTitle(java.lang.String languageId)
Returns the localized title of this asset entry in the language.
|
java.lang.String |
getTitle(java.lang.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.
|
java.lang.String |
getTitleCurrentLanguageId() |
java.lang.String |
getTitleCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getTitleMap()
Returns a map of the locales and localized titles of this asset entry.
|
java.lang.String |
getUrl()
Returns the url of this asset entry.
|
long |
getUserId()
Returns the user ID of this asset entry.
|
java.lang.String |
getUserName()
Returns the user name of this asset entry.
|
java.lang.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(java.util.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(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this asset entry.
|
void |
setClassPK(long classPK)
Sets the class p k of this asset entry.
|
void |
setClassTypeId(long classTypeId)
Sets the class type ID of this asset entry.
|
void |
setClassUuid(java.lang.String classUuid)
Sets the class uuid of this asset entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this asset entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this asset entry.
|
void |
setDescription(java.lang.String description)
Sets the description of this asset entry.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets the localized description of this asset entry in the language.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized description of this asset entry in the language, and sets the default locale.
|
void |
setDescriptionCurrentLanguageId(java.lang.String languageId) |
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
Sets the localized descriptions of this asset entry from the map of locales and localized descriptions.
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.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(java.util.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(java.util.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(java.lang.String layoutUuid)
Sets the layout uuid of this asset entry.
|
void |
setListable(boolean listable)
Sets whether this asset entry is listable.
|
void |
setMimeType(java.lang.String mimeType)
Sets the mime type of this asset entry.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.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(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setPriority(double priority)
Sets the priority of this asset entry.
|
void |
setPublishDate(java.util.Date publishDate)
Sets the publish date of this asset entry.
|
void |
setStartDate(java.util.Date startDate)
Sets the start date of this asset entry.
|
void |
setSummary(java.lang.String summary)
Sets the summary of this asset entry.
|
void |
setSummary(java.lang.String summary,
java.util.Locale locale)
Sets the localized summary of this asset entry in the language.
|
void |
setSummary(java.lang.String summary,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized summary of this asset entry in the language, and sets the default locale.
|
void |
setSummaryCurrentLanguageId(java.lang.String languageId) |
void |
setSummaryMap(java.util.Map<java.util.Locale,java.lang.String> summaryMap)
Sets the localized summaries of this asset entry from the map of locales and localized summaries.
|
void |
setSummaryMap(java.util.Map<java.util.Locale,java.lang.String> summaryMap,
java.util.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(java.lang.String title)
Sets the title of this asset entry.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale)
Sets the localized title of this asset entry in the language.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized title of this asset entry in the language, and sets the default locale.
|
void |
setTitleCurrentLanguageId(java.lang.String languageId) |
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
Sets the localized titles of this asset entry from the map of locales and localized titles.
|
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.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(java.lang.String url)
Sets the url of this asset entry.
|
void |
setUserId(long userId)
Sets the user ID of this asset entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this asset entry.
|
void |
setUserUuid(java.lang.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. |
java.lang.String |
toString() |
AssetEntry |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public AssetEntryWrapper(AssetEntry assetEntry)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<AssetEntry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<AssetEntry>public java.lang.Object clone()
BaseModelclone in interface BaseModel<AssetEntry>clone in interface AssetEntryModelclone in class java.lang.Objectpublic int compareTo(AssetEntry assetEntry)
compareTo in interface AssetEntryModelcompareTo in interface java.lang.Comparable<AssetEntry>public AssetRenderer<?> getAssetRenderer()
getAssetRenderer in interface AssetEntrypublic AssetRendererFactory<?> getAssetRendererFactory()
getAssetRendererFactory in interface AssetEntrypublic java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LocalizedModelgetAvailableLanguageIds in interface AssetEntryModelpublic java.util.List<AssetCategory> getCategories()
getCategories in interface AssetEntrypublic long[] getCategoryIds()
getCategoryIds in interface AssetEntrypublic java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface AssetEntryModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface AssetEntryModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface AssetEntryModelpublic long getClassTypeId()
getClassTypeId in interface AssetEntryModelpublic java.lang.String getClassUuid()
getClassUuid in interface AssetEntryModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface AssetEntryModelpublic java.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface AssetEntryModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface LocalizedModelgetDefaultLanguageId in interface AssetEntryModelpublic java.lang.String getDescription()
getDescription in interface AssetEntryModelpublic java.lang.String getDescription(java.lang.String languageId)
getDescription in interface AssetEntryModellanguageId - the ID of the languagepublic java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
getDescription in interface AssetEntryModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getDescription(java.util.Locale locale)
getDescription in interface AssetEntryModellocale - the locale of the languagepublic java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
getDescription in interface AssetEntryModellocale - 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 java.lang.String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface AssetEntryModelpublic java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface AssetEntryModelpublic java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap in interface AssetEntryModelpublic java.util.Date getEndDate()
getEndDate in interface AssetEntryModelpublic long getEntryId()
getEntryId in interface AssetEntryModelpublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<AssetEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface AssetEntryModelpublic java.util.Date getExpirationDate()
getExpirationDate in interface AssetEntryModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface AssetEntryModelpublic int getHeight()
getHeight in interface AssetEntryModelpublic java.lang.String getLayoutUuid()
getLayoutUuid in interface AssetEntryModelpublic boolean getListable()
getListable in interface AssetEntryModelpublic java.lang.String getMimeType()
getMimeType in interface AssetEntryModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface AssetEntryModelpublic long getPrimaryKey()
getPrimaryKey in interface AssetEntryModelpublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<AssetEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface AssetEntryModelpublic double getPriority()
getPriority in interface AssetEntryModelpublic java.util.Date getPublishDate()
getPublishDate in interface AssetEntryModelpublic java.util.Date getStartDate()
getStartDate in interface AssetEntryModelpublic java.lang.String getSummary()
getSummary in interface AssetEntryModelpublic java.lang.String getSummary(java.lang.String languageId)
getSummary in interface AssetEntryModellanguageId - the ID of the languagepublic java.lang.String getSummary(java.lang.String languageId,
boolean useDefault)
getSummary in interface AssetEntryModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getSummary(java.util.Locale locale)
getSummary in interface AssetEntryModellocale - the locale of the languagepublic java.lang.String getSummary(java.util.Locale locale,
boolean useDefault)
getSummary in interface AssetEntryModellocale - 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 java.lang.String getSummaryCurrentLanguageId()
getSummaryCurrentLanguageId in interface AssetEntryModelpublic java.lang.String getSummaryCurrentValue()
getSummaryCurrentValue in interface AssetEntryModelpublic java.util.Map<java.util.Locale,java.lang.String> getSummaryMap()
getSummaryMap in interface AssetEntryModelpublic java.lang.String[] getTagNames()
getTagNames in interface AssetEntrypublic java.util.List<AssetTag> getTags()
getTags in interface AssetEntrypublic java.lang.String getTitle()
getTitle in interface AssetEntryModelpublic java.lang.String getTitle(java.lang.String languageId)
getTitle in interface AssetEntryModellanguageId - the ID of the languagepublic java.lang.String getTitle(java.lang.String languageId,
boolean useDefault)
getTitle in interface AssetEntryModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getTitle(java.util.Locale locale)
getTitle in interface AssetEntryModellocale - the locale of the languagepublic java.lang.String getTitle(java.util.Locale locale,
boolean useDefault)
getTitle in interface AssetEntryModellocale - 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 java.lang.String getTitleCurrentLanguageId()
getTitleCurrentLanguageId in interface AssetEntryModelpublic java.lang.String getTitleCurrentValue()
getTitleCurrentValue in interface AssetEntryModelpublic java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
getTitleMap in interface AssetEntryModelpublic java.lang.String getUrl()
getUrl in interface AssetEntryModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface AssetEntryModelpublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface AssetEntryModelpublic java.lang.String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface AssetEntryModelpublic int getViewCount()
getViewCount in interface AssetEntryModelpublic boolean getVisible()
getVisible in interface AssetEntryModelpublic int getWidth()
getWidth in interface AssetEntryModelpublic int hashCode()
hashCode in interface AssetEntryModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<AssetEntry>isCachedModel in interface AssetEntryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<AssetEntry>isEscapedModel in interface AssetEntryModeltrue if this model instance is escaped;
false otherwisepublic boolean isListable()
true if this asset entry is listable.isListable in interface AssetEntryModeltrue if this asset entry is listable; false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<AssetEntry>isNew in interface AssetEntryModeltrue 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 AssetEntryModeltrue if this asset entry is visible; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelprepareLocalizedFieldsForImport in interface AssetEntryModelLocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelprepareLocalizedFieldsForImport in interface AssetEntryModelLocaleExceptionpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<AssetEntry>setCachedModel in interface AssetEntryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(java.lang.String className)
setClassName in interface AssetEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface AssetEntryModelclassNameId - the class name ID of this asset entrypublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface AssetEntryModelclassPK - the class p k of this asset entrypublic void setClassTypeId(long classTypeId)
setClassTypeId in interface AssetEntryModelclassTypeId - the class type ID of this asset entrypublic void setClassUuid(java.lang.String classUuid)
setClassUuid in interface AssetEntryModelclassUuid - the class uuid of this asset entrypublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface AssetEntryModelcompanyId - the company ID of this asset entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface AssetEntryModelcreateDate - the create date of this asset entrypublic void setDescription(java.lang.String description)
setDescription in interface AssetEntryModeldescription - the description of this asset entrypublic void setDescription(java.lang.String description,
java.util.Locale locale)
setDescription in interface AssetEntryModeldescription - the localized description of this asset entrylocale - the locale of the languagepublic void setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
setDescription in interface AssetEntryModeldescription - the localized description of this asset entrylocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId in interface AssetEntryModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
setDescriptionMap in interface AssetEntryModeldescriptionMap - the locales and localized descriptions of this asset entrypublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
setDescriptionMap in interface AssetEntryModeldescriptionMap - the locales and localized descriptions of this asset entrydefaultLocale - the default localepublic void setEndDate(java.util.Date endDate)
setEndDate in interface AssetEntryModelendDate - the end date of this asset entrypublic void setEntryId(long entryId)
setEntryId in interface AssetEntryModelentryId - the entry ID of this asset entrypublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<AssetEntry>setExpandoBridgeAttributes in interface AssetEntryModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<AssetEntry>setExpandoBridgeAttributes in interface AssetEntryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<AssetEntry>setExpandoBridgeAttributes in interface AssetEntryModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setExpirationDate(java.util.Date expirationDate)
setExpirationDate in interface AssetEntryModelexpirationDate - the expiration date of this asset entrypublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface AssetEntryModelgroupId - the group ID of this asset entrypublic void setHeight(int height)
setHeight in interface AssetEntryModelheight - the height of this asset entrypublic void setLayoutUuid(java.lang.String layoutUuid)
setLayoutUuid in interface AssetEntryModellayoutUuid - the layout uuid of this asset entrypublic void setListable(boolean listable)
setListable in interface AssetEntryModellistable - the listable of this asset entrypublic void setMimeType(java.lang.String mimeType)
setMimeType in interface AssetEntryModelmimeType - the mime type of this asset entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface AssetEntryModelmodifiedDate - the modified date of this asset entrypublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<AssetEntry>setNew in interface AssetEntryModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AssetEntryModelprimaryKey - the primary key of this asset entrypublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<AssetEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface AssetEntryModelprimaryKeyObj - the primary key of this model instancepublic void setPriority(double priority)
setPriority in interface AssetEntryModelpriority - the priority of this asset entrypublic void setPublishDate(java.util.Date publishDate)
setPublishDate in interface AssetEntryModelpublishDate - the publish date of this asset entrypublic void setStartDate(java.util.Date startDate)
setStartDate in interface AssetEntryModelstartDate - the start date of this asset entrypublic void setSummary(java.lang.String summary)
setSummary in interface AssetEntryModelsummary - the summary of this asset entrypublic void setSummary(java.lang.String summary,
java.util.Locale locale)
setSummary in interface AssetEntryModelsummary - the localized summary of this asset entrylocale - the locale of the languagepublic void setSummary(java.lang.String summary,
java.util.Locale locale,
java.util.Locale defaultLocale)
setSummary in interface AssetEntryModelsummary - the localized summary of this asset entrylocale - the locale of the languagedefaultLocale - the default localepublic void setSummaryCurrentLanguageId(java.lang.String languageId)
setSummaryCurrentLanguageId in interface AssetEntryModelpublic void setSummaryMap(java.util.Map<java.util.Locale,java.lang.String> summaryMap)
setSummaryMap in interface AssetEntryModelsummaryMap - the locales and localized summaries of this asset entrypublic void setSummaryMap(java.util.Map<java.util.Locale,java.lang.String> summaryMap,
java.util.Locale defaultLocale)
setSummaryMap in interface AssetEntryModelsummaryMap - the locales and localized summaries of this asset entrydefaultLocale - the default localepublic void setTitle(java.lang.String title)
setTitle in interface AssetEntryModeltitle - the title of this asset entrypublic void setTitle(java.lang.String title,
java.util.Locale locale)
setTitle in interface AssetEntryModeltitle - the localized title of this asset entrylocale - the locale of the languagepublic void setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
setTitle in interface AssetEntryModeltitle - the localized title of this asset entrylocale - the locale of the languagedefaultLocale - the default localepublic void setTitleCurrentLanguageId(java.lang.String languageId)
setTitleCurrentLanguageId in interface AssetEntryModelpublic void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
setTitleMap in interface AssetEntryModeltitleMap - the locales and localized titles of this asset entrypublic void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale)
setTitleMap in interface AssetEntryModeltitleMap - the locales and localized titles of this asset entrydefaultLocale - the default localepublic void setUrl(java.lang.String url)
setUrl in interface AssetEntryModelurl - the url of this asset entrypublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface AssetEntryModeluserId - the user ID of this asset entrypublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface AssetEntryModeluserName - the user name of this asset entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface AssetEntryModeluserUuid - the user uuid of this asset entrypublic void setViewCount(int viewCount)
setViewCount in interface AssetEntryModelviewCount - the view count of this asset entrypublic void setVisible(boolean visible)
setVisible in interface AssetEntryModelvisible - the visible of this asset entrypublic void setWidth(int width)
setWidth in interface AssetEntryModelwidth - the width of this asset entrypublic CacheModel<AssetEntry> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<AssetEntry>toCacheModel in interface AssetEntryModelpublic AssetEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<AssetEntry>toEscapedModel in interface AssetEntryModelAutoEscapeBeanHandlerpublic java.lang.String toString()
toString in interface AssetEntryModeltoString in class java.lang.Objectpublic AssetEntry toUnescapedModel()
toUnescapedModel in interface BaseModel<AssetEntry>toUnescapedModel in interface AssetEntryModelpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<AssetEntry>toXmlString in interface AssetEntryModelpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic AssetEntry getWrappedModel()
getWrappedModel in interface ModelWrapper<AssetEntry>public boolean isEntityCacheEnabled()
BaseModeltrue 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()
BaseModeltrue 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()
BaseModelresetOriginalValues in interface BaseModel<AssetEntry>