001
014
015 package com.liferay.portlet.shopping.service;
016
017
026 public class ShoppingItemLocalServiceWrapper implements ShoppingItemLocalService {
027 public ShoppingItemLocalServiceWrapper(
028 ShoppingItemLocalService shoppingItemLocalService) {
029 _shoppingItemLocalService = shoppingItemLocalService;
030 }
031
032
039 public com.liferay.portlet.shopping.model.ShoppingItem addShoppingItem(
040 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _shoppingItemLocalService.addShoppingItem(shoppingItem);
043 }
044
045
051 public com.liferay.portlet.shopping.model.ShoppingItem createShoppingItem(
052 long itemId) {
053 return _shoppingItemLocalService.createShoppingItem(itemId);
054 }
055
056
063 public void deleteShoppingItem(long itemId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _shoppingItemLocalService.deleteShoppingItem(itemId);
067 }
068
069
075 public void deleteShoppingItem(
076 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 _shoppingItemLocalService.deleteShoppingItem(shoppingItem);
079 }
080
081
088 @SuppressWarnings("rawtypes")
089 public java.util.List dynamicQuery(
090 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _shoppingItemLocalService.dynamicQuery(dynamicQuery);
093 }
094
095
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.kernel.exception.SystemException {
112 return _shoppingItemLocalService.dynamicQuery(dynamicQuery, start, end);
113 }
114
115
129 @SuppressWarnings("rawtypes")
130 public java.util.List dynamicQuery(
131 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132 int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _shoppingItemLocalService.dynamicQuery(dynamicQuery, start, end,
136 orderByComparator);
137 }
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _shoppingItemLocalService.dynamicQueryCount(dynamicQuery);
150 }
151
152
160 public com.liferay.portlet.shopping.model.ShoppingItem getShoppingItem(
161 long itemId)
162 throws com.liferay.portal.kernel.exception.PortalException,
163 com.liferay.portal.kernel.exception.SystemException {
164 return _shoppingItemLocalService.getShoppingItem(itemId);
165 }
166
167 public com.liferay.portal.model.PersistedModel getPersistedModel(
168 java.io.Serializable primaryKeyObj)
169 throws com.liferay.portal.kernel.exception.PortalException,
170 com.liferay.portal.kernel.exception.SystemException {
171 return _shoppingItemLocalService.getPersistedModel(primaryKeyObj);
172 }
173
174
186 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getShoppingItems(
187 int start, int end)
188 throws com.liferay.portal.kernel.exception.SystemException {
189 return _shoppingItemLocalService.getShoppingItems(start, end);
190 }
191
192
198 public int getShoppingItemsCount()
199 throws com.liferay.portal.kernel.exception.SystemException {
200 return _shoppingItemLocalService.getShoppingItemsCount();
201 }
202
203
210 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
211 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
212 throws com.liferay.portal.kernel.exception.SystemException {
213 return _shoppingItemLocalService.updateShoppingItem(shoppingItem);
214 }
215
216
224 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
225 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
226 boolean merge)
227 throws com.liferay.portal.kernel.exception.SystemException {
228 return _shoppingItemLocalService.updateShoppingItem(shoppingItem, merge);
229 }
230
231
236 public java.lang.String getBeanIdentifier() {
237 return _shoppingItemLocalService.getBeanIdentifier();
238 }
239
240
245 public void setBeanIdentifier(java.lang.String beanIdentifier) {
246 _shoppingItemLocalService.setBeanIdentifier(beanIdentifier);
247 }
248
249 public void addBookItems(long userId, long groupId, long categoryId,
250 java.lang.String[] isbns)
251 throws com.liferay.portal.kernel.exception.PortalException,
252 com.liferay.portal.kernel.exception.SystemException {
253 _shoppingItemLocalService.addBookItems(userId, groupId, categoryId,
254 isbns);
255 }
256
257 public com.liferay.portlet.shopping.model.ShoppingItem addItem(
258 long userId, long groupId, long categoryId, java.lang.String sku,
259 java.lang.String name, java.lang.String description,
260 java.lang.String properties, java.lang.String fieldsQuantities,
261 boolean requiresShipping, int stockQuantity, boolean featured,
262 java.lang.Boolean sale, boolean smallImage,
263 java.lang.String smallImageURL, java.io.File smallFile,
264 boolean mediumImage, java.lang.String mediumImageURL,
265 java.io.File mediumFile, boolean largeImage,
266 java.lang.String largeImageURL, java.io.File largeFile,
267 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
268 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
269 com.liferay.portal.service.ServiceContext serviceContext)
270 throws com.liferay.portal.kernel.exception.PortalException,
271 com.liferay.portal.kernel.exception.SystemException {
272 return _shoppingItemLocalService.addItem(userId, groupId, categoryId,
273 sku, name, description, properties, fieldsQuantities,
274 requiresShipping, stockQuantity, featured, sale, smallImage,
275 smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
276 largeImage, largeImageURL, largeFile, itemFields, itemPrices,
277 serviceContext);
278 }
279
280 public void addItemResources(long itemId, boolean addCommunityPermissions,
281 boolean addGuestPermissions)
282 throws com.liferay.portal.kernel.exception.PortalException,
283 com.liferay.portal.kernel.exception.SystemException {
284 _shoppingItemLocalService.addItemResources(itemId,
285 addCommunityPermissions, addGuestPermissions);
286 }
287
288 public void addItemResources(long itemId,
289 java.lang.String[] communityPermissions,
290 java.lang.String[] guestPermissions)
291 throws com.liferay.portal.kernel.exception.PortalException,
292 com.liferay.portal.kernel.exception.SystemException {
293 _shoppingItemLocalService.addItemResources(itemId,
294 communityPermissions, guestPermissions);
295 }
296
297 public void addItemResources(
298 com.liferay.portlet.shopping.model.ShoppingItem item,
299 boolean addCommunityPermissions, boolean addGuestPermissions)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException {
302 _shoppingItemLocalService.addItemResources(item,
303 addCommunityPermissions, addGuestPermissions);
304 }
305
306 public void addItemResources(
307 com.liferay.portlet.shopping.model.ShoppingItem item,
308 java.lang.String[] communityPermissions,
309 java.lang.String[] guestPermissions)
310 throws com.liferay.portal.kernel.exception.PortalException,
311 com.liferay.portal.kernel.exception.SystemException {
312 _shoppingItemLocalService.addItemResources(item, communityPermissions,
313 guestPermissions);
314 }
315
316 public void deleteItem(long itemId)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException {
319 _shoppingItemLocalService.deleteItem(itemId);
320 }
321
322 public void deleteItem(com.liferay.portlet.shopping.model.ShoppingItem item)
323 throws com.liferay.portal.kernel.exception.PortalException,
324 com.liferay.portal.kernel.exception.SystemException {
325 _shoppingItemLocalService.deleteItem(item);
326 }
327
328 public void deleteItems(long groupId, long categoryId)
329 throws com.liferay.portal.kernel.exception.PortalException,
330 com.liferay.portal.kernel.exception.SystemException {
331 _shoppingItemLocalService.deleteItems(groupId, categoryId);
332 }
333
334 public int getCategoriesItemsCount(long groupId,
335 java.util.List<java.lang.Long> categoryIds)
336 throws com.liferay.portal.kernel.exception.SystemException {
337 return _shoppingItemLocalService.getCategoriesItemsCount(groupId,
338 categoryIds);
339 }
340
341 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getFeaturedItems(
342 long groupId, long categoryId, int numOfItems)
343 throws com.liferay.portal.kernel.exception.SystemException {
344 return _shoppingItemLocalService.getFeaturedItems(groupId, categoryId,
345 numOfItems);
346 }
347
348 public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
349 throws com.liferay.portal.kernel.exception.PortalException,
350 com.liferay.portal.kernel.exception.SystemException {
351 return _shoppingItemLocalService.getItem(itemId);
352 }
353
354 public com.liferay.portlet.shopping.model.ShoppingItem getItem(
355 long companyId, java.lang.String sku)
356 throws com.liferay.portal.kernel.exception.PortalException,
357 com.liferay.portal.kernel.exception.SystemException {
358 return _shoppingItemLocalService.getItem(companyId, sku);
359 }
360
361 public com.liferay.portlet.shopping.model.ShoppingItem getItemByLargeImageId(
362 long largeImageId)
363 throws com.liferay.portal.kernel.exception.PortalException,
364 com.liferay.portal.kernel.exception.SystemException {
365 return _shoppingItemLocalService.getItemByLargeImageId(largeImageId);
366 }
367
368 public com.liferay.portlet.shopping.model.ShoppingItem getItemByMediumImageId(
369 long mediumImageId)
370 throws com.liferay.portal.kernel.exception.PortalException,
371 com.liferay.portal.kernel.exception.SystemException {
372 return _shoppingItemLocalService.getItemByMediumImageId(mediumImageId);
373 }
374
375 public com.liferay.portlet.shopping.model.ShoppingItem getItemBySmallImageId(
376 long smallImageId)
377 throws com.liferay.portal.kernel.exception.PortalException,
378 com.liferay.portal.kernel.exception.SystemException {
379 return _shoppingItemLocalService.getItemBySmallImageId(smallImageId);
380 }
381
382 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
383 long groupId, long categoryId)
384 throws com.liferay.portal.kernel.exception.SystemException {
385 return _shoppingItemLocalService.getItems(groupId, categoryId);
386 }
387
388 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
389 long groupId, long categoryId, int start, int end,
390 com.liferay.portal.kernel.util.OrderByComparator obc)
391 throws com.liferay.portal.kernel.exception.SystemException {
392 return _shoppingItemLocalService.getItems(groupId, categoryId, start,
393 end, obc);
394 }
395
396 public int getItemsCount(long groupId, long categoryId)
397 throws com.liferay.portal.kernel.exception.SystemException {
398 return _shoppingItemLocalService.getItemsCount(groupId, categoryId);
399 }
400
401 public com.liferay.portlet.shopping.model.ShoppingItem[] getItemsPrevAndNext(
402 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
403 throws com.liferay.portal.kernel.exception.PortalException,
404 com.liferay.portal.kernel.exception.SystemException {
405 return _shoppingItemLocalService.getItemsPrevAndNext(itemId, obc);
406 }
407
408 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getSaleItems(
409 long groupId, long categoryId, int numOfItems)
410 throws com.liferay.portal.kernel.exception.SystemException {
411 return _shoppingItemLocalService.getSaleItems(groupId, categoryId,
412 numOfItems);
413 }
414
415 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> search(
416 long groupId, long[] categoryIds, java.lang.String keywords, int start,
417 int end) throws com.liferay.portal.kernel.exception.SystemException {
418 return _shoppingItemLocalService.search(groupId, categoryIds, keywords,
419 start, end);
420 }
421
422 public int searchCount(long groupId, long[] categoryIds,
423 java.lang.String keywords)
424 throws com.liferay.portal.kernel.exception.SystemException {
425 return _shoppingItemLocalService.searchCount(groupId, categoryIds,
426 keywords);
427 }
428
429 public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
430 long userId, long itemId, long groupId, long categoryId,
431 java.lang.String sku, java.lang.String name,
432 java.lang.String description, java.lang.String properties,
433 java.lang.String fieldsQuantities, boolean requiresShipping,
434 int stockQuantity, boolean featured, java.lang.Boolean sale,
435 boolean smallImage, java.lang.String smallImageURL,
436 java.io.File smallFile, boolean mediumImage,
437 java.lang.String mediumImageURL, java.io.File mediumFile,
438 boolean largeImage, java.lang.String largeImageURL,
439 java.io.File largeFile,
440 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
441 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
442 com.liferay.portal.service.ServiceContext serviceContext)
443 throws com.liferay.portal.kernel.exception.PortalException,
444 com.liferay.portal.kernel.exception.SystemException {
445 return _shoppingItemLocalService.updateItem(userId, itemId, groupId,
446 categoryId, sku, name, description, properties, fieldsQuantities,
447 requiresShipping, stockQuantity, featured, sale, smallImage,
448 smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
449 largeImage, largeImageURL, largeFile, itemFields, itemPrices,
450 serviceContext);
451 }
452
453 public ShoppingItemLocalService getWrappedShoppingItemLocalService() {
454 return _shoppingItemLocalService;
455 }
456
457 public void setWrappedShoppingItemLocalService(
458 ShoppingItemLocalService shoppingItemLocalService) {
459 _shoppingItemLocalService = shoppingItemLocalService;
460 }
461
462 private ShoppingItemLocalService _shoppingItemLocalService;
463 }