com.liferay.portlet.shopping.model
Interface ShoppingItem

All Superinterfaces:
BaseModel<ShoppingItem>, java.lang.Cloneable, java.lang.Comparable<ShoppingItem>, java.io.Serializable, ShoppingItemModel
All Known Implementing Classes:
ShoppingItemWrapper

public interface ShoppingItem
extends ShoppingItemModel

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface is a model that represents the ShoppingItem table in the database.

Customize com.liferay.portlet.shopping.model.impl.ShoppingItemImpl and rerun the ServiceBuilder to generate the new methods.

Author:
Brian Wing Shun Chan
See Also:
ShoppingItemModel, com.liferay.portlet.shopping.model.impl.ShoppingItemImpl, com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
Generated:

Method Summary
 int compareTo(ShoppingItem item)
           
 ShoppingCategory getCategory()
           
 java.lang.String[] getFieldsQuantitiesArray()
           
 java.util.List<ShoppingItemPrice> getItemPrices()
           
 void setFieldsQuantities(java.lang.String fieldsQuantities)
           
 void setFieldsQuantitiesArray(java.lang.String[] fieldsQuantitiesArray)
           
 
Methods inherited from interface com.liferay.portlet.shopping.model.ShoppingItemModel
clone, getCategoryId, getCompanyId, getCreateDate, getDescription, getDiscount, getExpandoBridge, getFeatured, getFields, getFieldsQuantities, getGroupId, 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, getUserUuid, getUseShippingFormula, hashCode, isCachedModel, isEscapedModel, isFeatured, isFields, isLargeImage, isMediumImage, isNew, isRequiresShipping, isSale, isSmallImage, isTaxable, isUseShippingFormula, setCachedModel, setCategoryId, setCompanyId, setCreateDate, setDescription, setDiscount, setEscapedModel, setExpandoBridgeAttributes, setFeatured, setFields, setGroupId, setItemId, setLargeImage, setLargeImageId, setLargeImageURL, setMaxQuantity, setMediumImage, setMediumImageId, setMediumImageURL, setMinQuantity, setModifiedDate, setName, setNew, setPrice, setPrimaryKey, setProperties, setRequiresShipping, setSale, setShipping, setSku, setSmallImage, setSmallImageId, setSmallImageURL, setStockQuantity, setTaxable, setUserId, setUserName, setUserUuid, setUseShippingFormula, toEscapedModel, toString, toXmlString
 

Method Detail

compareTo

int compareTo(ShoppingItem item)
Specified by:
compareTo in interface java.lang.Comparable<ShoppingItem>
Specified by:
compareTo in interface ShoppingItemModel

getCategory

ShoppingCategory getCategory()

getFieldsQuantitiesArray

java.lang.String[] getFieldsQuantitiesArray()

getItemPrices

java.util.List<ShoppingItemPrice> getItemPrices()
                                                throws com.liferay.portal.kernel.exception.PortalException,
                                                       com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

setFieldsQuantities

void setFieldsQuantities(java.lang.String fieldsQuantities)
Specified by:
setFieldsQuantities in interface ShoppingItemModel

setFieldsQuantitiesArray

void setFieldsQuantitiesArray(java.lang.String[] fieldsQuantitiesArray)