Interface CPDefinitionLinkModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CPDefinitionLink>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<CPDefinitionLink>,com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedGroupedModel,com.liferay.portal.kernel.model.StagedModel,com.liferay.portal.kernel.model.WorkflowedModel
- All Known Subinterfaces:
CPDefinitionLink
- All Known Implementing Classes:
CPDefinitionLinkWrapper
@ProviderType
public interface CPDefinitionLinkModel
extends com.liferay.portal.kernel.model.BaseModel<CPDefinitionLink>, com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.WorkflowedModel
The base model interface for the CPDefinitionLink service. Represents a row in the "CPDefinitionLink" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.commerce.product.model.impl.CPDefinitionLinkModelImpl 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.CPDefinitionLinkImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the company ID of this cp definition link.longReturns the cp definition ID of this cp definition link.longReturns the cp definition link ID of this cp definition link.longReturns the c product ID of this cp definition link.Returns the create date of this cp definition link.longReturns the ct collection ID of this cp definition link.Returns the display date of this cp definition link.Returns the expiration date of this cp definition link.longReturns the group ID of this cp definition link.Returns the last publish date of this cp definition link.Returns the modified date of this cp definition link.longReturns the mvcc version of this cp definition link.longReturns the primary key of this cp definition link.doubleReturns the priority of this cp definition link.intReturns the status of this cp definition link.longReturns the status by user ID of this cp definition link.Returns the status by user name of this cp definition link.Returns the status by user uuid of this cp definition link.Returns the status date of this cp definition link.getType()Returns the type of this cp definition link.longReturns the user ID of this cp definition link.Returns the user name of this cp definition link.Returns the user uuid of this cp definition link.getUuid()Returns the uuid of this cp definition link.booleanReturnstrueif this cp definition link is approved.booleanisDenied()Returnstrueif this cp definition link is denied.booleanisDraft()Returnstrueif this cp definition link is a draft.booleanReturnstrueif this cp definition link is expired.booleanReturnstrueif this cp definition link is inactive.booleanReturnstrueif this cp definition link is incomplete.booleanReturnstrueif this cp definition link is pending.booleanReturnstrueif this cp definition link is scheduled.voidsetCompanyId(long companyId) Sets the company ID of this cp definition link.voidsetCPDefinitionId(long CPDefinitionId) Sets the cp definition ID of this cp definition link.voidsetCPDefinitionLinkId(long CPDefinitionLinkId) Sets the cp definition link ID of this cp definition link.voidsetCProductId(long CProductId) Sets the c product ID of this cp definition link.voidsetCreateDate(Date createDate) Sets the create date of this cp definition link.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp definition link.voidsetDisplayDate(Date displayDate) Sets the display date of this cp definition link.voidsetExpirationDate(Date expirationDate) Sets the expiration date of this cp definition link.voidsetGroupId(long groupId) Sets the group ID of this cp definition link.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this cp definition link.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this cp definition link.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this cp definition link.voidsetPrimaryKey(long primaryKey) Sets the primary key of this cp definition link.voidsetPriority(double priority) Sets the priority of this cp definition link.voidsetStatus(int status) Sets the status of this cp definition link.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this cp definition link.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this cp definition link.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this cp definition link.voidsetStatusDate(Date statusDate) Sets the status date of this cp definition link.voidSets the type of this cp definition link.voidsetUserId(long userId) Sets the user ID of this cp definition link.voidsetUserName(String userName) Sets the user name of this cp definition link.voidsetUserUuid(String userUuid) Sets the user uuid of this cp definition link.voidSets the uuid of this cp definition link.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 cp definition link.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>- Returns:
- the primary key of this cp definition link
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this cp definition link.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>- Parameters:
primaryKey- the primary key of this cp definition link
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this cp definition link.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this cp definition link
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this cp definition link.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this cp definition link
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this cp definition link.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>- Returns:
- the ct collection ID of this cp definition link
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp definition link.- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>- Parameters:
ctCollectionId- the ct collection ID of this cp definition link
-
getUuid
Returns the uuid of this cp definition link.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this cp definition link
-
setUuid
Sets the uuid of this cp definition link.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this cp definition link
-
getCPDefinitionLinkId
long getCPDefinitionLinkId()Returns the cp definition link ID of this cp definition link.- Returns:
- the cp definition link ID of this cp definition link
-
setCPDefinitionLinkId
void setCPDefinitionLinkId(long CPDefinitionLinkId) Sets the cp definition link ID of this cp definition link.- Parameters:
CPDefinitionLinkId- the cp definition link ID of this cp definition link
-
getGroupId
long getGroupId()Returns the group ID of this cp definition link.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this cp definition link
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this cp definition link.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this cp definition link
-
getCompanyId
long getCompanyId()Returns the company ID of this cp definition link.- 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 cp definition link
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this cp definition link.- 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 cp definition link
-
getUserId
long getUserId()Returns the user ID of this cp definition link.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this cp definition link
-
setUserId
void setUserId(long userId) Sets the user ID of this cp definition link.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this cp definition link
-
getUserUuid
String getUserUuid()Returns the user uuid of this cp definition link.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this cp definition link
-
setUserUuid
Sets the user uuid of this cp definition link.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this cp definition link
-
getUserName
Returns the user name of this cp definition link.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this cp definition link
-
setUserName
Sets the user name of this cp definition link.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this cp definition link
-
getCreateDate
Date getCreateDate()Returns the create date of this cp definition link.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this cp definition link
-
setCreateDate
Sets the create date of this cp definition link.- 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 cp definition link
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this cp definition link.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this cp definition link
-
setModifiedDate
Sets the modified date of this cp definition link.- 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 cp definition link
-
getCPDefinitionId
long getCPDefinitionId()Returns the cp definition ID of this cp definition link.- Returns:
- the cp definition ID of this cp definition link
-
setCPDefinitionId
void setCPDefinitionId(long CPDefinitionId) Sets the cp definition ID of this cp definition link.- Parameters:
CPDefinitionId- the cp definition ID of this cp definition link
-
getCProductId
long getCProductId()Returns the c product ID of this cp definition link.- Returns:
- the c product ID of this cp definition link
-
setCProductId
void setCProductId(long CProductId) Sets the c product ID of this cp definition link.- Parameters:
CProductId- the c product ID of this cp definition link
-
getDisplayDate
Date getDisplayDate()Returns the display date of this cp definition link.- Returns:
- the display date of this cp definition link
-
setDisplayDate
Sets the display date of this cp definition link.- Parameters:
displayDate- the display date of this cp definition link
-
getExpirationDate
Date getExpirationDate()Returns the expiration date of this cp definition link.- Returns:
- the expiration date of this cp definition link
-
setExpirationDate
Sets the expiration date of this cp definition link.- Parameters:
expirationDate- the expiration date of this cp definition link
-
getPriority
double getPriority()Returns the priority of this cp definition link.- Returns:
- the priority of this cp definition link
-
setPriority
void setPriority(double priority) Sets the priority of this cp definition link.- Parameters:
priority- the priority of this cp definition link
-
getType
Returns the type of this cp definition link.- Returns:
- the type of this cp definition link
-
setType
Sets the type of this cp definition link.- Parameters:
type- the type of this cp definition link
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this cp definition link.- Specified by:
getLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Returns:
- the last publish date of this cp definition link
-
setLastPublishDate
Sets the last publish date of this cp definition link.- Specified by:
setLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Parameters:
lastPublishDate- the last publish date of this cp definition link
-
getStatus
int getStatus()Returns the status of this cp definition link.- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status of this cp definition link
-
setStatus
void setStatus(int status) Sets the status of this cp definition link.- Specified by:
setStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
status- the status of this cp definition link
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this cp definition link.- Specified by:
getStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user ID of this cp definition link
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this cp definition link.- Specified by:
setStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserId- the status by user ID of this cp definition link
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this cp definition link.- Specified by:
getStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user uuid of this cp definition link
-
setStatusByUserUuid
Sets the status by user uuid of this cp definition link.- Specified by:
setStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this cp definition link
-
getStatusByUserName
Returns the status by user name of this cp definition link.- Specified by:
getStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user name of this cp definition link
-
setStatusByUserName
Sets the status by user name of this cp definition link.- Specified by:
setStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserName- the status by user name of this cp definition link
-
getStatusDate
Date getStatusDate()Returns the status date of this cp definition link.- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this cp definition link
-
setStatusDate
Sets the status date of this cp definition link.- Specified by:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this cp definition link
-
isApproved
boolean isApproved()Returnstrueif this cp definition link is approved.- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition link is approved;falseotherwise
-
isDenied
boolean isDenied()Returnstrueif this cp definition link is denied.- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition link is denied;falseotherwise
-
isDraft
boolean isDraft()Returnstrueif this cp definition link is a draft.- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition link is a draft;falseotherwise
-
isExpired
boolean isExpired()Returnstrueif this cp definition link is expired.- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition link is expired;falseotherwise
-
isInactive
boolean isInactive()Returnstrueif this cp definition link is inactive.- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition link is inactive;falseotherwise
-
isIncomplete
boolean isIncomplete()Returnstrueif this cp definition link is incomplete.- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition link is incomplete;falseotherwise
-
isPending
boolean isPending()Returnstrueif this cp definition link is pending.- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition link is pending;falseotherwise
-
isScheduled
boolean isScheduled()Returnstrueif this cp definition link is scheduled.- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition link is scheduled;falseotherwise
-
cloneWithOriginalValues
CPDefinitionLink cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionLink>
-
toXmlString
-