public class CPDefinitionLinkWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionLink> implements CPDefinitionLink, com.liferay.portal.kernel.model.ModelWrapper<CPDefinitionLink>
This class is a wrapper for CPDefinitionLink.
CPDefinitionLink,
Serialized FormCP_DEFINITION_LINK_ID_ACCESSOR| Constructor and Description |
|---|
CPDefinitionLinkWrapper(CPDefinitionLink cpDefinitionLink) |
| Modifier and Type | Method and Description |
|---|---|
CPDefinitionLink |
cloneWithOriginalValues() |
java.util.Map<java.lang.String,java.util.function.Function<CPDefinitionLink,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<CPDefinitionLink,java.lang.Object>> |
getAttributeSetterBiConsumers() |
long |
getCompanyId()
Returns the company ID of this cp definition link.
|
CPDefinition |
getCPDefinition() |
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.
|
CProduct |
getCProduct() |
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.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
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.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
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 |
persist() |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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.
|
java.lang.String |
toXmlString() |
protected CPDefinitionLinkWrapper |
wrap(CPDefinitionLink cpDefinitionLink) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic CPDefinitionLinkWrapper(CPDefinitionLink cpDefinitionLink)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionLink>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionLink>public CPDefinitionLink cloneWithOriginalValues()
cloneWithOriginalValues in interface CPDefinitionLinkModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionLink>public long getCompanyId()
getCompanyId in interface CPDefinitionLinkModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic CPDefinition getCPDefinition()
getCPDefinition in interface CPDefinitionLinkpublic long getCPDefinitionId()
getCPDefinitionId in interface CPDefinitionLinkModelpublic long getCPDefinitionLinkId()
getCPDefinitionLinkId in interface CPDefinitionLinkModelpublic CProduct getCProduct()
getCProduct in interface CPDefinitionLinkpublic long getCProductId()
getCProductId in interface CPDefinitionLinkModelpublic java.util.Date getCreateDate()
getCreateDate in interface CPDefinitionLinkModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface CPDefinitionLinkModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>public java.util.Date getDisplayDate()
getDisplayDate in interface CPDefinitionLinkModelpublic java.util.Date getExpirationDate()
getExpirationDate in interface CPDefinitionLinkModelpublic long getGroupId()
getGroupId in interface CPDefinitionLinkModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface CPDefinitionLinkModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CPDefinitionLinkModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface CPDefinitionLinkModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface CPDefinitionLinkModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>public double getPriority()
getPriority in interface CPDefinitionLinkModelpublic int getStatus()
getStatus in interface CPDefinitionLinkModelgetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface CPDefinitionLinkModelgetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface CPDefinitionLinkModelgetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface CPDefinitionLinkModelgetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.util.Date getStatusDate()
getStatusDate in interface CPDefinitionLinkModelgetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getType()
getType in interface CPDefinitionLinkModelpublic long getUserId()
getUserId in interface CPDefinitionLinkModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CPDefinitionLinkModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CPDefinitionLinkModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface CPDefinitionLinkModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic boolean isApproved()
true if this cp definition link is approved.isApproved in interface CPDefinitionLinkModelisApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition link is approved; false otherwisepublic boolean isDenied()
true if this cp definition link is denied.isDenied in interface CPDefinitionLinkModelisDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition link is denied; false otherwisepublic boolean isDraft()
true if this cp definition link is a draft.isDraft in interface CPDefinitionLinkModelisDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition link is a draft; false otherwisepublic boolean isExpired()
true if this cp definition link is expired.isExpired in interface CPDefinitionLinkModelisExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition link is expired; false otherwisepublic boolean isInactive()
true if this cp definition link is inactive.isInactive in interface CPDefinitionLinkModelisInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition link is inactive; false otherwisepublic boolean isIncomplete()
true if this cp definition link is incomplete.isIncomplete in interface CPDefinitionLinkModelisIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition link is incomplete; false otherwisepublic boolean isPending()
true if this cp definition link is pending.isPending in interface CPDefinitionLinkModelisPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition link is pending; false otherwisepublic boolean isScheduled()
true if this cp definition link is scheduled.isScheduled in interface CPDefinitionLinkModelisScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition link is scheduled; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface CPDefinitionLinkModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this cp definition linkpublic void setCPDefinitionId(long CPDefinitionId)
setCPDefinitionId in interface CPDefinitionLinkModelCPDefinitionId - the cp definition ID of this cp definition linkpublic void setCPDefinitionLinkId(long CPDefinitionLinkId)
setCPDefinitionLinkId in interface CPDefinitionLinkModelCPDefinitionLinkId - the cp definition link ID of this cp definition linkpublic void setCProductId(long CProductId)
setCProductId in interface CPDefinitionLinkModelCProductId - the c product ID of this cp definition linkpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CPDefinitionLinkModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this cp definition linkpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CPDefinitionLinkModelsetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>ctCollectionId - the ct collection ID of this cp definition linkpublic void setDisplayDate(java.util.Date displayDate)
setDisplayDate in interface CPDefinitionLinkModeldisplayDate - the display date of this cp definition linkpublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate in interface CPDefinitionLinkModelexpirationDate - the expiration date of this cp definition linkpublic void setGroupId(long groupId)
setGroupId in interface CPDefinitionLinkModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this cp definition linkpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface CPDefinitionLinkModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this cp definition linkpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CPDefinitionLinkModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this cp definition linkpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CPDefinitionLinkModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this cp definition linkpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CPDefinitionLinkModelsetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>primaryKey - the primary key of this cp definition linkpublic void setPriority(double priority)
setPriority in interface CPDefinitionLinkModelpriority - the priority of this cp definition linkpublic void setStatus(int status)
setStatus in interface CPDefinitionLinkModelsetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelstatus - the status of this cp definition linkpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface CPDefinitionLinkModelsetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserId - the status by user ID of this cp definition linkpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface CPDefinitionLinkModelsetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserName - the status by user name of this cp definition linkpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface CPDefinitionLinkModelsetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserUuid - the status by user uuid of this cp definition linkpublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface CPDefinitionLinkModelsetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelstatusDate - the status date of this cp definition linkpublic void setType(java.lang.String type)
setType in interface CPDefinitionLinkModeltype - the type of this cp definition linkpublic void setUserId(long userId)
setUserId in interface CPDefinitionLinkModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this cp definition linkpublic void setUserName(java.lang.String userName)
setUserName in interface CPDefinitionLinkModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this cp definition linkpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CPDefinitionLinkModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this cp definition linkpublic void setUuid(java.lang.String uuid)
setUuid in interface CPDefinitionLinkModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this cp definition linkpublic java.lang.String toXmlString()
toXmlString in interface CPDefinitionLinkModelpublic java.util.Map<java.lang.String,java.util.function.Function<CPDefinitionLink,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionLink>public java.util.Map<java.lang.String,java.util.function.BiConsumer<CPDefinitionLink,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionLink>public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected CPDefinitionLinkWrapper wrap(CPDefinitionLink cpDefinitionLink)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionLink>