1
22
23 package com.liferay.portlet.shopping.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface ShoppingOrderPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> shoppingOrders);
46
47 public void clearCache();
48
49 public com.liferay.portlet.shopping.model.ShoppingOrder create(long orderId);
50
51 public com.liferay.portlet.shopping.model.ShoppingOrder remove(long orderId)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.shopping.NoSuchOrderException;
54
55 public com.liferay.portlet.shopping.model.ShoppingOrder remove(
56 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder)
57 throws com.liferay.portal.SystemException;
58
59
62 public com.liferay.portlet.shopping.model.ShoppingOrder update(
63 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder)
64 throws com.liferay.portal.SystemException;
65
66
78 public com.liferay.portlet.shopping.model.ShoppingOrder update(
79 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder,
80 boolean merge) throws com.liferay.portal.SystemException;
81
82 public com.liferay.portlet.shopping.model.ShoppingOrder updateImpl(
83 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder,
84 boolean merge) throws com.liferay.portal.SystemException;
85
86 public com.liferay.portlet.shopping.model.ShoppingOrder findByPrimaryKey(
87 long orderId)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portlet.shopping.NoSuchOrderException;
90
91 public com.liferay.portlet.shopping.model.ShoppingOrder fetchByPrimaryKey(
92 long orderId) throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findByGroupId(
95 long groupId) throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findByGroupId(
98 long groupId, int start, int end)
99 throws com.liferay.portal.SystemException;
100
101 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findByGroupId(
102 long groupId, int start, int end,
103 com.liferay.portal.kernel.util.OrderByComparator obc)
104 throws com.liferay.portal.SystemException;
105
106 public com.liferay.portlet.shopping.model.ShoppingOrder findByGroupId_First(
107 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
108 throws com.liferay.portal.SystemException,
109 com.liferay.portlet.shopping.NoSuchOrderException;
110
111 public com.liferay.portlet.shopping.model.ShoppingOrder findByGroupId_Last(
112 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.shopping.NoSuchOrderException;
115
116 public com.liferay.portlet.shopping.model.ShoppingOrder[] findByGroupId_PrevAndNext(
117 long orderId, long groupId,
118 com.liferay.portal.kernel.util.OrderByComparator obc)
119 throws com.liferay.portal.SystemException,
120 com.liferay.portlet.shopping.NoSuchOrderException;
121
122 public com.liferay.portlet.shopping.model.ShoppingOrder findByNumber(
123 java.lang.String number)
124 throws com.liferay.portal.SystemException,
125 com.liferay.portlet.shopping.NoSuchOrderException;
126
127 public com.liferay.portlet.shopping.model.ShoppingOrder fetchByNumber(
128 java.lang.String number) throws com.liferay.portal.SystemException;
129
130 public com.liferay.portlet.shopping.model.ShoppingOrder fetchByNumber(
131 java.lang.String number, boolean retrieveFromCache)
132 throws com.liferay.portal.SystemException;
133
134 public com.liferay.portlet.shopping.model.ShoppingOrder findByPPTxnId(
135 java.lang.String ppTxnId)
136 throws com.liferay.portal.SystemException,
137 com.liferay.portlet.shopping.NoSuchOrderException;
138
139 public com.liferay.portlet.shopping.model.ShoppingOrder fetchByPPTxnId(
140 java.lang.String ppTxnId) throws com.liferay.portal.SystemException;
141
142 public com.liferay.portlet.shopping.model.ShoppingOrder fetchByPPTxnId(
143 java.lang.String ppTxnId, boolean retrieveFromCache)
144 throws com.liferay.portal.SystemException;
145
146 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findByG_U_PPPS(
147 long groupId, long userId, java.lang.String ppPaymentStatus)
148 throws com.liferay.portal.SystemException;
149
150 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findByG_U_PPPS(
151 long groupId, long userId, java.lang.String ppPaymentStatus, int start,
152 int end) throws com.liferay.portal.SystemException;
153
154 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findByG_U_PPPS(
155 long groupId, long userId, java.lang.String ppPaymentStatus, int start,
156 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
157 throws com.liferay.portal.SystemException;
158
159 public com.liferay.portlet.shopping.model.ShoppingOrder findByG_U_PPPS_First(
160 long groupId, long userId, java.lang.String ppPaymentStatus,
161 com.liferay.portal.kernel.util.OrderByComparator obc)
162 throws com.liferay.portal.SystemException,
163 com.liferay.portlet.shopping.NoSuchOrderException;
164
165 public com.liferay.portlet.shopping.model.ShoppingOrder findByG_U_PPPS_Last(
166 long groupId, long userId, java.lang.String ppPaymentStatus,
167 com.liferay.portal.kernel.util.OrderByComparator obc)
168 throws com.liferay.portal.SystemException,
169 com.liferay.portlet.shopping.NoSuchOrderException;
170
171 public com.liferay.portlet.shopping.model.ShoppingOrder[] findByG_U_PPPS_PrevAndNext(
172 long orderId, long groupId, long userId,
173 java.lang.String ppPaymentStatus,
174 com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.SystemException,
176 com.liferay.portlet.shopping.NoSuchOrderException;
177
178 public java.util.List<Object> findWithDynamicQuery(
179 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
180 throws com.liferay.portal.SystemException;
181
182 public java.util.List<Object> findWithDynamicQuery(
183 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
184 int end) throws com.liferay.portal.SystemException;
185
186 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findAll()
187 throws com.liferay.portal.SystemException;
188
189 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findAll(
190 int start, int end) throws com.liferay.portal.SystemException;
191
192 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findAll(
193 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
194 throws com.liferay.portal.SystemException;
195
196 public void removeByGroupId(long groupId)
197 throws com.liferay.portal.SystemException;
198
199 public void removeByNumber(java.lang.String number)
200 throws com.liferay.portal.SystemException,
201 com.liferay.portlet.shopping.NoSuchOrderException;
202
203 public void removeByPPTxnId(java.lang.String ppTxnId)
204 throws com.liferay.portal.SystemException,
205 com.liferay.portlet.shopping.NoSuchOrderException;
206
207 public void removeByG_U_PPPS(long groupId, long userId,
208 java.lang.String ppPaymentStatus)
209 throws com.liferay.portal.SystemException;
210
211 public void removeAll() throws com.liferay.portal.SystemException;
212
213 public int countByGroupId(long groupId)
214 throws com.liferay.portal.SystemException;
215
216 public int countByNumber(java.lang.String number)
217 throws com.liferay.portal.SystemException;
218
219 public int countByPPTxnId(java.lang.String ppTxnId)
220 throws com.liferay.portal.SystemException;
221
222 public int countByG_U_PPPS(long groupId, long userId,
223 java.lang.String ppPaymentStatus)
224 throws com.liferay.portal.SystemException;
225
226 public int countAll() throws com.liferay.portal.SystemException;
227 }