1
14
15 package com.liferay.portlet.shopping.service;
16
17
33 public class ShoppingItemLocalServiceWrapper implements ShoppingItemLocalService {
34 public ShoppingItemLocalServiceWrapper(
35 ShoppingItemLocalService shoppingItemLocalService) {
36 _shoppingItemLocalService = shoppingItemLocalService;
37 }
38
39 public com.liferay.portlet.shopping.model.ShoppingItem addShoppingItem(
40 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
41 throws com.liferay.portal.SystemException {
42 return _shoppingItemLocalService.addShoppingItem(shoppingItem);
43 }
44
45 public com.liferay.portlet.shopping.model.ShoppingItem createShoppingItem(
46 long itemId) {
47 return _shoppingItemLocalService.createShoppingItem(itemId);
48 }
49
50 public void deleteShoppingItem(long itemId)
51 throws com.liferay.portal.PortalException,
52 com.liferay.portal.SystemException {
53 _shoppingItemLocalService.deleteShoppingItem(itemId);
54 }
55
56 public void deleteShoppingItem(
57 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
58 throws com.liferay.portal.SystemException {
59 _shoppingItemLocalService.deleteShoppingItem(shoppingItem);
60 }
61
62 @SuppressWarnings("rawtypes")
63 public java.util.List dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.SystemException {
66 return _shoppingItemLocalService.dynamicQuery(dynamicQuery);
67 }
68
69 @SuppressWarnings("rawtypes")
70 public java.util.List dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.SystemException {
73 return _shoppingItemLocalService.dynamicQuery(dynamicQuery, start, end);
74 }
75
76 @SuppressWarnings("rawtypes")
77 public java.util.List dynamicQuery(
78 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79 int end,
80 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81 throws com.liferay.portal.SystemException {
82 return _shoppingItemLocalService.dynamicQuery(dynamicQuery, start, end,
83 orderByComparator);
84 }
85
86 public int dynamicQueryCount(
87 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88 throws com.liferay.portal.SystemException {
89 return _shoppingItemLocalService.dynamicQueryCount(dynamicQuery);
90 }
91
92 public com.liferay.portlet.shopping.model.ShoppingItem getShoppingItem(
93 long itemId)
94 throws com.liferay.portal.PortalException,
95 com.liferay.portal.SystemException {
96 return _shoppingItemLocalService.getShoppingItem(itemId);
97 }
98
99 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getShoppingItems(
100 int start, int end) throws com.liferay.portal.SystemException {
101 return _shoppingItemLocalService.getShoppingItems(start, end);
102 }
103
104 public int getShoppingItemsCount()
105 throws com.liferay.portal.SystemException {
106 return _shoppingItemLocalService.getShoppingItemsCount();
107 }
108
109 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
110 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
111 throws com.liferay.portal.SystemException {
112 return _shoppingItemLocalService.updateShoppingItem(shoppingItem);
113 }
114
115 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
116 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
117 boolean merge) throws com.liferay.portal.SystemException {
118 return _shoppingItemLocalService.updateShoppingItem(shoppingItem, merge);
119 }
120
121 public void addBookItems(long userId, long categoryId,
122 java.lang.String[] isbns)
123 throws com.liferay.portal.PortalException,
124 com.liferay.portal.SystemException {
125 _shoppingItemLocalService.addBookItems(userId, categoryId, isbns);
126 }
127
128 public com.liferay.portlet.shopping.model.ShoppingItem addItem(
129 long userId, long categoryId, java.lang.String sku,
130 java.lang.String name, java.lang.String description,
131 java.lang.String properties, java.lang.String fieldsQuantities,
132 boolean requiresShipping, int stockQuantity, boolean featured,
133 java.lang.Boolean sale, boolean smallImage,
134 java.lang.String smallImageURL, java.io.File smallFile,
135 boolean mediumImage, java.lang.String mediumImageURL,
136 java.io.File mediumFile, boolean largeImage,
137 java.lang.String largeImageURL, java.io.File largeFile,
138 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
139 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
140 com.liferay.portal.service.ServiceContext serviceContext)
141 throws com.liferay.portal.PortalException,
142 com.liferay.portal.SystemException {
143 return _shoppingItemLocalService.addItem(userId, categoryId, sku, name,
144 description, properties, fieldsQuantities, requiresShipping,
145 stockQuantity, featured, sale, smallImage, smallImageURL,
146 smallFile, mediumImage, mediumImageURL, mediumFile, largeImage,
147 largeImageURL, largeFile, itemFields, itemPrices, serviceContext);
148 }
149
150 public void addItemResources(long itemId, boolean addCommunityPermissions,
151 boolean addGuestPermissions)
152 throws com.liferay.portal.PortalException,
153 com.liferay.portal.SystemException {
154 _shoppingItemLocalService.addItemResources(itemId,
155 addCommunityPermissions, addGuestPermissions);
156 }
157
158 public void addItemResources(long itemId,
159 java.lang.String[] communityPermissions,
160 java.lang.String[] guestPermissions)
161 throws com.liferay.portal.PortalException,
162 com.liferay.portal.SystemException {
163 _shoppingItemLocalService.addItemResources(itemId,
164 communityPermissions, guestPermissions);
165 }
166
167 public void addItemResources(
168 com.liferay.portlet.shopping.model.ShoppingCategory category,
169 com.liferay.portlet.shopping.model.ShoppingItem item,
170 boolean addCommunityPermissions, boolean addGuestPermissions)
171 throws com.liferay.portal.PortalException,
172 com.liferay.portal.SystemException {
173 _shoppingItemLocalService.addItemResources(category, item,
174 addCommunityPermissions, addGuestPermissions);
175 }
176
177 public void addItemResources(
178 com.liferay.portlet.shopping.model.ShoppingCategory category,
179 com.liferay.portlet.shopping.model.ShoppingItem item,
180 java.lang.String[] communityPermissions,
181 java.lang.String[] guestPermissions)
182 throws com.liferay.portal.PortalException,
183 com.liferay.portal.SystemException {
184 _shoppingItemLocalService.addItemResources(category, item,
185 communityPermissions, guestPermissions);
186 }
187
188 public void deleteItem(long itemId)
189 throws com.liferay.portal.PortalException,
190 com.liferay.portal.SystemException {
191 _shoppingItemLocalService.deleteItem(itemId);
192 }
193
194 public void deleteItem(com.liferay.portlet.shopping.model.ShoppingItem item)
195 throws com.liferay.portal.PortalException,
196 com.liferay.portal.SystemException {
197 _shoppingItemLocalService.deleteItem(item);
198 }
199
200 public void deleteItems(long categoryId)
201 throws com.liferay.portal.PortalException,
202 com.liferay.portal.SystemException {
203 _shoppingItemLocalService.deleteItems(categoryId);
204 }
205
206 public int getCategoriesItemsCount(
207 java.util.List<java.lang.Long> categoryIds)
208 throws com.liferay.portal.SystemException {
209 return _shoppingItemLocalService.getCategoriesItemsCount(categoryIds);
210 }
211
212 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getFeaturedItems(
213 long groupId, long categoryId, int numOfItems)
214 throws com.liferay.portal.SystemException {
215 return _shoppingItemLocalService.getFeaturedItems(groupId, categoryId,
216 numOfItems);
217 }
218
219 public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
220 throws com.liferay.portal.PortalException,
221 com.liferay.portal.SystemException {
222 return _shoppingItemLocalService.getItem(itemId);
223 }
224
225 public com.liferay.portlet.shopping.model.ShoppingItem getItem(
226 long companyId, java.lang.String sku)
227 throws com.liferay.portal.PortalException,
228 com.liferay.portal.SystemException {
229 return _shoppingItemLocalService.getItem(companyId, sku);
230 }
231
232 public com.liferay.portlet.shopping.model.ShoppingItem getItemByLargeImageId(
233 long largeImageId)
234 throws com.liferay.portal.PortalException,
235 com.liferay.portal.SystemException {
236 return _shoppingItemLocalService.getItemByLargeImageId(largeImageId);
237 }
238
239 public com.liferay.portlet.shopping.model.ShoppingItem getItemByMediumImageId(
240 long mediumImageId)
241 throws com.liferay.portal.PortalException,
242 com.liferay.portal.SystemException {
243 return _shoppingItemLocalService.getItemByMediumImageId(mediumImageId);
244 }
245
246 public com.liferay.portlet.shopping.model.ShoppingItem getItemBySmallImageId(
247 long smallImageId)
248 throws com.liferay.portal.PortalException,
249 com.liferay.portal.SystemException {
250 return _shoppingItemLocalService.getItemBySmallImageId(smallImageId);
251 }
252
253 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
254 long categoryId) throws com.liferay.portal.SystemException {
255 return _shoppingItemLocalService.getItems(categoryId);
256 }
257
258 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
259 long categoryId, int start, int end,
260 com.liferay.portal.kernel.util.OrderByComparator obc)
261 throws com.liferay.portal.SystemException {
262 return _shoppingItemLocalService.getItems(categoryId, start, end, obc);
263 }
264
265 public int getItemsCount(long categoryId)
266 throws com.liferay.portal.SystemException {
267 return _shoppingItemLocalService.getItemsCount(categoryId);
268 }
269
270 public com.liferay.portlet.shopping.model.ShoppingItem[] getItemsPrevAndNext(
271 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
272 throws com.liferay.portal.PortalException,
273 com.liferay.portal.SystemException {
274 return _shoppingItemLocalService.getItemsPrevAndNext(itemId, obc);
275 }
276
277 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getSaleItems(
278 long groupId, long categoryId, int numOfItems)
279 throws com.liferay.portal.SystemException {
280 return _shoppingItemLocalService.getSaleItems(groupId, categoryId,
281 numOfItems);
282 }
283
284 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> search(
285 long groupId, long[] categoryIds, java.lang.String keywords, int start,
286 int end) throws com.liferay.portal.SystemException {
287 return _shoppingItemLocalService.search(groupId, categoryIds, keywords,
288 start, end);
289 }
290
291 public int searchCount(long groupId, long[] categoryIds,
292 java.lang.String keywords) throws com.liferay.portal.SystemException {
293 return _shoppingItemLocalService.searchCount(groupId, categoryIds,
294 keywords);
295 }
296
297 public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
298 long userId, long itemId, long categoryId, java.lang.String sku,
299 java.lang.String name, java.lang.String description,
300 java.lang.String properties, java.lang.String fieldsQuantities,
301 boolean requiresShipping, int stockQuantity, boolean featured,
302 java.lang.Boolean sale, boolean smallImage,
303 java.lang.String smallImageURL, java.io.File smallFile,
304 boolean mediumImage, java.lang.String mediumImageURL,
305 java.io.File mediumFile, boolean largeImage,
306 java.lang.String largeImageURL, java.io.File largeFile,
307 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
308 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
309 com.liferay.portal.service.ServiceContext serviceContext)
310 throws com.liferay.portal.PortalException,
311 com.liferay.portal.SystemException {
312 return _shoppingItemLocalService.updateItem(userId, itemId, categoryId,
313 sku, name, description, properties, fieldsQuantities,
314 requiresShipping, stockQuantity, featured, sale, smallImage,
315 smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
316 largeImage, largeImageURL, largeFile, itemFields, itemPrices,
317 serviceContext);
318 }
319
320 public ShoppingItemLocalService getWrappedShoppingItemLocalService() {
321 return _shoppingItemLocalService;
322 }
323
324 private ShoppingItemLocalService _shoppingItemLocalService;
325 }