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

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

public class ShoppingItemImpl
extends ShoppingItemBaseImpl

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
CATEGORYID_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, GROUPID_COLUMN_BITMASK, LARGEIMAGEID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, MEDIUMIMAGEID_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, SKU_COLUMN_BITMASK, SMALLIMAGEID_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
ShoppingItemImpl()
           
 
Method Summary
 int compareTo(com.liferay.portlet.shopping.model.ShoppingItem item)
           
 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.ShoppingItemBaseImpl
persist
 
Methods inherited from class com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
clone, equals, getCategoryId, getColumnBitmask, getCompanyId, getCreateDate, getDescription, getDiscount, getExpandoBridge, getFeatured, getFields, getFieldsQuantities, getGroupId, getItemId, getLargeImage, getLargeImageId, getLargeImageURL, getMaxQuantity, getMediumImage, getMediumImageId, getMediumImageURL, getMinQuantity, getModelClass, getModelClassName, getModifiedDate, getName, getOriginalCategoryId, getOriginalCompanyId, getOriginalGroupId, getOriginalLargeImageId, getOriginalMediumImageId, getOriginalSku, getOriginalSmallImageId, getPrice, getPrimaryKey, getPrimaryKeyObj, getProperties, getRequiresShipping, getSale, getShipping, getSku, getSmallImage, getSmallImageId, getSmallImageURL, getStockQuantity, getTaxable, getUserId, getUserName, getUserUuid, getUseShippingFormula, hashCode, isFeatured, isFields, isLargeImage, isMediumImage, isRequiresShipping, isSale, isSmallImage, isTaxable, isUseShippingFormula, resetOriginalValues, setCategoryId, setCompanyId, setCreateDate, setDescription, setDiscount, setExpandoBridgeAttributes, setFeatured, setFields, setGroupId, setItemId, setLargeImage, setLargeImageId, setLargeImageURL, setMaxQuantity, setMediumImage, setMediumImageId, setMediumImageURL, setMinQuantity, setModifiedDate, setName, setPrice, setPrimaryKey, setPrimaryKeyObj, setProperties, setRequiresShipping, setSale, setShipping, setSku, setSmallImage, setSmallImageId, setSmallImageURL, setStockQuantity, setTaxable, setUserId, setUserName, setUserUuid, setUseShippingFormula, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
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, setExpandoBridgeAttributes, setFeatured, setFields, setGroupId, setItemId, setLargeImage, setLargeImageId, setLargeImageURL, setMaxQuantity, setMediumImage, setMediumImageId, setMediumImageURL, setMinQuantity, setModifiedDate, setName, setNew, setPrice, setPrimaryKey, setPrimaryKeyObj, setProperties, setRequiresShipping, setSale, setShipping, setSku, setSmallImage, setSmallImageId, setSmallImageURL, setStockQuantity, setTaxable, setUserId, setUserName, setUserUuid, setUseShippingFormula, toCacheModel, toEscapedModel, toString, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
resetOriginalValues
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

ShoppingItemImpl

public ShoppingItemImpl()
Method Detail

compareTo

public int compareTo(com.liferay.portlet.shopping.model.ShoppingItem item)
Specified by:
compareTo in interface com.liferay.portlet.shopping.model.ShoppingItem
Specified by:
compareTo in interface com.liferay.portlet.shopping.model.ShoppingItemModel
Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portlet.shopping.model.ShoppingItem>
Overrides:
compareTo in class ShoppingItemModelImpl

getCategory

public com.liferay.portlet.shopping.model.ShoppingCategory getCategory()

getFieldsQuantitiesArray

public java.lang.String[] getFieldsQuantitiesArray()

getItemPrices

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

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

setFieldsQuantitiesArray

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