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