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
.
CProduct
,
Serialized FormC_PRODUCT_ID_ACCESSOR
Constructor and Description |
---|
CProductWrapper(CProduct cProduct) |
Modifier and Type | Method and Description |
---|---|
CProduct |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this c product.
|
long |
getCProductId()
Returns the c product ID of this c product.
|
java.util.Date |
getCreateDate()
Returns the create date of this c product.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this c product.
|
long |
getGroupId()
Returns the group ID of this c product.
|
int |
getLatestVersion()
Returns the latest version of this c product.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this c product.
|
long |
getMvccVersion()
Returns the mvcc version of this c product.
|
long |
getPrimaryKey()
Returns the primary key of this c product.
|
long |
getPublishedCPDefinitionId()
Returns the published cp definition ID of this c product.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this c product.
|
java.lang.String |
getUserName()
Returns the user name of this c product.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this c product.
|
java.lang.String |
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(java.util.Date createDate)
Sets the create date of this c product.
|
void |
setExternalReferenceCode(java.lang.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(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.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(java.lang.String userName)
Sets the user name of this c product.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this c product.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this c product.
|
protected CProductWrapper |
wrap(CProduct cProduct) |
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public CProductWrapper(CProduct cProduct)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CProduct>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CProduct>
public CProduct cloneWithOriginalValues()
cloneWithOriginalValues
in interface CProductModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CProduct>
public long getCompanyId()
getCompanyId
in interface CProductModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public long getCProductId()
getCProductId
in interface CProductModel
public java.util.Date getCreateDate()
getCreateDate
in interface CProductModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface CProductModel
public long getGroupId()
getGroupId
in interface CProductModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public int getLatestVersion()
getLatestVersion
in interface CProductModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CProductModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface CProductModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface CProductModel
public long getPublishedCPDefinitionId()
getPublishedCPDefinitionId
in interface CProductModel
public long getUserId()
getUserId
in interface CProductModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CProductModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CProductModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface CProductModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface CProductModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this c productpublic void setCProductId(long CProductId)
setCProductId
in interface CProductModel
CProductId
- the c product ID of this c productpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CProductModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this c productpublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface CProductModel
externalReferenceCode
- the external reference code of this c productpublic void setGroupId(long groupId)
setGroupId
in interface CProductModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this c productpublic void setLatestVersion(int latestVersion)
setLatestVersion
in interface CProductModel
latestVersion
- the latest version of this c productpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CProductModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this c productpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CProductModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this c productpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CProductModel
primaryKey
- the primary key of this c productpublic void setPublishedCPDefinitionId(long publishedCPDefinitionId)
setPublishedCPDefinitionId
in interface CProductModel
publishedCPDefinitionId
- the published cp definition ID of this c productpublic void setUserId(long userId)
setUserId
in interface CProductModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this c productpublic void setUserName(java.lang.String userName)
setUserName
in interface CProductModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this c productpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CProductModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this c productpublic void setUuid(java.lang.String uuid)
setUuid
in interface CProductModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this c productpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected CProductWrapper wrap(CProduct cProduct)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CProduct>