Class CPDefinitionLocalizationWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionLocalization>
com.liferay.commerce.product.model.CPDefinitionLocalizationWrapper
All Implemented Interfaces:
CPDefinitionLocalization, CPDefinitionLocalizationModel, com.liferay.portal.kernel.model.BaseModel<CPDefinitionLocalization>, com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLocalization>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<CPDefinitionLocalization>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<CPDefinitionLocalization>

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

This class is a wrapper for CPDefinitionLocalization.

See Also:
Generated:
  • Constructor Details

    • CPDefinitionLocalizationWrapper

      public CPDefinitionLocalizationWrapper(CPDefinitionLocalization cpDefinitionLocalization)
  • Method Details

    • getModelAttributes

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

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

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

      public long getCompanyId()
      Returns the company ID of this cp definition localization.
      Specified by:
      getCompanyId in interface CPDefinitionLocalizationModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this cp definition localization
    • getCPDefinitionId

      public long getCPDefinitionId()
      Returns the cp definition ID of this cp definition localization.
      Specified by:
      getCPDefinitionId in interface CPDefinitionLocalizationModel
      Returns:
      the cp definition ID of this cp definition localization
    • getCpDefinitionLocalizationId

      public long getCpDefinitionLocalizationId()
      Returns the cp definition localization ID of this cp definition localization.
      Specified by:
      getCpDefinitionLocalizationId in interface CPDefinitionLocalizationModel
      Returns:
      the cp definition localization ID of this cp definition localization
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this cp definition localization.
      Specified by:
      getCtCollectionId in interface CPDefinitionLocalizationModel
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLocalization>
      Returns:
      the ct collection ID of this cp definition localization
    • getDescription

      public String getDescription()
      Returns the description of this cp definition localization.
      Specified by:
      getDescription in interface CPDefinitionLocalizationModel
      Returns:
      the description of this cp definition localization
    • getLanguageId

      public String getLanguageId()
      Returns the language ID of this cp definition localization.
      Specified by:
      getLanguageId in interface CPDefinitionLocalizationModel
      Returns:
      the language ID of this cp definition localization
    • getMetaDescription

      public String getMetaDescription()
      Returns the meta description of this cp definition localization.
      Specified by:
      getMetaDescription in interface CPDefinitionLocalizationModel
      Returns:
      the meta description of this cp definition localization
    • getMetaKeywords

      public String getMetaKeywords()
      Returns the meta keywords of this cp definition localization.
      Specified by:
      getMetaKeywords in interface CPDefinitionLocalizationModel
      Returns:
      the meta keywords of this cp definition localization
    • getMetaTitle

      public String getMetaTitle()
      Returns the meta title of this cp definition localization.
      Specified by:
      getMetaTitle in interface CPDefinitionLocalizationModel
      Returns:
      the meta title of this cp definition localization
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this cp definition localization.
      Specified by:
      getMvccVersion in interface CPDefinitionLocalizationModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this cp definition localization
    • getName

      public String getName()
      Returns the name of this cp definition localization.
      Specified by:
      getName in interface CPDefinitionLocalizationModel
      Returns:
      the name of this cp definition localization
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this cp definition localization.
      Specified by:
      getPrimaryKey in interface CPDefinitionLocalizationModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLocalization>
      Returns:
      the primary key of this cp definition localization
    • getShortDescription

      public String getShortDescription()
      Returns the short description of this cp definition localization.
      Specified by:
      getShortDescription in interface CPDefinitionLocalizationModel
      Returns:
      the short description of this cp definition localization
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this cp definition localization.
      Specified by:
      setCompanyId in interface CPDefinitionLocalizationModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this cp definition localization
    • setCPDefinitionId

      public void setCPDefinitionId(long CPDefinitionId)
      Sets the cp definition ID of this cp definition localization.
      Specified by:
      setCPDefinitionId in interface CPDefinitionLocalizationModel
      Parameters:
      CPDefinitionId - the cp definition ID of this cp definition localization
    • setCpDefinitionLocalizationId

      public void setCpDefinitionLocalizationId(long cpDefinitionLocalizationId)
      Sets the cp definition localization ID of this cp definition localization.
      Specified by:
      setCpDefinitionLocalizationId in interface CPDefinitionLocalizationModel
      Parameters:
      cpDefinitionLocalizationId - the cp definition localization ID of this cp definition localization
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this cp definition localization.
      Specified by:
      setCtCollectionId in interface CPDefinitionLocalizationModel
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLocalization>
      Parameters:
      ctCollectionId - the ct collection ID of this cp definition localization
    • setDescription

      public void setDescription(String description)
      Sets the description of this cp definition localization.
      Specified by:
      setDescription in interface CPDefinitionLocalizationModel
      Parameters:
      description - the description of this cp definition localization
    • setLanguageId

      public void setLanguageId(String languageId)
      Sets the language ID of this cp definition localization.
      Specified by:
      setLanguageId in interface CPDefinitionLocalizationModel
      Parameters:
      languageId - the language ID of this cp definition localization
    • setMetaDescription

      public void setMetaDescription(String metaDescription)
      Sets the meta description of this cp definition localization.
      Specified by:
      setMetaDescription in interface CPDefinitionLocalizationModel
      Parameters:
      metaDescription - the meta description of this cp definition localization
    • setMetaKeywords

      public void setMetaKeywords(String metaKeywords)
      Sets the meta keywords of this cp definition localization.
      Specified by:
      setMetaKeywords in interface CPDefinitionLocalizationModel
      Parameters:
      metaKeywords - the meta keywords of this cp definition localization
    • setMetaTitle

      public void setMetaTitle(String metaTitle)
      Sets the meta title of this cp definition localization.
      Specified by:
      setMetaTitle in interface CPDefinitionLocalizationModel
      Parameters:
      metaTitle - the meta title of this cp definition localization
    • setMvccVersion

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

      public void setName(String name)
      Sets the name of this cp definition localization.
      Specified by:
      setName in interface CPDefinitionLocalizationModel
      Parameters:
      name - the name of this cp definition localization
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this cp definition localization.
      Specified by:
      setPrimaryKey in interface CPDefinitionLocalizationModel
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLocalization>
      Parameters:
      primaryKey - the primary key of this cp definition localization
    • setShortDescription

      public void setShortDescription(String shortDescription)
      Sets the short description of this cp definition localization.
      Specified by:
      setShortDescription in interface CPDefinitionLocalizationModel
      Parameters:
      shortDescription - the short description of this cp definition localization
    • toXmlString

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

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

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

      protected CPDefinitionLocalizationWrapper wrap(CPDefinitionLocalization cpDefinitionLocalization)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionLocalization>