Class CommerceShippingMethodWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceShippingMethod>
com.liferay.commerce.model.CommerceShippingMethodWrapper
All Implemented Interfaces:
CommerceShippingMethod, CommerceShippingMethodModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceShippingMethod>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<CommerceShippingMethod>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<CommerceShippingMethod>

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

This class is a wrapper for CommerceShippingMethod.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.commerce.model.CommerceShippingMethod

    COMMERCE_SHIPPING_METHOD_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    Returns the active of this commerce shipping method.
     
    long
    Returns the commerce shipping method ID of this commerce shipping method.
    long
    Returns the company ID of this commerce shipping method.
    Returns the create date of this commerce shipping method.
     
    Returns the description of this commerce shipping method.
    getDescription(String languageId)
    Returns the localized description of this commerce shipping method in the language.
    getDescription(String languageId, boolean useDefault)
    Returns the localized description of this commerce shipping method in the language, optionally using the default language if no localization exists for the requested language.
    Returns the localized description of this commerce shipping method in the language.
    getDescription(Locale locale, boolean useDefault)
    Returns the localized description of this commerce shipping method in the language, optionally using the default language if no localization exists for the requested language.
     
     
    Returns a map of the locales and localized descriptions of this commerce shipping method.
    Returns the engine key of this commerce shipping method.
    long
    Returns the group ID of this commerce shipping method.
    long
    Returns the image ID of this commerce shipping method.
    getImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
     
     
    Returns the modified date of this commerce shipping method.
    long
    Returns the mvcc version of this commerce shipping method.
    Returns the name of this commerce shipping method.
    getName(String languageId)
    Returns the localized name of this commerce shipping method in the language.
    getName(String languageId, boolean useDefault)
    Returns the localized name of this commerce shipping method in the language, optionally using the default language if no localization exists for the requested language.
    getName(Locale locale)
    Returns the localized name of this commerce shipping method in the language.
    getName(Locale locale, boolean useDefault)
    Returns the localized name of this commerce shipping method in the language, optionally using the default language if no localization exists for the requested language.
     
     
    Returns a map of the locales and localized names of this commerce shipping method.
    long
    Returns the primary key of this commerce shipping method.
    double
    Returns the priority of this commerce shipping method.
    Returns the tracking url of this commerce shipping method.
    Returns the type settings of this commerce shipping method.
    com.liferay.portal.kernel.util.UnicodeProperties
     
    long
    Returns the user ID of this commerce shipping method.
    Returns the user name of this commerce shipping method.
    Returns the user uuid of this commerce shipping method.
    boolean
    Returns true if this commerce shipping method is active.
    void
     
    void
     
    void
     
    void
    setActive(boolean active)
    Sets whether this commerce shipping method is active.
    void
    setCommerceShippingMethodId(long commerceShippingMethodId)
    Sets the commerce shipping method ID of this commerce shipping method.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce shipping method.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce shipping method.
    void
    setDescription(String description)
    Sets the description of this commerce shipping method.
    void
    setDescription(String description, Locale locale)
    Sets the localized description of this commerce shipping method in the language.
    void
    setDescription(String description, Locale locale, Locale defaultLocale)
    Sets the localized description of this commerce shipping method in the language, and sets the default locale.
    void
     
    void
    Sets the localized descriptions of this commerce shipping method from the map of locales and localized descriptions.
    void
    setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
    Sets the localized descriptions of this commerce shipping method from the map of locales and localized descriptions, and sets the default locale.
    void
    setEngineKey(String engineKey)
    Sets the engine key of this commerce shipping method.
    void
    setGroupId(long groupId)
    Sets the group ID of this commerce shipping method.
    void
    setImageId(long imageId)
    Sets the image ID of this commerce shipping method.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce shipping method.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce shipping method.
    void
    Sets the name of this commerce shipping method.
    void
    setName(String name, Locale locale)
    Sets the localized name of this commerce shipping method in the language.
    void
    setName(String name, Locale locale, Locale defaultLocale)
    Sets the localized name of this commerce shipping method in the language, and sets the default locale.
    void
     
    void
    Sets the localized names of this commerce shipping method from the map of locales and localized names.
    void
    setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
    Sets the localized names of this commerce shipping method from the map of locales and localized names, and sets the default locale.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce shipping method.
    void
    setPriority(double priority)
    Sets the priority of this commerce shipping method.
    void
    setTrackingURL(String trackingURL)
    Sets the tracking url of this commerce shipping method.
    void
    setTypeSettings(String typeSettings)
    Sets the type settings of this commerce shipping method.
    void
    setTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties)
     
    void
    setUserId(long userId)
    Sets the user ID of this commerce shipping method.
    void
    setUserName(String userName)
    Sets the user name of this commerce shipping method.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce shipping method.
     
    wrap(CommerceShippingMethod commerceShippingMethod)
     

    Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel

    Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper

    getWrappedModel
  • Constructor Details

    • CommerceShippingMethodWrapper

      public CommerceShippingMethodWrapper(CommerceShippingMethod commerceShippingMethod)
  • Method Details

    • getModelAttributes

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

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

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

      public boolean getActive()
      Returns the active of this commerce shipping method.
      Specified by:
      getActive in interface CommerceShippingMethodModel
      Returns:
      the active of this commerce shipping method
    • getAvailableLanguageIds

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

      public long getCommerceShippingMethodId()
      Returns the commerce shipping method ID of this commerce shipping method.
      Specified by:
      getCommerceShippingMethodId in interface CommerceShippingMethodModel
      Returns:
      the commerce shipping method ID of this commerce shipping method
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this commerce shipping method.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommerceShippingMethodModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this commerce shipping method
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce shipping method.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommerceShippingMethodModel
      Returns:
      the create date of this commerce shipping method
    • getDefaultLanguageId

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

      public String getDescription()
      Returns the description of this commerce shipping method.
      Specified by:
      getDescription in interface CommerceShippingMethodModel
      Returns:
      the description of this commerce shipping method
    • getDescription

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

      public String getDescription(Locale locale, boolean useDefault)
      Returns the localized description of this commerce shipping method in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getDescription in interface CommerceShippingMethodModel
      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 commerce shipping method. 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 commerce shipping method in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getDescription in interface CommerceShippingMethodModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized description of this commerce shipping method
    • getDescription

      public String getDescription(String languageId, boolean useDefault)
      Returns the localized description of this commerce shipping method in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getDescription in interface CommerceShippingMethodModel
      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 commerce shipping method
    • getDescriptionCurrentLanguageId

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

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

      public Map<Locale,String> getDescriptionMap()
      Returns a map of the locales and localized descriptions of this commerce shipping method.
      Specified by:
      getDescriptionMap in interface CommerceShippingMethodModel
      Returns:
      the locales and localized descriptions of this commerce shipping method
    • getEngineKey

      public String getEngineKey()
      Returns the engine key of this commerce shipping method.
      Specified by:
      getEngineKey in interface CommerceShippingMethodModel
      Returns:
      the engine key of this commerce shipping method
    • getGroupId

      public long getGroupId()
      Returns the group ID of this commerce shipping method.
      Specified by:
      getGroupId in interface CommerceShippingMethodModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this commerce shipping method
    • getImageId

      public long getImageId()
      Returns the image ID of this commerce shipping method.
      Specified by:
      getImageId in interface CommerceShippingMethodModel
      Returns:
      the image ID of this commerce shipping method
    • getImageURL

      public String getImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
      Specified by:
      getImageURL in interface CommerceShippingMethod
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce shipping method.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceShippingMethodModel
      Returns:
      the modified date of this commerce shipping method
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this commerce shipping method.
      Specified by:
      getMvccVersion in interface CommerceShippingMethodModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce shipping method
    • getName

      public String getName()
      Returns the name of this commerce shipping method.
      Specified by:
      getName in interface CommerceShippingMethodModel
      Returns:
      the name of this commerce shipping method
    • getName

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

      public String getName(Locale locale, boolean useDefault)
      Returns the localized name of this commerce shipping method in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getName in interface CommerceShippingMethodModel
      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 commerce shipping method. 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 commerce shipping method in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getName in interface CommerceShippingMethodModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized name of this commerce shipping method
    • getName

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

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

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

      public Map<Locale,String> getNameMap()
      Returns a map of the locales and localized names of this commerce shipping method.
      Specified by:
      getNameMap in interface CommerceShippingMethodModel
      Returns:
      the locales and localized names of this commerce shipping method
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce shipping method.
      Specified by:
      getPrimaryKey in interface CommerceShippingMethodModel
      Returns:
      the primary key of this commerce shipping method
    • getPriority

      public double getPriority()
      Returns the priority of this commerce shipping method.
      Specified by:
      getPriority in interface CommerceShippingMethodModel
      Returns:
      the priority of this commerce shipping method
    • getTrackingURL

      public String getTrackingURL()
      Returns the tracking url of this commerce shipping method.
      Specified by:
      getTrackingURL in interface CommerceShippingMethodModel
      Returns:
      the tracking url of this commerce shipping method
    • getTypeSettings

      public String getTypeSettings()
      Returns the type settings of this commerce shipping method.
      Specified by:
      getTypeSettings in interface CommerceShippingMethodModel
      Returns:
      the type settings of this commerce shipping method
    • getTypeSettingsUnicodeProperties

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

      public long getUserId()
      Returns the user ID of this commerce shipping method.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CommerceShippingMethodModel
      Returns:
      the user ID of this commerce shipping method
    • getUserName

      public String getUserName()
      Returns the user name of this commerce shipping method.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CommerceShippingMethodModel
      Returns:
      the user name of this commerce shipping method
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this commerce shipping method.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommerceShippingMethodModel
      Returns:
      the user uuid of this commerce shipping method
    • isActive

      public boolean isActive()
      Returns true if this commerce shipping method is active.
      Specified by:
      isActive in interface CommerceShippingMethodModel
      Returns:
      true if this commerce shipping method 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 CommerceShippingMethodModel
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      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 CommerceShippingMethodModel
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • setActive

      public void setActive(boolean active)
      Sets whether this commerce shipping method is active.
      Specified by:
      setActive in interface CommerceShippingMethodModel
      Parameters:
      active - the active of this commerce shipping method
    • setCommerceShippingMethodId

      public void setCommerceShippingMethodId(long commerceShippingMethodId)
      Sets the commerce shipping method ID of this commerce shipping method.
      Specified by:
      setCommerceShippingMethodId in interface CommerceShippingMethodModel
      Parameters:
      commerceShippingMethodId - the commerce shipping method ID of this commerce shipping method
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this commerce shipping method.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommerceShippingMethodModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this commerce shipping method
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce shipping method.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommerceShippingMethodModel
      Parameters:
      createDate - the create date of this commerce shipping method
    • setDescription

      public void setDescription(String description)
      Sets the description of this commerce shipping method.
      Specified by:
      setDescription in interface CommerceShippingMethodModel
      Parameters:
      description - the description of this commerce shipping method
    • setDescription

      public void setDescription(String description, Locale locale)
      Sets the localized description of this commerce shipping method in the language.
      Specified by:
      setDescription in interface CommerceShippingMethodModel
      Parameters:
      description - the localized description of this commerce shipping method
      locale - the locale of the language
    • setDescription

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

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

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

      public void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
      Sets the localized descriptions of this commerce shipping method from the map of locales and localized descriptions, and sets the default locale.
      Specified by:
      setDescriptionMap in interface CommerceShippingMethodModel
      Parameters:
      descriptionMap - the locales and localized descriptions of this commerce shipping method
      defaultLocale - the default locale
    • setEngineKey

      public void setEngineKey(String engineKey)
      Sets the engine key of this commerce shipping method.
      Specified by:
      setEngineKey in interface CommerceShippingMethodModel
      Parameters:
      engineKey - the engine key of this commerce shipping method
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this commerce shipping method.
      Specified by:
      setGroupId in interface CommerceShippingMethodModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this commerce shipping method
    • setImageId

      public void setImageId(long imageId)
      Sets the image ID of this commerce shipping method.
      Specified by:
      setImageId in interface CommerceShippingMethodModel
      Parameters:
      imageId - the image ID of this commerce shipping method
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce shipping method.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommerceShippingMethodModel
      Parameters:
      modifiedDate - the modified date of this commerce shipping method
    • setMvccVersion

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

      public void setName(String name)
      Sets the name of this commerce shipping method.
      Specified by:
      setName in interface CommerceShippingMethodModel
      Parameters:
      name - the name of this commerce shipping method
    • setName

      public void setName(String name, Locale locale)
      Sets the localized name of this commerce shipping method in the language.
      Specified by:
      setName in interface CommerceShippingMethodModel
      Parameters:
      name - the localized name of this commerce shipping method
      locale - the locale of the language
    • setName

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

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

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

      public void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
      Sets the localized names of this commerce shipping method from the map of locales and localized names, and sets the default locale.
      Specified by:
      setNameMap in interface CommerceShippingMethodModel
      Parameters:
      nameMap - the locales and localized names of this commerce shipping method
      defaultLocale - the default locale
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce shipping method.
      Specified by:
      setPrimaryKey in interface CommerceShippingMethodModel
      Parameters:
      primaryKey - the primary key of this commerce shipping method
    • setPriority

      public void setPriority(double priority)
      Sets the priority of this commerce shipping method.
      Specified by:
      setPriority in interface CommerceShippingMethodModel
      Parameters:
      priority - the priority of this commerce shipping method
    • setTrackingURL

      public void setTrackingURL(String trackingURL)
      Sets the tracking url of this commerce shipping method.
      Specified by:
      setTrackingURL in interface CommerceShippingMethodModel
      Parameters:
      trackingURL - the tracking url of this commerce shipping method
    • setTypeSettings

      public void setTypeSettings(String typeSettings)
      Sets the type settings of this commerce shipping method.
      Specified by:
      setTypeSettings in interface CommerceShippingMethodModel
      Parameters:
      typeSettings - the type settings of this commerce shipping method
    • setTypeSettingsUnicodeProperties

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

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

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

      public void setUserUuid(String userUuid)
      Sets the user uuid of this commerce shipping method.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface CommerceShippingMethodModel
      Parameters:
      userUuid - the user uuid of this commerce shipping method
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CommerceShippingMethodModel
    • wrap

      protected CommerceShippingMethodWrapper wrap(CommerceShippingMethod commerceShippingMethod)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceShippingMethod>