Interface CProductModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CProduct>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<CProduct>,com.liferay.portal.kernel.model.change.tracking.CTModel<CProduct>,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedAuditedModel,com.liferay.portal.kernel.model.StagedModel
- All Known Subinterfaces:
CProduct
- All Known Implementing Classes:
CProductWrapper
@ProviderType
public interface CProductModel
extends com.liferay.portal.kernel.model.BaseModel<CProduct>, com.liferay.portal.kernel.model.change.tracking.CTModel<CProduct>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
The base model interface for the CProduct service. Represents a row in the "CProduct" database table, with each column mapped to a property of this class.
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.
- See Also:
- Generated:
-
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.longReturns 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.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.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.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this c product.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CProduct>- Returns:
- the primary key of this c product
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this c product.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CProduct>- Parameters:
primaryKey- the primary key of this c product
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this c product.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this c product
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this c product.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this c product
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this c product.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CProduct>- Returns:
- the ct collection ID of this c product
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this c product.- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CProduct>- Parameters:
ctCollectionId- the ct collection ID of this c product
-
getUuid
Returns the uuid of this c product.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this c product
-
setUuid
Sets the uuid of this c product.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this c product
-
getExternalReferenceCode
Returns the external reference code of this c product.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this c product
-
setExternalReferenceCode
Sets the external reference code of this c product.- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this c product
-
getCProductId
long getCProductId()Returns the c product ID of this c product.- Returns:
- the c product ID of this c product
-
setCProductId
void setCProductId(long CProductId) Sets the c product ID of this c product.- Parameters:
CProductId- the c product ID of this c product
-
getGroupId
long getGroupId()Returns the group ID of this c product.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this c product
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this c product.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this c product
-
getCompanyId
long getCompanyId()Returns the company ID of this c product.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- 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
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this c product.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- 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
-
getUserId
long getUserId()Returns the user ID of this c product.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this c product
-
setUserId
void setUserId(long userId) Sets the user ID of this c product.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this c product
-
getUserUuid
String getUserUuid()Returns the user uuid of this c product.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this c product
-
setUserUuid
Sets the user uuid of this c product.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this c product
-
getUserName
Returns the user name of this c product.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this c product
-
setUserName
Sets the user name of this c product.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this c product
-
getCreateDate
Date getCreateDate()Returns the create date of this c product.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date 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 interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this c product
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this c product.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date 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 interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this c product
-
getPublishedCPDefinitionId
long getPublishedCPDefinitionId()Returns the published cp definition ID of this c product.- Returns:
- the published cp definition ID of this c product
-
setPublishedCPDefinitionId
void setPublishedCPDefinitionId(long publishedCPDefinitionId) Sets the published cp definition ID of this c product.- Parameters:
publishedCPDefinitionId- the published cp definition ID of this c product
-
getLatestVersion
int getLatestVersion()Returns the latest version of this c product.- Returns:
- the latest version of this c product
-
setLatestVersion
void setLatestVersion(int latestVersion) Sets the latest version of this c product.- Parameters:
latestVersion- the latest version of this c product
-
cloneWithOriginalValues
CProduct cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CProduct>
-
toXmlString
-