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
model
Fields inherited from interface com.liferay.commerce.product.model.CProduct
C_PRODUCT_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this c product.long
Returns the c product ID of this c product.Returns the create date of this c product.long
Returns the ct collection ID of this c product.Returns the external reference code of this c product.long
Returns the group ID of this c product.int
Returns the latest version of this c product.Returns the modified date of this c product.long
Returns the mvcc version of this c product.long
Returns the primary key of this c product.long
Returns the published cp definition ID of this c product.com.liferay.exportimport.kernel.lar.StagedModelType
long
Returns 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.void
persist()
void
setCompanyId
(long companyId) Sets the company ID of this c product.void
setCProductId
(long CProductId) Sets the c product ID of this c product.void
setCreateDate
(Date createDate) Sets the create date of this c product.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this c product.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this c product.void
setGroupId
(long groupId) Sets the group ID of this c product.void
setLatestVersion
(int latestVersion) Sets the latest version of this c product.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this c product.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this c product.void
setPrimaryKey
(long primaryKey) Sets the primary key of this c product.void
setPublishedCPDefinitionId
(long publishedCPDefinitionId) Sets the published cp definition ID of this c product.void
setUserId
(long userId) Sets the user ID of this c product.void
setUserName
(String userName) Sets the user name of this c product.void
setUserUuid
(String userUuid) Sets the user uuid of this c product.void
Sets the uuid of this c product.protected CProductWrapper
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
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CProductWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CProduct>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CProduct>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CProduct>
- Specified by:
cloneWithOriginalValues
in interfaceCProductModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this c product.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCProductModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in 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:
getCProductId
in interfaceCProductModel
- Returns:
- the c product ID of this c product
-
getCreateDate
Returns the create date of this c product.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCProductModel
- Specified by:
getCreateDate
in 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:
getCtCollectionId
in interfaceCProductModel
- Specified by:
getCtCollectionId
in 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:
getExternalReferenceCode
in interfaceCProductModel
- Specified by:
getExternalReferenceCode
in 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:
getGroupId
in interfaceCProductModel
- Specified by:
getGroupId
in 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:
getLatestVersion
in interfaceCProductModel
- Returns:
- the latest version of this c product
-
getModifiedDate
Returns the modified date of this c product.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCProductModel
- Specified by:
getModifiedDate
in 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:
getMvccVersion
in interfaceCProductModel
- Specified by:
getMvccVersion
in 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:
getPrimaryKey
in interfaceCProductModel
- Specified by:
getPrimaryKey
in 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:
getPublishedCPDefinitionId
in 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:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCProductModel
- Returns:
- the user ID of this c product
-
getUserName
Returns the user name of this c product.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCProductModel
- Returns:
- the user name of this c product
-
getUserUuid
Returns the user uuid of this c product.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCProductModel
- Returns:
- the user uuid of this c product
-
getUuid
Returns the uuid of this c product.- Specified by:
getUuid
in interfaceCProductModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this c product
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this c product.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCProductModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in 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:
setCProductId
in interfaceCProductModel
- Parameters:
CProductId
- the c product ID of this c product
-
setCreateDate
Sets the create date of this c product.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCProductModel
- Specified by:
setCreateDate
in 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:
setCtCollectionId
in interfaceCProductModel
- Specified by:
setCtCollectionId
in 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:
setExternalReferenceCode
in interfaceCProductModel
- Specified by:
setExternalReferenceCode
in 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:
setGroupId
in interfaceCProductModel
- Specified by:
setGroupId
in 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:
setLatestVersion
in interfaceCProductModel
- Parameters:
latestVersion
- the latest version of this c product
-
setModifiedDate
Sets the modified date of this c product.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCProductModel
- Specified by:
setModifiedDate
in 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:
setMvccVersion
in interfaceCProductModel
- Specified by:
setMvccVersion
in 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:
setPrimaryKey
in interfaceCProductModel
- Specified by:
setPrimaryKey
in 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:
setPublishedCPDefinitionId
in 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:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCProductModel
- Parameters:
userId
- the user ID of this c product
-
setUserName
Sets the user name of this c product.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCProductModel
- Parameters:
userName
- the user name of this c product
-
setUserUuid
Sets the user uuid of this c product.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCProductModel
- Parameters:
userUuid
- the user uuid of this c product
-
setUuid
Sets the uuid of this c product.- Specified by:
setUuid
in interfaceCProductModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this c product
-
toXmlString
- Specified by:
toXmlString
in interfaceCProductModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<CProduct>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<CProduct>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CProduct>
-