Liferay 6.0.5

com.liferay.portlet.shopping.model
Interface ShoppingItem

All Superinterfaces:
BaseModel<ShoppingItem>, Cloneable, Comparable<ShoppingItem>, Serializable, ShoppingItemModel
All Known Implementing Classes:
ShoppingItemImpl, ShoppingItemWrapper

public interface ShoppingItem
extends ShoppingItemModel

The model interface for the ShoppingItem service. Represents a row in the "ShoppingItem" database table, with each column mapped to a property of this class.

Never modify this interface directly. Add methods to ShoppingItemImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

Never reference this interface directly. All methods that expect a shopping item model instance should use the ShoppingItem interface instead.

See Also:
ShoppingItemModel, ShoppingItemImpl, ShoppingItemModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 int compareTo(ShoppingItem item)
           
 ShoppingCategory getCategory()
           
 String[] getFieldsQuantitiesArray()
           
 List<ShoppingItemPrice> getItemPrices()
           
 void setFieldsQuantities(String fieldsQuantities)
          Sets the fields quantities of this shopping item.
 void setFieldsQuantitiesArray(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 Comparable<ShoppingItem>
Specified by:
compareTo in interface ShoppingItemModel

getCategory

ShoppingCategory getCategory()

getFieldsQuantitiesArray

String[] getFieldsQuantitiesArray()

getItemPrices

List<ShoppingItemPrice> getItemPrices()
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

setFieldsQuantities

void setFieldsQuantities(String fieldsQuantities)
Description copied from interface: ShoppingItemModel
Sets the fields quantities of this shopping item.

Specified by:
setFieldsQuantities in interface ShoppingItemModel
Parameters:
fieldsQuantities - the fields quantities of this shopping item

setFieldsQuantitiesArray

void setFieldsQuantitiesArray(String[] fieldsQuantitiesArray)

Liferay 6.0.5