1
22
23 package com.liferay.portlet.shopping.service.persistence;
24
25
31 public interface ShoppingOrderItemPersistence {
32 public com.liferay.portlet.shopping.model.ShoppingOrderItem create(
33 long orderItemId);
34
35 public com.liferay.portlet.shopping.model.ShoppingOrderItem remove(
36 long orderItemId)
37 throws com.liferay.portal.SystemException,
38 com.liferay.portlet.shopping.NoSuchOrderItemException;
39
40 public com.liferay.portlet.shopping.model.ShoppingOrderItem remove(
41 com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
42 throws com.liferay.portal.SystemException;
43
44 public com.liferay.portlet.shopping.model.ShoppingOrderItem update(
45 com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
46 throws com.liferay.portal.SystemException;
47
48 public com.liferay.portlet.shopping.model.ShoppingOrderItem update(
49 com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem,
50 boolean merge) throws com.liferay.portal.SystemException;
51
52 public com.liferay.portlet.shopping.model.ShoppingOrderItem updateImpl(
53 com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem,
54 boolean merge) throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.shopping.model.ShoppingOrderItem findByPrimaryKey(
57 long orderItemId)
58 throws com.liferay.portal.SystemException,
59 com.liferay.portlet.shopping.NoSuchOrderItemException;
60
61 public com.liferay.portlet.shopping.model.ShoppingOrderItem fetchByPrimaryKey(
62 long orderItemId) throws com.liferay.portal.SystemException;
63
64 public java.util.List findByOrderId(long orderId)
65 throws com.liferay.portal.SystemException;
66
67 public java.util.List findByOrderId(long orderId, int begin, int end)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List findByOrderId(long orderId, int begin, int end,
71 com.liferay.portal.kernel.util.OrderByComparator obc)
72 throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.shopping.model.ShoppingOrderItem findByOrderId_First(
75 long orderId, com.liferay.portal.kernel.util.OrderByComparator obc)
76 throws com.liferay.portal.SystemException,
77 com.liferay.portlet.shopping.NoSuchOrderItemException;
78
79 public com.liferay.portlet.shopping.model.ShoppingOrderItem findByOrderId_Last(
80 long orderId, com.liferay.portal.kernel.util.OrderByComparator obc)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.shopping.NoSuchOrderItemException;
83
84 public com.liferay.portlet.shopping.model.ShoppingOrderItem[] findByOrderId_PrevAndNext(
85 long orderItemId, long orderId,
86 com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.shopping.NoSuchOrderItemException;
89
90 public java.util.List findWithDynamicQuery(
91 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
92 throws com.liferay.portal.SystemException;
93
94 public java.util.List findWithDynamicQuery(
95 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
96 int begin, int end) throws com.liferay.portal.SystemException;
97
98 public java.util.List findAll() throws com.liferay.portal.SystemException;
99
100 public java.util.List findAll(int begin, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List findAll(int begin, int end,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException;
106
107 public void removeByOrderId(long orderId)
108 throws com.liferay.portal.SystemException;
109
110 public void removeAll() throws com.liferay.portal.SystemException;
111
112 public int countByOrderId(long orderId)
113 throws com.liferay.portal.SystemException;
114
115 public int countAll() throws com.liferay.portal.SystemException;
116 }