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() |
boolean |
getCatalogBasePriceList()
Returns the catalog base price list of this commerce price list.
|
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.
|
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 |
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public 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 CommercePriceListModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceList>
public CommercePriceList fetchParentCommercePriceList()
fetchParentCommercePriceList
in interface CommercePriceList
public boolean getCatalogBasePriceList()
getCatalogBasePriceList
in interface CommercePriceListModel
public CommerceCurrency getCommerceCurrency() throws com.liferay.portal.kernel.exception.PortalException
getCommerceCurrency
in interface CommercePriceList
com.liferay.portal.kernel.exception.PortalException
public long getCommerceCurrencyId()
getCommerceCurrencyId
in interface CommercePriceListModel
public long getCommercePriceListId()
getCommercePriceListId
in interface CommercePriceListModel
public long getCompanyId()
getCompanyId
in interface CommercePriceListModel
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
public java.util.Date getCreateDate()
getCreateDate
in interface CommercePriceListModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getDisplayDate()
getDisplayDate
in interface CommercePriceListModel
public java.util.Date getExpirationDate()
getExpirationDate
in interface CommercePriceListModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface CommercePriceListModel
public long getGroupId()
getGroupId
in interface CommercePriceListModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface CommercePriceListModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommercePriceListModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface CommercePriceListModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getName()
getName
in interface CommercePriceListModel
public boolean getNetPrice()
getNetPrice
in interface CommercePriceListModel
public long getParentCommercePriceListId()
getParentCommercePriceListId
in interface CommercePriceListModel
public long getPrimaryKey()
getPrimaryKey
in interface CommercePriceListModel
public double getPriority()
getPriority
in interface CommercePriceListModel
public int getStatus()
getStatus
in interface CommercePriceListModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getStatusByUserId()
getStatusByUserId
in interface CommercePriceListModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserName()
getStatusByUserName
in interface CommercePriceListModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface CommercePriceListModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.util.Date getStatusDate()
getStatusDate
in interface CommercePriceListModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getType()
getType
in interface CommercePriceListModel
public long getUserId()
getUserId
in interface CommercePriceListModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CommercePriceListModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CommercePriceListModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface CommercePriceListModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isApproved()
true
if this commerce price list is approved.isApproved
in interface CommercePriceListModel
isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
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 CommercePriceListModel
true
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 CommercePriceListModel
isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price list is denied; false
otherwisepublic boolean isDraft()
true
if this commerce price list is a draft.isDraft
in interface CommercePriceListModel
isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price list is a draft; false
otherwisepublic boolean isExpired()
true
if this commerce price list is expired.isExpired
in interface CommercePriceListModel
isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price list is expired; false
otherwisepublic boolean isInactive()
true
if this commerce price list is inactive.isInactive
in interface CommercePriceListModel
isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price list is inactive; false
otherwisepublic boolean isIncomplete()
true
if this commerce price list is incomplete.isIncomplete
in interface CommercePriceListModel
isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price list is incomplete; false
otherwisepublic boolean isNetPrice()
true
if this commerce price list is net price.isNetPrice
in interface CommercePriceListModel
true
if this commerce price list is net price; false
otherwisepublic boolean isPending()
true
if this commerce price list is pending.isPending
in interface CommercePriceListModel
isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price list is pending; false
otherwisepublic boolean isScheduled()
true
if this commerce price list is scheduled.isScheduled
in interface CommercePriceListModel
isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price list is scheduled; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCatalogBasePriceList(boolean catalogBasePriceList)
setCatalogBasePriceList
in interface CommercePriceListModel
catalogBasePriceList
- the catalog base price list of this commerce price listpublic void setCommerceCurrencyId(long commerceCurrencyId)
setCommerceCurrencyId
in interface CommercePriceListModel
commerceCurrencyId
- the commerce currency ID of this commerce price listpublic void setCommercePriceListId(long commercePriceListId)
setCommercePriceListId
in interface CommercePriceListModel
commercePriceListId
- the commerce price list ID of this commerce price listpublic void setCompanyId(long companyId)
setCompanyId
in interface CommercePriceListModel
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 commerce price listpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CommercePriceListModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this commerce price listpublic void setDisplayDate(java.util.Date displayDate)
setDisplayDate
in interface CommercePriceListModel
displayDate
- the display date of this commerce price listpublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate
in interface CommercePriceListModel
expirationDate
- the expiration date of this commerce price listpublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface CommercePriceListModel
externalReferenceCode
- the external reference code of this commerce price listpublic void setGroupId(long groupId)
setGroupId
in interface CommercePriceListModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this commerce price listpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface CommercePriceListModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this commerce price listpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CommercePriceListModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this commerce price listpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CommercePriceListModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce price listpublic void setName(java.lang.String name)
setName
in interface CommercePriceListModel
name
- the name of this commerce price listpublic void setNetPrice(boolean netPrice)
setNetPrice
in interface CommercePriceListModel
netPrice
- the net price of this commerce price listpublic void setParentCommercePriceListId(long parentCommercePriceListId)
setParentCommercePriceListId
in interface CommercePriceListModel
parentCommercePriceListId
- the parent commerce price list ID of this commerce price listpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CommercePriceListModel
primaryKey
- the primary key of this commerce price listpublic void setPriority(double priority)
setPriority
in interface CommercePriceListModel
priority
- the priority of this commerce price listpublic void setStatus(int status)
setStatus
in interface CommercePriceListModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this commerce price listpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface CommercePriceListModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this commerce price listpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface CommercePriceListModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this commerce price listpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface CommercePriceListModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this commerce price listpublic void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface CommercePriceListModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this commerce price listpublic void setType(java.lang.String type)
setType
in interface CommercePriceListModel
type
- the type of this commerce price listpublic void setUserId(long userId)
setUserId
in interface CommercePriceListModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce price listpublic void setUserName(java.lang.String userName)
setUserName
in interface CommercePriceListModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce price listpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CommercePriceListModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce price listpublic void setUuid(java.lang.String uuid)
setUuid
in interface CommercePriceListModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this commerce price listpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected CommercePriceListWrapper wrap(CommercePriceList commercePriceList)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceList>