public class CommercePriceListWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceList> implements CommercePriceList, com.liferay.portal.kernel.model.ModelWrapper<CommercePriceList>
This class is a wrapper for CommercePriceList.
CommercePriceList,
Serialized FormCOMMERCE_PRICE_LIST_ID_ACCESSOR| Constructor and Description |
|---|
CommercePriceListWrapper(CommercePriceList commercePriceList) |
| Modifier and Type | Method and Description |
|---|---|
CommercePriceList |
cloneWithOriginalValues() |
CommercePriceList |
fetchParentCommercePriceList() |
java.util.Map<java.lang.String,java.util.function.Function<CommercePriceList,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<CommercePriceList,java.lang.Object>> |
getAttributeSetterBiConsumers() |
boolean |
getCatalogBasePriceList()
Returns the catalog base price list of this commerce price list.
|
com.liferay.commerce.currency.model.CommerceCurrency |
getCommerceCurrency() |
long |
getCommerceCurrencyId()
Returns the commerce currency ID of this commerce price list.
|
long |
getCommercePriceListId()
Returns the commerce price list ID of this commerce price list.
|
long |
getCompanyId()
Returns the company ID of this commerce price list.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce price list.
|
long |
getCtCollectionId()
Returns the ct collection ID of this commerce price list.
|
java.util.Date |
getDisplayDate()
Returns the display date of this commerce price list.
|
java.util.Date |
getExpirationDate()
Returns the expiration date of this commerce price list.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this commerce price list.
|
long |
getGroupId()
Returns the group ID of this commerce price list.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this commerce price list.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce price list.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce price list.
|
java.lang.String |
getName()
Returns the name of this commerce price list.
|
boolean |
getNetPrice()
Returns the net price of this commerce price list.
|
long |
getParentCommercePriceListId()
Returns the parent commerce price list ID of this commerce price list.
|
long |
getPrimaryKey()
Returns the primary key of this commerce price list.
|
double |
getPriority()
Returns the priority of this commerce price list.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this commerce price list.
|
long |
getStatusByUserId()
Returns the status by user ID of this commerce price list.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this commerce price list.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this commerce price list.
|
java.util.Date |
getStatusDate()
Returns the status date of this commerce price list.
|
java.lang.String |
getType()
Returns the type of this commerce price list.
|
long |
getUserId()
Returns the user ID of this commerce price list.
|
java.lang.String |
getUserName()
Returns the user name of this commerce price list.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce price list.
|
java.lang.String |
getUuid()
Returns the uuid of this commerce price list.
|
boolean |
isApproved()
Returns
true if this commerce price list is approved. |
boolean |
isCatalogBasePriceList()
Returns
true if this commerce price list is catalog base price list. |
boolean |
isDenied()
Returns
true if this commerce price list is denied. |
boolean |
isDraft()
Returns
true if this commerce price list is a draft. |
boolean |
isExpired()
Returns
true if this commerce price list is expired. |
boolean |
isInactive()
Returns
true if this commerce price list is inactive. |
boolean |
isIncomplete()
Returns
true if this commerce price list is incomplete. |
boolean |
isNetPrice()
Returns
true if this commerce price list is net price. |
boolean |
isPending()
Returns
true if this commerce price list is pending. |
boolean |
isScheduled()
Returns
true if this commerce price list is scheduled. |
void |
persist() |
void |
setCatalogBasePriceList(boolean catalogBasePriceList)
Sets whether this commerce price list is catalog base price list.
|
void |
setCommerceCurrencyId(long commerceCurrencyId)
Sets the commerce currency ID of this commerce price list.
|
void |
setCommercePriceListId(long commercePriceListId)
Sets the commerce price list ID of this commerce price list.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce price list.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce price list.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this commerce price list.
|
void |
setDisplayDate(java.util.Date displayDate)
Sets the display date of this commerce price list.
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this commerce price list.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this commerce price list.
|
void |
setGroupId(long groupId)
Sets the group ID of this commerce price list.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this commerce price list.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce price list.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce price list.
|
void |
setName(java.lang.String name)
Sets the name of this commerce price list.
|
void |
setNetPrice(boolean netPrice)
Sets whether this commerce price list is net price.
|
void |
setParentCommercePriceListId(long parentCommercePriceListId)
Sets the parent commerce price list ID of this commerce price list.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce price list.
|
void |
setPriority(double priority)
Sets the priority of this commerce price list.
|
void |
setStatus(int status)
Sets the status of this commerce price list.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this commerce price list.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this commerce price list.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this commerce price list.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this commerce price list.
|
void |
setType(java.lang.String type)
Sets the type of this commerce price list.
|
void |
setUserId(long userId)
Sets the user ID of this commerce price list.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce price list.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce price list.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this commerce price list.
|
protected CommercePriceListWrapper |
wrap(CommercePriceList commercePriceList) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic CommercePriceListWrapper(CommercePriceList commercePriceList)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceList>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceList>public CommercePriceList cloneWithOriginalValues()
cloneWithOriginalValues in interface CommercePriceListModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceList>public CommercePriceList fetchParentCommercePriceList()
fetchParentCommercePriceList in interface CommercePriceListpublic boolean getCatalogBasePriceList()
getCatalogBasePriceList in interface CommercePriceListModelpublic com.liferay.commerce.currency.model.CommerceCurrency getCommerceCurrency()
throws com.liferay.portal.kernel.exception.PortalException
getCommerceCurrency in interface CommercePriceListcom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceCurrencyId()
getCommerceCurrencyId in interface CommercePriceListModelpublic long getCommercePriceListId()
getCommercePriceListId in interface CommercePriceListModelpublic long getCompanyId()
getCompanyId in interface CommercePriceListModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommercePriceListModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface CommercePriceListModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>public java.util.Date getDisplayDate()
getDisplayDate in interface CommercePriceListModelpublic java.util.Date getExpirationDate()
getExpirationDate in interface CommercePriceListModelpublic java.lang.String getExternalReferenceCode()
getExternalReferenceCode in interface CommercePriceListModelpublic long getGroupId()
getGroupId in interface CommercePriceListModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface CommercePriceListModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommercePriceListModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface CommercePriceListModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface CommercePriceListModelpublic boolean getNetPrice()
getNetPrice in interface CommercePriceListModelpublic long getParentCommercePriceListId()
getParentCommercePriceListId in interface CommercePriceListModelpublic long getPrimaryKey()
getPrimaryKey in interface CommercePriceListModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>public double getPriority()
getPriority in interface CommercePriceListModelpublic int getStatus()
getStatus in interface CommercePriceListModelgetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface CommercePriceListModelgetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface CommercePriceListModelgetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface CommercePriceListModelgetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.util.Date getStatusDate()
getStatusDate in interface CommercePriceListModelgetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getType()
getType in interface CommercePriceListModelpublic long getUserId()
getUserId in interface CommercePriceListModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommercePriceListModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommercePriceListModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface CommercePriceListModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic boolean isApproved()
true if this commerce price list is approved.isApproved in interface CommercePriceListModelisApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce price list is approved; false otherwisepublic boolean isCatalogBasePriceList()
true if this commerce price list is catalog base price list.isCatalogBasePriceList in interface CommercePriceListModeltrue if this commerce price list is catalog base price list; false otherwisepublic boolean isDenied()
true if this commerce price list is denied.isDenied in interface CommercePriceListModelisDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce price list is denied; false otherwisepublic boolean isDraft()
true if this commerce price list is a draft.isDraft in interface CommercePriceListModelisDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce price list is a draft; false otherwisepublic boolean isExpired()
true if this commerce price list is expired.isExpired in interface CommercePriceListModelisExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce price list is expired; false otherwisepublic boolean isInactive()
true if this commerce price list is inactive.isInactive in interface CommercePriceListModelisInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce price list is inactive; false otherwisepublic boolean isIncomplete()
true if this commerce price list is incomplete.isIncomplete in interface CommercePriceListModelisIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce price list is incomplete; false otherwisepublic boolean isNetPrice()
true if this commerce price list is net price.isNetPrice in interface CommercePriceListModeltrue if this commerce price list is net price; false otherwisepublic boolean isPending()
true if this commerce price list is pending.isPending in interface CommercePriceListModelisPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce price list is pending; false otherwisepublic boolean isScheduled()
true if this commerce price list is scheduled.isScheduled in interface CommercePriceListModelisScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce price list is scheduled; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCatalogBasePriceList(boolean catalogBasePriceList)
setCatalogBasePriceList in interface CommercePriceListModelcatalogBasePriceList - the catalog base price list of this commerce price listpublic void setCommerceCurrencyId(long commerceCurrencyId)
setCommerceCurrencyId in interface CommercePriceListModelcommerceCurrencyId - the commerce currency ID of this commerce price listpublic void setCommercePriceListId(long commercePriceListId)
setCommercePriceListId in interface CommercePriceListModelcommercePriceListId - the commerce price list ID of this commerce price listpublic void setCompanyId(long companyId)
setCompanyId in interface CommercePriceListModelsetCompanyId 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 commerce price listpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommercePriceListModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this commerce price listpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CommercePriceListModelsetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>ctCollectionId - the ct collection ID of this commerce price listpublic void setDisplayDate(java.util.Date displayDate)
setDisplayDate in interface CommercePriceListModeldisplayDate - the display date of this commerce price listpublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate in interface CommercePriceListModelexpirationDate - the expiration date of this commerce price listpublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface CommercePriceListModelexternalReferenceCode - the external reference code of this commerce price listpublic void setGroupId(long groupId)
setGroupId in interface CommercePriceListModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce price listpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface CommercePriceListModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this commerce price listpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommercePriceListModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this commerce price listpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CommercePriceListModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce price listpublic void setName(java.lang.String name)
setName in interface CommercePriceListModelname - the name of this commerce price listpublic void setNetPrice(boolean netPrice)
setNetPrice in interface CommercePriceListModelnetPrice - the net price of this commerce price listpublic void setParentCommercePriceListId(long parentCommercePriceListId)
setParentCommercePriceListId in interface CommercePriceListModelparentCommercePriceListId - the parent commerce price list ID of this commerce price listpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommercePriceListModelsetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>primaryKey - the primary key of this commerce price listpublic void setPriority(double priority)
setPriority in interface CommercePriceListModelpriority - the priority of this commerce price listpublic void setStatus(int status)
setStatus in interface CommercePriceListModelsetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelstatus - the status of this commerce price listpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface CommercePriceListModelsetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserId - the status by user ID of this commerce price listpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface CommercePriceListModelsetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserName - the status by user name of this commerce price listpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface CommercePriceListModelsetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserUuid - the status by user uuid of this commerce price listpublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface CommercePriceListModelsetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelstatusDate - the status date of this commerce price listpublic void setType(java.lang.String type)
setType in interface CommercePriceListModeltype - the type of this commerce price listpublic void setUserId(long userId)
setUserId in interface CommercePriceListModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce price listpublic void setUserName(java.lang.String userName)
setUserName in interface CommercePriceListModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce price listpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommercePriceListModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce price listpublic void setUuid(java.lang.String uuid)
setUuid in interface CommercePriceListModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this commerce price listpublic java.util.Map<java.lang.String,java.util.function.Function<CommercePriceList,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceList>public java.util.Map<java.lang.String,java.util.function.BiConsumer<CommercePriceList,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceList>public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected CommercePriceListWrapper wrap(CommercePriceList commercePriceList)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceList>