Interface CommercePriceListModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CommercePriceList>
,com.liferay.portal.kernel.model.ClassedModel
,Cloneable
,Comparable<CommercePriceList>
,com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,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:
CommercePriceList
- All Known Implementing Classes:
CommercePriceListWrapper
@ProviderType
public interface CommercePriceListModel
extends com.liferay.portal.kernel.model.BaseModel<CommercePriceList>, com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, 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 CommercePriceList service. Represents a row in the "CommercePriceList" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.commerce.price.list.model.impl.CommercePriceListModelImpl
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.price.list.model.impl.CommercePriceListImpl
.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the catalog base price list of this commerce price list.Returns the commerce currency code of this commerce price list.long
Returns the commerce price list ID of this commerce price list.long
Returns the company ID of this commerce price list.Returns the create date of this commerce price list.long
Returns the ct collection ID of this commerce price list.Returns the display date of this commerce price list.Returns the expiration date of this commerce price list.Returns the external reference code of this commerce price list.long
Returns the group ID of this commerce price list.Returns the last publish date of this commerce price list.Returns the modified date of this commerce price list.long
Returns the mvcc version of this commerce price list.getName()
Returns the name of this commerce price list.boolean
Returns the net price of this commerce price list.long
Returns the parent commerce price list ID of this commerce price list.long
Returns the primary key of this commerce price list.double
Returns the priority of this commerce price list.int
Returns the status of this commerce price list.long
Returns the status by user ID of this commerce price list.Returns the status by user name of this commerce price list.Returns the status by user uuid of this commerce price list.Returns the status date of this commerce price list.getType()
Returns the type of this commerce price list.long
Returns the user ID of this commerce price list.Returns the user name of this commerce price list.Returns the user uuid of this commerce price list.getUuid()
Returns the uuid of this commerce price list.boolean
Returnstrue
if this commerce price list is approved.boolean
Returnstrue
if this commerce price list is catalog base price list.boolean
isDenied()
Returnstrue
if this commerce price list is denied.boolean
isDraft()
Returnstrue
if this commerce price list is a draft.boolean
Returnstrue
if this commerce price list is expired.boolean
Returnstrue
if this commerce price list is inactive.boolean
Returnstrue
if this commerce price list is incomplete.boolean
Returnstrue
if this commerce price list is net price.boolean
Returnstrue
if this commerce price list is pending.boolean
Returnstrue
if this commerce price list is scheduled.void
setCatalogBasePriceList
(boolean catalogBasePriceList) Sets whether this commerce price list is catalog base price list.void
setCommerceCurrencyCode
(String commerceCurrencyCode) Sets the commerce currency code 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
(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
(Date displayDate) Sets the display date of this commerce price list.void
setExpirationDate
(Date expirationDate) Sets the expiration date of this commerce price list.void
setExternalReferenceCode
(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
(Date lastPublishDate) Sets the last publish date of this commerce price list.void
setModifiedDate
(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
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
(String statusByUserName) Sets the status by user name of this commerce price list.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this commerce price list.void
setStatusDate
(Date statusDate) Sets the status date of this commerce price list.void
Sets the type of this commerce price list.void
setUserId
(long userId) Sets the user ID of this commerce price list.void
setUserName
(String userName) Sets the user name of this commerce price list.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce price list.void
Sets the uuid of this commerce price list.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 commerce price list.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>
- Returns:
- the primary key of this commerce price list
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this commerce price list.- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>
- Parameters:
primaryKey
- the primary key of this commerce price list
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this commerce price list.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this commerce price list
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce price list.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce price list
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this commerce price list.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>
- Returns:
- the ct collection ID of this commerce price list
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this commerce price list.- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>
- Parameters:
ctCollectionId
- the ct collection ID of this commerce price list
-
getUuid
Returns the uuid of this commerce price list.- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this commerce price list
-
setUuid
Sets the uuid of this commerce price list.- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this commerce price list
-
getExternalReferenceCode
Returns the external reference code of this commerce price list.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Returns:
- the external reference code of this commerce price list
-
setExternalReferenceCode
Sets the external reference code of this commerce price list.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this commerce price list
-
getCommercePriceListId
long getCommercePriceListId()Returns the commerce price list ID of this commerce price list.- Returns:
- the commerce price list ID of this commerce price list
-
setCommercePriceListId
void setCommercePriceListId(long commercePriceListId) Sets the commerce price list ID of this commerce price list.- Parameters:
commercePriceListId
- the commerce price list ID of this commerce price list
-
getGroupId
long getGroupId()Returns the group ID of this commerce price list.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this commerce price list
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this commerce price list.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this commerce price list
-
getCompanyId
long getCompanyId()Returns the company ID of this commerce price list.- 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 commerce price list
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this commerce price list.- 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 commerce price list
-
getUserId
long getUserId()Returns the user ID of this commerce price list.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user ID of this commerce price list
-
setUserId
void setUserId(long userId) Sets the user ID of this commerce price list.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userId
- the user ID of this commerce price list
-
getUserUuid
String getUserUuid()Returns the user uuid of this commerce price list.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user uuid of this commerce price list
-
setUserUuid
Sets the user uuid of this commerce price list.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userUuid
- the user uuid of this commerce price list
-
getUserName
Returns the user name of this commerce price list.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user name of this commerce price list
-
setUserName
Sets the user name of this commerce price list.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userName
- the user name of this commerce price list
-
getCreateDate
Date getCreateDate()Returns the create date of this commerce price list.- 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 commerce price list
-
setCreateDate
Sets the create date of this commerce price list.- 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 commerce price list
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this commerce price list.- 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 commerce price list
-
setModifiedDate
Sets the modified date of this commerce price list.- 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 commerce price list
-
getCommerceCurrencyCode
Returns the commerce currency code of this commerce price list.- Returns:
- the commerce currency code of this commerce price list
-
setCommerceCurrencyCode
Sets the commerce currency code of this commerce price list.- Parameters:
commerceCurrencyCode
- the commerce currency code of this commerce price list
-
getParentCommercePriceListId
long getParentCommercePriceListId()Returns the parent commerce price list ID of this commerce price list.- Returns:
- the parent commerce price list ID of this commerce price list
-
setParentCommercePriceListId
void setParentCommercePriceListId(long parentCommercePriceListId) Sets the parent commerce price list ID of this commerce price list.- Parameters:
parentCommercePriceListId
- the parent commerce price list ID of this commerce price list
-
getCatalogBasePriceList
boolean getCatalogBasePriceList()Returns the catalog base price list of this commerce price list.- Returns:
- the catalog base price list of this commerce price list
-
isCatalogBasePriceList
boolean isCatalogBasePriceList()Returnstrue
if this commerce price list is catalog base price list.- Returns:
true
if this commerce price list is catalog base price list;false
otherwise
-
setCatalogBasePriceList
void setCatalogBasePriceList(boolean catalogBasePriceList) Sets whether this commerce price list is catalog base price list.- Parameters:
catalogBasePriceList
- the catalog base price list of this commerce price list
-
getNetPrice
boolean getNetPrice()Returns the net price of this commerce price list.- Returns:
- the net price of this commerce price list
-
isNetPrice
boolean isNetPrice()Returnstrue
if this commerce price list is net price.- Returns:
true
if this commerce price list is net price;false
otherwise
-
setNetPrice
void setNetPrice(boolean netPrice) Sets whether this commerce price list is net price.- Parameters:
netPrice
- the net price of this commerce price list
-
getType
Returns the type of this commerce price list.- Returns:
- the type of this commerce price list
-
setType
Sets the type of this commerce price list.- Parameters:
type
- the type of this commerce price list
-
getName
Returns the name of this commerce price list.- Returns:
- the name of this commerce price list
-
setName
Sets the name of this commerce price list.- Parameters:
name
- the name of this commerce price list
-
getPriority
double getPriority()Returns the priority of this commerce price list.- Returns:
- the priority of this commerce price list
-
setPriority
void setPriority(double priority) Sets the priority of this commerce price list.- Parameters:
priority
- the priority of this commerce price list
-
getDisplayDate
Date getDisplayDate()Returns the display date of this commerce price list.- Returns:
- the display date of this commerce price list
-
setDisplayDate
Sets the display date of this commerce price list.- Parameters:
displayDate
- the display date of this commerce price list
-
getExpirationDate
Date getExpirationDate()Returns the expiration date of this commerce price list.- Returns:
- the expiration date of this commerce price list
-
setExpirationDate
Sets the expiration date of this commerce price list.- Parameters:
expirationDate
- the expiration date of this commerce price list
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this commerce price list.- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this commerce price list
-
setLastPublishDate
Sets the last publish date of this commerce price list.- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this commerce price list
-
getStatus
int getStatus()Returns the status of this commerce price list.- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status of this commerce price list
-
setStatus
void setStatus(int status) Sets the status of this commerce price list.- Specified by:
setStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
status
- the status of this commerce price list
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this commerce price list.- Specified by:
getStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user ID of this commerce price list
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this commerce price list.- Specified by:
setStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserId
- the status by user ID of this commerce price list
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this commerce price list.- Specified by:
getStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user uuid of this commerce price list
-
setStatusByUserUuid
Sets the status by user uuid of this commerce price list.- Specified by:
setStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserUuid
- the status by user uuid of this commerce price list
-
getStatusByUserName
Returns the status by user name of this commerce price list.- Specified by:
getStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user name of this commerce price list
-
setStatusByUserName
Sets the status by user name of this commerce price list.- Specified by:
setStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserName
- the status by user name of this commerce price list
-
getStatusDate
Date getStatusDate()Returns the status date of this commerce price list.- Specified by:
getStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status date of this commerce price list
-
setStatusDate
Sets the status date of this commerce price list.- Specified by:
setStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusDate
- the status date of this commerce price list
-
isApproved
boolean isApproved()Returnstrue
if this commerce price list is approved.- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce price list is approved;false
otherwise
-
isDenied
boolean isDenied()Returnstrue
if this commerce price list is denied.- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce price list is denied;false
otherwise
-
isDraft
boolean isDraft()Returnstrue
if this commerce price list is a draft.- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce price list is a draft;false
otherwise
-
isExpired
boolean isExpired()Returnstrue
if this commerce price list is expired.- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce price list is expired;false
otherwise
-
isInactive
boolean isInactive()Returnstrue
if this commerce price list is inactive.- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce price list is inactive;false
otherwise
-
isIncomplete
boolean isIncomplete()Returnstrue
if this commerce price list is incomplete.- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce price list is incomplete;false
otherwise
-
isPending
boolean isPending()Returnstrue
if this commerce price list is pending.- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce price list is pending;false
otherwise
-
isScheduled
boolean isScheduled()Returnstrue
if this commerce price list is scheduled.- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce price list is scheduled;false
otherwise
-
cloneWithOriginalValues
CommercePriceList cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommercePriceList>
-
toXmlString
-