1
22
23 package com.liferay.portlet.shopping.service;
24
25
26
53 public class ShoppingItemLocalServiceUtil {
54 public static com.liferay.portlet.shopping.model.ShoppingItem addShoppingItem(
55 com.liferay.portlet.shopping.model.ShoppingItem model)
56 throws com.liferay.portal.SystemException {
57 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
58
59 return shoppingItemLocalService.addShoppingItem(model);
60 }
61
62 public static java.util.List dynamicQuery(
63 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
64 throws com.liferay.portal.SystemException {
65 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
66
67 return shoppingItemLocalService.dynamicQuery(queryInitializer);
68 }
69
70 public static java.util.List dynamicQuery(
71 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
72 int begin, int end) throws com.liferay.portal.SystemException {
73 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
74
75 return shoppingItemLocalService.dynamicQuery(queryInitializer, begin,
76 end);
77 }
78
79 public static com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
80 com.liferay.portlet.shopping.model.ShoppingItem model)
81 throws com.liferay.portal.SystemException {
82 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
83
84 return shoppingItemLocalService.updateShoppingItem(model);
85 }
86
87 public static com.liferay.portlet.shopping.service.persistence.ShoppingCartPersistence getShoppingCartPersistence() {
88 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
89
90 return shoppingItemLocalService.getShoppingCartPersistence();
91 }
92
93 public static void setShoppingCartPersistence(
94 com.liferay.portlet.shopping.service.persistence.ShoppingCartPersistence shoppingCartPersistence) {
95 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
96
97 shoppingItemLocalService.setShoppingCartPersistence(shoppingCartPersistence);
98 }
99
100 public static com.liferay.portlet.shopping.service.persistence.ShoppingCategoryPersistence getShoppingCategoryPersistence() {
101 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
102
103 return shoppingItemLocalService.getShoppingCategoryPersistence();
104 }
105
106 public static void setShoppingCategoryPersistence(
107 com.liferay.portlet.shopping.service.persistence.ShoppingCategoryPersistence shoppingCategoryPersistence) {
108 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
109
110 shoppingItemLocalService.setShoppingCategoryPersistence(shoppingCategoryPersistence);
111 }
112
113 public static com.liferay.portlet.shopping.service.persistence.ShoppingCouponPersistence getShoppingCouponPersistence() {
114 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
115
116 return shoppingItemLocalService.getShoppingCouponPersistence();
117 }
118
119 public static void setShoppingCouponPersistence(
120 com.liferay.portlet.shopping.service.persistence.ShoppingCouponPersistence shoppingCouponPersistence) {
121 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
122
123 shoppingItemLocalService.setShoppingCouponPersistence(shoppingCouponPersistence);
124 }
125
126 public static com.liferay.portlet.shopping.service.persistence.ShoppingCouponFinder getShoppingCouponFinder() {
127 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
128
129 return shoppingItemLocalService.getShoppingCouponFinder();
130 }
131
132 public static void setShoppingCouponFinder(
133 com.liferay.portlet.shopping.service.persistence.ShoppingCouponFinder shoppingCouponFinder) {
134 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
135
136 shoppingItemLocalService.setShoppingCouponFinder(shoppingCouponFinder);
137 }
138
139 public static com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistence getShoppingItemPersistence() {
140 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
141
142 return shoppingItemLocalService.getShoppingItemPersistence();
143 }
144
145 public static void setShoppingItemPersistence(
146 com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistence shoppingItemPersistence) {
147 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
148
149 shoppingItemLocalService.setShoppingItemPersistence(shoppingItemPersistence);
150 }
151
152 public static com.liferay.portlet.shopping.service.persistence.ShoppingItemFinder getShoppingItemFinder() {
153 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
154
155 return shoppingItemLocalService.getShoppingItemFinder();
156 }
157
158 public static void setShoppingItemFinder(
159 com.liferay.portlet.shopping.service.persistence.ShoppingItemFinder shoppingItemFinder) {
160 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
161
162 shoppingItemLocalService.setShoppingItemFinder(shoppingItemFinder);
163 }
164
165 public static com.liferay.portlet.shopping.service.persistence.ShoppingItemFieldPersistence getShoppingItemFieldPersistence() {
166 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
167
168 return shoppingItemLocalService.getShoppingItemFieldPersistence();
169 }
170
171 public static void setShoppingItemFieldPersistence(
172 com.liferay.portlet.shopping.service.persistence.ShoppingItemFieldPersistence shoppingItemFieldPersistence) {
173 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
174
175 shoppingItemLocalService.setShoppingItemFieldPersistence(shoppingItemFieldPersistence);
176 }
177
178 public static com.liferay.portlet.shopping.service.persistence.ShoppingItemPricePersistence getShoppingItemPricePersistence() {
179 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
180
181 return shoppingItemLocalService.getShoppingItemPricePersistence();
182 }
183
184 public static void setShoppingItemPricePersistence(
185 com.liferay.portlet.shopping.service.persistence.ShoppingItemPricePersistence shoppingItemPricePersistence) {
186 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
187
188 shoppingItemLocalService.setShoppingItemPricePersistence(shoppingItemPricePersistence);
189 }
190
191 public static com.liferay.portlet.shopping.service.persistence.ShoppingOrderPersistence getShoppingOrderPersistence() {
192 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
193
194 return shoppingItemLocalService.getShoppingOrderPersistence();
195 }
196
197 public static void setShoppingOrderPersistence(
198 com.liferay.portlet.shopping.service.persistence.ShoppingOrderPersistence shoppingOrderPersistence) {
199 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
200
201 shoppingItemLocalService.setShoppingOrderPersistence(shoppingOrderPersistence);
202 }
203
204 public static com.liferay.portlet.shopping.service.persistence.ShoppingOrderFinder getShoppingOrderFinder() {
205 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
206
207 return shoppingItemLocalService.getShoppingOrderFinder();
208 }
209
210 public static void setShoppingOrderFinder(
211 com.liferay.portlet.shopping.service.persistence.ShoppingOrderFinder shoppingOrderFinder) {
212 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
213
214 shoppingItemLocalService.setShoppingOrderFinder(shoppingOrderFinder);
215 }
216
217 public static com.liferay.portlet.shopping.service.persistence.ShoppingOrderItemPersistence getShoppingOrderItemPersistence() {
218 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
219
220 return shoppingItemLocalService.getShoppingOrderItemPersistence();
221 }
222
223 public static void setShoppingOrderItemPersistence(
224 com.liferay.portlet.shopping.service.persistence.ShoppingOrderItemPersistence shoppingOrderItemPersistence) {
225 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
226
227 shoppingItemLocalService.setShoppingOrderItemPersistence(shoppingOrderItemPersistence);
228 }
229
230 public static com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence() {
231 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
232
233 return shoppingItemLocalService.getResourcePersistence();
234 }
235
236 public static void setResourcePersistence(
237 com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) {
238 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
239
240 shoppingItemLocalService.setResourcePersistence(resourcePersistence);
241 }
242
243 public static com.liferay.portal.service.persistence.ResourceFinder getResourceFinder() {
244 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
245
246 return shoppingItemLocalService.getResourceFinder();
247 }
248
249 public static void setResourceFinder(
250 com.liferay.portal.service.persistence.ResourceFinder resourceFinder) {
251 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
252
253 shoppingItemLocalService.setResourceFinder(resourceFinder);
254 }
255
256 public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
257 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
258
259 return shoppingItemLocalService.getUserPersistence();
260 }
261
262 public static void setUserPersistence(
263 com.liferay.portal.service.persistence.UserPersistence userPersistence) {
264 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
265
266 shoppingItemLocalService.setUserPersistence(userPersistence);
267 }
268
269 public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
270 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
271
272 return shoppingItemLocalService.getUserFinder();
273 }
274
275 public static void setUserFinder(
276 com.liferay.portal.service.persistence.UserFinder userFinder) {
277 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
278
279 shoppingItemLocalService.setUserFinder(userFinder);
280 }
281
282 public static void afterPropertiesSet() {
283 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
284
285 shoppingItemLocalService.afterPropertiesSet();
286 }
287
288 public static void addBookItems(long userId, long categoryId,
289 java.lang.String[] isbns)
290 throws com.liferay.portal.PortalException,
291 com.liferay.portal.SystemException {
292 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
293
294 shoppingItemLocalService.addBookItems(userId, categoryId, isbns);
295 }
296
297 public static com.liferay.portlet.shopping.model.ShoppingItem addItem(
298 long userId, 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 itemFields, java.util.List itemPrices,
308 boolean addCommunityPermissions, boolean addGuestPermissions)
309 throws com.liferay.portal.PortalException,
310 com.liferay.portal.SystemException {
311 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
312
313 return shoppingItemLocalService.addItem(userId, categoryId, sku, name,
314 description, properties, fieldsQuantities, requiresShipping,
315 stockQuantity, featured, sale, smallImage, smallImageURL,
316 smallFile, mediumImage, mediumImageURL, mediumFile, largeImage,
317 largeImageURL, largeFile, itemFields, itemPrices,
318 addCommunityPermissions, addGuestPermissions);
319 }
320
321 public static com.liferay.portlet.shopping.model.ShoppingItem addItem(
322 long userId, long categoryId, java.lang.String sku,
323 java.lang.String name, java.lang.String description,
324 java.lang.String properties, java.lang.String fieldsQuantities,
325 boolean requiresShipping, int stockQuantity, boolean featured,
326 java.lang.Boolean sale, boolean smallImage,
327 java.lang.String smallImageURL, java.io.File smallFile,
328 boolean mediumImage, java.lang.String mediumImageURL,
329 java.io.File mediumFile, boolean largeImage,
330 java.lang.String largeImageURL, java.io.File largeFile,
331 java.util.List itemFields, java.util.List itemPrices,
332 java.lang.String[] communityPermissions,
333 java.lang.String[] guestPermissions)
334 throws com.liferay.portal.PortalException,
335 com.liferay.portal.SystemException {
336 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
337
338 return shoppingItemLocalService.addItem(userId, categoryId, sku, name,
339 description, properties, fieldsQuantities, requiresShipping,
340 stockQuantity, featured, sale, smallImage, smallImageURL,
341 smallFile, mediumImage, mediumImageURL, mediumFile, largeImage,
342 largeImageURL, largeFile, itemFields, itemPrices,
343 communityPermissions, guestPermissions);
344 }
345
346 public static com.liferay.portlet.shopping.model.ShoppingItem addItem(
347 long userId, long categoryId, java.lang.String sku,
348 java.lang.String name, java.lang.String description,
349 java.lang.String properties, java.lang.String fieldsQuantities,
350 boolean requiresShipping, int stockQuantity, boolean featured,
351 java.lang.Boolean sale, boolean smallImage,
352 java.lang.String smallImageURL, java.io.File smallFile,
353 boolean mediumImage, java.lang.String mediumImageURL,
354 java.io.File mediumFile, boolean largeImage,
355 java.lang.String largeImageURL, java.io.File largeFile,
356 java.util.List itemFields, java.util.List itemPrices,
357 java.lang.Boolean addCommunityPermissions,
358 java.lang.Boolean addGuestPermissions,
359 java.lang.String[] communityPermissions,
360 java.lang.String[] guestPermissions)
361 throws com.liferay.portal.PortalException,
362 com.liferay.portal.SystemException {
363 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
364
365 return shoppingItemLocalService.addItem(userId, categoryId, sku, name,
366 description, properties, fieldsQuantities, requiresShipping,
367 stockQuantity, featured, sale, smallImage, smallImageURL,
368 smallFile, mediumImage, mediumImageURL, mediumFile, largeImage,
369 largeImageURL, largeFile, itemFields, itemPrices,
370 addCommunityPermissions, addGuestPermissions, communityPermissions,
371 guestPermissions);
372 }
373
374 public static void addItemResources(long itemId,
375 boolean addCommunityPermissions, boolean addGuestPermissions)
376 throws com.liferay.portal.PortalException,
377 com.liferay.portal.SystemException {
378 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
379
380 shoppingItemLocalService.addItemResources(itemId,
381 addCommunityPermissions, addGuestPermissions);
382 }
383
384 public static void addItemResources(
385 com.liferay.portlet.shopping.model.ShoppingCategory category,
386 com.liferay.portlet.shopping.model.ShoppingItem item,
387 boolean addCommunityPermissions, boolean addGuestPermissions)
388 throws com.liferay.portal.PortalException,
389 com.liferay.portal.SystemException {
390 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
391
392 shoppingItemLocalService.addItemResources(category, item,
393 addCommunityPermissions, addGuestPermissions);
394 }
395
396 public static void addItemResources(long itemId,
397 java.lang.String[] communityPermissions,
398 java.lang.String[] guestPermissions)
399 throws com.liferay.portal.PortalException,
400 com.liferay.portal.SystemException {
401 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
402
403 shoppingItemLocalService.addItemResources(itemId, communityPermissions,
404 guestPermissions);
405 }
406
407 public static void addItemResources(
408 com.liferay.portlet.shopping.model.ShoppingCategory category,
409 com.liferay.portlet.shopping.model.ShoppingItem item,
410 java.lang.String[] communityPermissions,
411 java.lang.String[] guestPermissions)
412 throws com.liferay.portal.PortalException,
413 com.liferay.portal.SystemException {
414 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
415
416 shoppingItemLocalService.addItemResources(category, item,
417 communityPermissions, guestPermissions);
418 }
419
420 public static void deleteItem(long itemId)
421 throws com.liferay.portal.PortalException,
422 com.liferay.portal.SystemException {
423 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
424
425 shoppingItemLocalService.deleteItem(itemId);
426 }
427
428 public static void deleteItem(
429 com.liferay.portlet.shopping.model.ShoppingItem item)
430 throws com.liferay.portal.PortalException,
431 com.liferay.portal.SystemException {
432 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
433
434 shoppingItemLocalService.deleteItem(item);
435 }
436
437 public static void deleteItems(long categoryId)
438 throws com.liferay.portal.PortalException,
439 com.liferay.portal.SystemException {
440 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
441
442 shoppingItemLocalService.deleteItems(categoryId);
443 }
444
445 public static int getCategoriesItemsCount(java.util.List categoryIds)
446 throws com.liferay.portal.SystemException {
447 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
448
449 return shoppingItemLocalService.getCategoriesItemsCount(categoryIds);
450 }
451
452 public static java.util.List getFeaturedItems(long groupId,
453 long categoryId, int numOfItems)
454 throws com.liferay.portal.SystemException {
455 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
456
457 return shoppingItemLocalService.getFeaturedItems(groupId, categoryId,
458 numOfItems);
459 }
460
461 public static com.liferay.portlet.shopping.model.ShoppingItem getItem(
462 long itemId)
463 throws com.liferay.portal.PortalException,
464 com.liferay.portal.SystemException {
465 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
466
467 return shoppingItemLocalService.getItem(itemId);
468 }
469
470 public static com.liferay.portlet.shopping.model.ShoppingItem getItem(
471 long companyId, java.lang.String sku)
472 throws com.liferay.portal.PortalException,
473 com.liferay.portal.SystemException {
474 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
475
476 return shoppingItemLocalService.getItem(companyId, sku);
477 }
478
479 public static com.liferay.portlet.shopping.model.ShoppingItem getItemByLargeImageId(
480 long largeImageId)
481 throws com.liferay.portal.PortalException,
482 com.liferay.portal.SystemException {
483 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
484
485 return shoppingItemLocalService.getItemByLargeImageId(largeImageId);
486 }
487
488 public static com.liferay.portlet.shopping.model.ShoppingItem getItemByMediumImageId(
489 long mediumImageId)
490 throws com.liferay.portal.PortalException,
491 com.liferay.portal.SystemException {
492 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
493
494 return shoppingItemLocalService.getItemByMediumImageId(mediumImageId);
495 }
496
497 public static com.liferay.portlet.shopping.model.ShoppingItem getItemBySmallImageId(
498 long smallImageId)
499 throws com.liferay.portal.PortalException,
500 com.liferay.portal.SystemException {
501 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
502
503 return shoppingItemLocalService.getItemBySmallImageId(smallImageId);
504 }
505
506 public static java.util.List getItems(long categoryId)
507 throws com.liferay.portal.SystemException {
508 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
509
510 return shoppingItemLocalService.getItems(categoryId);
511 }
512
513 public static java.util.List getItems(long categoryId, int begin, int end,
514 com.liferay.portal.kernel.util.OrderByComparator obc)
515 throws com.liferay.portal.SystemException {
516 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
517
518 return shoppingItemLocalService.getItems(categoryId, begin, end, obc);
519 }
520
521 public static com.liferay.portlet.shopping.model.ShoppingItem[] getItemsPrevAndNext(
522 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
523 throws com.liferay.portal.PortalException,
524 com.liferay.portal.SystemException {
525 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
526
527 return shoppingItemLocalService.getItemsPrevAndNext(itemId, obc);
528 }
529
530 public static int getItemsCount(long categoryId)
531 throws com.liferay.portal.SystemException {
532 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
533
534 return shoppingItemLocalService.getItemsCount(categoryId);
535 }
536
537 public static java.util.List getSaleItems(long groupId, long categoryId,
538 int numOfItems) throws com.liferay.portal.SystemException {
539 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
540
541 return shoppingItemLocalService.getSaleItems(groupId, categoryId,
542 numOfItems);
543 }
544
545 public static java.util.List search(long groupId, long[] categoryIds,
546 java.lang.String keywords, int begin, int end)
547 throws com.liferay.portal.SystemException {
548 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
549
550 return shoppingItemLocalService.search(groupId, categoryIds, keywords,
551 begin, end);
552 }
553
554 public static int searchCount(long groupId, long[] categoryIds,
555 java.lang.String keywords) throws com.liferay.portal.SystemException {
556 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
557
558 return shoppingItemLocalService.searchCount(groupId, categoryIds,
559 keywords);
560 }
561
562 public static com.liferay.portlet.shopping.model.ShoppingItem updateItem(
563 long userId, long itemId, long categoryId, java.lang.String sku,
564 java.lang.String name, java.lang.String description,
565 java.lang.String properties, java.lang.String fieldsQuantities,
566 boolean requiresShipping, int stockQuantity, boolean featured,
567 java.lang.Boolean sale, boolean smallImage,
568 java.lang.String smallImageURL, java.io.File smallFile,
569 boolean mediumImage, java.lang.String mediumImageURL,
570 java.io.File mediumFile, boolean largeImage,
571 java.lang.String largeImageURL, java.io.File largeFile,
572 java.util.List itemFields, java.util.List itemPrices)
573 throws com.liferay.portal.PortalException,
574 com.liferay.portal.SystemException {
575 ShoppingItemLocalService shoppingItemLocalService = ShoppingItemLocalServiceFactory.getService();
576
577 return shoppingItemLocalService.updateItem(userId, itemId, categoryId,
578 sku, name, description, properties, fieldsQuantities,
579 requiresShipping, stockQuantity, featured, sale, smallImage,
580 smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
581 largeImage, largeImageURL, largeFile, itemFields, itemPrices);
582 }
583 }