| ShoppingCart.java |
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="ShoppingCart.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 ShoppingCart table in the
28 * database.
29 * </p>
30 *
31 * <p>
32 * Customize {@link com.liferay.portlet.shopping.model.impl.ShoppingCartImpl} and rerun the
33 * ServiceBuilder to generate the new methods.
34 * </p>
35 *
36 * @author Brian Wing Shun Chan
37 * @see ShoppingCartModel
38 * @see com.liferay.portlet.shopping.model.impl.ShoppingCartImpl
39 * @see com.liferay.portlet.shopping.model.impl.ShoppingCartModelImpl
40 * @generated
41 */
42 public interface ShoppingCart extends ShoppingCartModel {
43 public void addItemId(long itemId, java.lang.String fields);
44
45 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon()
46 throws com.liferay.portal.kernel.exception.PortalException,
47 com.liferay.portal.kernel.exception.SystemException;
48
49 public java.util.Map<com.liferay.portlet.shopping.model.ShoppingCartItem, Integer> getItems()
50 throws com.liferay.portal.kernel.exception.SystemException;
51
52 public int getItemsSize();
53 }