Class CSDiagramEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CSDiagramEntry>
com.liferay.commerce.shop.by.diagram.model.CSDiagramEntryWrapper
All Implemented Interfaces:
CSDiagramEntry, CSDiagramEntryModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CSDiagramEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<CSDiagramEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<CSDiagramEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<CSDiagramEntry>

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

This class is a wrapper for CSDiagramEntry.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.commerce.shop.by.diagram.model.CSDiagramEntry

    CS_DIAGRAM_ENTRY_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    long
    Returns the company ID of this cs diagram entry.
    com.liferay.commerce.product.model.CPDefinition
     
    long
    Returns the cp definition ID of this cs diagram entry.
    long
    Returns the cp instance ID of this cs diagram entry.
    long
    Returns the c product ID of this cs diagram entry.
    Returns the create date of this cs diagram entry.
    long
    Returns the cs diagram entry ID of this cs diagram entry.
    long
    Returns the ct collection ID of this cs diagram entry.
    boolean
    Returns the diagram of this cs diagram entry.
     
    Returns the modified date of this cs diagram entry.
    long
    Returns the mvcc version of this cs diagram entry.
    long
    Returns the primary key of this cs diagram entry.
    int
    Returns the quantity of this cs diagram entry.
    Returns the sequence of this cs diagram entry.
    Returns the sku of this cs diagram entry.
    long
    Returns the user ID of this cs diagram entry.
    Returns the user name of this cs diagram entry.
    Returns the user uuid of this cs diagram entry.
    boolean
    Returns true if this cs diagram entry is diagram.
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this cs diagram entry.
    void
    setCPDefinitionId(long CPDefinitionId)
    Sets the cp definition ID of this cs diagram entry.
    void
    setCPInstanceId(long CPInstanceId)
    Sets the cp instance ID of this cs diagram entry.
    void
    setCProductId(long CProductId)
    Sets the c product ID of this cs diagram entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this cs diagram entry.
    void
    setCSDiagramEntryId(long CSDiagramEntryId)
    Sets the cs diagram entry ID of this cs diagram entry.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this cs diagram entry.
    void
    setDiagram(boolean diagram)
    Sets whether this cs diagram entry is diagram.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this cs diagram entry.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this cs diagram entry.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this cs diagram entry.
    void
    setQuantity(int quantity)
    Sets the quantity of this cs diagram entry.
    void
    setSequence(String sequence)
    Sets the sequence of this cs diagram entry.
    void
    Sets the sku of this cs diagram entry.
    void
    setUserId(long userId)
    Sets the user ID of this cs diagram entry.
    void
    setUserName(String userName)
    Sets the user name of this cs diagram entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this cs diagram entry.
     
    wrap(CSDiagramEntry csDiagramEntry)
     

    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, 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
  • Constructor Details

    • CSDiagramEntryWrapper

      public CSDiagramEntryWrapper(CSDiagramEntry csDiagramEntry)
  • Method Details

    • getModelAttributes

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

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

      public CSDiagramEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CSDiagramEntry>
      Specified by:
      cloneWithOriginalValues in interface CSDiagramEntryModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this cs diagram entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CSDiagramEntryModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this cs diagram entry
    • getCPDefinition

      public com.liferay.commerce.product.model.CPDefinition getCPDefinition() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCPDefinition in interface CSDiagramEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionId

      public long getCPDefinitionId()
      Returns the cp definition ID of this cs diagram entry.
      Specified by:
      getCPDefinitionId in interface CSDiagramEntryModel
      Returns:
      the cp definition ID of this cs diagram entry
    • getCPInstanceId

      public long getCPInstanceId()
      Returns the cp instance ID of this cs diagram entry.
      Specified by:
      getCPInstanceId in interface CSDiagramEntryModel
      Returns:
      the cp instance ID of this cs diagram entry
    • getCProductId

      public long getCProductId()
      Returns the c product ID of this cs diagram entry.
      Specified by:
      getCProductId in interface CSDiagramEntryModel
      Returns:
      the c product ID of this cs diagram entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this cs diagram entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CSDiagramEntryModel
      Returns:
      the create date of this cs diagram entry
    • getCSDiagramEntryId

      public long getCSDiagramEntryId()
      Returns the cs diagram entry ID of this cs diagram entry.
      Specified by:
      getCSDiagramEntryId in interface CSDiagramEntryModel
      Returns:
      the cs diagram entry ID of this cs diagram entry
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this cs diagram entry.
      Specified by:
      getCtCollectionId in interface CSDiagramEntryModel
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CSDiagramEntry>
      Returns:
      the ct collection ID of this cs diagram entry
    • getDiagram

      public boolean getDiagram()
      Returns the diagram of this cs diagram entry.
      Specified by:
      getDiagram in interface CSDiagramEntryModel
      Returns:
      the diagram of this cs diagram entry
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this cs diagram entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CSDiagramEntryModel
      Returns:
      the modified date of this cs diagram entry
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this cs diagram entry.
      Specified by:
      getMvccVersion in interface CSDiagramEntryModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this cs diagram entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this cs diagram entry.
      Specified by:
      getPrimaryKey in interface CSDiagramEntryModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CSDiagramEntry>
      Returns:
      the primary key of this cs diagram entry
    • getQuantity

      public int getQuantity()
      Returns the quantity of this cs diagram entry.
      Specified by:
      getQuantity in interface CSDiagramEntryModel
      Returns:
      the quantity of this cs diagram entry
    • getSequence

      public String getSequence()
      Returns the sequence of this cs diagram entry.
      Specified by:
      getSequence in interface CSDiagramEntryModel
      Returns:
      the sequence of this cs diagram entry
    • getSku

      public String getSku()
      Returns the sku of this cs diagram entry.
      Specified by:
      getSku in interface CSDiagramEntryModel
      Returns:
      the sku of this cs diagram entry
    • getUserId

      public long getUserId()
      Returns the user ID of this cs diagram entry.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CSDiagramEntryModel
      Returns:
      the user ID of this cs diagram entry
    • getUserName

      public String getUserName()
      Returns the user name of this cs diagram entry.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CSDiagramEntryModel
      Returns:
      the user name of this cs diagram entry
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this cs diagram entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CSDiagramEntryModel
      Returns:
      the user uuid of this cs diagram entry
    • isDiagram

      public boolean isDiagram()
      Returns true if this cs diagram entry is diagram.
      Specified by:
      isDiagram in interface CSDiagramEntryModel
      Returns:
      true if this cs diagram entry is diagram; false otherwise
    • persist

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

      public void setCompanyId(long companyId)
      Sets the company ID of this cs diagram entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CSDiagramEntryModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this cs diagram entry
    • setCPDefinitionId

      public void setCPDefinitionId(long CPDefinitionId)
      Sets the cp definition ID of this cs diagram entry.
      Specified by:
      setCPDefinitionId in interface CSDiagramEntryModel
      Parameters:
      CPDefinitionId - the cp definition ID of this cs diagram entry
    • setCPInstanceId

      public void setCPInstanceId(long CPInstanceId)
      Sets the cp instance ID of this cs diagram entry.
      Specified by:
      setCPInstanceId in interface CSDiagramEntryModel
      Parameters:
      CPInstanceId - the cp instance ID of this cs diagram entry
    • setCProductId

      public void setCProductId(long CProductId)
      Sets the c product ID of this cs diagram entry.
      Specified by:
      setCProductId in interface CSDiagramEntryModel
      Parameters:
      CProductId - the c product ID of this cs diagram entry
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this cs diagram entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CSDiagramEntryModel
      Parameters:
      createDate - the create date of this cs diagram entry
    • setCSDiagramEntryId

      public void setCSDiagramEntryId(long CSDiagramEntryId)
      Sets the cs diagram entry ID of this cs diagram entry.
      Specified by:
      setCSDiagramEntryId in interface CSDiagramEntryModel
      Parameters:
      CSDiagramEntryId - the cs diagram entry ID of this cs diagram entry
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this cs diagram entry.
      Specified by:
      setCtCollectionId in interface CSDiagramEntryModel
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CSDiagramEntry>
      Parameters:
      ctCollectionId - the ct collection ID of this cs diagram entry
    • setDiagram

      public void setDiagram(boolean diagram)
      Sets whether this cs diagram entry is diagram.
      Specified by:
      setDiagram in interface CSDiagramEntryModel
      Parameters:
      diagram - the diagram of this cs diagram entry
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this cs diagram entry.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CSDiagramEntryModel
      Parameters:
      modifiedDate - the modified date of this cs diagram entry
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this cs diagram entry.
      Specified by:
      setMvccVersion in interface CSDiagramEntryModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this cs diagram entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this cs diagram entry.
      Specified by:
      setPrimaryKey in interface CSDiagramEntryModel
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CSDiagramEntry>
      Parameters:
      primaryKey - the primary key of this cs diagram entry
    • setQuantity

      public void setQuantity(int quantity)
      Sets the quantity of this cs diagram entry.
      Specified by:
      setQuantity in interface CSDiagramEntryModel
      Parameters:
      quantity - the quantity of this cs diagram entry
    • setSequence

      public void setSequence(String sequence)
      Sets the sequence of this cs diagram entry.
      Specified by:
      setSequence in interface CSDiagramEntryModel
      Parameters:
      sequence - the sequence of this cs diagram entry
    • setSku

      public void setSku(String sku)
      Sets the sku of this cs diagram entry.
      Specified by:
      setSku in interface CSDiagramEntryModel
      Parameters:
      sku - the sku of this cs diagram entry
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this cs diagram entry.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface CSDiagramEntryModel
      Parameters:
      userId - the user ID of this cs diagram entry
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this cs diagram entry.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface CSDiagramEntryModel
      Parameters:
      userName - the user name of this cs diagram entry
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this cs diagram entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface CSDiagramEntryModel
      Parameters:
      userUuid - the user uuid of this cs diagram entry
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CSDiagramEntryModel
    • getAttributeGetterFunctions

      public Map<String,Function<CSDiagramEntry,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<CSDiagramEntry>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<CSDiagramEntry,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<CSDiagramEntry>
    • wrap

      protected CSDiagramEntryWrapper wrap(CSDiagramEntry csDiagramEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CSDiagramEntry>