Class CProductWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CProduct>
com.liferay.commerce.product.model.CProductWrapper
- All Implemented Interfaces:
CProduct,CProductModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CProduct>,com.liferay.portal.kernel.model.change.tracking.CTModel<CProduct>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.ModelWrapper<CProduct>,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<CProduct>
public class CProductWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CProduct>
implements CProduct, com.liferay.portal.kernel.model.ModelWrapper<CProduct>
This class is a wrapper for CProduct.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.commerce.product.model.CProduct
C_PRODUCT_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the company ID of this c product.longReturns the c product ID of this c product.Returns the create date of this c product.longReturns the ct collection ID of this c product.Returns the external reference code of this c product.longReturns the group ID of this c product.intReturns the latest version of this c product.Returns the modified date of this c product.longReturns the mvcc version of this c product.longReturns the primary key of this c product.longReturns the published cp definition ID of this c product.com.liferay.exportimport.kernel.lar.StagedModelTypelongReturns the user ID of this c product.Returns the user name of this c product.Returns the user uuid of this c product.getUuid()Returns the uuid of this c product.voidpersist()voidsetCompanyId(long companyId) Sets the company ID of this c product.voidsetCProductId(long CProductId) Sets the c product ID of this c product.voidsetCreateDate(Date createDate) Sets the create date of this c product.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this c product.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this c product.voidsetGroupId(long groupId) Sets the group ID of this c product.voidsetLatestVersion(int latestVersion) Sets the latest version of this c product.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this c product.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this c product.voidsetPrimaryKey(long primaryKey) Sets the primary key of this c product.voidsetPublishedCPDefinitionId(long publishedCPDefinitionId) Sets the published cp definition ID of this c product.voidsetUserId(long userId) Sets the user ID of this c product.voidsetUserName(String userName) Sets the user name of this c product.voidsetUserUuid(String userUuid) Sets the user uuid of this c product.voidSets the uuid of this c product.protected CProductWrapperMethods 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CProductWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CProduct>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CProduct>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CProduct>- Specified by:
cloneWithOriginalValuesin interfaceCProductModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this c product.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCProductModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this c product
-
getCProductId
public long getCProductId()Returns the c product ID of this c product.- Specified by:
getCProductIdin interfaceCProductModel- Returns:
- the c product ID of this c product
-
getCreateDate
Returns the create date of this c product.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCProductModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this c product
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this c product.- Specified by:
getCtCollectionIdin interfaceCProductModel- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CProduct>- Returns:
- the ct collection ID of this c product
-
getExternalReferenceCode
Returns the external reference code of this c product.- Specified by:
getExternalReferenceCodein interfaceCProductModel- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this c product
-
getGroupId
public long getGroupId()Returns the group ID of this c product.- Specified by:
getGroupIdin interfaceCProductModel- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this c product
-
getLatestVersion
public int getLatestVersion()Returns the latest version of this c product.- Specified by:
getLatestVersionin interfaceCProductModel- Returns:
- the latest version of this c product
-
getModifiedDate
Returns the modified date of this c product.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceCProductModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this c product
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this c product.- Specified by:
getMvccVersionin interfaceCProductModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this c product
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this c product.- Specified by:
getPrimaryKeyin interfaceCProductModel- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CProduct>- Returns:
- the primary key of this c product
-
getPublishedCPDefinitionId
public long getPublishedCPDefinitionId()Returns the published cp definition ID of this c product.- Specified by:
getPublishedCPDefinitionIdin interfaceCProductModel- Returns:
- the published cp definition ID of this c product
-
getUserId
public long getUserId()Returns the user ID of this c product.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCProductModel- Returns:
- the user ID of this c product
-
getUserName
Returns the user name of this c product.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceCProductModel- Returns:
- the user name of this c product
-
getUserUuid
Returns the user uuid of this c product.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceCProductModel- Returns:
- the user uuid of this c product
-
getUuid
Returns the uuid of this c product.- Specified by:
getUuidin interfaceCProductModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this c product
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this c product.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCProductModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this c product
-
setCProductId
public void setCProductId(long CProductId) Sets the c product ID of this c product.- Specified by:
setCProductIdin interfaceCProductModel- Parameters:
CProductId- the c product ID of this c product
-
setCreateDate
Sets the create date of this c product.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceCProductModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this c product
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this c product.- Specified by:
setCtCollectionIdin interfaceCProductModel- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CProduct>- Parameters:
ctCollectionId- the ct collection ID of this c product
-
setExternalReferenceCode
Sets the external reference code of this c product.- Specified by:
setExternalReferenceCodein interfaceCProductModel- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this c product
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this c product.- Specified by:
setGroupIdin interfaceCProductModel- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this c product
-
setLatestVersion
public void setLatestVersion(int latestVersion) Sets the latest version of this c product.- Specified by:
setLatestVersionin interfaceCProductModel- Parameters:
latestVersion- the latest version of this c product
-
setModifiedDate
Sets the modified date of this c product.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceCProductModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this c product
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this c product.- Specified by:
setMvccVersionin interfaceCProductModel- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this c product
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this c product.- Specified by:
setPrimaryKeyin interfaceCProductModel- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CProduct>- Parameters:
primaryKey- the primary key of this c product
-
setPublishedCPDefinitionId
public void setPublishedCPDefinitionId(long publishedCPDefinitionId) Sets the published cp definition ID of this c product.- Specified by:
setPublishedCPDefinitionIdin interfaceCProductModel- Parameters:
publishedCPDefinitionId- the published cp definition ID of this c product
-
setUserId
public void setUserId(long userId) Sets the user ID of this c product.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceCProductModel- Parameters:
userId- the user ID of this c product
-
setUserName
Sets the user name of this c product.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceCProductModel- Parameters:
userName- the user name of this c product
-
setUserUuid
Sets the user uuid of this c product.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceCProductModel- Parameters:
userUuid- the user uuid of this c product
-
setUuid
Sets the uuid of this c product.- Specified by:
setUuidin interfaceCProductModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this c product
-
toXmlString
- Specified by:
toXmlStringin interfaceCProductModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfacecom.liferay.portal.kernel.model.BaseModel<CProduct>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfacecom.liferay.portal.kernel.model.BaseModel<CProduct>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CProduct>
-