001
014
015 package com.liferay.portlet.shopping.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class ShoppingItemLocalServiceWrapper implements ShoppingItemLocalService,
029 ServiceWrapper<ShoppingItemLocalService> {
030 public ShoppingItemLocalServiceWrapper(
031 ShoppingItemLocalService shoppingItemLocalService) {
032 _shoppingItemLocalService = shoppingItemLocalService;
033 }
034
035
042 public com.liferay.portlet.shopping.model.ShoppingItem addShoppingItem(
043 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _shoppingItemLocalService.addShoppingItem(shoppingItem);
046 }
047
048
054 public com.liferay.portlet.shopping.model.ShoppingItem createShoppingItem(
055 long itemId) {
056 return _shoppingItemLocalService.createShoppingItem(itemId);
057 }
058
059
066 public void deleteShoppingItem(long itemId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 _shoppingItemLocalService.deleteShoppingItem(itemId);
070 }
071
072
078 public void deleteShoppingItem(
079 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 _shoppingItemLocalService.deleteShoppingItem(shoppingItem);
082 }
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return _shoppingItemLocalService.dynamicQuery(dynamicQuery);
096 }
097
098
111 @SuppressWarnings("rawtypes")
112 public java.util.List dynamicQuery(
113 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
114 int end) throws com.liferay.portal.kernel.exception.SystemException {
115 return _shoppingItemLocalService.dynamicQuery(dynamicQuery, start, end);
116 }
117
118
132 @SuppressWarnings("rawtypes")
133 public java.util.List dynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _shoppingItemLocalService.dynamicQuery(dynamicQuery, start, end,
139 orderByComparator);
140 }
141
142
149 public long dynamicQueryCount(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _shoppingItemLocalService.dynamicQueryCount(dynamicQuery);
153 }
154
155 public com.liferay.portlet.shopping.model.ShoppingItem fetchShoppingItem(
156 long itemId) throws com.liferay.portal.kernel.exception.SystemException {
157 return _shoppingItemLocalService.fetchShoppingItem(itemId);
158 }
159
160
168 public com.liferay.portlet.shopping.model.ShoppingItem getShoppingItem(
169 long itemId)
170 throws com.liferay.portal.kernel.exception.PortalException,
171 com.liferay.portal.kernel.exception.SystemException {
172 return _shoppingItemLocalService.getShoppingItem(itemId);
173 }
174
175 public com.liferay.portal.model.PersistedModel getPersistedModel(
176 java.io.Serializable primaryKeyObj)
177 throws com.liferay.portal.kernel.exception.PortalException,
178 com.liferay.portal.kernel.exception.SystemException {
179 return _shoppingItemLocalService.getPersistedModel(primaryKeyObj);
180 }
181
182
194 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getShoppingItems(
195 int start, int end)
196 throws com.liferay.portal.kernel.exception.SystemException {
197 return _shoppingItemLocalService.getShoppingItems(start, end);
198 }
199
200
206 public int getShoppingItemsCount()
207 throws com.liferay.portal.kernel.exception.SystemException {
208 return _shoppingItemLocalService.getShoppingItemsCount();
209 }
210
211
218 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
219 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return _shoppingItemLocalService.updateShoppingItem(shoppingItem);
222 }
223
224
232 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
233 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
234 boolean merge)
235 throws com.liferay.portal.kernel.exception.SystemException {
236 return _shoppingItemLocalService.updateShoppingItem(shoppingItem, merge);
237 }
238
239
244 public java.lang.String getBeanIdentifier() {
245 return _shoppingItemLocalService.getBeanIdentifier();
246 }
247
248
253 public void setBeanIdentifier(java.lang.String beanIdentifier) {
254 _shoppingItemLocalService.setBeanIdentifier(beanIdentifier);
255 }
256
257 public void addBookItems(long userId, long groupId, long categoryId,
258 java.lang.String[] isbns)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException {
261 _shoppingItemLocalService.addBookItems(userId, groupId, categoryId,
262 isbns);
263 }
264
265 public com.liferay.portlet.shopping.model.ShoppingItem addItem(
266 long userId, long groupId, long categoryId, java.lang.String sku,
267 java.lang.String name, java.lang.String description,
268 java.lang.String properties, java.lang.String fieldsQuantities,
269 boolean requiresShipping, int stockQuantity, boolean featured,
270 java.lang.Boolean sale, boolean smallImage,
271 java.lang.String smallImageURL, java.io.File smallImageFile,
272 boolean mediumImage, java.lang.String mediumImageURL,
273 java.io.File mediumImageFile, boolean largeImage,
274 java.lang.String largeImageURL, java.io.File largeImageFile,
275 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
276 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
277 com.liferay.portal.service.ServiceContext serviceContext)
278 throws com.liferay.portal.kernel.exception.PortalException,
279 com.liferay.portal.kernel.exception.SystemException {
280 return _shoppingItemLocalService.addItem(userId, groupId, categoryId,
281 sku, name, description, properties, fieldsQuantities,
282 requiresShipping, stockQuantity, featured, sale, smallImage,
283 smallImageURL, smallImageFile, mediumImage, mediumImageURL,
284 mediumImageFile, largeImage, largeImageURL, largeImageFile,
285 itemFields, itemPrices, serviceContext);
286 }
287
288 public void addItemResources(long itemId, boolean addGroupPermissions,
289 boolean addGuestPermissions)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 _shoppingItemLocalService.addItemResources(itemId, addGroupPermissions,
293 addGuestPermissions);
294 }
295
296 public void addItemResources(long itemId,
297 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
298 throws com.liferay.portal.kernel.exception.PortalException,
299 com.liferay.portal.kernel.exception.SystemException {
300 _shoppingItemLocalService.addItemResources(itemId, groupPermissions,
301 guestPermissions);
302 }
303
304 public void addItemResources(
305 com.liferay.portlet.shopping.model.ShoppingItem item,
306 boolean addGroupPermissions, boolean addGuestPermissions)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException {
309 _shoppingItemLocalService.addItemResources(item, addGroupPermissions,
310 addGuestPermissions);
311 }
312
313 public void addItemResources(
314 com.liferay.portlet.shopping.model.ShoppingItem item,
315 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
316 throws com.liferay.portal.kernel.exception.PortalException,
317 com.liferay.portal.kernel.exception.SystemException {
318 _shoppingItemLocalService.addItemResources(item, groupPermissions,
319 guestPermissions);
320 }
321
322 public void deleteItem(long itemId)
323 throws com.liferay.portal.kernel.exception.PortalException,
324 com.liferay.portal.kernel.exception.SystemException {
325 _shoppingItemLocalService.deleteItem(itemId);
326 }
327
328 public void deleteItem(com.liferay.portlet.shopping.model.ShoppingItem item)
329 throws com.liferay.portal.kernel.exception.PortalException,
330 com.liferay.portal.kernel.exception.SystemException {
331 _shoppingItemLocalService.deleteItem(item);
332 }
333
334 public void deleteItems(long groupId, long categoryId)
335 throws com.liferay.portal.kernel.exception.PortalException,
336 com.liferay.portal.kernel.exception.SystemException {
337 _shoppingItemLocalService.deleteItems(groupId, categoryId);
338 }
339
340 public int getCategoriesItemsCount(long groupId,
341 java.util.List<java.lang.Long> categoryIds)
342 throws com.liferay.portal.kernel.exception.SystemException {
343 return _shoppingItemLocalService.getCategoriesItemsCount(groupId,
344 categoryIds);
345 }
346
347 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getFeaturedItems(
348 long groupId, long categoryId, int numOfItems)
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return _shoppingItemLocalService.getFeaturedItems(groupId, categoryId,
351 numOfItems);
352 }
353
354 public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
355 throws com.liferay.portal.kernel.exception.PortalException,
356 com.liferay.portal.kernel.exception.SystemException {
357 return _shoppingItemLocalService.getItem(itemId);
358 }
359
360 public com.liferay.portlet.shopping.model.ShoppingItem getItem(
361 long companyId, java.lang.String sku)
362 throws com.liferay.portal.kernel.exception.PortalException,
363 com.liferay.portal.kernel.exception.SystemException {
364 return _shoppingItemLocalService.getItem(companyId, sku);
365 }
366
367 public com.liferay.portlet.shopping.model.ShoppingItem getItemByLargeImageId(
368 long largeImageId)
369 throws com.liferay.portal.kernel.exception.PortalException,
370 com.liferay.portal.kernel.exception.SystemException {
371 return _shoppingItemLocalService.getItemByLargeImageId(largeImageId);
372 }
373
374 public com.liferay.portlet.shopping.model.ShoppingItem getItemByMediumImageId(
375 long mediumImageId)
376 throws com.liferay.portal.kernel.exception.PortalException,
377 com.liferay.portal.kernel.exception.SystemException {
378 return _shoppingItemLocalService.getItemByMediumImageId(mediumImageId);
379 }
380
381 public com.liferay.portlet.shopping.model.ShoppingItem getItemBySmallImageId(
382 long smallImageId)
383 throws com.liferay.portal.kernel.exception.PortalException,
384 com.liferay.portal.kernel.exception.SystemException {
385 return _shoppingItemLocalService.getItemBySmallImageId(smallImageId);
386 }
387
388 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
389 long groupId, long categoryId)
390 throws com.liferay.portal.kernel.exception.SystemException {
391 return _shoppingItemLocalService.getItems(groupId, categoryId);
392 }
393
394 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
395 long groupId, long categoryId, int start, int end,
396 com.liferay.portal.kernel.util.OrderByComparator obc)
397 throws com.liferay.portal.kernel.exception.SystemException {
398 return _shoppingItemLocalService.getItems(groupId, categoryId, start,
399 end, obc);
400 }
401
402 public int getItemsCount(long groupId, long categoryId)
403 throws com.liferay.portal.kernel.exception.SystemException {
404 return _shoppingItemLocalService.getItemsCount(groupId, categoryId);
405 }
406
407 public com.liferay.portlet.shopping.model.ShoppingItem[] getItemsPrevAndNext(
408 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
409 throws com.liferay.portal.kernel.exception.PortalException,
410 com.liferay.portal.kernel.exception.SystemException {
411 return _shoppingItemLocalService.getItemsPrevAndNext(itemId, obc);
412 }
413
414 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getSaleItems(
415 long groupId, long categoryId, int numOfItems)
416 throws com.liferay.portal.kernel.exception.SystemException {
417 return _shoppingItemLocalService.getSaleItems(groupId, categoryId,
418 numOfItems);
419 }
420
421 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> search(
422 long groupId, long[] categoryIds, java.lang.String keywords, int start,
423 int end) throws com.liferay.portal.kernel.exception.SystemException {
424 return _shoppingItemLocalService.search(groupId, categoryIds, keywords,
425 start, end);
426 }
427
428 public int searchCount(long groupId, long[] categoryIds,
429 java.lang.String keywords)
430 throws com.liferay.portal.kernel.exception.SystemException {
431 return _shoppingItemLocalService.searchCount(groupId, categoryIds,
432 keywords);
433 }
434
435 public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
436 long userId, long itemId, long groupId, long categoryId,
437 java.lang.String sku, java.lang.String name,
438 java.lang.String description, java.lang.String properties,
439 java.lang.String fieldsQuantities, boolean requiresShipping,
440 int stockQuantity, boolean featured, java.lang.Boolean sale,
441 boolean smallImage, java.lang.String smallImageURL,
442 java.io.File smallImageFile, boolean mediumImage,
443 java.lang.String mediumImageURL, java.io.File mediumImageFile,
444 boolean largeImage, java.lang.String largeImageURL,
445 java.io.File largeImageFile,
446 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
447 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
448 com.liferay.portal.service.ServiceContext serviceContext)
449 throws com.liferay.portal.kernel.exception.PortalException,
450 com.liferay.portal.kernel.exception.SystemException {
451 return _shoppingItemLocalService.updateItem(userId, itemId, groupId,
452 categoryId, sku, name, description, properties, fieldsQuantities,
453 requiresShipping, stockQuantity, featured, sale, smallImage,
454 smallImageURL, smallImageFile, mediumImage, mediumImageURL,
455 mediumImageFile, largeImage, largeImageURL, largeImageFile,
456 itemFields, itemPrices, serviceContext);
457 }
458
459
462 public ShoppingItemLocalService getWrappedShoppingItemLocalService() {
463 return _shoppingItemLocalService;
464 }
465
466
469 public void setWrappedShoppingItemLocalService(
470 ShoppingItemLocalService shoppingItemLocalService) {
471 _shoppingItemLocalService = shoppingItemLocalService;
472 }
473
474 public ShoppingItemLocalService getWrappedService() {
475 return _shoppingItemLocalService;
476 }
477
478 public void setWrappedService(
479 ShoppingItemLocalService shoppingItemLocalService) {
480 _shoppingItemLocalService = shoppingItemLocalService;
481 }
482
483 private ShoppingItemLocalService _shoppingItemLocalService;
484 }