@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 p k 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 p k 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 ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<AssetEntry>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<AssetEntry>public AssetEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface AssetEntryModeltoEscapedModel in interface BaseModel<AssetEntry>AutoEscapeBeanHandlerpublic AssetEntry toUnescapedModel()
toUnescapedModel in interface AssetEntryModeltoUnescapedModel in interface BaseModel<AssetEntry>public AssetRenderer<?> getAssetRenderer()
getAssetRenderer in interface AssetEntrypublic AssetRendererFactory<?> getAssetRendererFactory()
getAssetRendererFactory in interface AssetEntrypublic boolean getListable()
getListable in interface AssetEntryModelpublic boolean getVisible()
getVisible in interface AssetEntryModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface AssetEntryModelisCachedModel in interface BaseModel<AssetEntry>true 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 AssetEntryModelisEscapedModel 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 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 AssetEntryModelisNew 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 AssetEntryModeltrue if this asset entry is visible; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface AssetEntryModelgetExpandoBridge in interface BaseModel<AssetEntry>getExpandoBridge in interface ClassedModelpublic CacheModel<AssetEntry> toCacheModel()
BaseModeltoCacheModel in interface AssetEntryModeltoCacheModel in interface BaseModel<AssetEntry>public double getPriority()
getPriority in interface AssetEntryModelpublic int compareTo(AssetEntry assetEntry)
compareTo in interface AssetEntryModelcompareTo in interface Comparable<AssetEntry>public int getHeight()
getHeight in interface AssetEntryModelpublic int getViewCount()
getViewCount in interface AssetEntryModelpublic int getWidth()
getWidth in interface AssetEntryModelpublic int hashCode()
hashCode in interface AssetEntryModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface AssetEntryModelgetPrimaryKeyObj in interface BaseModel<AssetEntry>getPrimaryKeyObj in interface ClassedModelpublic Object clone()
BaseModelclone in interface AssetEntryModelclone in interface BaseModel<AssetEntry>clone in class Objectpublic String getClassName()
getClassName in interface AssetEntryModelgetClassName in interface TypedModelpublic String getClassUuid()
getClassUuid in interface AssetEntryModelpublic String getDefaultLanguageId()
getDefaultLanguageId in interface AssetEntryModelgetDefaultLanguageId in interface LocalizedModelpublic String getDescription()
getDescription in interface AssetEntryModelpublic String getDescription(String languageId)
getDescription in interface AssetEntryModellanguageId - the ID of the languagepublic String getDescription(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 String getDescription(Locale locale)
getDescription in interface AssetEntryModellocale - the locale of the languagepublic String getDescription(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 String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface AssetEntryModelpublic String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface AssetEntryModelpublic String getLayoutUuid()
getLayoutUuid in interface AssetEntryModelpublic String getMimeType()
getMimeType in interface AssetEntryModelpublic String getSummary()
getSummary in interface AssetEntryModelpublic String getSummary(String languageId)
getSummary in interface AssetEntryModellanguageId - the ID of the languagepublic String getSummary(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 String getSummary(Locale locale)
getSummary in interface AssetEntryModellocale - the locale of the languagepublic String getSummary(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 String getSummaryCurrentLanguageId()
getSummaryCurrentLanguageId in interface AssetEntryModelpublic String getSummaryCurrentValue()
getSummaryCurrentValue in interface AssetEntryModelpublic String getTitle()
getTitle in interface AssetEntryModelpublic String getTitle(String languageId)
getTitle in interface AssetEntryModellanguageId - the ID of the languagepublic String getTitle(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 String getTitle(Locale locale)
getTitle in interface AssetEntryModellocale - the locale of the languagepublic String getTitle(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 String getTitleCurrentLanguageId()
getTitleCurrentLanguageId in interface AssetEntryModelpublic String getTitleCurrentValue()
getTitleCurrentValue in interface AssetEntryModelpublic String getUrl()
getUrl in interface AssetEntryModelpublic String getUserName()
getUserName in interface AssetEntryModelgetUserName in interface AuditedModelpublic String getUserUuid()
getUserUuid in interface AssetEntryModelgetUserUuid in interface AuditedModelpublic String toString()
toString in interface AssetEntryModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface AssetEntryModeltoXmlString in interface BaseModel<AssetEntry>public String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface AssetEntryModelgetAvailableLanguageIds in interface LocalizedModelpublic String[] getTagNames()
getTagNames in interface AssetEntrypublic Date getCreateDate()
getCreateDate in interface AssetEntryModelgetCreateDate in interface AuditedModelpublic Date getEndDate()
getEndDate in interface AssetEntryModelpublic Date getExpirationDate()
getExpirationDate in interface AssetEntryModelpublic Date getModifiedDate()
getModifiedDate in interface AssetEntryModelgetModifiedDate in interface AuditedModelpublic Date getPublishDate()
getPublishDate in interface AssetEntryModelpublic Date getStartDate()
getStartDate in interface AssetEntryModelpublic List<AssetCategory> getCategories()
getCategories in interface AssetEntrypublic List<AssetTag> getTags()
getTags in interface AssetEntrypublic Map<Locale,String> getDescriptionMap()
getDescriptionMap in interface AssetEntryModelpublic Map<Locale,String> getSummaryMap()
getSummaryMap in interface AssetEntryModelpublic Map<Locale,String> getTitleMap()
getTitleMap in interface AssetEntryModelpublic long getClassNameId()
getClassNameId in interface AssetEntryModelgetClassNameId in interface TypedModelpublic long getClassPK()
getClassPK in interface AssetEntryModelgetClassPK in interface AttachedModelpublic long getClassTypeId()
getClassTypeId in interface AssetEntryModelpublic long getCompanyId()
getCompanyId in interface AssetEntryModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelpublic long getEntryId()
getEntryId in interface AssetEntryModelpublic long getGroupId()
getGroupId in interface AssetEntryModelgetGroupId in interface GroupedModelpublic long getPrimaryKey()
getPrimaryKey in interface AssetEntryModelpublic long getUserId()
getUserId in interface AssetEntryModelgetUserId in interface AuditedModelpublic long[] getCategoryIds()
getCategoryIds in interface AssetEntrypublic void persist()
PersistedModelpersist in interface PersistedModelpublic void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface AssetEntryModelprepareLocalizedFieldsForImport in interface LocalizedModelLocaleExceptionpublic void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport in interface AssetEntryModelprepareLocalizedFieldsForImport in interface LocalizedModelLocaleExceptionpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface AssetEntryModelsetCachedModel in interface BaseModel<AssetEntry>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface AssetEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface AssetEntryModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this asset entrypublic void setClassPK(long classPK)
setClassPK in interface AssetEntryModelsetClassPK in interface AttachedModelclassPK - 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(String classUuid)
setClassUuid in interface AssetEntryModelclassUuid - the class uuid of this asset entrypublic void setCompanyId(long companyId)
setCompanyId in interface AssetEntryModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this asset entrypublic void setCreateDate(Date createDate)
setCreateDate in interface AssetEntryModelsetCreateDate in interface AuditedModelcreateDate - the create date of this asset entrypublic void setDescription(String description)
setDescription in interface AssetEntryModeldescription - the description of this asset entrypublic void setDescription(String description, Locale locale)
setDescription in interface AssetEntryModeldescription - the localized description of this asset entrylocale - the locale of the languagepublic void setDescription(String description, Locale locale, Locale defaultLocale)
setDescription in interface AssetEntryModeldescription - the localized description of this asset entrylocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId in interface AssetEntryModelpublic void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap in interface AssetEntryModeldescriptionMap - the locales and localized descriptions of this asset entrypublic void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
setDescriptionMap in interface AssetEntryModeldescriptionMap - the locales and localized descriptions of this asset entrydefaultLocale - the default localepublic void setEndDate(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(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface AssetEntryModelsetExpandoBridgeAttributes in interface BaseModel<AssetEntry>public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface AssetEntryModelsetExpandoBridgeAttributes in interface BaseModel<AssetEntry>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface AssetEntryModelsetExpandoBridgeAttributes in interface BaseModel<AssetEntry>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setExpirationDate(Date expirationDate)
setExpirationDate in interface AssetEntryModelexpirationDate - the expiration date of this asset entrypublic void setGroupId(long groupId)
setGroupId in interface AssetEntryModelsetGroupId in interface GroupedModelgroupId - the group ID of this asset entrypublic void setHeight(int height)
setHeight in interface AssetEntryModelheight - the height of this asset entrypublic void setLayoutUuid(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(String mimeType)
setMimeType in interface AssetEntryModelmimeType - the mime type of this asset entrypublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AssetEntryModelsetModifiedDate in interface AuditedModelmodifiedDate - the modified date of this asset entrypublic void setNew(boolean n)
BaseModelsetNew in interface AssetEntryModelsetNew in interface BaseModel<AssetEntry>n - 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(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface AssetEntryModelsetPrimaryKeyObj in interface BaseModel<AssetEntry>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic void setPriority(double priority)
setPriority in interface AssetEntryModelpriority - the priority of this asset entrypublic void setPublishDate(Date publishDate)
setPublishDate in interface AssetEntryModelpublishDate - the publish date of this asset entrypublic void setStartDate(Date startDate)
setStartDate in interface AssetEntryModelstartDate - the start date of this asset entrypublic void setSummary(String summary)
setSummary in interface AssetEntryModelsummary - the summary of this asset entrypublic void setSummary(String summary, Locale locale)
setSummary in interface AssetEntryModelsummary - the localized summary of this asset entrylocale - the locale of the languagepublic void setSummary(String summary, Locale locale, Locale defaultLocale)
setSummary in interface AssetEntryModelsummary - the localized summary of this asset entrylocale - the locale of the languagedefaultLocale - the default localepublic void setSummaryCurrentLanguageId(String languageId)
setSummaryCurrentLanguageId in interface AssetEntryModelpublic void setSummaryMap(Map<Locale,String> summaryMap)
setSummaryMap in interface AssetEntryModelsummaryMap - the locales and localized summaries of this asset entrypublic void setSummaryMap(Map<Locale,String> summaryMap, Locale defaultLocale)
setSummaryMap in interface AssetEntryModelsummaryMap - the locales and localized summaries of this asset entrydefaultLocale - the default localepublic void setTitle(String title)
setTitle in interface AssetEntryModeltitle - the title of this asset entrypublic void setTitle(String title, Locale locale)
setTitle in interface AssetEntryModeltitle - the localized title of this asset entrylocale - the locale of the languagepublic void setTitle(String title, Locale locale, Locale defaultLocale)
setTitle in interface AssetEntryModeltitle - the localized title of this asset entrylocale - the locale of the languagedefaultLocale - the default localepublic void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId in interface AssetEntryModelpublic void setTitleMap(Map<Locale,String> titleMap)
setTitleMap in interface AssetEntryModeltitleMap - the locales and localized titles of this asset entrypublic void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
setTitleMap in interface AssetEntryModeltitleMap - the locales and localized titles of this asset entrydefaultLocale - the default localepublic void setUrl(String url)
setUrl in interface AssetEntryModelurl - the url of this asset entrypublic void setUserId(long userId)
setUserId in interface AssetEntryModelsetUserId in interface AuditedModeluserId - the user ID of this asset entrypublic void setUserName(String userName)
setUserName in interface AssetEntryModelsetUserName in interface AuditedModeluserName - the user name of this asset entrypublic void setUserUuid(String userUuid)
setUserUuid in interface AssetEntryModelsetUserUuid in interface AuditedModeluserUuid - 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 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>