Class AssetEntryWrapper

Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AssetEntry>
com.liferay.asset.kernel.model.AssetEntryWrapper
All Implemented Interfaces:
AssetEntry, AssetEntryModel, AttachedModel, AuditedModel, BaseModel<AssetEntry>, CTModel<AssetEntry>, ClassedModel, GroupedModel, LocalizedModel, ModelWrapper<AssetEntry>, MVCCModel, PersistedModel, ShardedModel, TypedModel, Serializable, Cloneable, Comparable<AssetEntry>

public class AssetEntryWrapper extends BaseModelWrapper<AssetEntry> implements AssetEntry, ModelWrapper<AssetEntry>

This class is a wrapper for AssetEntry.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Constructor Details

    • AssetEntryWrapper

      public AssetEntryWrapper(AssetEntry assetEntry)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface BaseModel<AssetEntry>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface BaseModel<AssetEntry>
    • cloneWithOriginalValues

      public AssetEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface AssetEntryModel
      Specified by:
      cloneWithOriginalValues in interface BaseModel<AssetEntry>
    • getAssetRenderer

      public AssetRenderer<?> getAssetRenderer()
      Specified by:
      getAssetRenderer in interface AssetEntry
    • getAssetRendererFactory

      public AssetRendererFactory<?> getAssetRendererFactory()
      Specified by:
      getAssetRendererFactory in interface AssetEntry
    • getAvailableLanguageIds

      public String[] getAvailableLanguageIds()
      Specified by:
      getAvailableLanguageIds in interface AssetEntryModel
      Specified by:
      getAvailableLanguageIds in interface LocalizedModel
    • getCategories

      public List<AssetCategory> getCategories()
      Specified by:
      getCategories in interface AssetEntry
    • getCategoryIds

      public long[] getCategoryIds()
      Specified by:
      getCategoryIds in interface AssetEntry
    • getClassName

      public String getClassName()
      Returns the fully qualified class name of this asset entry.
      Specified by:
      getClassName in interface AssetEntryModel
      Specified by:
      getClassName in interface TypedModel
      Returns:
      the fully qualified class name of this asset entry
    • getClassNameId

      public long getClassNameId()
      Returns the class name ID of this asset entry.
      Specified by:
      getClassNameId in interface AssetEntryModel
      Specified by:
      getClassNameId in interface TypedModel
      Returns:
      the class name ID of this asset entry
    • getClassPK

      public long getClassPK()
      Returns the class pk of this asset entry.
      Specified by:
      getClassPK in interface AssetEntryModel
      Specified by:
      getClassPK in interface AttachedModel
      Returns:
      the class pk of this asset entry
    • getClassTypeId

      public long getClassTypeId()
      Returns the class type ID of this asset entry.
      Specified by:
      getClassTypeId in interface AssetEntryModel
      Returns:
      the class type ID of this asset entry
    • getClassUuid

      public String getClassUuid()
      Returns the class uuid of this asset entry.
      Specified by:
      getClassUuid in interface AssetEntryModel
      Returns:
      the class uuid of this asset entry
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this asset entry.
      Specified by:
      getCompanyId in interface AssetEntryModel
      Specified by:
      getCompanyId in interface AuditedModel
      Specified by:
      getCompanyId in interface ShardedModel
      Returns:
      the company ID of this asset entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this asset entry.
      Specified by:
      getCreateDate in interface AssetEntryModel
      Specified by:
      getCreateDate in interface AuditedModel
      Returns:
      the create date of this asset entry
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this asset entry.
      Specified by:
      getCtCollectionId in interface AssetEntryModel
      Specified by:
      getCtCollectionId in interface CTModel<AssetEntry>
      Returns:
      the ct collection ID of this asset entry
    • getDefaultLanguageId

      public String getDefaultLanguageId()
      Specified by:
      getDefaultLanguageId in interface AssetEntryModel
      Specified by:
      getDefaultLanguageId in interface LocalizedModel
    • getDescription

      public String getDescription()
      Returns the description of this asset entry.
      Specified by:
      getDescription in interface AssetEntryModel
      Returns:
      the description of this asset entry
    • getDescription

      public String getDescription(Locale locale)
      Returns the localized description of this asset entry in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getDescription in interface AssetEntryModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized description of this asset entry
    • getDescription

      public 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.
      Specified by:
      getDescription in interface AssetEntryModel
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized description of this asset entry. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getDescription

      public String getDescription(String languageId)
      Returns the localized description of this asset entry in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getDescription in interface AssetEntryModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized description of this asset entry
    • getDescription

      public 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.
      Specified by:
      getDescription in interface AssetEntryModel
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized description of this asset entry
    • getDescriptionCurrentLanguageId

      public String getDescriptionCurrentLanguageId()
      Specified by:
      getDescriptionCurrentLanguageId in interface AssetEntryModel
    • getDescriptionCurrentValue

      public String getDescriptionCurrentValue()
      Specified by:
      getDescriptionCurrentValue in interface AssetEntryModel
    • getDescriptionMap

      public Map<Locale,String> getDescriptionMap()
      Returns a map of the locales and localized descriptions of this asset entry.
      Specified by:
      getDescriptionMap in interface AssetEntryModel
      Returns:
      the locales and localized descriptions of this asset entry
    • getEndDate

      public Date getEndDate()
      Returns the end date of this asset entry.
      Specified by:
      getEndDate in interface AssetEntryModel
      Returns:
      the end date of this asset entry
    • getEntryId

      public long getEntryId()
      Returns the entry ID of this asset entry.
      Specified by:
      getEntryId in interface AssetEntryModel
      Returns:
      the entry ID of this asset entry
    • getExpirationDate

      public Date getExpirationDate()
      Returns the expiration date of this asset entry.
      Specified by:
      getExpirationDate in interface AssetEntryModel
      Returns:
      the expiration date of this asset entry
    • getGroupId

      public long getGroupId()
      Returns the group ID of this asset entry.
      Specified by:
      getGroupId in interface AssetEntryModel
      Specified by:
      getGroupId in interface GroupedModel
      Returns:
      the group ID of this asset entry
    • getHeight

      public int getHeight()
      Returns the height of this asset entry.
      Specified by:
      getHeight in interface AssetEntryModel
      Returns:
      the height of this asset entry
    • getLayoutUuid

      public String getLayoutUuid()
      Returns the layout uuid of this asset entry.
      Specified by:
      getLayoutUuid in interface AssetEntryModel
      Returns:
      the layout uuid of this asset entry
    • getListable

      public boolean getListable()
      Returns the listable of this asset entry.
      Specified by:
      getListable in interface AssetEntryModel
      Returns:
      the listable of this asset entry
    • getMimeType

      public String getMimeType()
      Returns the mime type of this asset entry.
      Specified by:
      getMimeType in interface AssetEntryModel
      Returns:
      the mime type of this asset entry
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this asset entry.
      Specified by:
      getModifiedDate in interface AssetEntryModel
      Specified by:
      getModifiedDate in interface AuditedModel
      Returns:
      the modified date of this asset entry
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this asset entry.
      Specified by:
      getMvccVersion in interface AssetEntryModel
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this asset entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this asset entry.
      Specified by:
      getPrimaryKey in interface AssetEntryModel
      Specified by:
      getPrimaryKey in interface CTModel<AssetEntry>
      Returns:
      the primary key of this asset entry
    • getPriority

      public double getPriority()
      Returns the priority of this asset entry.
      Specified by:
      getPriority in interface AssetEntryModel
      Returns:
      the priority of this asset entry
    • getPublishDate

      public Date getPublishDate()
      Returns the publish date of this asset entry.
      Specified by:
      getPublishDate in interface AssetEntryModel
      Returns:
      the publish date of this asset entry
    • getStartDate

      public Date getStartDate()
      Returns the start date of this asset entry.
      Specified by:
      getStartDate in interface AssetEntryModel
      Returns:
      the start date of this asset entry
    • getSummary

      public String getSummary()
      Returns the summary of this asset entry.
      Specified by:
      getSummary in interface AssetEntryModel
      Returns:
      the summary of this asset entry
    • getSummary

      public String getSummary(Locale locale)
      Returns the localized summary of this asset entry in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getSummary in interface AssetEntryModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized summary of this asset entry
    • getSummary

      public 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.
      Specified by:
      getSummary in interface AssetEntryModel
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized summary of this asset entry. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getSummary

      public String getSummary(String languageId)
      Returns the localized summary of this asset entry in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getSummary in interface AssetEntryModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized summary of this asset entry
    • getSummary

      public 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.
      Specified by:
      getSummary in interface AssetEntryModel
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized summary of this asset entry
    • getSummaryCurrentLanguageId

      public String getSummaryCurrentLanguageId()
      Specified by:
      getSummaryCurrentLanguageId in interface AssetEntryModel
    • getSummaryCurrentValue

      public String getSummaryCurrentValue()
      Specified by:
      getSummaryCurrentValue in interface AssetEntryModel
    • getSummaryMap

      public Map<Locale,String> getSummaryMap()
      Returns a map of the locales and localized summaries of this asset entry.
      Specified by:
      getSummaryMap in interface AssetEntryModel
      Returns:
      the locales and localized summaries of this asset entry
    • getTagNames

      public String[] getTagNames()
      Specified by:
      getTagNames in interface AssetEntry
    • getTags

      public List<AssetTag> getTags()
      Specified by:
      getTags in interface AssetEntry
    • getTitle

      public String getTitle()
      Returns the title of this asset entry.
      Specified by:
      getTitle in interface AssetEntryModel
      Returns:
      the title of this asset entry
    • getTitle

      public String getTitle(Locale locale)
      Returns the localized title of this asset entry in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getTitle in interface AssetEntryModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized title of this asset entry
    • getTitle

      public 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.
      Specified by:
      getTitle in interface AssetEntryModel
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized title of this asset entry. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getTitle

      public String getTitle(String languageId)
      Returns the localized title of this asset entry in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getTitle in interface AssetEntryModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized title of this asset entry
    • getTitle

      public 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.
      Specified by:
      getTitle in interface AssetEntryModel
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized title of this asset entry
    • getTitleCurrentLanguageId

      public String getTitleCurrentLanguageId()
      Specified by:
      getTitleCurrentLanguageId in interface AssetEntryModel
    • getTitleCurrentValue

      public String getTitleCurrentValue()
      Specified by:
      getTitleCurrentValue in interface AssetEntryModel
    • getTitleMap

      public Map<Locale,String> getTitleMap()
      Returns a map of the locales and localized titles of this asset entry.
      Specified by:
      getTitleMap in interface AssetEntryModel
      Returns:
      the locales and localized titles of this asset entry
    • getUrl

      public String getUrl()
      Returns the url of this asset entry.
      Specified by:
      getUrl in interface AssetEntryModel
      Returns:
      the url of this asset entry
    • getUserId

      public long getUserId()
      Returns the user ID of this asset entry.
      Specified by:
      getUserId in interface AssetEntryModel
      Specified by:
      getUserId in interface AuditedModel
      Returns:
      the user ID of this asset entry
    • getUserName

      public String getUserName()
      Returns the user name of this asset entry.
      Specified by:
      getUserName in interface AssetEntryModel
      Specified by:
      getUserName in interface AuditedModel
      Returns:
      the user name of this asset entry
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this asset entry.
      Specified by:
      getUserUuid in interface AssetEntryModel
      Specified by:
      getUserUuid in interface AuditedModel
      Returns:
      the user uuid of this asset entry
    • getViewCount

      public long getViewCount()
      Specified by:
      getViewCount in interface AssetEntry
    • getVisible

      public boolean getVisible()
      Returns the visible of this asset entry.
      Specified by:
      getVisible in interface AssetEntryModel
      Returns:
      the visible of this asset entry
    • getWidth

      public int getWidth()
      Returns the width of this asset entry.
      Specified by:
      getWidth in interface AssetEntryModel
      Returns:
      the width of this asset entry
    • isListable

      public boolean isListable()
      Returns true if this asset entry is listable.
      Specified by:
      isListable in interface AssetEntryModel
      Returns:
      true if this asset entry is listable; false otherwise
    • isVisible

      public boolean isVisible()
      Returns true if this asset entry is visible.
      Specified by:
      isVisible in interface AssetEntryModel
      Returns:
      true if this asset entry is visible; false otherwise
    • persist

      public void persist()
      Description copied from interface: PersistedModel
      Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
      Specified by:
      persist in interface PersistedModel
    • prepareLocalizedFieldsForImport

      public void prepareLocalizedFieldsForImport() throws LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface AssetEntryModel
      Specified by:
      prepareLocalizedFieldsForImport in interface LocalizedModel
      Throws:
      LocaleException
    • prepareLocalizedFieldsForImport

      public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface AssetEntryModel
      Specified by:
      prepareLocalizedFieldsForImport in interface LocalizedModel
      Throws:
      LocaleException
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface AssetEntryModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Sets the class name ID of this asset entry.
      Specified by:
      setClassNameId in interface AssetEntryModel
      Specified by:
      setClassNameId in interface TypedModel
      Parameters:
      classNameId - the class name ID of this asset entry
    • setClassPK

      public void setClassPK(long classPK)
      Sets the class pk of this asset entry.
      Specified by:
      setClassPK in interface AssetEntryModel
      Specified by:
      setClassPK in interface AttachedModel
      Parameters:
      classPK - the class pk of this asset entry
    • setClassTypeId

      public void setClassTypeId(long classTypeId)
      Sets the class type ID of this asset entry.
      Specified by:
      setClassTypeId in interface AssetEntryModel
      Parameters:
      classTypeId - the class type ID of this asset entry
    • setClassUuid

      public void setClassUuid(String classUuid)
      Sets the class uuid of this asset entry.
      Specified by:
      setClassUuid in interface AssetEntryModel
      Parameters:
      classUuid - the class uuid of this asset entry
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this asset entry.
      Specified by:
      setCompanyId in interface AssetEntryModel
      Specified by:
      setCompanyId in interface AuditedModel
      Specified by:
      setCompanyId in interface ShardedModel
      Parameters:
      companyId - the company ID of this asset entry
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this asset entry.
      Specified by:
      setCreateDate in interface AssetEntryModel
      Specified by:
      setCreateDate in interface AuditedModel
      Parameters:
      createDate - the create date of this asset entry
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this asset entry.
      Specified by:
      setCtCollectionId in interface AssetEntryModel
      Specified by:
      setCtCollectionId in interface CTModel<AssetEntry>
      Parameters:
      ctCollectionId - the ct collection ID of this asset entry
    • setDescription

      public void setDescription(String description)
      Sets the description of this asset entry.
      Specified by:
      setDescription in interface AssetEntryModel
      Parameters:
      description - the description of this asset entry
    • setDescription

      public void setDescription(String description, Locale locale)
      Sets the localized description of this asset entry in the language.
      Specified by:
      setDescription in interface AssetEntryModel
      Parameters:
      description - the localized description of this asset entry
      locale - the locale of the language
    • setDescription

      public void setDescription(String description, Locale locale, Locale defaultLocale)
      Sets the localized description of this asset entry in the language, and sets the default locale.
      Specified by:
      setDescription in interface AssetEntryModel
      Parameters:
      description - the localized description of this asset entry
      locale - the locale of the language
      defaultLocale - the default locale
    • setDescriptionCurrentLanguageId

      public void setDescriptionCurrentLanguageId(String languageId)
      Specified by:
      setDescriptionCurrentLanguageId in interface AssetEntryModel
    • setDescriptionMap

      public void setDescriptionMap(Map<Locale,String> descriptionMap)
      Sets the localized descriptions of this asset entry from the map of locales and localized descriptions.
      Specified by:
      setDescriptionMap in interface AssetEntryModel
      Parameters:
      descriptionMap - the locales and localized descriptions of this asset entry
    • setDescriptionMap

      public 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.
      Specified by:
      setDescriptionMap in interface AssetEntryModel
      Parameters:
      descriptionMap - the locales and localized descriptions of this asset entry
      defaultLocale - the default locale
    • setEndDate

      public void setEndDate(Date endDate)
      Sets the end date of this asset entry.
      Specified by:
      setEndDate in interface AssetEntryModel
      Parameters:
      endDate - the end date of this asset entry
    • setEntryId

      public void setEntryId(long entryId)
      Sets the entry ID of this asset entry.
      Specified by:
      setEntryId in interface AssetEntryModel
      Parameters:
      entryId - the entry ID of this asset entry
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
      Sets the expiration date of this asset entry.
      Specified by:
      setExpirationDate in interface AssetEntryModel
      Parameters:
      expirationDate - the expiration date of this asset entry
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this asset entry.
      Specified by:
      setGroupId in interface AssetEntryModel
      Specified by:
      setGroupId in interface GroupedModel
      Parameters:
      groupId - the group ID of this asset entry
    • setHeight

      public void setHeight(int height)
      Sets the height of this asset entry.
      Specified by:
      setHeight in interface AssetEntryModel
      Parameters:
      height - the height of this asset entry
    • setLayoutUuid

      public void setLayoutUuid(String layoutUuid)
      Sets the layout uuid of this asset entry.
      Specified by:
      setLayoutUuid in interface AssetEntryModel
      Parameters:
      layoutUuid - the layout uuid of this asset entry
    • setListable

      public void setListable(boolean listable)
      Sets whether this asset entry is listable.
      Specified by:
      setListable in interface AssetEntryModel
      Parameters:
      listable - the listable of this asset entry
    • setMimeType

      public void setMimeType(String mimeType)
      Sets the mime type of this asset entry.
      Specified by:
      setMimeType in interface AssetEntryModel
      Parameters:
      mimeType - the mime type of this asset entry
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this asset entry.
      Specified by:
      setModifiedDate in interface AssetEntryModel
      Specified by:
      setModifiedDate in interface AuditedModel
      Parameters:
      modifiedDate - the modified date of this asset entry
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this asset entry.
      Specified by:
      setMvccVersion in interface AssetEntryModel
      Specified by:
      setMvccVersion in interface MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this asset entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this asset entry.
      Specified by:
      setPrimaryKey in interface AssetEntryModel
      Specified by:
      setPrimaryKey in interface CTModel<AssetEntry>
      Parameters:
      primaryKey - the primary key of this asset entry
    • setPriority

      public void setPriority(double priority)
      Sets the priority of this asset entry.
      Specified by:
      setPriority in interface AssetEntryModel
      Parameters:
      priority - the priority of this asset entry
    • setPublishDate

      public void setPublishDate(Date publishDate)
      Sets the publish date of this asset entry.
      Specified by:
      setPublishDate in interface AssetEntryModel
      Parameters:
      publishDate - the publish date of this asset entry
    • setStartDate

      public void setStartDate(Date startDate)
      Sets the start date of this asset entry.
      Specified by:
      setStartDate in interface AssetEntryModel
      Parameters:
      startDate - the start date of this asset entry
    • setSummary

      public void setSummary(String summary)
      Sets the summary of this asset entry.
      Specified by:
      setSummary in interface AssetEntryModel
      Parameters:
      summary - the summary of this asset entry
    • setSummary

      public void setSummary(String summary, Locale locale)
      Sets the localized summary of this asset entry in the language.
      Specified by:
      setSummary in interface AssetEntryModel
      Parameters:
      summary - the localized summary of this asset entry
      locale - the locale of the language
    • setSummary

      public void setSummary(String summary, Locale locale, Locale defaultLocale)
      Sets the localized summary of this asset entry in the language, and sets the default locale.
      Specified by:
      setSummary in interface AssetEntryModel
      Parameters:
      summary - the localized summary of this asset entry
      locale - the locale of the language
      defaultLocale - the default locale
    • setSummaryCurrentLanguageId

      public void setSummaryCurrentLanguageId(String languageId)
      Specified by:
      setSummaryCurrentLanguageId in interface AssetEntryModel
    • setSummaryMap

      public void setSummaryMap(Map<Locale,String> summaryMap)
      Sets the localized summaries of this asset entry from the map of locales and localized summaries.
      Specified by:
      setSummaryMap in interface AssetEntryModel
      Parameters:
      summaryMap - the locales and localized summaries of this asset entry
    • setSummaryMap

      public 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.
      Specified by:
      setSummaryMap in interface AssetEntryModel
      Parameters:
      summaryMap - the locales and localized summaries of this asset entry
      defaultLocale - the default locale
    • setTitle

      public void setTitle(String title)
      Sets the title of this asset entry.
      Specified by:
      setTitle in interface AssetEntryModel
      Parameters:
      title - the title of this asset entry
    • setTitle

      public void setTitle(String title, Locale locale)
      Sets the localized title of this asset entry in the language.
      Specified by:
      setTitle in interface AssetEntryModel
      Parameters:
      title - the localized title of this asset entry
      locale - the locale of the language
    • setTitle

      public void setTitle(String title, Locale locale, Locale defaultLocale)
      Sets the localized title of this asset entry in the language, and sets the default locale.
      Specified by:
      setTitle in interface AssetEntryModel
      Parameters:
      title - the localized title of this asset entry
      locale - the locale of the language
      defaultLocale - the default locale
    • setTitleCurrentLanguageId

      public void setTitleCurrentLanguageId(String languageId)
      Specified by:
      setTitleCurrentLanguageId in interface AssetEntryModel
    • setTitleMap

      public void setTitleMap(Map<Locale,String> titleMap)
      Sets the localized titles of this asset entry from the map of locales and localized titles.
      Specified by:
      setTitleMap in interface AssetEntryModel
      Parameters:
      titleMap - the locales and localized titles of this asset entry
    • setTitleMap

      public 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.
      Specified by:
      setTitleMap in interface AssetEntryModel
      Parameters:
      titleMap - the locales and localized titles of this asset entry
      defaultLocale - the default locale
    • setUrl

      public void setUrl(String url)
      Sets the url of this asset entry.
      Specified by:
      setUrl in interface AssetEntryModel
      Parameters:
      url - the url of this asset entry
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this asset entry.
      Specified by:
      setUserId in interface AssetEntryModel
      Specified by:
      setUserId in interface AuditedModel
      Parameters:
      userId - the user ID of this asset entry
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this asset entry.
      Specified by:
      setUserName in interface AssetEntryModel
      Specified by:
      setUserName in interface AuditedModel
      Parameters:
      userName - the user name of this asset entry
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this asset entry.
      Specified by:
      setUserUuid in interface AssetEntryModel
      Specified by:
      setUserUuid in interface AuditedModel
      Parameters:
      userUuid - the user uuid of this asset entry
    • setVisible

      public void setVisible(boolean visible)
      Sets whether this asset entry is visible.
      Specified by:
      setVisible in interface AssetEntryModel
      Parameters:
      visible - the visible of this asset entry
    • setWidth

      public void setWidth(int width)
      Sets the width of this asset entry.
      Specified by:
      setWidth in interface AssetEntryModel
      Parameters:
      width - the width of this asset entry
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface AssetEntryModel
    • getAttributeGetterFunctions

      public Map<String,Function<AssetEntry,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface BaseModel<AssetEntry>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<AssetEntry,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface BaseModel<AssetEntry>
    • wrap

      protected AssetEntryWrapper wrap(AssetEntry assetEntry)
      Specified by:
      wrap in class BaseModelWrapper<AssetEntry>