Class SegmentsExperienceWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SegmentsExperience>
com.liferay.segments.model.SegmentsExperienceWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<SegmentsExperience>, com.liferay.portal.kernel.model.change.tracking.CTModel<SegmentsExperience>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<SegmentsExperience>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, SegmentsExperience, SegmentsExperienceModel, Serializable, Cloneable, Comparable<SegmentsExperience>

public class SegmentsExperienceWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SegmentsExperience> implements com.liferay.portal.kernel.model.ModelWrapper<SegmentsExperience>, SegmentsExperience

This class is a wrapper for SegmentsExperience.

See Also:
Generated:
  • Constructor Details

    • SegmentsExperienceWrapper

      public SegmentsExperienceWrapper(SegmentsExperience segmentsExperience)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<SegmentsExperience>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<SegmentsExperience>
    • cloneWithOriginalValues

      public SegmentsExperience cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<SegmentsExperience>
      Specified by:
      cloneWithOriginalValues in interface SegmentsExperienceModel
    • getActive

      public boolean getActive()
      Returns the active of this segments experience.
      Specified by:
      getActive in interface SegmentsExperienceModel
      Returns:
      the active of this segments experience
    • getAvailableLanguageIds

      public String[] getAvailableLanguageIds()
      Specified by:
      getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModel
      Specified by:
      getAvailableLanguageIds in interface SegmentsExperienceModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this segments experience.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface SegmentsExperienceModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this segments experience
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this segments experience.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface SegmentsExperienceModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this segments experience
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this segments experience.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<SegmentsExperience>
      Specified by:
      getCtCollectionId in interface SegmentsExperienceModel
      Returns:
      the ct collection ID of this segments experience
    • getDefaultLanguageId

      public String getDefaultLanguageId()
      Specified by:
      getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModel
      Specified by:
      getDefaultLanguageId in interface SegmentsExperienceModel
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this segments experience.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      getExternalReferenceCode in interface SegmentsExperienceModel
      Returns:
      the external reference code of this segments experience
    • getGroupId

      public long getGroupId()
      Returns the group ID of this segments experience.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      getGroupId in interface SegmentsExperienceModel
      Returns:
      the group ID of this segments experience
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this segments experience.
      Specified by:
      getLastPublishDate in interface SegmentsExperienceModel
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this segments experience
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this segments experience.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface SegmentsExperienceModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this segments experience
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this segments experience.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface SegmentsExperienceModel
      Returns:
      the mvcc version of this segments experience
    • getName

      public String getName()
      Returns the name of this segments experience.
      Specified by:
      getName in interface SegmentsExperienceModel
      Returns:
      the name of this segments experience
    • getName

      public String getName(Locale locale)
      Returns the localized name of this segments experience in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getName in interface SegmentsExperienceModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized name of this segments experience
    • getName

      public String getName(Locale locale, boolean useDefault)
      Returns the localized name of this segments experience in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getName in interface SegmentsExperienceModel
      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 name of this segments experience. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getName

      public String getName(String languageId)
      Returns the localized name of this segments experience in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getName in interface SegmentsExperienceModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized name of this segments experience
    • getName

      public String getName(String languageId, boolean useDefault)
      Returns the localized name of this segments experience in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getName in interface SegmentsExperienceModel
      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 name of this segments experience
    • getNameCurrentLanguageId

      public String getNameCurrentLanguageId()
      Specified by:
      getNameCurrentLanguageId in interface SegmentsExperienceModel
    • getNameCurrentValue

      public String getNameCurrentValue()
      Specified by:
      getNameCurrentValue in interface SegmentsExperienceModel
    • getNameMap

      public Map<Locale,String> getNameMap()
      Returns a map of the locales and localized names of this segments experience.
      Specified by:
      getNameMap in interface SegmentsExperienceModel
      Returns:
      the locales and localized names of this segments experience
    • getPlid

      public long getPlid()
      Returns the plid of this segments experience.
      Specified by:
      getPlid in interface SegmentsExperienceModel
      Returns:
      the plid of this segments experience
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this segments experience.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<SegmentsExperience>
      Specified by:
      getPrimaryKey in interface SegmentsExperienceModel
      Returns:
      the primary key of this segments experience
    • getPriority

      public int getPriority()
      Returns the priority of this segments experience.
      Specified by:
      getPriority in interface SegmentsExperienceModel
      Returns:
      the priority of this segments experience
    • getSegmentsEntryId

      public long getSegmentsEntryId()
      Returns the segments entry ID of this segments experience.
      Specified by:
      getSegmentsEntryId in interface SegmentsExperienceModel
      Returns:
      the segments entry ID of this segments experience
    • getSegmentsExperienceId

      public long getSegmentsExperienceId()
      Returns the segments experience ID of this segments experience.
      Specified by:
      getSegmentsExperienceId in interface SegmentsExperienceModel
      Returns:
      the segments experience ID of this segments experience
    • getSegmentsExperienceKey

      public String getSegmentsExperienceKey()
      Returns the segments experience key of this segments experience.
      Specified by:
      getSegmentsExperienceKey in interface SegmentsExperienceModel
      Returns:
      the segments experience key of this segments experience
    • getTypeSettings

      public String getTypeSettings()
      Returns the type settings of this segments experience.
      Specified by:
      getTypeSettings in interface SegmentsExperienceModel
      Returns:
      the type settings of this segments experience
    • getTypeSettingsUnicodeProperties

      public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsUnicodeProperties()
      Specified by:
      getTypeSettingsUnicodeProperties in interface SegmentsExperience
    • getUserId

      public long getUserId()
      Returns the user ID of this segments experience.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface SegmentsExperienceModel
      Returns:
      the user ID of this segments experience
    • getUserName

      public String getUserName()
      Returns the user name of this segments experience.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface SegmentsExperienceModel
      Returns:
      the user name of this segments experience
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this segments experience.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface SegmentsExperienceModel
      Returns:
      the user uuid of this segments experience
    • getUuid

      public String getUuid()
      Returns the uuid of this segments experience.
      Specified by:
      getUuid in interface SegmentsExperienceModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this segments experience
    • hasSegmentsExperiment

      public boolean hasSegmentsExperiment()
      Specified by:
      hasSegmentsExperiment in interface SegmentsExperience
    • isActive

      public boolean isActive()
      Returns true if this segments experience is active.
      Specified by:
      isActive in interface SegmentsExperienceModel
      Returns:
      true if this segments experience is active; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • prepareLocalizedFieldsForImport

      public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Specified by:
      prepareLocalizedFieldsForImport in interface SegmentsExperienceModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • prepareLocalizedFieldsForImport

      public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Specified by:
      prepareLocalizedFieldsForImport in interface SegmentsExperienceModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • setActive

      public void setActive(boolean active)
      Sets whether this segments experience is active.
      Specified by:
      setActive in interface SegmentsExperienceModel
      Parameters:
      active - the active of this segments experience
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this segments experience.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface SegmentsExperienceModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this segments experience
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this segments experience.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface SegmentsExperienceModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this segments experience
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this segments experience.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<SegmentsExperience>
      Specified by:
      setCtCollectionId in interface SegmentsExperienceModel
      Parameters:
      ctCollectionId - the ct collection ID of this segments experience
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this segments experience.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      setExternalReferenceCode in interface SegmentsExperienceModel
      Parameters:
      externalReferenceCode - the external reference code of this segments experience
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this segments experience.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      setGroupId in interface SegmentsExperienceModel
      Parameters:
      groupId - the group ID of this segments experience
    • setLastPublishDate

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this segments experience.
      Specified by:
      setLastPublishDate in interface SegmentsExperienceModel
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this segments experience
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this segments experience.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface SegmentsExperienceModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this segments experience
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this segments experience.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface SegmentsExperienceModel
      Parameters:
      mvccVersion - the mvcc version of this segments experience
    • setName

      public void setName(String name)
      Sets the name of this segments experience.
      Specified by:
      setName in interface SegmentsExperienceModel
      Parameters:
      name - the name of this segments experience
    • setName

      public void setName(String name, Locale locale)
      Sets the localized name of this segments experience in the language.
      Specified by:
      setName in interface SegmentsExperienceModel
      Parameters:
      name - the localized name of this segments experience
      locale - the locale of the language
    • setName

      public void setName(String name, Locale locale, Locale defaultLocale)
      Sets the localized name of this segments experience in the language, and sets the default locale.
      Specified by:
      setName in interface SegmentsExperienceModel
      Parameters:
      name - the localized name of this segments experience
      locale - the locale of the language
      defaultLocale - the default locale
    • setNameCurrentLanguageId

      public void setNameCurrentLanguageId(String languageId)
      Specified by:
      setNameCurrentLanguageId in interface SegmentsExperienceModel
    • setNameMap

      public void setNameMap(Map<Locale,String> nameMap)
      Sets the localized names of this segments experience from the map of locales and localized names.
      Specified by:
      setNameMap in interface SegmentsExperienceModel
      Parameters:
      nameMap - the locales and localized names of this segments experience
    • setNameMap

      public void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
      Sets the localized names of this segments experience from the map of locales and localized names, and sets the default locale.
      Specified by:
      setNameMap in interface SegmentsExperienceModel
      Parameters:
      nameMap - the locales and localized names of this segments experience
      defaultLocale - the default locale
    • setPlid

      public void setPlid(long plid)
      Sets the plid of this segments experience.
      Specified by:
      setPlid in interface SegmentsExperienceModel
      Parameters:
      plid - the plid of this segments experience
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this segments experience.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<SegmentsExperience>
      Specified by:
      setPrimaryKey in interface SegmentsExperienceModel
      Parameters:
      primaryKey - the primary key of this segments experience
    • setPriority

      public void setPriority(int priority)
      Sets the priority of this segments experience.
      Specified by:
      setPriority in interface SegmentsExperienceModel
      Parameters:
      priority - the priority of this segments experience
    • setSegmentsEntryId

      public void setSegmentsEntryId(long segmentsEntryId)
      Sets the segments entry ID of this segments experience.
      Specified by:
      setSegmentsEntryId in interface SegmentsExperienceModel
      Parameters:
      segmentsEntryId - the segments entry ID of this segments experience
    • setSegmentsExperienceId

      public void setSegmentsExperienceId(long segmentsExperienceId)
      Sets the segments experience ID of this segments experience.
      Specified by:
      setSegmentsExperienceId in interface SegmentsExperienceModel
      Parameters:
      segmentsExperienceId - the segments experience ID of this segments experience
    • setSegmentsExperienceKey

      public void setSegmentsExperienceKey(String segmentsExperienceKey)
      Sets the segments experience key of this segments experience.
      Specified by:
      setSegmentsExperienceKey in interface SegmentsExperienceModel
      Parameters:
      segmentsExperienceKey - the segments experience key of this segments experience
    • setTypeSettings

      public void setTypeSettings(String typeSettings)
      Sets the type settings of this segments experience.
      Specified by:
      setTypeSettings in interface SegmentsExperienceModel
      Parameters:
      typeSettings - the type settings of this segments experience
    • setTypeSettingsUnicodeProperties

      public void setTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties)
      Specified by:
      setTypeSettingsUnicodeProperties in interface SegmentsExperience
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this segments experience.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface SegmentsExperienceModel
      Parameters:
      userId - the user ID of this segments experience
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this segments experience.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface SegmentsExperienceModel
      Parameters:
      userName - the user name of this segments experience
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this segments experience.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface SegmentsExperienceModel
      Parameters:
      userUuid - the user uuid of this segments experience
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this segments experience.
      Specified by:
      setUuid in interface SegmentsExperienceModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this segments experience
    • toXmlString

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

      public Map<String,Function<SegmentsExperience,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<SegmentsExperience>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<SegmentsExperience,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<SegmentsExperience>
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected SegmentsExperienceWrapper wrap(SegmentsExperience segmentsExperience)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SegmentsExperience>