Interface CommerceOrderAttachmentModel

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

@ProviderType public interface CommerceOrderAttachmentModel extends com.liferay.portal.kernel.model.BaseModel<CommerceOrderAttachment>, 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 CommerceOrderAttachment service. Represents a row in the "CommerceOrderAttachment" database table, with each column mapped to a property of this class.

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

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the commerce order attachment ID of this commerce order attachment.
    long
    Returns the commerce order ID of this commerce order attachment.
    long
    Returns the company ID of this commerce order attachment.
    Returns the create date of this commerce order attachment.
    Returns the external reference code of this commerce order attachment.
    long
    Returns the file entry ID of this commerce order attachment.
    long
    Returns the group ID of this commerce order attachment.
    Returns the modified date of this commerce order attachment.
    long
    Returns the mvcc version of this commerce order attachment.
    long
    Returns the primary key of this commerce order attachment.
    double
    Returns the priority of this commerce order attachment.
    boolean
    Returns the restricted of this commerce order attachment.
    Returns the title of this commerce order attachment.
    Returns the type of this commerce order attachment.
    long
    Returns the user ID of this commerce order attachment.
    Returns the user name of this commerce order attachment.
    Returns the user uuid of this commerce order attachment.
    Returns the uuid of this commerce order attachment.
    boolean
    Returns true if this commerce order attachment is restricted.
    void
    setCommerceOrderAttachmentId(long commerceOrderAttachmentId)
    Sets the commerce order attachment ID of this commerce order attachment.
    void
    setCommerceOrderId(long commerceOrderId)
    Sets the commerce order ID of this commerce order attachment.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce order attachment.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce order attachment.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code of this commerce order attachment.
    void
    setFileEntryId(long fileEntryId)
    Sets the file entry ID of this commerce order attachment.
    void
    setGroupId(long groupId)
    Sets the group ID of this commerce order attachment.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce order attachment.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce order attachment.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce order attachment.
    void
    setPriority(double priority)
    Sets the priority of this commerce order attachment.
    void
    setRestricted(boolean restricted)
    Sets whether this commerce order attachment is restricted.
    void
    Sets the title of this commerce order attachment.
    void
    Sets the type of this commerce order attachment.
    void
    setUserId(long userId)
    Sets the user ID of this commerce order attachment.
    void
    setUserName(String userName)
    Sets the user name of this commerce order attachment.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce order attachment.
    void
    Sets the uuid of this commerce order attachment.
    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 attachment.
      Returns:
      the primary key of this commerce order attachment
    • setPrimaryKey

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

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

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

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

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

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

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

      long getCommerceOrderAttachmentId()
      Returns the commerce order attachment ID of this commerce order attachment.
      Returns:
      the commerce order attachment ID of this commerce order attachment
    • setCommerceOrderAttachmentId

      void setCommerceOrderAttachmentId(long commerceOrderAttachmentId)
      Sets the commerce order attachment ID of this commerce order attachment.
      Parameters:
      commerceOrderAttachmentId - the commerce order attachment ID of this commerce order attachment
    • getGroupId

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

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

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

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

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

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

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

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

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

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

      Date getCreateDate()
      Returns the create date of this commerce order attachment.
      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 attachment
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this commerce order attachment.
      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 attachment
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this commerce order attachment.
      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 attachment
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce order attachment.
      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 attachment
    • getCommerceOrderId

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

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

      long getFileEntryId()
      Returns the file entry ID of this commerce order attachment.
      Returns:
      the file entry ID of this commerce order attachment
    • setFileEntryId

      void setFileEntryId(long fileEntryId)
      Sets the file entry ID of this commerce order attachment.
      Parameters:
      fileEntryId - the file entry ID of this commerce order attachment
    • getPriority

      double getPriority()
      Returns the priority of this commerce order attachment.
      Returns:
      the priority of this commerce order attachment
    • setPriority

      void setPriority(double priority)
      Sets the priority of this commerce order attachment.
      Parameters:
      priority - the priority of this commerce order attachment
    • getRestricted

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

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

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

      @AutoEscape String getTitle()
      Returns the title of this commerce order attachment.
      Returns:
      the title of this commerce order attachment
    • setTitle

      void setTitle(String title)
      Sets the title of this commerce order attachment.
      Parameters:
      title - the title of this commerce order attachment
    • getType

      @AutoEscape String getType()
      Returns the type of this commerce order attachment.
      Returns:
      the type of this commerce order attachment
    • setType

      void setType(String type)
      Sets the type of this commerce order attachment.
      Parameters:
      type - the type of this commerce order attachment
    • cloneWithOriginalValues

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

      default String toXmlString()