Class CommerceCatalogWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceCatalog>
com.liferay.commerce.product.model.CommerceCatalogWrapper
All Implemented Interfaces:
CommerceCatalog, CommerceCatalogModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceCatalog>, com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceCatalog>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.ModelWrapper<CommerceCatalog>, 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<CommerceCatalog>

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

This class is a wrapper for CommerceCatalog.

See Also:
Generated:
  • Constructor Details

    • CommerceCatalogWrapper

      public CommerceCatalogWrapper(CommerceCatalog commerceCatalog)
  • Method Details

    • getModelAttributes

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

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

      public CommerceCatalog cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceCatalog>
      Specified by:
      cloneWithOriginalValues in interface CommerceCatalogModel
    • getAccountEntryId

      public long getAccountEntryId()
      Returns the account entry ID of this commerce catalog.
      Specified by:
      getAccountEntryId in interface CommerceCatalogModel
      Returns:
      the account entry ID of this commerce catalog
    • getCatalogDefaultLanguageId

      public String getCatalogDefaultLanguageId()
      Returns the catalog default language ID of this commerce catalog.
      Specified by:
      getCatalogDefaultLanguageId in interface CommerceCatalogModel
      Returns:
      the catalog default language ID of this commerce catalog
    • getCommerceCatalogId

      public long getCommerceCatalogId()
      Returns the commerce catalog ID of this commerce catalog.
      Specified by:
      getCommerceCatalogId in interface CommerceCatalogModel
      Returns:
      the commerce catalog ID of this commerce catalog
    • getCommerceCurrencyCode

      public String getCommerceCurrencyCode()
      Returns the commerce currency code of this commerce catalog.
      Specified by:
      getCommerceCurrencyCode in interface CommerceCatalogModel
      Returns:
      the commerce currency code of this commerce catalog
    • getCompanyId

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

      public Date getCreateDate()
      Returns the create date of this commerce catalog.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommerceCatalogModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce catalog
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this commerce catalog.
      Specified by:
      getCtCollectionId in interface CommerceCatalogModel
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceCatalog>
      Returns:
      the ct collection ID of this commerce catalog
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this commerce catalog.
      Specified by:
      getExternalReferenceCode in interface CommerceCatalogModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this commerce catalog
    • getGroup

      public com.liferay.portal.kernel.model.Group getGroup()
      Specified by:
      getGroup in interface CommerceCatalog
    • getGroupId

      public long getGroupId()
      Specified by:
      getGroupId in interface CommerceCatalog
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce catalog.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceCatalogModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce catalog
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this commerce catalog.
      Specified by:
      getMvccVersion in interface CommerceCatalogModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce catalog
    • getName

      public String getName()
      Returns the name of this commerce catalog.
      Specified by:
      getName in interface CommerceCatalogModel
      Returns:
      the name of this commerce catalog
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce catalog.
      Specified by:
      getPrimaryKey in interface CommerceCatalogModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceCatalog>
      Returns:
      the primary key of this commerce catalog
    • getSystem

      public boolean getSystem()
      Returns the system of this commerce catalog.
      Specified by:
      getSystem in interface CommerceCatalogModel
      Returns:
      the system of this commerce catalog
    • getUserId

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

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

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

      public String getUuid()
      Returns the uuid of this commerce catalog.
      Specified by:
      getUuid in interface CommerceCatalogModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce catalog
    • isSystem

      public boolean isSystem()
      Returns true if this commerce catalog is system.
      Specified by:
      isSystem in interface CommerceCatalogModel
      Returns:
      true if this commerce catalog is system; false otherwise
    • persist

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

      public void setAccountEntryId(long accountEntryId)
      Sets the account entry ID of this commerce catalog.
      Specified by:
      setAccountEntryId in interface CommerceCatalogModel
      Parameters:
      accountEntryId - the account entry ID of this commerce catalog
    • setCatalogDefaultLanguageId

      public void setCatalogDefaultLanguageId(String catalogDefaultLanguageId)
      Sets the catalog default language ID of this commerce catalog.
      Specified by:
      setCatalogDefaultLanguageId in interface CommerceCatalogModel
      Parameters:
      catalogDefaultLanguageId - the catalog default language ID of this commerce catalog
    • setCommerceCatalogId

      public void setCommerceCatalogId(long commerceCatalogId)
      Sets the commerce catalog ID of this commerce catalog.
      Specified by:
      setCommerceCatalogId in interface CommerceCatalogModel
      Parameters:
      commerceCatalogId - the commerce catalog ID of this commerce catalog
    • setCommerceCurrencyCode

      public void setCommerceCurrencyCode(String commerceCurrencyCode)
      Sets the commerce currency code of this commerce catalog.
      Specified by:
      setCommerceCurrencyCode in interface CommerceCatalogModel
      Parameters:
      commerceCurrencyCode - the commerce currency code of this commerce catalog
    • setCompanyId

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

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

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this commerce catalog.
      Specified by:
      setCtCollectionId in interface CommerceCatalogModel
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceCatalog>
      Parameters:
      ctCollectionId - the ct collection ID of this commerce catalog
    • setExternalReferenceCode

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

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

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

      public void setName(String name)
      Sets the name of this commerce catalog.
      Specified by:
      setName in interface CommerceCatalogModel
      Parameters:
      name - the name of this commerce catalog
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce catalog.
      Specified by:
      setPrimaryKey in interface CommerceCatalogModel
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceCatalog>
      Parameters:
      primaryKey - the primary key of this commerce catalog
    • setSystem

      public void setSystem(boolean system)
      Sets whether this commerce catalog is system.
      Specified by:
      setSystem in interface CommerceCatalogModel
      Parameters:
      system - the system of this commerce catalog
    • setUserId

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

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

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

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

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

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

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

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

      protected CommerceCatalogWrapper wrap(CommerceCatalog commerceCatalog)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceCatalog>