1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.shopping.model;
16  
17  
18  /**
19   * <a href="ShoppingItem.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This interface is a model that represents the ShoppingItem table in the
28   * database.
29   * </p>
30   *
31   * <p>
32   * Customize {@link com.liferay.portlet.shopping.model.impl.ShoppingItemImpl} and rerun the
33   * ServiceBuilder to generate the new methods.
34   * </p>
35   *
36   * @author    Brian Wing Shun Chan
37   * @see       ShoppingItemModel
38   * @see       com.liferay.portlet.shopping.model.impl.ShoppingItemImpl
39   * @see       com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
40   * @generated
41   */
42  public interface ShoppingItem extends ShoppingItemModel {
43      public int compareTo(com.liferay.portlet.shopping.model.ShoppingItem item);
44  
45      public com.liferay.portlet.shopping.model.ShoppingCategory getCategory();
46  
47      public java.lang.String[] getFieldsQuantitiesArray();
48  
49      public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getItemPrices()
50          throws com.liferay.portal.kernel.exception.PortalException,
51              com.liferay.portal.kernel.exception.SystemException;
52  
53      public void setFieldsQuantities(java.lang.String fieldsQuantities);
54  
55      public void setFieldsQuantitiesArray(
56          java.lang.String[] fieldsQuantitiesArray);
57  }