1
14
15 package com.liferay.portlet.shopping.service;
16
17
33 public class ShoppingCategoryServiceWrapper implements ShoppingCategoryService {
34 public ShoppingCategoryServiceWrapper(
35 ShoppingCategoryService shoppingCategoryService) {
36 _shoppingCategoryService = shoppingCategoryService;
37 }
38
39 public com.liferay.portlet.shopping.model.ShoppingCategory addCategory(
40 long parentCategoryId, java.lang.String name,
41 java.lang.String description,
42 com.liferay.portal.service.ServiceContext serviceContext)
43 throws com.liferay.portal.PortalException,
44 com.liferay.portal.SystemException {
45 return _shoppingCategoryService.addCategory(parentCategoryId, name,
46 description, serviceContext);
47 }
48
49 public void deleteCategory(long categoryId)
50 throws com.liferay.portal.PortalException,
51 com.liferay.portal.SystemException {
52 _shoppingCategoryService.deleteCategory(categoryId);
53 }
54
55 public com.liferay.portlet.shopping.model.ShoppingCategory getCategory(
56 long categoryId)
57 throws com.liferay.portal.PortalException,
58 com.liferay.portal.SystemException {
59 return _shoppingCategoryService.getCategory(categoryId);
60 }
61
62 public com.liferay.portlet.shopping.model.ShoppingCategory updateCategory(
63 long categoryId, long parentCategoryId, java.lang.String name,
64 java.lang.String description, boolean mergeWithParentCategory,
65 com.liferay.portal.service.ServiceContext serviceContext)
66 throws com.liferay.portal.PortalException,
67 com.liferay.portal.SystemException {
68 return _shoppingCategoryService.updateCategory(categoryId,
69 parentCategoryId, name, description, mergeWithParentCategory,
70 serviceContext);
71 }
72
73 public ShoppingCategoryService getWrappedShoppingCategoryService() {
74 return _shoppingCategoryService;
75 }
76
77 private ShoppingCategoryService _shoppingCategoryService;
78 }