Interface CommerceAddressRestrictionModel

All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CommerceAddressRestriction>, 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:
CommerceAddressRestriction
All Known Implementing Classes:
CommerceAddressRestrictionWrapper

@ProviderType public interface CommerceAddressRestrictionModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the CommerceAddressRestriction service. Represents a row in the "CommerceAddressRestriction" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.commerce.model.impl.CommerceAddressRestrictionModelImpl 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.CommerceAddressRestrictionImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the fully qualified class name of this commerce address restriction.
    long
    Returns the class name ID of this commerce address restriction.
    long
    Returns the class pk of this commerce address restriction.
    long
    Returns the commerce address restriction ID of this commerce address restriction.
    long
    Returns the company ID of this commerce address restriction.
    long
    Returns the country ID of this commerce address restriction.
    Returns the create date of this commerce address restriction.
    long
    Returns the group ID of this commerce address restriction.
    Returns the modified date of this commerce address restriction.
    long
    Returns the mvcc version of this commerce address restriction.
    long
    Returns the primary key of this commerce address restriction.
    long
    Returns the user ID of this commerce address restriction.
    Returns the user name of this commerce address restriction.
    Returns the user uuid of this commerce address restriction.
    void
    setClassName(String className)
     
    void
    setClassNameId(long classNameId)
    Sets the class name ID of this commerce address restriction.
    void
    setClassPK(long classPK)
    Sets the class pk of this commerce address restriction.
    void
    setCommerceAddressRestrictionId(long commerceAddressRestrictionId)
    Sets the commerce address restriction ID of this commerce address restriction.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce address restriction.
    void
    setCountryId(long countryId)
    Sets the country ID of this commerce address restriction.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce address restriction.
    void
    setGroupId(long groupId)
    Sets the group ID of this commerce address restriction.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce address restriction.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce address restriction.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce address restriction.
    void
    setUserId(long userId)
    Sets the user ID of this commerce address restriction.
    void
    setUserName(String userName)
    Sets the user name of this commerce address restriction.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce address restriction.
    default String
     

    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()
      Returns the primary key of this commerce address restriction.
      Returns:
      the primary key of this commerce address restriction
    • setPrimaryKey

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

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

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

      long getCommerceAddressRestrictionId()
      Returns the commerce address restriction ID of this commerce address restriction.
      Returns:
      the commerce address restriction ID of this commerce address restriction
    • setCommerceAddressRestrictionId

      void setCommerceAddressRestrictionId(long commerceAddressRestrictionId)
      Sets the commerce address restriction ID of this commerce address restriction.
      Parameters:
      commerceAddressRestrictionId - the commerce address restriction ID of this commerce address restriction
    • getGroupId

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

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

      long getCompanyId()
      Returns the company ID of this commerce address restriction.
      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 restriction
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this commerce address restriction.
      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 restriction
    • getUserId

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

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

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

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

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

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

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

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

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

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

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

      void setClassName(String className)
    • getClassNameId

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

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

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

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

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

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

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

      default String toXmlString()