com.liferay.portlet.shopping.model
Class ShoppingItemWrapper

java.lang.Object
  extended by 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:

Constructor Summary
ShoppingItemWrapper(ShoppingItem shoppingItem)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(ShoppingItem shoppingItem)
           
 ShoppingCategory getCategory()
           
 long getCategoryId()
           
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 java.lang.String getDescription()
           
 double getDiscount()
           
 ExpandoBridge getExpandoBridge()
           
 boolean getFeatured()
           
 boolean getFields()
           
 java.lang.String getFieldsQuantities()
           
 java.lang.String[] getFieldsQuantitiesArray()
           
 long getItemId()
           
 java.util.List<ShoppingItemPrice> getItemPrices()
           
 boolean getLargeImage()
           
 long getLargeImageId()
           
 java.lang.String getLargeImageURL()
           
 int getMaxQuantity()
           
 boolean getMediumImage()
           
 long getMediumImageId()
           
 java.lang.String getMediumImageURL()
           
 int getMinQuantity()
           
 java.util.Date getModifiedDate()
           
 java.lang.String getName()
           
 double getPrice()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 java.lang.String getProperties()
           
 boolean getRequiresShipping()
           
 boolean getSale()
           
 double getShipping()
           
 java.lang.String getSku()
           
 boolean getSmallImage()
           
 long getSmallImageId()
           
 java.lang.String getSmallImageURL()
           
 int getStockQuantity()
           
 boolean getTaxable()
           
 long getUserId()
           
 java.lang.String getUserName()
           
 java.lang.String getUserUuid()
           
 boolean getUseShippingFormula()
           
 ShoppingItem getWrappedShoppingItem()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isFeatured()
           
 boolean isFields()
           
 boolean isLargeImage()
           
 boolean isMediumImage()
           
 boolean isNew()
           
 boolean isRequiresShipping()
           
 boolean isSale()
           
 boolean isSmallImage()
           
 boolean isTaxable()
           
 boolean isUseShippingFormula()
           
 void setCachedModel(boolean cachedModel)
           
 void setCategoryId(long categoryId)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setDescription(java.lang.String description)
           
 void setDiscount(double discount)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setFeatured(boolean featured)
           
 void setFields(boolean fields)
           
 void setFieldsQuantities(java.lang.String fieldsQuantities)
           
 void setFieldsQuantitiesArray(java.lang.String[] fieldsQuantitiesArray)
           
 void setItemId(long itemId)
           
 void setLargeImage(boolean largeImage)
           
 void setLargeImageId(long largeImageId)
           
 void setLargeImageURL(java.lang.String largeImageURL)
           
 void setMaxQuantity(int maxQuantity)
           
 void setMediumImage(boolean mediumImage)
           
 void setMediumImageId(long mediumImageId)
           
 void setMediumImageURL(java.lang.String mediumImageURL)
           
 void setMinQuantity(int minQuantity)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 void setName(java.lang.String name)
           
 boolean setNew(boolean n)
           
 void setPrice(double price)
           
 void setPrimaryKey(long pk)
           
 void setProperties(java.lang.String properties)
           
 void setRequiresShipping(boolean requiresShipping)
           
 void setSale(boolean sale)
           
 void setShipping(double shipping)
           
 void setSku(java.lang.String sku)
           
 void setSmallImage(boolean smallImage)
           
 void setSmallImageId(long smallImageId)
           
 void setSmallImageURL(java.lang.String smallImageURL)
           
 void setStockQuantity(int stockQuantity)
           
 void setTaxable(boolean taxable)
           
 void setUserId(long userId)
           
 void setUserName(java.lang.String userName)
           
 void setUserUuid(java.lang.String userUuid)
           
 void setUseShippingFormula(boolean useShippingFormula)
           
 ShoppingItem toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShoppingItemWrapper

public ShoppingItemWrapper(ShoppingItem shoppingItem)
Method Detail

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

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.SystemException
Specified by:
getUserUuid in interface ShoppingItemModel
Throws:
com.liferay.portal.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

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

toEscapedModel

public ShoppingItem toEscapedModel()
Specified by:
toEscapedModel in interface BaseModel<ShoppingItem>
Specified by:
toEscapedModel in interface ShoppingItemModel

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.PortalException,
                                                       com.liferay.portal.SystemException
Specified by:
getItemPrices in interface ShoppingItem
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

setFieldsQuantitiesArray

public void setFieldsQuantitiesArray(java.lang.String[] fieldsQuantitiesArray)
Specified by:
setFieldsQuantitiesArray in interface ShoppingItem

getWrappedShoppingItem

public ShoppingItem getWrappedShoppingItem()