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 TypeMethodDescriptionlong
Returns the company ID of this cp definition link.long
Returns the cp definition ID of this cp definition link.long
Returns the cp definition link ID of this cp definition link.long
Returns the c product ID of this cp definition link.Returns the create date of this cp definition link.long
Returns 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.long
Returns 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.long
Returns the mvcc version of this cp definition link.long
Returns the primary key of this cp definition link.double
Returns the priority of this cp definition link.int
Returns the status of this cp definition link.long
Returns 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.long
Returns 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.boolean
Returnstrue
if this cp definition link is approved.boolean
isDenied()
Returnstrue
if this cp definition link is denied.boolean
isDraft()
Returnstrue
if this cp definition link is a draft.boolean
Returnstrue
if this cp definition link is expired.boolean
Returnstrue
if this cp definition link is inactive.boolean
Returnstrue
if this cp definition link is incomplete.boolean
Returnstrue
if this cp definition link is pending.boolean
Returnstrue
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
(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
(Date displayDate) Sets the display date of this cp definition link.void
setExpirationDate
(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
(Date lastPublishDate) Sets the last publish date of this cp definition link.void
setModifiedDate
(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
(String statusByUserName) Sets the status by user name of this cp definition link.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this cp definition link.void
setStatusDate
(Date statusDate) Sets the status date of this cp definition link.void
Sets the type of this cp definition link.void
setUserId
(long userId) Sets the user ID of this cp definition link.void
setUserName
(String userName) Sets the user name of this cp definition link.void
setUserUuid
(String userUuid) Sets the user uuid of this cp definition link.void
Sets the uuid of this cp definition link.default String
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods 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:
getPrimaryKey
in 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:
setPrimaryKey
in 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:
getMvccVersion
in 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:
setMvccVersion
in 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:
getCtCollectionId
in 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:
setCtCollectionId
in 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:
getUuid
in 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:
setUuid
in 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:
getGroupId
in 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:
setGroupId
in 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:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in 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:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in 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:
getUserId
in 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:
setUserId
in 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:
getUserUuid
in 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:
setUserUuid
in 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:
getUserName
in 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:
setUserName
in 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:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in 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:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in 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:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in 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:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in 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:
getLastPublishDate
in 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:
setLastPublishDate
in 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:
getStatus
in 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:
setStatus
in 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:
getStatusByUserId
in 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:
setStatusByUserId
in 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:
getStatusByUserUuid
in 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:
setStatusByUserUuid
in 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:
getStatusByUserName
in 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:
setStatusByUserName
in 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:
getStatusDate
in 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:
setStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusDate
- the status date of this cp definition link
-
isApproved
boolean isApproved()Returnstrue
if this cp definition link is approved.- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition link is approved;false
otherwise
-
isDenied
boolean isDenied()Returnstrue
if this cp definition link is denied.- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition link is denied;false
otherwise
-
isDraft
boolean isDraft()Returnstrue
if this cp definition link is a draft.- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition link is a draft;false
otherwise
-
isExpired
boolean isExpired()Returnstrue
if this cp definition link is expired.- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition link is expired;false
otherwise
-
isInactive
boolean isInactive()Returnstrue
if this cp definition link is inactive.- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition link is inactive;false
otherwise
-
isIncomplete
boolean isIncomplete()Returnstrue
if this cp definition link is incomplete.- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition link is incomplete;false
otherwise
-
isPending
boolean isPending()Returnstrue
if this cp definition link is pending.- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition link is pending;false
otherwise
-
isScheduled
boolean isScheduled()Returnstrue
if this cp definition link is scheduled.- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition link is scheduled;false
otherwise
-
cloneWithOriginalValues
CPDefinitionLink cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionLink>
-
toXmlString
-