Class CommerceOrderAttachmentWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrderAttachment>
com.liferay.commerce.model.CommerceOrderAttachmentWrapper
All Implemented Interfaces:
CommerceOrderAttachment, CommerceOrderAttachmentModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceOrderAttachment>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<CommerceOrderAttachment>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<CommerceOrderAttachment>

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

This class is a wrapper for CommerceOrderAttachment.

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.CommerceOrderAttachment

    COMMERCE_ORDER_ATTACHMENT_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    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
     
    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
     
    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.
     
    wrap(CommerceOrderAttachment commerceOrderAttachment)
     

    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, copyCacheFields, 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

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

    clone
  • Constructor Details

    • CommerceOrderAttachmentWrapper

      public CommerceOrderAttachmentWrapper(CommerceOrderAttachment commerceOrderAttachment)
  • Method Details

    • getModelAttributes

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

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

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

      public long getCommerceOrderAttachmentId()
      Returns the commerce order attachment ID of this commerce order attachment.
      Specified by:
      getCommerceOrderAttachmentId in interface CommerceOrderAttachmentModel
      Returns:
      the commerce order attachment ID of this commerce order attachment
    • getCommerceOrderId

      public long getCommerceOrderId()
      Returns the commerce order ID of this commerce order attachment.
      Specified by:
      getCommerceOrderId in interface CommerceOrderAttachmentModel
      Returns:
      the commerce order ID of this commerce order attachment
    • getCompanyId

      public 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 CommerceOrderAttachmentModel
      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
    • getCreateDate

      public 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 CommerceOrderAttachmentModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce order attachment
    • getExternalReferenceCode

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

      public long getFileEntryId()
      Returns the file entry ID of this commerce order attachment.
      Specified by:
      getFileEntryId in interface CommerceOrderAttachmentModel
      Returns:
      the file entry ID of this commerce order attachment
    • getGroupId

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

      public 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 CommerceOrderAttachmentModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce order attachment
    • getMvccVersion

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

      public long getPrimaryKey()
      Returns the primary key of this commerce order attachment.
      Specified by:
      getPrimaryKey in interface CommerceOrderAttachmentModel
      Returns:
      the primary key of this commerce order attachment
    • getPriority

      public double getPriority()
      Returns the priority of this commerce order attachment.
      Specified by:
      getPriority in interface CommerceOrderAttachmentModel
      Returns:
      the priority of this commerce order attachment
    • getRestricted

      public boolean getRestricted()
      Returns the restricted of this commerce order attachment.
      Specified by:
      getRestricted in interface CommerceOrderAttachmentModel
      Returns:
      the restricted of this commerce order attachment
    • getTitle

      public String getTitle()
      Returns the title of this commerce order attachment.
      Specified by:
      getTitle in interface CommerceOrderAttachmentModel
      Returns:
      the title of this commerce order attachment
    • getType

      public String getType()
      Returns the type of this commerce order attachment.
      Specified by:
      getType in interface CommerceOrderAttachmentModel
      Returns:
      the type of this commerce order attachment
    • getUserId

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

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

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

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

      public boolean isRestricted()
      Returns true if this commerce order attachment is restricted.
      Specified by:
      isRestricted in interface CommerceOrderAttachmentModel
      Returns:
      true if this commerce order attachment is restricted; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setCommerceOrderAttachmentId

      public void setCommerceOrderAttachmentId(long commerceOrderAttachmentId)
      Sets the commerce order attachment ID of this commerce order attachment.
      Specified by:
      setCommerceOrderAttachmentId in interface CommerceOrderAttachmentModel
      Parameters:
      commerceOrderAttachmentId - the commerce order attachment ID of this commerce order attachment
    • setCommerceOrderId

      public void setCommerceOrderId(long commerceOrderId)
      Sets the commerce order ID of this commerce order attachment.
      Specified by:
      setCommerceOrderId in interface CommerceOrderAttachmentModel
      Parameters:
      commerceOrderId - the commerce order ID of this commerce order attachment
    • setCompanyId

      public 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 CommerceOrderAttachmentModel
      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
    • setCreateDate

      public 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 CommerceOrderAttachmentModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this commerce order attachment
    • setExternalReferenceCode

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

      public void setFileEntryId(long fileEntryId)
      Sets the file entry ID of this commerce order attachment.
      Specified by:
      setFileEntryId in interface CommerceOrderAttachmentModel
      Parameters:
      fileEntryId - the file entry ID of this commerce order attachment
    • setGroupId

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

      public 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 CommerceOrderAttachmentModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this commerce order attachment
    • setMvccVersion

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

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

      public void setPriority(double priority)
      Sets the priority of this commerce order attachment.
      Specified by:
      setPriority in interface CommerceOrderAttachmentModel
      Parameters:
      priority - the priority of this commerce order attachment
    • setRestricted

      public void setRestricted(boolean restricted)
      Sets whether this commerce order attachment is restricted.
      Specified by:
      setRestricted in interface CommerceOrderAttachmentModel
      Parameters:
      restricted - the restricted of this commerce order attachment
    • setTitle

      public void setTitle(String title)
      Sets the title of this commerce order attachment.
      Specified by:
      setTitle in interface CommerceOrderAttachmentModel
      Parameters:
      title - the title of this commerce order attachment
    • setType

      public void setType(String type)
      Sets the type of this commerce order attachment.
      Specified by:
      setType in interface CommerceOrderAttachmentModel
      Parameters:
      type - the type of this commerce order attachment
    • setUserId

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

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

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

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

      public String toXmlString()
      Specified by:
      toXmlString in interface CommerceOrderAttachmentModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected CommerceOrderAttachmentWrapper wrap(CommerceOrderAttachment commerceOrderAttachment)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrderAttachment>