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

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

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
CACHE_ENABLED, DATA_SOURCE, LOCK_EXPIRATION_TIME, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
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<com.liferay.portlet.shopping.model.ShoppingItemPrice> 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, getExpandoBridge, 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, toEscapedModel, toModel, toModels
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isEscapedModel, isNew, setEscapedModel, 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, toEscapedModel
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isEscapedModel, isNew, setEscapedModel, 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
Specified by:
setFieldsQuantities in interface com.liferay.portlet.shopping.model.ShoppingItemModel
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
Specified by:
compareTo in interface java.lang.Comparable
Overrides:
compareTo in class ShoppingItemModelImpl

getItemPrices

public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> 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