@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
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
.
CPDefinitionLink
Modifier and Type | Method and Description |
---|---|
CPDefinitionLink |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this cp definition link.
|
long |
getCPDefinitionId()
Returns the cp definition ID of this cp definition link.
|
long |
getCPDefinitionLinkId()
Returns the cp definition link ID of this cp definition link.
|
long |
getCProductId()
Returns the c product ID of this cp definition link.
|
java.util.Date |
getCreateDate()
Returns the create date of this cp definition link.
|
long |
getCtCollectionId()
Returns the ct collection ID of this cp definition link.
|
java.util.Date |
getDisplayDate()
Returns the display date of this cp definition link.
|
java.util.Date |
getExpirationDate()
Returns the expiration date of this cp definition link.
|
long |
getGroupId()
Returns the group ID of this cp definition link.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this cp definition link.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this cp definition link.
|
long |
getMvccVersion()
Returns the mvcc version of this cp definition link.
|
long |
getPrimaryKey()
Returns the primary key of this cp definition link.
|
double |
getPriority()
Returns the priority of this cp definition link.
|
int |
getStatus()
Returns the status of this cp definition link.
|
long |
getStatusByUserId()
Returns the status by user ID of this cp definition link.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this cp definition link.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this cp definition link.
|
java.util.Date |
getStatusDate()
Returns the status date of this cp definition link.
|
java.lang.String |
getType()
Returns the type of this cp definition link.
|
long |
getUserId()
Returns the user ID of this cp definition link.
|
java.lang.String |
getUserName()
Returns the user name of this cp definition link.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this cp definition link.
|
java.lang.String |
getUuid()
Returns the uuid of this cp definition link.
|
boolean |
isApproved()
Returns
true if this cp definition link is approved. |
boolean |
isDenied()
Returns
true if this cp definition link is denied. |
boolean |
isDraft()
Returns
true if this cp definition link is a draft. |
boolean |
isExpired()
Returns
true if this cp definition link is expired. |
boolean |
isInactive()
Returns
true if this cp definition link is inactive. |
boolean |
isIncomplete()
Returns
true if this cp definition link is incomplete. |
boolean |
isPending()
Returns
true if this cp definition link is pending. |
boolean |
isScheduled()
Returns
true if this cp definition link is scheduled. |
void |
setCompanyId(long companyId)
Sets the company ID of this cp definition link.
|
void |
setCPDefinitionId(long CPDefinitionId)
Sets the cp definition ID of this cp definition link.
|
void |
setCPDefinitionLinkId(long CPDefinitionLinkId)
Sets the cp definition link ID of this cp definition link.
|
void |
setCProductId(long CProductId)
Sets the c product ID of this cp definition link.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this cp definition link.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this cp definition link.
|
void |
setDisplayDate(java.util.Date displayDate)
Sets the display date of this cp definition link.
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this cp definition link.
|
void |
setGroupId(long groupId)
Sets the group ID of this cp definition link.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this cp definition link.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this cp definition link.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this cp definition link.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this cp definition link.
|
void |
setPriority(double priority)
Sets the priority of this cp definition link.
|
void |
setStatus(int status)
Sets the status of this cp definition link.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this cp definition link.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this cp definition link.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this cp definition link.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this cp definition link.
|
void |
setType(java.lang.String type)
Sets the type of this cp definition link.
|
void |
setUserId(long userId)
Sets the user ID of this cp definition link.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this cp definition link.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this cp definition link.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this cp definition link.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>
void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>
primaryKey
- the primary key of this cp definition linklong 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 cp definition linklong getCtCollectionId()
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>
void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>
ctCollectionId
- the ct collection ID of this cp definition link@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 cp definition linklong getCPDefinitionLinkId()
void setCPDefinitionLinkId(long CPDefinitionLinkId)
CPDefinitionLinkId
- the cp definition link ID of this cp definition linklong 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 cp definition linklong 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 cp definition linklong 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 cp definition linkjava.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 cp definition link@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 cp definition linkjava.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 cp definition linkjava.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 cp definition linklong getCPDefinitionId()
void setCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition ID of this cp definition linklong getCProductId()
void setCProductId(long CProductId)
CProductId
- the c product ID of this cp definition linkjava.util.Date getDisplayDate()
void setDisplayDate(java.util.Date displayDate)
displayDate
- the display date of this cp definition linkjava.util.Date getExpirationDate()
void setExpirationDate(java.util.Date expirationDate)
expirationDate
- the expiration date of this cp definition linkdouble getPriority()
void setPriority(double priority)
priority
- the priority of this cp definition link@AutoEscape java.lang.String getType()
void setType(java.lang.String type)
type
- the type of this cp definition linkjava.util.Date getLastPublishDate()
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this cp definition linkint getStatus()
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatus(int status)
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this cp definition linklong getStatusByUserId()
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this cp definition linkjava.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this cp definition link@AutoEscape java.lang.String getStatusByUserName()
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this cp definition linkjava.util.Date getStatusDate()
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this cp definition linkboolean isApproved()
true
if this cp definition link is approved.isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp definition link is approved; false
otherwiseboolean isDenied()
true
if this cp definition link is denied.isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp definition link is denied; false
otherwiseboolean isDraft()
true
if this cp definition link is a draft.isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp definition link is a draft; false
otherwiseboolean isExpired()
true
if this cp definition link is expired.isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp definition link is expired; false
otherwiseboolean isInactive()
true
if this cp definition link is inactive.isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp definition link is inactive; false
otherwiseboolean isIncomplete()
true
if this cp definition link is incomplete.isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp definition link is incomplete; false
otherwiseboolean isPending()
true
if this cp definition link is pending.isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp definition link is pending; false
otherwiseboolean isScheduled()
true
if this cp definition link is scheduled.isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp definition link is scheduled; false
otherwiseCPDefinitionLink cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionLink>
default java.lang.String toXmlString()