Class CPDefinitionGroupedEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionGroupedEntry>
com.liferay.commerce.product.type.grouped.model.CPDefinitionGroupedEntryWrapper
All Implemented Interfaces:
CPDefinitionGroupedEntry, CPDefinitionGroupedEntryModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CPDefinitionGroupedEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<CPDefinitionGroupedEntry>, 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<CPDefinitionGroupedEntry>

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

This class is a wrapper for CPDefinitionGroupedEntry.

See Also:
Generated:
  • Field Summary

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

    model

    Fields inherited from interface com.liferay.commerce.product.type.grouped.model.CPDefinitionGroupedEntry

    CP_DEFINITION_GROUPED_ENTRY_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the company ID of this cp definition grouped entry.
    com.liferay.commerce.product.model.CPDefinition
     
    long
    Returns the cp definition grouped entry ID of this cp definition grouped entry.
    long
    Returns the cp definition ID of this cp definition grouped entry.
    Returns the create date of this cp definition grouped entry.
    com.liferay.commerce.product.model.CPDefinition
     
    long
     
    com.liferay.commerce.product.model.CProduct
     
    long
    Returns the entry c product ID of this cp definition grouped entry.
    long
    Returns the group ID of this cp definition grouped entry.
     
    Returns the modified date of this cp definition grouped entry.
    long
    Returns the mvcc version of this cp definition grouped entry.
    long
    Returns the primary key of this cp definition grouped entry.
    double
    Returns the priority of this cp definition grouped entry.
    int
    Returns the quantity of this cp definition grouped entry.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    long
    Returns the user ID of this cp definition grouped entry.
    Returns the user name of this cp definition grouped entry.
    Returns the user uuid of this cp definition grouped entry.
    Returns the uuid of this cp definition grouped entry.
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this cp definition grouped entry.
    void
    setCPDefinitionGroupedEntryId(long CPDefinitionGroupedEntryId)
    Sets the cp definition grouped entry ID of this cp definition grouped entry.
    void
    setCPDefinitionId(long CPDefinitionId)
    Sets the cp definition ID of this cp definition grouped entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this cp definition grouped entry.
    void
    setEntryCProductId(long entryCProductId)
    Sets the entry c product ID of this cp definition grouped entry.
    void
    setGroupId(long groupId)
    Sets the group ID of this cp definition grouped entry.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this cp definition grouped entry.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this cp definition grouped entry.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this cp definition grouped entry.
    void
    setPriority(double priority)
    Sets the priority of this cp definition grouped entry.
    void
    setQuantity(int quantity)
    Sets the quantity of this cp definition grouped entry.
    void
    setUserId(long userId)
    Sets the user ID of this cp definition grouped entry.
    void
    setUserName(String userName)
    Sets the user name of this cp definition grouped entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this cp definition grouped entry.
    void
    Sets the uuid of this cp definition grouped entry.
     
    wrap(CPDefinitionGroupedEntry cpDefinitionGroupedEntry)
     

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

    • CPDefinitionGroupedEntryWrapper

      public CPDefinitionGroupedEntryWrapper(CPDefinitionGroupedEntry cpDefinitionGroupedEntry)
  • Method Details

    • getModelAttributes

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

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

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

      public long getCompanyId()
      Returns the company ID of this cp definition grouped entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CPDefinitionGroupedEntryModel
      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 cp definition grouped entry
    • getCPDefinition

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

      public long getCPDefinitionGroupedEntryId()
      Returns the cp definition grouped entry ID of this cp definition grouped entry.
      Specified by:
      getCPDefinitionGroupedEntryId in interface CPDefinitionGroupedEntryModel
      Returns:
      the cp definition grouped entry ID of this cp definition grouped entry
    • getCPDefinitionId

      public long getCPDefinitionId()
      Returns the cp definition ID of this cp definition grouped entry.
      Specified by:
      getCPDefinitionId in interface CPDefinitionGroupedEntryModel
      Returns:
      the cp definition ID of this cp definition grouped entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this cp definition grouped entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CPDefinitionGroupedEntryModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this cp definition grouped entry
    • getEntryCPDefinition

      public com.liferay.commerce.product.model.CPDefinition getEntryCPDefinition() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getEntryCPDefinition in interface CPDefinitionGroupedEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getEntryCPDefinitionId

      public long getEntryCPDefinitionId() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getEntryCPDefinitionId in interface CPDefinitionGroupedEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getEntryCProduct

      public com.liferay.commerce.product.model.CProduct getEntryCProduct() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getEntryCProduct in interface CPDefinitionGroupedEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getEntryCProductId

      public long getEntryCProductId()
      Returns the entry c product ID of this cp definition grouped entry.
      Specified by:
      getEntryCProductId in interface CPDefinitionGroupedEntryModel
      Returns:
      the entry c product ID of this cp definition grouped entry
    • getGroupId

      public long getGroupId()
      Returns the group ID of this cp definition grouped entry.
      Specified by:
      getGroupId in interface CPDefinitionGroupedEntryModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this cp definition grouped entry
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this cp definition grouped entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CPDefinitionGroupedEntryModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this cp definition grouped entry
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this cp definition grouped entry.
      Specified by:
      getMvccVersion in interface CPDefinitionGroupedEntryModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this cp definition grouped entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this cp definition grouped entry.
      Specified by:
      getPrimaryKey in interface CPDefinitionGroupedEntryModel
      Returns:
      the primary key of this cp definition grouped entry
    • getPriority

      public double getPriority()
      Returns the priority of this cp definition grouped entry.
      Specified by:
      getPriority in interface CPDefinitionGroupedEntryModel
      Returns:
      the priority of this cp definition grouped entry
    • getQuantity

      public int getQuantity()
      Returns the quantity of this cp definition grouped entry.
      Specified by:
      getQuantity in interface CPDefinitionGroupedEntryModel
      Returns:
      the quantity of this cp definition grouped entry
    • getUserId

      public long getUserId()
      Returns the user ID of this cp definition grouped entry.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CPDefinitionGroupedEntryModel
      Returns:
      the user ID of this cp definition grouped entry
    • getUserName

      public String getUserName()
      Returns the user name of this cp definition grouped entry.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CPDefinitionGroupedEntryModel
      Returns:
      the user name of this cp definition grouped entry
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this cp definition grouped entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CPDefinitionGroupedEntryModel
      Returns:
      the user uuid of this cp definition grouped entry
    • getUuid

      public String getUuid()
      Returns the uuid of this cp definition grouped entry.
      Specified by:
      getUuid in interface CPDefinitionGroupedEntryModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this cp definition grouped entry
    • 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 cp definition grouped entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CPDefinitionGroupedEntryModel
      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 cp definition grouped entry
    • setCPDefinitionGroupedEntryId

      public void setCPDefinitionGroupedEntryId(long CPDefinitionGroupedEntryId)
      Sets the cp definition grouped entry ID of this cp definition grouped entry.
      Specified by:
      setCPDefinitionGroupedEntryId in interface CPDefinitionGroupedEntryModel
      Parameters:
      CPDefinitionGroupedEntryId - the cp definition grouped entry ID of this cp definition grouped entry
    • setCPDefinitionId

      public void setCPDefinitionId(long CPDefinitionId)
      Sets the cp definition ID of this cp definition grouped entry.
      Specified by:
      setCPDefinitionId in interface CPDefinitionGroupedEntryModel
      Parameters:
      CPDefinitionId - the cp definition ID of this cp definition grouped entry
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this cp definition grouped entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CPDefinitionGroupedEntryModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this cp definition grouped entry
    • setEntryCProductId

      public void setEntryCProductId(long entryCProductId)
      Sets the entry c product ID of this cp definition grouped entry.
      Specified by:
      setEntryCProductId in interface CPDefinitionGroupedEntryModel
      Parameters:
      entryCProductId - the entry c product ID of this cp definition grouped entry
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this cp definition grouped entry.
      Specified by:
      setGroupId in interface CPDefinitionGroupedEntryModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this cp definition grouped entry
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this cp definition grouped entry.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CPDefinitionGroupedEntryModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this cp definition grouped entry
    • setMvccVersion

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

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this cp definition grouped entry.
      Specified by:
      setPrimaryKey in interface CPDefinitionGroupedEntryModel
      Parameters:
      primaryKey - the primary key of this cp definition grouped entry
    • setPriority

      public void setPriority(double priority)
      Sets the priority of this cp definition grouped entry.
      Specified by:
      setPriority in interface CPDefinitionGroupedEntryModel
      Parameters:
      priority - the priority of this cp definition grouped entry
    • setQuantity

      public void setQuantity(int quantity)
      Sets the quantity of this cp definition grouped entry.
      Specified by:
      setQuantity in interface CPDefinitionGroupedEntryModel
      Parameters:
      quantity - the quantity of this cp definition grouped entry
    • setUserId

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

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

      public void setUserUuid(String userUuid)
      Sets the user uuid of this cp definition grouped entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface CPDefinitionGroupedEntryModel
      Parameters:
      userUuid - the user uuid of this cp definition grouped entry
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this cp definition grouped entry.
      Specified by:
      setUuid in interface CPDefinitionGroupedEntryModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this cp definition grouped entry
    • toXmlString

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

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

      protected CPDefinitionGroupedEntryWrapper wrap(CPDefinitionGroupedEntry cpDefinitionGroupedEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionGroupedEntry>