1
22
23 package com.liferay.portlet.shopping.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.shopping.model.ShoppingOrder;
28
29
42 public interface ShoppingOrderPersistence extends BasePersistence<ShoppingOrder> {
43 public void cacheResult(
44 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> shoppingOrders);
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
58 public com.liferay.portlet.shopping.model.ShoppingOrder update(
59 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder)
60 throws com.liferay.portal.SystemException;
61
62 public com.liferay.portlet.shopping.model.ShoppingOrder updateImpl(
63 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder,
64 boolean merge) throws com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.shopping.model.ShoppingOrder findByPrimaryKey(
67 long orderId)
68 throws com.liferay.portal.SystemException,
69 com.liferay.portlet.shopping.NoSuchOrderException;
70
71 public com.liferay.portlet.shopping.model.ShoppingOrder fetchByPrimaryKey(
72 long orderId) throws com.liferay.portal.SystemException;
73
74 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findByGroupId(
75 long groupId) throws com.liferay.portal.SystemException;
76
77 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findByGroupId(
78 long groupId, int start, int end)
79 throws com.liferay.portal.SystemException;
80
81 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findByGroupId(
82 long groupId, int start, int end,
83 com.liferay.portal.kernel.util.OrderByComparator obc)
84 throws com.liferay.portal.SystemException;
85
86 public com.liferay.portlet.shopping.model.ShoppingOrder findByGroupId_First(
87 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portlet.shopping.NoSuchOrderException;
90
91 public com.liferay.portlet.shopping.model.ShoppingOrder findByGroupId_Last(
92 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.shopping.NoSuchOrderException;
95
96 public com.liferay.portlet.shopping.model.ShoppingOrder[] findByGroupId_PrevAndNext(
97 long orderId, long groupId,
98 com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portlet.shopping.NoSuchOrderException;
101
102 public com.liferay.portlet.shopping.model.ShoppingOrder findByNumber(
103 java.lang.String number)
104 throws com.liferay.portal.SystemException,
105 com.liferay.portlet.shopping.NoSuchOrderException;
106
107 public com.liferay.portlet.shopping.model.ShoppingOrder fetchByNumber(
108 java.lang.String number) throws com.liferay.portal.SystemException;
109
110 public com.liferay.portlet.shopping.model.ShoppingOrder fetchByNumber(
111 java.lang.String number, boolean retrieveFromCache)
112 throws com.liferay.portal.SystemException;
113
114 public com.liferay.portlet.shopping.model.ShoppingOrder findByPPTxnId(
115 java.lang.String ppTxnId)
116 throws com.liferay.portal.SystemException,
117 com.liferay.portlet.shopping.NoSuchOrderException;
118
119 public com.liferay.portlet.shopping.model.ShoppingOrder fetchByPPTxnId(
120 java.lang.String ppTxnId) throws com.liferay.portal.SystemException;
121
122 public com.liferay.portlet.shopping.model.ShoppingOrder fetchByPPTxnId(
123 java.lang.String ppTxnId, boolean retrieveFromCache)
124 throws com.liferay.portal.SystemException;
125
126 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findByG_U_PPPS(
127 long groupId, long userId, java.lang.String ppPaymentStatus)
128 throws com.liferay.portal.SystemException;
129
130 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findByG_U_PPPS(
131 long groupId, long userId, java.lang.String ppPaymentStatus, int start,
132 int end) throws com.liferay.portal.SystemException;
133
134 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findByG_U_PPPS(
135 long groupId, long userId, java.lang.String ppPaymentStatus, int start,
136 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.SystemException;
138
139 public com.liferay.portlet.shopping.model.ShoppingOrder findByG_U_PPPS_First(
140 long groupId, long userId, java.lang.String ppPaymentStatus,
141 com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.SystemException,
143 com.liferay.portlet.shopping.NoSuchOrderException;
144
145 public com.liferay.portlet.shopping.model.ShoppingOrder findByG_U_PPPS_Last(
146 long groupId, long userId, java.lang.String ppPaymentStatus,
147 com.liferay.portal.kernel.util.OrderByComparator obc)
148 throws com.liferay.portal.SystemException,
149 com.liferay.portlet.shopping.NoSuchOrderException;
150
151 public com.liferay.portlet.shopping.model.ShoppingOrder[] findByG_U_PPPS_PrevAndNext(
152 long orderId, long groupId, long userId,
153 java.lang.String ppPaymentStatus,
154 com.liferay.portal.kernel.util.OrderByComparator obc)
155 throws com.liferay.portal.SystemException,
156 com.liferay.portlet.shopping.NoSuchOrderException;
157
158 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findAll()
159 throws com.liferay.portal.SystemException;
160
161 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findAll(
162 int start, int end) throws com.liferay.portal.SystemException;
163
164 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> findAll(
165 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.SystemException;
167
168 public void removeByGroupId(long groupId)
169 throws com.liferay.portal.SystemException;
170
171 public void removeByNumber(java.lang.String number)
172 throws com.liferay.portal.SystemException,
173 com.liferay.portlet.shopping.NoSuchOrderException;
174
175 public void removeByPPTxnId(java.lang.String ppTxnId)
176 throws com.liferay.portal.SystemException,
177 com.liferay.portlet.shopping.NoSuchOrderException;
178
179 public void removeByG_U_PPPS(long groupId, long userId,
180 java.lang.String ppPaymentStatus)
181 throws com.liferay.portal.SystemException;
182
183 public void removeAll() throws com.liferay.portal.SystemException;
184
185 public int countByGroupId(long groupId)
186 throws com.liferay.portal.SystemException;
187
188 public int countByNumber(java.lang.String number)
189 throws com.liferay.portal.SystemException;
190
191 public int countByPPTxnId(java.lang.String ppTxnId)
192 throws com.liferay.portal.SystemException;
193
194 public int countByG_U_PPPS(long groupId, long userId,
195 java.lang.String ppPaymentStatus)
196 throws com.liferay.portal.SystemException;
197
198 public int countAll() throws com.liferay.portal.SystemException;
199 }