Interface CommerceOrderNoteModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CommerceOrderNote>, 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.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel
All Known Subinterfaces:
CommerceOrderNote
All Known Implementing Classes:
CommerceOrderNoteWrapper

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

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

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the commerce order ID of this commerce order note.
    long
    Returns the commerce order note ID of this commerce order note.
    long
    Returns the company ID of this commerce order note.
    Returns the content of this commerce order note.
    Returns the create date of this commerce order note.
    Returns the external reference code of this commerce order note.
    long
    Returns the group ID of this commerce order note.
    Returns the modified date of this commerce order note.
    long
    Returns the mvcc version of this commerce order note.
    long
    Returns the primary key of this commerce order note.
    boolean
    Returns the restricted of this commerce order note.
    long
    Returns the user ID of this commerce order note.
    Returns the user name of this commerce order note.
    Returns the user uuid of this commerce order note.
    Returns the uuid of this commerce order note.
    boolean
    Returns true if this commerce order note is restricted.
    void
    setCommerceOrderId(long commerceOrderId)
    Sets the commerce order ID of this commerce order note.
    void
    setCommerceOrderNoteId(long commerceOrderNoteId)
    Sets the commerce order note ID of this commerce order note.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce order note.
    void
    setContent(String content)
    Sets the content of this commerce order note.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce order note.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code of this commerce order note.
    void
    setGroupId(long groupId)
    Sets the group ID of this commerce order note.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce order note.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce order note.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce order note.
    void
    setRestricted(boolean restricted)
    Sets whether this commerce order note is restricted.
    void
    setUserId(long userId)
    Sets the user ID of this commerce order note.
    void
    setUserName(String userName)
    Sets the user name of this commerce order note.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce order note.
    void
    Sets the uuid of this commerce order note.
    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

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

    clone, getStagedModelType
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this commerce order note.
      Returns:
      the primary key of this commerce order note
    • setPrimaryKey

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

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

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

      @AutoEscape String getUuid()
      Returns the uuid of this commerce order note.
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce order note
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this commerce order note.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this commerce order note
    • getExternalReferenceCode

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

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

      long getCommerceOrderNoteId()
      Returns the commerce order note ID of this commerce order note.
      Returns:
      the commerce order note ID of this commerce order note
    • setCommerceOrderNoteId

      void setCommerceOrderNoteId(long commerceOrderNoteId)
      Sets the commerce order note ID of this commerce order note.
      Parameters:
      commerceOrderNoteId - the commerce order note ID of this commerce order note
    • getGroupId

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

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

      long getCompanyId()
      Returns the company ID of this commerce order note.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      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 commerce order note
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this commerce order note.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      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 commerce order note
    • getUserId

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

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

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

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

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

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

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

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

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

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

      long getCommerceOrderId()
      Returns the commerce order ID of this commerce order note.
      Returns:
      the commerce order ID of this commerce order note
    • setCommerceOrderId

      void setCommerceOrderId(long commerceOrderId)
      Sets the commerce order ID of this commerce order note.
      Parameters:
      commerceOrderId - the commerce order ID of this commerce order note
    • getContent

      @AutoEscape String getContent()
      Returns the content of this commerce order note.
      Returns:
      the content of this commerce order note
    • setContent

      void setContent(String content)
      Sets the content of this commerce order note.
      Parameters:
      content - the content of this commerce order note
    • getRestricted

      boolean getRestricted()
      Returns the restricted of this commerce order note.
      Returns:
      the restricted of this commerce order note
    • isRestricted

      boolean isRestricted()
      Returns true if this commerce order note is restricted.
      Returns:
      true if this commerce order note is restricted; false otherwise
    • setRestricted

      void setRestricted(boolean restricted)
      Sets whether this commerce order note is restricted.
      Parameters:
      restricted - the restricted of this commerce order note
    • cloneWithOriginalValues

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

      default String toXmlString()