com.liferay.portlet.shopping.model
Class ShoppingItemWrapper
java.lang.Object
com.liferay.portlet.shopping.model.ShoppingItemWrapper
- All Implemented Interfaces:
- BaseModel<ShoppingItem>, ShoppingItem, ShoppingItemModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ShoppingItem>
public class ShoppingItemWrapper
- extends java.lang.Object
- implements ShoppingItem
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for ShoppingItem.
- Author:
- Brian Wing Shun Chan
- See Also:
ShoppingItem,
Serialized Form- Generated:
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
ShoppingItemWrapper
public ShoppingItemWrapper(ShoppingItem shoppingItem)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface ShoppingItemModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey in interface ShoppingItemModel
getItemId
public long getItemId()
- Specified by:
getItemId in interface ShoppingItemModel
setItemId
public void setItemId(long itemId)
- Specified by:
setItemId in interface ShoppingItemModel
getGroupId
public long getGroupId()
- Specified by:
getGroupId in interface ShoppingItemModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId in interface ShoppingItemModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId in interface ShoppingItemModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface ShoppingItemModel
getUserId
public long getUserId()
- Specified by:
getUserId in interface ShoppingItemModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface ShoppingItemModel
getUserUuid
public java.lang.String getUserUuid()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserUuid in interface ShoppingItemModel
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUserUuid
public void setUserUuid(java.lang.String userUuid)
- Specified by:
setUserUuid in interface ShoppingItemModel
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName in interface ShoppingItemModel
setUserName
public void setUserName(java.lang.String userName)
- Specified by:
setUserName in interface ShoppingItemModel
getCreateDate
public java.util.Date getCreateDate()
- Specified by:
getCreateDate in interface ShoppingItemModel
setCreateDate
public void setCreateDate(java.util.Date createDate)
- Specified by:
setCreateDate in interface ShoppingItemModel
getModifiedDate
public java.util.Date getModifiedDate()
- Specified by:
getModifiedDate in interface ShoppingItemModel
setModifiedDate
public void setModifiedDate(java.util.Date modifiedDate)
- Specified by:
setModifiedDate in interface ShoppingItemModel
getCategoryId
public long getCategoryId()
- Specified by:
getCategoryId in interface ShoppingItemModel
setCategoryId
public void setCategoryId(long categoryId)
- Specified by:
setCategoryId in interface ShoppingItemModel
getSku
public java.lang.String getSku()
- Specified by:
getSku in interface ShoppingItemModel
setSku
public void setSku(java.lang.String sku)
- Specified by:
setSku in interface ShoppingItemModel
getName
public java.lang.String getName()
- Specified by:
getName in interface ShoppingItemModel
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface ShoppingItemModel
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface ShoppingItemModel
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription in interface ShoppingItemModel
getProperties
public java.lang.String getProperties()
- Specified by:
getProperties in interface ShoppingItemModel
setProperties
public void setProperties(java.lang.String properties)
- Specified by:
setProperties in interface ShoppingItemModel
getFields
public boolean getFields()
- Specified by:
getFields in interface ShoppingItemModel
isFields
public boolean isFields()
- Specified by:
isFields in interface ShoppingItemModel
setFields
public void setFields(boolean fields)
- Specified by:
setFields in interface ShoppingItemModel
getFieldsQuantities
public java.lang.String getFieldsQuantities()
- Specified by:
getFieldsQuantities in interface ShoppingItemModel
setFieldsQuantities
public void setFieldsQuantities(java.lang.String fieldsQuantities)
- Specified by:
setFieldsQuantities in interface ShoppingItem- Specified by:
setFieldsQuantities in interface ShoppingItemModel
getMinQuantity
public int getMinQuantity()
- Specified by:
getMinQuantity in interface ShoppingItemModel
setMinQuantity
public void setMinQuantity(int minQuantity)
- Specified by:
setMinQuantity in interface ShoppingItemModel
getMaxQuantity
public int getMaxQuantity()
- Specified by:
getMaxQuantity in interface ShoppingItemModel
setMaxQuantity
public void setMaxQuantity(int maxQuantity)
- Specified by:
setMaxQuantity in interface ShoppingItemModel
getPrice
public double getPrice()
- Specified by:
getPrice in interface ShoppingItemModel
setPrice
public void setPrice(double price)
- Specified by:
setPrice in interface ShoppingItemModel
getDiscount
public double getDiscount()
- Specified by:
getDiscount in interface ShoppingItemModel
setDiscount
public void setDiscount(double discount)
- Specified by:
setDiscount in interface ShoppingItemModel
getTaxable
public boolean getTaxable()
- Specified by:
getTaxable in interface ShoppingItemModel
isTaxable
public boolean isTaxable()
- Specified by:
isTaxable in interface ShoppingItemModel
setTaxable
public void setTaxable(boolean taxable)
- Specified by:
setTaxable in interface ShoppingItemModel
getShipping
public double getShipping()
- Specified by:
getShipping in interface ShoppingItemModel
setShipping
public void setShipping(double shipping)
- Specified by:
setShipping in interface ShoppingItemModel
getUseShippingFormula
public boolean getUseShippingFormula()
- Specified by:
getUseShippingFormula in interface ShoppingItemModel
isUseShippingFormula
public boolean isUseShippingFormula()
- Specified by:
isUseShippingFormula in interface ShoppingItemModel
setUseShippingFormula
public void setUseShippingFormula(boolean useShippingFormula)
- Specified by:
setUseShippingFormula in interface ShoppingItemModel
getRequiresShipping
public boolean getRequiresShipping()
- Specified by:
getRequiresShipping in interface ShoppingItemModel
isRequiresShipping
public boolean isRequiresShipping()
- Specified by:
isRequiresShipping in interface ShoppingItemModel
setRequiresShipping
public void setRequiresShipping(boolean requiresShipping)
- Specified by:
setRequiresShipping in interface ShoppingItemModel
getStockQuantity
public int getStockQuantity()
- Specified by:
getStockQuantity in interface ShoppingItemModel
setStockQuantity
public void setStockQuantity(int stockQuantity)
- Specified by:
setStockQuantity in interface ShoppingItemModel
getFeatured
public boolean getFeatured()
- Specified by:
getFeatured in interface ShoppingItemModel
isFeatured
public boolean isFeatured()
- Specified by:
isFeatured in interface ShoppingItemModel
setFeatured
public void setFeatured(boolean featured)
- Specified by:
setFeatured in interface ShoppingItemModel
getSale
public boolean getSale()
- Specified by:
getSale in interface ShoppingItemModel
isSale
public boolean isSale()
- Specified by:
isSale in interface ShoppingItemModel
setSale
public void setSale(boolean sale)
- Specified by:
setSale in interface ShoppingItemModel
getSmallImage
public boolean getSmallImage()
- Specified by:
getSmallImage in interface ShoppingItemModel
isSmallImage
public boolean isSmallImage()
- Specified by:
isSmallImage in interface ShoppingItemModel
setSmallImage
public void setSmallImage(boolean smallImage)
- Specified by:
setSmallImage in interface ShoppingItemModel
getSmallImageId
public long getSmallImageId()
- Specified by:
getSmallImageId in interface ShoppingItemModel
setSmallImageId
public void setSmallImageId(long smallImageId)
- Specified by:
setSmallImageId in interface ShoppingItemModel
getSmallImageURL
public java.lang.String getSmallImageURL()
- Specified by:
getSmallImageURL in interface ShoppingItemModel
setSmallImageURL
public void setSmallImageURL(java.lang.String smallImageURL)
- Specified by:
setSmallImageURL in interface ShoppingItemModel
getMediumImage
public boolean getMediumImage()
- Specified by:
getMediumImage in interface ShoppingItemModel
isMediumImage
public boolean isMediumImage()
- Specified by:
isMediumImage in interface ShoppingItemModel
setMediumImage
public void setMediumImage(boolean mediumImage)
- Specified by:
setMediumImage in interface ShoppingItemModel
getMediumImageId
public long getMediumImageId()
- Specified by:
getMediumImageId in interface ShoppingItemModel
setMediumImageId
public void setMediumImageId(long mediumImageId)
- Specified by:
setMediumImageId in interface ShoppingItemModel
getMediumImageURL
public java.lang.String getMediumImageURL()
- Specified by:
getMediumImageURL in interface ShoppingItemModel
setMediumImageURL
public void setMediumImageURL(java.lang.String mediumImageURL)
- Specified by:
setMediumImageURL in interface ShoppingItemModel
getLargeImage
public boolean getLargeImage()
- Specified by:
getLargeImage in interface ShoppingItemModel
isLargeImage
public boolean isLargeImage()
- Specified by:
isLargeImage in interface ShoppingItemModel
setLargeImage
public void setLargeImage(boolean largeImage)
- Specified by:
setLargeImage in interface ShoppingItemModel
getLargeImageId
public long getLargeImageId()
- Specified by:
getLargeImageId in interface ShoppingItemModel
setLargeImageId
public void setLargeImageId(long largeImageId)
- Specified by:
setLargeImageId in interface ShoppingItemModel
getLargeImageURL
public java.lang.String getLargeImageURL()
- Specified by:
getLargeImageURL in interface ShoppingItemModel
setLargeImageURL
public void setLargeImageURL(java.lang.String largeImageURL)
- Specified by:
setLargeImageURL in interface ShoppingItemModel
toEscapedModel
public ShoppingItem toEscapedModel()
- Specified by:
toEscapedModel in interface ShoppingItemModel
isNew
public boolean isNew()
- Specified by:
isNew in interface BaseModel<ShoppingItem>- Specified by:
isNew in interface ShoppingItemModel
setNew
public boolean setNew(boolean n)
- Specified by:
setNew in interface BaseModel<ShoppingItem>- Specified by:
setNew in interface ShoppingItemModel
isCachedModel
public boolean isCachedModel()
- Specified by:
isCachedModel in interface BaseModel<ShoppingItem>- Specified by:
isCachedModel in interface ShoppingItemModel
setCachedModel
public void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel in interface BaseModel<ShoppingItem>- Specified by:
setCachedModel in interface ShoppingItemModel
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel in interface BaseModel<ShoppingItem>- Specified by:
isEscapedModel in interface ShoppingItemModel
setEscapedModel
public void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel in interface BaseModel<ShoppingItem>- Specified by:
setEscapedModel in interface ShoppingItemModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface BaseModel<ShoppingItem>- Specified by:
getPrimaryKeyObj in interface ShoppingItemModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface BaseModel<ShoppingItem>- Specified by:
getExpandoBridge in interface ShoppingItemModel
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface BaseModel<ShoppingItem>- Specified by:
setExpandoBridgeAttributes in interface ShoppingItemModel
clone
public java.lang.Object clone()
- Specified by:
clone in interface BaseModel<ShoppingItem>- Specified by:
clone in interface ShoppingItemModel- Overrides:
clone in class java.lang.Object
compareTo
public int compareTo(ShoppingItem shoppingItem)
- Specified by:
compareTo in interface ShoppingItem- Specified by:
compareTo in interface ShoppingItemModel- Specified by:
compareTo in interface java.lang.Comparable<ShoppingItem>
hashCode
public int hashCode()
- Specified by:
hashCode in interface ShoppingItemModel- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString in interface ShoppingItemModel- Overrides:
toString in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString in interface BaseModel<ShoppingItem>- Specified by:
toXmlString in interface ShoppingItemModel
getCategory
public ShoppingCategory getCategory()
- Specified by:
getCategory in interface ShoppingItem
getFieldsQuantitiesArray
public java.lang.String[] getFieldsQuantitiesArray()
- Specified by:
getFieldsQuantitiesArray in interface ShoppingItem
getItemPrices
public java.util.List<ShoppingItemPrice> getItemPrices()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getItemPrices in interface ShoppingItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
setFieldsQuantitiesArray
public void setFieldsQuantitiesArray(java.lang.String[] fieldsQuantitiesArray)
- Specified by:
setFieldsQuantitiesArray in interface ShoppingItem
getWrappedShoppingItem
public ShoppingItem getWrappedShoppingItem()