001
014
015 package com.liferay.portlet.shopping.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class ShoppingItemLocalServiceWrapper implements ShoppingItemLocalService,
030 ServiceWrapper<ShoppingItemLocalService> {
031 public ShoppingItemLocalServiceWrapper(
032 ShoppingItemLocalService shoppingItemLocalService) {
033 _shoppingItemLocalService = shoppingItemLocalService;
034 }
035
036
043 @Override
044 public com.liferay.portlet.shopping.model.ShoppingItem addShoppingItem(
045 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
046 throws com.liferay.portal.kernel.exception.SystemException {
047 return _shoppingItemLocalService.addShoppingItem(shoppingItem);
048 }
049
050
056 @Override
057 public com.liferay.portlet.shopping.model.ShoppingItem createShoppingItem(
058 long itemId) {
059 return _shoppingItemLocalService.createShoppingItem(itemId);
060 }
061
062
070 @Override
071 public com.liferay.portlet.shopping.model.ShoppingItem deleteShoppingItem(
072 long itemId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _shoppingItemLocalService.deleteShoppingItem(itemId);
076 }
077
078
085 @Override
086 public com.liferay.portlet.shopping.model.ShoppingItem deleteShoppingItem(
087 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
088 throws com.liferay.portal.kernel.exception.SystemException {
089 return _shoppingItemLocalService.deleteShoppingItem(shoppingItem);
090 }
091
092 @Override
093 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094 return _shoppingItemLocalService.dynamicQuery();
095 }
096
097
104 @Override
105 @SuppressWarnings("rawtypes")
106 public java.util.List dynamicQuery(
107 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
108 throws com.liferay.portal.kernel.exception.SystemException {
109 return _shoppingItemLocalService.dynamicQuery(dynamicQuery);
110 }
111
112
125 @Override
126 @SuppressWarnings("rawtypes")
127 public java.util.List dynamicQuery(
128 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
129 int end) throws com.liferay.portal.kernel.exception.SystemException {
130 return _shoppingItemLocalService.dynamicQuery(dynamicQuery, start, end);
131 }
132
133
147 @Override
148 @SuppressWarnings("rawtypes")
149 public java.util.List dynamicQuery(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
151 int end,
152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153 throws com.liferay.portal.kernel.exception.SystemException {
154 return _shoppingItemLocalService.dynamicQuery(dynamicQuery, start, end,
155 orderByComparator);
156 }
157
158
165 @Override
166 public long dynamicQueryCount(
167 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
168 throws com.liferay.portal.kernel.exception.SystemException {
169 return _shoppingItemLocalService.dynamicQueryCount(dynamicQuery);
170 }
171
172
180 @Override
181 public long dynamicQueryCount(
182 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
183 com.liferay.portal.kernel.dao.orm.Projection projection)
184 throws com.liferay.portal.kernel.exception.SystemException {
185 return _shoppingItemLocalService.dynamicQueryCount(dynamicQuery,
186 projection);
187 }
188
189 @Override
190 public com.liferay.portlet.shopping.model.ShoppingItem fetchShoppingItem(
191 long itemId) throws com.liferay.portal.kernel.exception.SystemException {
192 return _shoppingItemLocalService.fetchShoppingItem(itemId);
193 }
194
195
203 @Override
204 public com.liferay.portlet.shopping.model.ShoppingItem getShoppingItem(
205 long itemId)
206 throws com.liferay.portal.kernel.exception.PortalException,
207 com.liferay.portal.kernel.exception.SystemException {
208 return _shoppingItemLocalService.getShoppingItem(itemId);
209 }
210
211 @Override
212 public com.liferay.portal.model.PersistedModel getPersistedModel(
213 java.io.Serializable primaryKeyObj)
214 throws com.liferay.portal.kernel.exception.PortalException,
215 com.liferay.portal.kernel.exception.SystemException {
216 return _shoppingItemLocalService.getPersistedModel(primaryKeyObj);
217 }
218
219
231 @Override
232 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getShoppingItems(
233 int start, int end)
234 throws com.liferay.portal.kernel.exception.SystemException {
235 return _shoppingItemLocalService.getShoppingItems(start, end);
236 }
237
238
244 @Override
245 public int getShoppingItemsCount()
246 throws com.liferay.portal.kernel.exception.SystemException {
247 return _shoppingItemLocalService.getShoppingItemsCount();
248 }
249
250
257 @Override
258 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
259 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
260 throws com.liferay.portal.kernel.exception.SystemException {
261 return _shoppingItemLocalService.updateShoppingItem(shoppingItem);
262 }
263
264
269 @Override
270 public java.lang.String getBeanIdentifier() {
271 return _shoppingItemLocalService.getBeanIdentifier();
272 }
273
274
279 @Override
280 public void setBeanIdentifier(java.lang.String beanIdentifier) {
281 _shoppingItemLocalService.setBeanIdentifier(beanIdentifier);
282 }
283
284 @Override
285 public void addBookItems(long userId, long groupId, long categoryId,
286 java.lang.String[] isbns)
287 throws com.liferay.portal.kernel.exception.PortalException,
288 com.liferay.portal.kernel.exception.SystemException {
289 _shoppingItemLocalService.addBookItems(userId, groupId, categoryId,
290 isbns);
291 }
292
293 @Override
294 public com.liferay.portlet.shopping.model.ShoppingItem addItem(
295 long userId, long groupId, long categoryId, java.lang.String sku,
296 java.lang.String name, java.lang.String description,
297 java.lang.String properties, java.lang.String fieldsQuantities,
298 boolean requiresShipping, int stockQuantity, boolean featured,
299 java.lang.Boolean sale, boolean smallImage,
300 java.lang.String smallImageURL, java.io.File smallImageFile,
301 boolean mediumImage, java.lang.String mediumImageURL,
302 java.io.File mediumImageFile, boolean largeImage,
303 java.lang.String largeImageURL, java.io.File largeImageFile,
304 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
305 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
306 com.liferay.portal.service.ServiceContext serviceContext)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException {
309 return _shoppingItemLocalService.addItem(userId, groupId, categoryId,
310 sku, name, description, properties, fieldsQuantities,
311 requiresShipping, stockQuantity, featured, sale, smallImage,
312 smallImageURL, smallImageFile, mediumImage, mediumImageURL,
313 mediumImageFile, largeImage, largeImageURL, largeImageFile,
314 itemFields, itemPrices, serviceContext);
315 }
316
317 @Override
318 public void addItemResources(long itemId, boolean addGroupPermissions,
319 boolean addGuestPermissions)
320 throws com.liferay.portal.kernel.exception.PortalException,
321 com.liferay.portal.kernel.exception.SystemException {
322 _shoppingItemLocalService.addItemResources(itemId, addGroupPermissions,
323 addGuestPermissions);
324 }
325
326 @Override
327 public void addItemResources(long itemId,
328 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
329 throws com.liferay.portal.kernel.exception.PortalException,
330 com.liferay.portal.kernel.exception.SystemException {
331 _shoppingItemLocalService.addItemResources(itemId, groupPermissions,
332 guestPermissions);
333 }
334
335 @Override
336 public void addItemResources(
337 com.liferay.portlet.shopping.model.ShoppingItem item,
338 boolean addGroupPermissions, boolean addGuestPermissions)
339 throws com.liferay.portal.kernel.exception.PortalException,
340 com.liferay.portal.kernel.exception.SystemException {
341 _shoppingItemLocalService.addItemResources(item, addGroupPermissions,
342 addGuestPermissions);
343 }
344
345 @Override
346 public void addItemResources(
347 com.liferay.portlet.shopping.model.ShoppingItem item,
348 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
349 throws com.liferay.portal.kernel.exception.PortalException,
350 com.liferay.portal.kernel.exception.SystemException {
351 _shoppingItemLocalService.addItemResources(item, groupPermissions,
352 guestPermissions);
353 }
354
355 @Override
356 public void deleteItem(long itemId)
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 _shoppingItemLocalService.deleteItem(itemId);
360 }
361
362 @Override
363 public void deleteItem(com.liferay.portlet.shopping.model.ShoppingItem item)
364 throws com.liferay.portal.kernel.exception.PortalException,
365 com.liferay.portal.kernel.exception.SystemException {
366 _shoppingItemLocalService.deleteItem(item);
367 }
368
369 @Override
370 public void deleteItems(long groupId, long categoryId)
371 throws com.liferay.portal.kernel.exception.PortalException,
372 com.liferay.portal.kernel.exception.SystemException {
373 _shoppingItemLocalService.deleteItems(groupId, categoryId);
374 }
375
376 @Override
377 public int getCategoriesItemsCount(long groupId,
378 java.util.List<java.lang.Long> categoryIds)
379 throws com.liferay.portal.kernel.exception.SystemException {
380 return _shoppingItemLocalService.getCategoriesItemsCount(groupId,
381 categoryIds);
382 }
383
384 @Override
385 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getFeaturedItems(
386 long groupId, long categoryId, int numOfItems)
387 throws com.liferay.portal.kernel.exception.SystemException {
388 return _shoppingItemLocalService.getFeaturedItems(groupId, categoryId,
389 numOfItems);
390 }
391
392 @Override
393 public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
394 throws com.liferay.portal.kernel.exception.PortalException,
395 com.liferay.portal.kernel.exception.SystemException {
396 return _shoppingItemLocalService.getItem(itemId);
397 }
398
399 @Override
400 public com.liferay.portlet.shopping.model.ShoppingItem getItem(
401 long companyId, java.lang.String sku)
402 throws com.liferay.portal.kernel.exception.PortalException,
403 com.liferay.portal.kernel.exception.SystemException {
404 return _shoppingItemLocalService.getItem(companyId, sku);
405 }
406
407 @Override
408 public com.liferay.portlet.shopping.model.ShoppingItem getItemByLargeImageId(
409 long largeImageId)
410 throws com.liferay.portal.kernel.exception.PortalException,
411 com.liferay.portal.kernel.exception.SystemException {
412 return _shoppingItemLocalService.getItemByLargeImageId(largeImageId);
413 }
414
415 @Override
416 public com.liferay.portlet.shopping.model.ShoppingItem getItemByMediumImageId(
417 long mediumImageId)
418 throws com.liferay.portal.kernel.exception.PortalException,
419 com.liferay.portal.kernel.exception.SystemException {
420 return _shoppingItemLocalService.getItemByMediumImageId(mediumImageId);
421 }
422
423 @Override
424 public com.liferay.portlet.shopping.model.ShoppingItem getItemBySmallImageId(
425 long smallImageId)
426 throws com.liferay.portal.kernel.exception.PortalException,
427 com.liferay.portal.kernel.exception.SystemException {
428 return _shoppingItemLocalService.getItemBySmallImageId(smallImageId);
429 }
430
431 @Override
432 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
433 long groupId, long categoryId)
434 throws com.liferay.portal.kernel.exception.SystemException {
435 return _shoppingItemLocalService.getItems(groupId, categoryId);
436 }
437
438 @Override
439 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
440 long groupId, long categoryId, int start, int end,
441 com.liferay.portal.kernel.util.OrderByComparator obc)
442 throws com.liferay.portal.kernel.exception.SystemException {
443 return _shoppingItemLocalService.getItems(groupId, categoryId, start,
444 end, obc);
445 }
446
447 @Override
448 public int getItemsCount(long groupId, long categoryId)
449 throws com.liferay.portal.kernel.exception.SystemException {
450 return _shoppingItemLocalService.getItemsCount(groupId, categoryId);
451 }
452
453 @Override
454 public com.liferay.portlet.shopping.model.ShoppingItem[] getItemsPrevAndNext(
455 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
456 throws com.liferay.portal.kernel.exception.PortalException,
457 com.liferay.portal.kernel.exception.SystemException {
458 return _shoppingItemLocalService.getItemsPrevAndNext(itemId, obc);
459 }
460
461 @Override
462 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getSaleItems(
463 long groupId, long categoryId, int numOfItems)
464 throws com.liferay.portal.kernel.exception.SystemException {
465 return _shoppingItemLocalService.getSaleItems(groupId, categoryId,
466 numOfItems);
467 }
468
469 @Override
470 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> search(
471 long groupId, long[] categoryIds, java.lang.String keywords, int start,
472 int end) throws com.liferay.portal.kernel.exception.SystemException {
473 return _shoppingItemLocalService.search(groupId, categoryIds, keywords,
474 start, end);
475 }
476
477 @Override
478 public int searchCount(long groupId, long[] categoryIds,
479 java.lang.String keywords)
480 throws com.liferay.portal.kernel.exception.SystemException {
481 return _shoppingItemLocalService.searchCount(groupId, categoryIds,
482 keywords);
483 }
484
485 @Override
486 public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
487 long userId, long itemId, long groupId, long categoryId,
488 java.lang.String sku, java.lang.String name,
489 java.lang.String description, java.lang.String properties,
490 java.lang.String fieldsQuantities, boolean requiresShipping,
491 int stockQuantity, boolean featured, java.lang.Boolean sale,
492 boolean smallImage, java.lang.String smallImageURL,
493 java.io.File smallImageFile, boolean mediumImage,
494 java.lang.String mediumImageURL, java.io.File mediumImageFile,
495 boolean largeImage, java.lang.String largeImageURL,
496 java.io.File largeImageFile,
497 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
498 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
499 com.liferay.portal.service.ServiceContext serviceContext)
500 throws com.liferay.portal.kernel.exception.PortalException,
501 com.liferay.portal.kernel.exception.SystemException {
502 return _shoppingItemLocalService.updateItem(userId, itemId, groupId,
503 categoryId, sku, name, description, properties, fieldsQuantities,
504 requiresShipping, stockQuantity, featured, sale, smallImage,
505 smallImageURL, smallImageFile, mediumImage, mediumImageURL,
506 mediumImageFile, largeImage, largeImageURL, largeImageFile,
507 itemFields, itemPrices, serviceContext);
508 }
509
510
513 public ShoppingItemLocalService getWrappedShoppingItemLocalService() {
514 return _shoppingItemLocalService;
515 }
516
517
520 public void setWrappedShoppingItemLocalService(
521 ShoppingItemLocalService shoppingItemLocalService) {
522 _shoppingItemLocalService = shoppingItemLocalService;
523 }
524
525 @Override
526 public ShoppingItemLocalService getWrappedService() {
527 return _shoppingItemLocalService;
528 }
529
530 @Override
531 public void setWrappedService(
532 ShoppingItemLocalService shoppingItemLocalService) {
533 _shoppingItemLocalService = shoppingItemLocalService;
534 }
535
536 private ShoppingItemLocalService _shoppingItemLocalService;
537 }