@ProviderType public interface CProductModel extends com.liferay.portal.kernel.model.BaseModel<CProduct>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
This interface and its corresponding implementation com.liferay.commerce.product.model.impl.CProductModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.product.model.impl.CProductImpl
.
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.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.
|
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 |
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 |
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.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this c productlong getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this c product@AutoEscape java.lang.String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
void setUuid(java.lang.String uuid)
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this c product@AutoEscape java.lang.String getExternalReferenceCode()
void setExternalReferenceCode(java.lang.String externalReferenceCode)
externalReferenceCode
- the external reference code of this c productlong getCProductId()
void setCProductId(long CProductId)
CProductId
- the c product ID of this c productlong getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this c productlong getCompanyId()
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
void setCompanyId(long companyId)
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 productlong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this c productjava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this c product@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this c productjava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
void setCreateDate(java.util.Date createDate)
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 productjava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
void setModifiedDate(java.util.Date modifiedDate)
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 productlong getPublishedCPDefinitionId()
void setPublishedCPDefinitionId(long publishedCPDefinitionId)
publishedCPDefinitionId
- the published cp definition ID of this c productint getLatestVersion()
void setLatestVersion(int latestVersion)
latestVersion
- the latest version of this c product