Interface CommerceAddressModel

All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceAddress>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CommerceAddress>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel
All Known Subinterfaces:
CommerceAddress
All Known Implementing Classes:
CommerceAddressWrapper

@Deprecated @ProviderType public interface CommerceAddressModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<CommerceAddress>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
Deprecated.
As of Cavanaugh (7.4.x)
The base model interface for the CommerceAddress service. Represents a row in the "CommerceAddress" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.commerce.model.impl.CommerceAddressModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.model.impl.CommerceAddressImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
     
    Deprecated.
    Returns the city of this commerce address.
    Deprecated.
    Returns the fully qualified class name of this commerce address.
    long
    Deprecated.
    Returns the class name ID of this commerce address.
    long
    Deprecated.
    Returns the class pk of this commerce address.
    long
    Deprecated.
    Returns the commerce address ID of this commerce address.
    long
    Deprecated.
    Returns the company ID of this commerce address.
    long
    Deprecated.
    Returns the country ID of this commerce address.
    Deprecated.
    Returns the create date of this commerce address.
    boolean
    Deprecated.
    Returns the default billing of this commerce address.
    boolean
    Deprecated.
    Returns the default shipping of this commerce address.
    Deprecated.
    Returns the description of this commerce address.
    Deprecated.
    Returns the external reference code of this commerce address.
    long
    Deprecated.
    Returns the group ID of this commerce address.
    double
    Deprecated.
    Returns the latitude of this commerce address.
    double
    Deprecated.
    Returns the longitude of this commerce address.
    Deprecated.
    Returns the modified date of this commerce address.
    long
    Deprecated.
    Returns the mvcc version of this commerce address.
    Deprecated.
    Returns the name of this commerce address.
    Deprecated.
    Returns the phone number of this commerce address.
    long
    Deprecated.
    Returns the primary key of this commerce address.
    long
    Deprecated.
    Returns the region ID of this commerce address.
    Deprecated.
    Returns the street1 of this commerce address.
    Deprecated.
    Returns the street2 of this commerce address.
    Deprecated.
    Returns the street3 of this commerce address.
    int
    Deprecated.
    Returns the type of this commerce address.
    long
    Deprecated.
    Returns the user ID of this commerce address.
    Deprecated.
    Returns the user name of this commerce address.
    Deprecated.
    Returns the user uuid of this commerce address.
    Deprecated.
    Returns the zip of this commerce address.
    boolean
    Deprecated.
    Returns true if this commerce address is default billing.
    boolean
    Deprecated.
    Returns true if this commerce address is default shipping.
    void
    Deprecated.
    Sets the city of this commerce address.
    void
    setClassName(String className)
    Deprecated.
     
    void
    setClassNameId(long classNameId)
    Deprecated.
    Sets the class name ID of this commerce address.
    void
    setClassPK(long classPK)
    Deprecated.
    Sets the class pk of this commerce address.
    void
    setCommerceAddressId(long commerceAddressId)
    Deprecated.
    Sets the commerce address ID of this commerce address.
    void
    setCompanyId(long companyId)
    Deprecated.
    Sets the company ID of this commerce address.
    void
    setCountryId(long countryId)
    Deprecated.
    Sets the country ID of this commerce address.
    void
    setCreateDate(Date createDate)
    Deprecated.
    Sets the create date of this commerce address.
    void
    setDefaultBilling(boolean defaultBilling)
    Deprecated.
    Sets whether this commerce address is default billing.
    void
    setDefaultShipping(boolean defaultShipping)
    Deprecated.
    Sets whether this commerce address is default shipping.
    void
    setDescription(String description)
    Deprecated.
    Sets the description of this commerce address.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Deprecated.
    Sets the external reference code of this commerce address.
    void
    setGroupId(long groupId)
    Deprecated.
    Sets the group ID of this commerce address.
    void
    setLatitude(double latitude)
    Deprecated.
    Sets the latitude of this commerce address.
    void
    setLongitude(double longitude)
    Deprecated.
    Sets the longitude of this commerce address.
    void
    setModifiedDate(Date modifiedDate)
    Deprecated.
    Sets the modified date of this commerce address.
    void
    setMvccVersion(long mvccVersion)
    Deprecated.
    Sets the mvcc version of this commerce address.
    void
    Deprecated.
    Sets the name of this commerce address.
    void
    setPhoneNumber(String phoneNumber)
    Deprecated.
    Sets the phone number of this commerce address.
    void
    setPrimaryKey(long primaryKey)
    Deprecated.
    Sets the primary key of this commerce address.
    void
    setRegionId(long regionId)
    Deprecated.
    Sets the region ID of this commerce address.
    void
    setStreet1(String street1)
    Deprecated.
    Sets the street1 of this commerce address.
    void
    setStreet2(String street2)
    Deprecated.
    Sets the street2 of this commerce address.
    void
    setStreet3(String street3)
    Deprecated.
    Sets the street3 of this commerce address.
    void
    setType(int type)
    Deprecated.
    Sets the type of this commerce address.
    void
    setUserId(long userId)
    Deprecated.
    Sets the user ID of this commerce address.
    void
    setUserName(String userName)
    Deprecated.
    Sets the user name of this commerce address.
    void
    setUserUuid(String userUuid)
    Deprecated.
    Sets the user uuid of this commerce address.
    void
    Deprecated.
    Sets the zip of this commerce address.
    default String
    Deprecated.
     

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

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Deprecated.
      Returns the primary key of this commerce address.
      Returns:
      the primary key of this commerce address
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Deprecated.
      Sets the primary key of this commerce address.
      Parameters:
      primaryKey - the primary key of this commerce address
    • getMvccVersion

      long getMvccVersion()
      Deprecated.
      Returns the mvcc version of this commerce address.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce address
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Deprecated.
      Sets the mvcc version of this commerce address.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce address
    • getExternalReferenceCode

      @AutoEscape String getExternalReferenceCode()
      Deprecated.
      Returns the external reference code of this commerce address.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this commerce address
    • setExternalReferenceCode

      void setExternalReferenceCode(String externalReferenceCode)
      Deprecated.
      Sets the external reference code of this commerce address.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this commerce address
    • getCommerceAddressId

      long getCommerceAddressId()
      Deprecated.
      Returns the commerce address ID of this commerce address.
      Returns:
      the commerce address ID of this commerce address
    • setCommerceAddressId

      void setCommerceAddressId(long commerceAddressId)
      Deprecated.
      Sets the commerce address ID of this commerce address.
      Parameters:
      commerceAddressId - the commerce address ID of this commerce address
    • getGroupId

      long getGroupId()
      Deprecated.
      Returns the group ID of this commerce address.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this commerce address
    • setGroupId

      void setGroupId(long groupId)
      Deprecated.
      Sets the group ID of this commerce address.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this commerce address
    • getCompanyId

      long getCompanyId()
      Deprecated.
      Returns the company ID of this commerce address.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this commerce address
    • setCompanyId

      void setCompanyId(long companyId)
      Deprecated.
      Sets the company ID of this commerce address.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this commerce address
    • getUserId

      long getUserId()
      Deprecated.
      Returns the user ID of this commerce address.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this commerce address
    • setUserId

      void setUserId(long userId)
      Deprecated.
      Sets the user ID of this commerce address.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this commerce address
    • getUserUuid

      String getUserUuid()
      Deprecated.
      Returns the user uuid of this commerce address.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this commerce address
    • setUserUuid

      void setUserUuid(String userUuid)
      Deprecated.
      Sets the user uuid of this commerce address.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userUuid - the user uuid of this commerce address
    • getUserName

      @AutoEscape String getUserName()
      Deprecated.
      Returns the user name of this commerce address.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user name of this commerce address
    • setUserName

      void setUserName(String userName)
      Deprecated.
      Sets the user name of this commerce address.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this commerce address
    • getCreateDate

      Date getCreateDate()
      Deprecated.
      Returns the create date of this commerce address.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the create date of this commerce address
    • setCreateDate

      void setCreateDate(Date createDate)
      Deprecated.
      Sets the create date of this commerce address.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      createDate - the create date of this commerce address
    • getModifiedDate

      Date getModifiedDate()
      Deprecated.
      Returns the modified date of this commerce address.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the modified date of this commerce address
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Deprecated.
      Sets the modified date of this commerce address.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      modifiedDate - the modified date of this commerce address
    • getClassName

      String getClassName()
      Deprecated.
      Returns the fully qualified class name of this commerce address.
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this commerce address
    • setClassName

      void setClassName(String className)
      Deprecated.
    • getClassNameId

      long getClassNameId()
      Deprecated.
      Returns the class name ID of this commerce address.
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this commerce address
    • setClassNameId

      void setClassNameId(long classNameId)
      Deprecated.
      Sets the class name ID of this commerce address.
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this commerce address
    • getClassPK

      long getClassPK()
      Deprecated.
      Returns the class pk of this commerce address.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Returns:
      the class pk of this commerce address
    • setClassPK

      void setClassPK(long classPK)
      Deprecated.
      Sets the class pk of this commerce address.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Parameters:
      classPK - the class pk of this commerce address
    • getName

      @AutoEscape String getName()
      Deprecated.
      Returns the name of this commerce address.
      Returns:
      the name of this commerce address
    • setName

      void setName(String name)
      Deprecated.
      Sets the name of this commerce address.
      Parameters:
      name - the name of this commerce address
    • getDescription

      @AutoEscape String getDescription()
      Deprecated.
      Returns the description of this commerce address.
      Returns:
      the description of this commerce address
    • setDescription

      void setDescription(String description)
      Deprecated.
      Sets the description of this commerce address.
      Parameters:
      description - the description of this commerce address
    • getStreet1

      @AutoEscape String getStreet1()
      Deprecated.
      Returns the street1 of this commerce address.
      Returns:
      the street1 of this commerce address
    • setStreet1

      void setStreet1(String street1)
      Deprecated.
      Sets the street1 of this commerce address.
      Parameters:
      street1 - the street1 of this commerce address
    • getStreet2

      @AutoEscape String getStreet2()
      Deprecated.
      Returns the street2 of this commerce address.
      Returns:
      the street2 of this commerce address
    • setStreet2

      void setStreet2(String street2)
      Deprecated.
      Sets the street2 of this commerce address.
      Parameters:
      street2 - the street2 of this commerce address
    • getStreet3

      @AutoEscape String getStreet3()
      Deprecated.
      Returns the street3 of this commerce address.
      Returns:
      the street3 of this commerce address
    • setStreet3

      void setStreet3(String street3)
      Deprecated.
      Sets the street3 of this commerce address.
      Parameters:
      street3 - the street3 of this commerce address
    • getCity

      @AutoEscape String getCity()
      Deprecated.
      Returns the city of this commerce address.
      Returns:
      the city of this commerce address
    • setCity

      void setCity(String city)
      Deprecated.
      Sets the city of this commerce address.
      Parameters:
      city - the city of this commerce address
    • getZip

      @AutoEscape String getZip()
      Deprecated.
      Returns the zip of this commerce address.
      Returns:
      the zip of this commerce address
    • setZip

      void setZip(String zip)
      Deprecated.
      Sets the zip of this commerce address.
      Parameters:
      zip - the zip of this commerce address
    • getRegionId

      long getRegionId()
      Deprecated.
      Returns the region ID of this commerce address.
      Returns:
      the region ID of this commerce address
    • setRegionId

      void setRegionId(long regionId)
      Deprecated.
      Sets the region ID of this commerce address.
      Parameters:
      regionId - the region ID of this commerce address
    • getCountryId

      long getCountryId()
      Deprecated.
      Returns the country ID of this commerce address.
      Returns:
      the country ID of this commerce address
    • setCountryId

      void setCountryId(long countryId)
      Deprecated.
      Sets the country ID of this commerce address.
      Parameters:
      countryId - the country ID of this commerce address
    • getLatitude

      double getLatitude()
      Deprecated.
      Returns the latitude of this commerce address.
      Returns:
      the latitude of this commerce address
    • setLatitude

      void setLatitude(double latitude)
      Deprecated.
      Sets the latitude of this commerce address.
      Parameters:
      latitude - the latitude of this commerce address
    • getLongitude

      double getLongitude()
      Deprecated.
      Returns the longitude of this commerce address.
      Returns:
      the longitude of this commerce address
    • setLongitude

      void setLongitude(double longitude)
      Deprecated.
      Sets the longitude of this commerce address.
      Parameters:
      longitude - the longitude of this commerce address
    • getPhoneNumber

      @AutoEscape String getPhoneNumber()
      Deprecated.
      Returns the phone number of this commerce address.
      Returns:
      the phone number of this commerce address
    • setPhoneNumber

      void setPhoneNumber(String phoneNumber)
      Deprecated.
      Sets the phone number of this commerce address.
      Parameters:
      phoneNumber - the phone number of this commerce address
    • getDefaultBilling

      boolean getDefaultBilling()
      Deprecated.
      Returns the default billing of this commerce address.
      Returns:
      the default billing of this commerce address
    • isDefaultBilling

      boolean isDefaultBilling()
      Deprecated.
      Returns true if this commerce address is default billing.
      Returns:
      true if this commerce address is default billing; false otherwise
    • setDefaultBilling

      void setDefaultBilling(boolean defaultBilling)
      Deprecated.
      Sets whether this commerce address is default billing.
      Parameters:
      defaultBilling - the default billing of this commerce address
    • getDefaultShipping

      boolean getDefaultShipping()
      Deprecated.
      Returns the default shipping of this commerce address.
      Returns:
      the default shipping of this commerce address
    • isDefaultShipping

      boolean isDefaultShipping()
      Deprecated.
      Returns true if this commerce address is default shipping.
      Returns:
      true if this commerce address is default shipping; false otherwise
    • setDefaultShipping

      void setDefaultShipping(boolean defaultShipping)
      Deprecated.
      Sets whether this commerce address is default shipping.
      Parameters:
      defaultShipping - the default shipping of this commerce address
    • getType

      int getType()
      Deprecated.
      Returns the type of this commerce address.
      Returns:
      the type of this commerce address
    • setType

      void setType(int type)
      Deprecated.
      Sets the type of this commerce address.
      Parameters:
      type - the type of this commerce address
    • cloneWithOriginalValues

      CommerceAddress cloneWithOriginalValues()
      Deprecated.
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddress>
    • toXmlString

      default String toXmlString()
      Deprecated.