com.liferay.portlet.shopping.model.impl
Class ShoppingItemImpl

java.lang.Object
  extended bycom.liferay.portal.model.impl.BaseModelImpl
      extended bycom.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
          extended bycom.liferay.portlet.shopping.model.impl.ShoppingItemImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, java.lang.Cloneable, java.lang.Comparable, java.io.Serializable, com.liferay.portlet.shopping.model.ShoppingItem, com.liferay.portlet.shopping.model.ShoppingItemModel

public class ShoppingItemImpl
extends ShoppingItemModelImpl
implements com.liferay.portlet.shopping.model.ShoppingItem

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
LOCK_EXPIRATION_TIME, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, XSS_ALLOW_BY_MODEL, XSS_ALLOW_DESCRIPTION, XSS_ALLOW_FIELDSQUANTITIES, XSS_ALLOW_LARGEIMAGEURL, XSS_ALLOW_MEDIUMIMAGEURL, XSS_ALLOW_NAME, XSS_ALLOW_PROPERTIES, XSS_ALLOW_SKU, XSS_ALLOW_SMALLIMAGEURL, XSS_ALLOW_USERNAME
 
Fields inherited from class com.liferay.portal.model.impl.BaseModelImpl
XSS_ALLOW
 
Constructor Summary
ShoppingItemImpl()
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 com.liferay.portlet.shopping.model.ShoppingCategory getCategory()
           
 java.lang.String[] getFieldsQuantitiesArray()
           
 java.util.List getItemPrices()
           
 void setFieldsQuantities(java.lang.String fieldsQuantities)
           
 void setFieldsQuantitiesArray(java.lang.String[] fieldsQuantitiesArray)
           
 
Methods inherited from class com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
clone, equals, getCategoryId, getCompanyId, getCreateDate, getDescription, getDiscount, getFeatured, getFields, getFieldsQuantities, getItemId, getLargeImage, getLargeImageId, getLargeImageURL, getMaxQuantity, getMediumImage, getMediumImageId, getMediumImageURL, getMinQuantity, getModifiedDate, getName, getPrice, getPrimaryKey, getPrimaryKeyObj, getProperties, getRequiresShipping, getSale, getShipping, getSku, getSmallImage, getSmallImageId, getSmallImageURL, getStockQuantity, getTaxable, getUserId, getUserName, getUseShippingFormula, hashCode, isFeatured, isFields, isLargeImage, isMediumImage, isRequiresShipping, isSale, isSmallImage, isTaxable, isUseShippingFormula, setCategoryId, setCompanyId, setCreateDate, setDescription, setDiscount, setFeatured, setFields, setItemId, setLargeImage, setLargeImageId, setLargeImageURL, setMaxQuantity, setMediumImage, setMediumImageId, setMediumImageURL, setMinQuantity, setModifiedDate, setName, setPrice, setPrimaryKey, setProperties, setRequiresShipping, setSale, setShipping, setSku, setSmallImage, setSmallImageId, setSmallImageURL, setStockQuantity, setTaxable, setUserId, setUserName, setUseShippingFormula
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isNew, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.shopping.model.ShoppingItemModel
getCategoryId, getCompanyId, getCreateDate, getDescription, getDiscount, getFeatured, getFields, getFieldsQuantities, getItemId, getLargeImage, getLargeImageId, getLargeImageURL, getMaxQuantity, getMediumImage, getMediumImageId, getMediumImageURL, getMinQuantity, getModifiedDate, getName, getPrice, getPrimaryKey, getProperties, getRequiresShipping, getSale, getShipping, getSku, getSmallImage, getSmallImageId, getSmallImageURL, getStockQuantity, getTaxable, getUserId, getUserName, getUseShippingFormula, isFeatured, isFields, isLargeImage, isMediumImage, isRequiresShipping, isSale, isSmallImage, isTaxable, isUseShippingFormula, setCategoryId, setCompanyId, setCreateDate, setDescription, setDiscount, setFeatured, setFields, setItemId, setLargeImage, setLargeImageId, setLargeImageURL, setMaxQuantity, setMediumImage, setMediumImageId, setMediumImageURL, setMinQuantity, setModifiedDate, setName, setPrice, setPrimaryKey, setProperties, setRequiresShipping, setSale, setShipping, setSku, setSmallImage, setSmallImageId, setSmallImageURL, setStockQuantity, setTaxable, setUserId, setUserName, setUseShippingFormula
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isNew, setNew
 

Constructor Detail

ShoppingItemImpl

public ShoppingItemImpl()
Method Detail

getCategory

public com.liferay.portlet.shopping.model.ShoppingCategory getCategory()
Specified by:
getCategory in interface com.liferay.portlet.shopping.model.ShoppingItem

setFieldsQuantities

public void setFieldsQuantities(java.lang.String fieldsQuantities)
Specified by:
setFieldsQuantities in interface com.liferay.portlet.shopping.model.ShoppingItem
Overrides:
setFieldsQuantities in class ShoppingItemModelImpl

getFieldsQuantitiesArray

public java.lang.String[] getFieldsQuantitiesArray()
Specified by:
getFieldsQuantitiesArray in interface com.liferay.portlet.shopping.model.ShoppingItem

setFieldsQuantitiesArray

public void setFieldsQuantitiesArray(java.lang.String[] fieldsQuantitiesArray)
Specified by:
setFieldsQuantitiesArray in interface com.liferay.portlet.shopping.model.ShoppingItem

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface com.liferay.portlet.shopping.model.ShoppingItem
Overrides:
compareTo in class ShoppingItemModelImpl

getItemPrices

public java.util.List getItemPrices()
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Specified by:
getItemPrices in interface com.liferay.portlet.shopping.model.ShoppingItem
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException