@ProviderType public interface ShoppingItemModel extends com.liferay.portal.kernel.model.BaseModel<ShoppingItem>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.shopping.model.impl.ShoppingItemModelImpl 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.shopping.model.impl.ShoppingItemImpl.
ShoppingItem,
com.liferay.shopping.model.impl.ShoppingItemImpl,
com.liferay.shopping.model.impl.ShoppingItemModelImpl| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(ShoppingItem shoppingItem) |
long |
getCategoryId()
Returns the category ID of this shopping item.
|
long |
getCompanyId()
Returns the company ID of this shopping item.
|
java.util.Date |
getCreateDate()
Returns the create date of this shopping item.
|
java.lang.String |
getDescription()
Returns the description of this shopping item.
|
double |
getDiscount()
Returns the discount of this shopping item.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
boolean |
getFeatured()
Returns the featured of this shopping item.
|
boolean |
getFields()
Returns the fields of this shopping item.
|
java.lang.String |
getFieldsQuantities()
Returns the fields quantities of this shopping item.
|
long |
getGroupId()
Returns the group ID of this shopping item.
|
long |
getItemId()
Returns the item ID of this shopping item.
|
boolean |
getLargeImage()
Returns the large image of this shopping item.
|
long |
getLargeImageId()
Returns the large image ID of this shopping item.
|
java.lang.String |
getLargeImageURL()
Returns the large image u r l of this shopping item.
|
int |
getMaxQuantity()
Returns the max quantity of this shopping item.
|
boolean |
getMediumImage()
Returns the medium image of this shopping item.
|
long |
getMediumImageId()
Returns the medium image ID of this shopping item.
|
java.lang.String |
getMediumImageURL()
Returns the medium image u r l of this shopping item.
|
int |
getMinQuantity()
Returns the min quantity of this shopping item.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this shopping item.
|
java.lang.String |
getName()
Returns the name of this shopping item.
|
double |
getPrice()
Returns the price of this shopping item.
|
long |
getPrimaryKey()
Returns the primary key of this shopping item.
|
java.io.Serializable |
getPrimaryKeyObj() |
java.lang.String |
getProperties()
Returns the properties of this shopping item.
|
boolean |
getRequiresShipping()
Returns the requires shipping of this shopping item.
|
boolean |
getSale()
Returns the sale of this shopping item.
|
double |
getShipping()
Returns the shipping of this shopping item.
|
java.lang.String |
getSku()
Returns the sku of this shopping item.
|
boolean |
getSmallImage()
Returns the small image of this shopping item.
|
long |
getSmallImageId()
Returns the small image ID of this shopping item.
|
java.lang.String |
getSmallImageURL()
Returns the small image u r l of this shopping item.
|
int |
getStockQuantity()
Returns the stock quantity of this shopping item.
|
boolean |
getTaxable()
Returns the taxable of this shopping item.
|
long |
getUserId()
Returns the user ID of this shopping item.
|
java.lang.String |
getUserName()
Returns the user name of this shopping item.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this shopping item.
|
boolean |
getUseShippingFormula()
Returns the use shipping formula of this shopping item.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isFeatured()
Returns
true if this shopping item is featured. |
boolean |
isFields()
Returns
true if this shopping item is fields. |
boolean |
isLargeImage()
Returns
true if this shopping item is large image. |
boolean |
isMediumImage()
Returns
true if this shopping item is medium image. |
boolean |
isNew() |
boolean |
isRequiresShipping()
Returns
true if this shopping item is requires shipping. |
boolean |
isSale()
Returns
true if this shopping item is sale. |
boolean |
isSmallImage()
Returns
true if this shopping item is small image. |
boolean |
isTaxable()
Returns
true if this shopping item is taxable. |
boolean |
isUseShippingFormula()
Returns
true if this shopping item is use shipping formula. |
void |
setCachedModel(boolean cachedModel) |
void |
setCategoryId(long categoryId)
Sets the category ID of this shopping item.
|
void |
setCompanyId(long companyId)
Sets the company ID of this shopping item.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this shopping item.
|
void |
setDescription(java.lang.String description)
Sets the description of this shopping item.
|
void |
setDiscount(double discount)
Sets the discount of this shopping item.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setFeatured(boolean featured)
Sets whether this shopping item is featured.
|
void |
setFields(boolean fields)
Sets whether this shopping item is fields.
|
void |
setFieldsQuantities(java.lang.String fieldsQuantities)
Sets the fields quantities of this shopping item.
|
void |
setGroupId(long groupId)
Sets the group ID of this shopping item.
|
void |
setItemId(long itemId)
Sets the item ID of this shopping item.
|
void |
setLargeImage(boolean largeImage)
Sets whether this shopping item is large image.
|
void |
setLargeImageId(long largeImageId)
Sets the large image ID of this shopping item.
|
void |
setLargeImageURL(java.lang.String largeImageURL)
Sets the large image u r l of this shopping item.
|
void |
setMaxQuantity(int maxQuantity)
Sets the max quantity of this shopping item.
|
void |
setMediumImage(boolean mediumImage)
Sets whether this shopping item is medium image.
|
void |
setMediumImageId(long mediumImageId)
Sets the medium image ID of this shopping item.
|
void |
setMediumImageURL(java.lang.String mediumImageURL)
Sets the medium image u r l of this shopping item.
|
void |
setMinQuantity(int minQuantity)
Sets the min quantity of this shopping item.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this shopping item.
|
void |
setName(java.lang.String name)
Sets the name of this shopping item.
|
void |
setNew(boolean n) |
void |
setPrice(double price)
Sets the price of this shopping item.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this shopping item.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setProperties(java.lang.String properties)
Sets the properties of this shopping item.
|
void |
setRequiresShipping(boolean requiresShipping)
Sets whether this shopping item is requires shipping.
|
void |
setSale(boolean sale)
Sets whether this shopping item is sale.
|
void |
setShipping(double shipping)
Sets the shipping of this shopping item.
|
void |
setSku(java.lang.String sku)
Sets the sku of this shopping item.
|
void |
setSmallImage(boolean smallImage)
Sets whether this shopping item is small image.
|
void |
setSmallImageId(long smallImageId)
Sets the small image ID of this shopping item.
|
void |
setSmallImageURL(java.lang.String smallImageURL)
Sets the small image u r l of this shopping item.
|
void |
setStockQuantity(int stockQuantity)
Sets the stock quantity of this shopping item.
|
void |
setTaxable(boolean taxable)
Sets whether this shopping item is taxable.
|
void |
setUserId(long userId)
Sets the user ID of this shopping item.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this shopping item.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this shopping item.
|
void |
setUseShippingFormula(boolean useShippingFormula)
Sets whether this shopping item is use shipping formula.
|
com.liferay.portal.kernel.model.CacheModel<ShoppingItem> |
toCacheModel() |
ShoppingItem |
toEscapedModel() |
java.lang.String |
toString() |
ShoppingItem |
toUnescapedModel() |
java.lang.String |
toXmlString() |
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this shopping itemlong getItemId()
void setItemId(long itemId)
itemId - the item ID of this shopping itemlong getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelvoid setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this shopping itemlong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this shopping itemlong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this shopping itemjava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this shopping item@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this shopping itemjava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this shopping itemjava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this shopping itemlong getCategoryId()
void setCategoryId(long categoryId)
categoryId - the category ID of this shopping item@AutoEscape java.lang.String getSku()
void setSku(java.lang.String sku)
sku - the sku of this shopping item@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this shopping item@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description - the description of this shopping item@AutoEscape java.lang.String getProperties()
void setProperties(java.lang.String properties)
properties - the properties of this shopping itemboolean getFields()
boolean isFields()
true if this shopping item is fields.true if this shopping item is fields; false otherwisevoid setFields(boolean fields)
fields - the fields of this shopping item@AutoEscape java.lang.String getFieldsQuantities()
void setFieldsQuantities(java.lang.String fieldsQuantities)
fieldsQuantities - the fields quantities of this shopping itemint getMinQuantity()
void setMinQuantity(int minQuantity)
minQuantity - the min quantity of this shopping itemint getMaxQuantity()
void setMaxQuantity(int maxQuantity)
maxQuantity - the max quantity of this shopping itemdouble getPrice()
void setPrice(double price)
price - the price of this shopping itemdouble getDiscount()
void setDiscount(double discount)
discount - the discount of this shopping itemboolean getTaxable()
boolean isTaxable()
true if this shopping item is taxable.true if this shopping item is taxable; false otherwisevoid setTaxable(boolean taxable)
taxable - the taxable of this shopping itemdouble getShipping()
void setShipping(double shipping)
shipping - the shipping of this shopping itemboolean getUseShippingFormula()
boolean isUseShippingFormula()
true if this shopping item is use shipping formula.true if this shopping item is use shipping formula; false otherwisevoid setUseShippingFormula(boolean useShippingFormula)
useShippingFormula - the use shipping formula of this shopping itemboolean getRequiresShipping()
boolean isRequiresShipping()
true if this shopping item is requires shipping.true if this shopping item is requires shipping; false otherwisevoid setRequiresShipping(boolean requiresShipping)
requiresShipping - the requires shipping of this shopping itemint getStockQuantity()
void setStockQuantity(int stockQuantity)
stockQuantity - the stock quantity of this shopping itemboolean getFeatured()
boolean isFeatured()
true if this shopping item is featured.true if this shopping item is featured; false otherwisevoid setFeatured(boolean featured)
featured - the featured of this shopping itemboolean getSale()
boolean isSale()
true if this shopping item is sale.true if this shopping item is sale; false otherwisevoid setSale(boolean sale)
sale - the sale of this shopping itemboolean getSmallImage()
boolean isSmallImage()
true if this shopping item is small image.true if this shopping item is small image; false otherwisevoid setSmallImage(boolean smallImage)
smallImage - the small image of this shopping itemlong getSmallImageId()
void setSmallImageId(long smallImageId)
smallImageId - the small image ID of this shopping item@AutoEscape java.lang.String getSmallImageURL()
void setSmallImageURL(java.lang.String smallImageURL)
smallImageURL - the small image u r l of this shopping itemboolean getMediumImage()
boolean isMediumImage()
true if this shopping item is medium image.true if this shopping item is medium image; false otherwisevoid setMediumImage(boolean mediumImage)
mediumImage - the medium image of this shopping itemlong getMediumImageId()
void setMediumImageId(long mediumImageId)
mediumImageId - the medium image ID of this shopping item@AutoEscape java.lang.String getMediumImageURL()
void setMediumImageURL(java.lang.String mediumImageURL)
mediumImageURL - the medium image u r l of this shopping itemboolean getLargeImage()
boolean isLargeImage()
true if this shopping item is large image.true if this shopping item is large image; false otherwisevoid setLargeImage(boolean largeImage)
largeImage - the large image of this shopping itemlong getLargeImageId()
void setLargeImageId(long largeImageId)
largeImageId - the large image ID of this shopping item@AutoEscape java.lang.String getLargeImageURL()
void setLargeImageURL(java.lang.String largeImageURL)
largeImageURL - the large image u r l of this shopping itemboolean isNew()
isNew in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>void setNew(boolean n)
setNew in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>boolean isCachedModel()
isCachedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>void setCachedModel(boolean cachedModel)
setCachedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>boolean isEscapedModel()
isEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelcom.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelvoid setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>java.lang.Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>int compareTo(ShoppingItem shoppingItem)
compareTo in interface java.lang.Comparable<ShoppingItem>int hashCode()
hashCode in class java.lang.Objectcom.liferay.portal.kernel.model.CacheModel<ShoppingItem> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>ShoppingItem toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>ShoppingItem toUnescapedModel()
toUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItem>