1
22
23 package com.liferay.portlet.shopping.service;
24
25
26
42 public class ShoppingCategoryLocalServiceWrapper
43 implements ShoppingCategoryLocalService {
44 public ShoppingCategoryLocalServiceWrapper(
45 ShoppingCategoryLocalService shoppingCategoryLocalService) {
46 _shoppingCategoryLocalService = shoppingCategoryLocalService;
47 }
48
49 public com.liferay.portlet.shopping.model.ShoppingCategory addShoppingCategory(
50 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
51 throws com.liferay.portal.SystemException {
52 return _shoppingCategoryLocalService.addShoppingCategory(shoppingCategory);
53 }
54
55 public com.liferay.portlet.shopping.model.ShoppingCategory createShoppingCategory(
56 long categoryId) {
57 return _shoppingCategoryLocalService.createShoppingCategory(categoryId);
58 }
59
60 public void deleteShoppingCategory(long categoryId)
61 throws com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException {
63 _shoppingCategoryLocalService.deleteShoppingCategory(categoryId);
64 }
65
66 public void deleteShoppingCategory(
67 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
68 throws com.liferay.portal.SystemException {
69 _shoppingCategoryLocalService.deleteShoppingCategory(shoppingCategory);
70 }
71
72 public java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74 throws com.liferay.portal.SystemException {
75 return _shoppingCategoryLocalService.dynamicQuery(dynamicQuery);
76 }
77
78 public java.util.List<Object> dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80 int end) throws com.liferay.portal.SystemException {
81 return _shoppingCategoryLocalService.dynamicQuery(dynamicQuery, start,
82 end);
83 }
84
85 public com.liferay.portlet.shopping.model.ShoppingCategory getShoppingCategory(
86 long categoryId)
87 throws com.liferay.portal.PortalException,
88 com.liferay.portal.SystemException {
89 return _shoppingCategoryLocalService.getShoppingCategory(categoryId);
90 }
91
92 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getShoppingCategories(
93 int start, int end) throws com.liferay.portal.SystemException {
94 return _shoppingCategoryLocalService.getShoppingCategories(start, end);
95 }
96
97 public int getShoppingCategoriesCount()
98 throws com.liferay.portal.SystemException {
99 return _shoppingCategoryLocalService.getShoppingCategoriesCount();
100 }
101
102 public com.liferay.portlet.shopping.model.ShoppingCategory updateShoppingCategory(
103 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
104 throws com.liferay.portal.SystemException {
105 return _shoppingCategoryLocalService.updateShoppingCategory(shoppingCategory);
106 }
107
108 public com.liferay.portlet.shopping.model.ShoppingCategory updateShoppingCategory(
109 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory,
110 boolean merge) throws com.liferay.portal.SystemException {
111 return _shoppingCategoryLocalService.updateShoppingCategory(shoppingCategory,
112 merge);
113 }
114
115 public com.liferay.portlet.shopping.model.ShoppingCategory addCategory(
116 long userId, long parentCategoryId, java.lang.String name,
117 java.lang.String description,
118 com.liferay.portal.service.ServiceContext serviceContext)
119 throws com.liferay.portal.PortalException,
120 com.liferay.portal.SystemException {
121 return _shoppingCategoryLocalService.addCategory(userId,
122 parentCategoryId, name, description, serviceContext);
123 }
124
125 public void addCategoryResources(long categoryId,
126 boolean addCommunityPermissions, boolean addGuestPermissions)
127 throws com.liferay.portal.PortalException,
128 com.liferay.portal.SystemException {
129 _shoppingCategoryLocalService.addCategoryResources(categoryId,
130 addCommunityPermissions, addGuestPermissions);
131 }
132
133 public void addCategoryResources(long categoryId,
134 java.lang.String[] communityPermissions,
135 java.lang.String[] guestPermissions)
136 throws com.liferay.portal.PortalException,
137 com.liferay.portal.SystemException {
138 _shoppingCategoryLocalService.addCategoryResources(categoryId,
139 communityPermissions, guestPermissions);
140 }
141
142 public void addCategoryResources(
143 com.liferay.portlet.shopping.model.ShoppingCategory category,
144 boolean addCommunityPermissions, boolean addGuestPermissions)
145 throws com.liferay.portal.PortalException,
146 com.liferay.portal.SystemException {
147 _shoppingCategoryLocalService.addCategoryResources(category,
148 addCommunityPermissions, addGuestPermissions);
149 }
150
151 public void addCategoryResources(
152 com.liferay.portlet.shopping.model.ShoppingCategory category,
153 java.lang.String[] communityPermissions,
154 java.lang.String[] guestPermissions)
155 throws com.liferay.portal.PortalException,
156 com.liferay.portal.SystemException {
157 _shoppingCategoryLocalService.addCategoryResources(category,
158 communityPermissions, guestPermissions);
159 }
160
161 public void deleteCategories(long groupId)
162 throws com.liferay.portal.PortalException,
163 com.liferay.portal.SystemException {
164 _shoppingCategoryLocalService.deleteCategories(groupId);
165 }
166
167 public void deleteCategory(long categoryId)
168 throws com.liferay.portal.PortalException,
169 com.liferay.portal.SystemException {
170 _shoppingCategoryLocalService.deleteCategory(categoryId);
171 }
172
173 public void deleteCategory(
174 com.liferay.portlet.shopping.model.ShoppingCategory category)
175 throws com.liferay.portal.PortalException,
176 com.liferay.portal.SystemException {
177 _shoppingCategoryLocalService.deleteCategory(category);
178 }
179
180 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
181 long groupId) throws com.liferay.portal.SystemException {
182 return _shoppingCategoryLocalService.getCategories(groupId);
183 }
184
185 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
186 long groupId, long parentCategoryId, int start, int end)
187 throws com.liferay.portal.SystemException {
188 return _shoppingCategoryLocalService.getCategories(groupId,
189 parentCategoryId, start, end);
190 }
191
192 public int getCategoriesCount(long groupId, long parentCategoryId)
193 throws com.liferay.portal.SystemException {
194 return _shoppingCategoryLocalService.getCategoriesCount(groupId,
195 parentCategoryId);
196 }
197
198 public com.liferay.portlet.shopping.model.ShoppingCategory getCategory(
199 long categoryId)
200 throws com.liferay.portal.PortalException,
201 com.liferay.portal.SystemException {
202 return _shoppingCategoryLocalService.getCategory(categoryId);
203 }
204
205 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getParentCategories(
206 long categoryId)
207 throws com.liferay.portal.PortalException,
208 com.liferay.portal.SystemException {
209 return _shoppingCategoryLocalService.getParentCategories(categoryId);
210 }
211
212 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getParentCategories(
213 com.liferay.portlet.shopping.model.ShoppingCategory category)
214 throws com.liferay.portal.PortalException,
215 com.liferay.portal.SystemException {
216 return _shoppingCategoryLocalService.getParentCategories(category);
217 }
218
219 public com.liferay.portlet.shopping.model.ShoppingCategory getParentCategory(
220 com.liferay.portlet.shopping.model.ShoppingCategory category)
221 throws com.liferay.portal.PortalException,
222 com.liferay.portal.SystemException {
223 return _shoppingCategoryLocalService.getParentCategory(category);
224 }
225
226 public void getSubcategoryIds(java.util.List<Long> categoryIds,
227 long groupId, long categoryId)
228 throws com.liferay.portal.SystemException {
229 _shoppingCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
230 categoryId);
231 }
232
233 public com.liferay.portlet.shopping.model.ShoppingCategory updateCategory(
234 long categoryId, long parentCategoryId, java.lang.String name,
235 java.lang.String description, boolean mergeWithParentCategory,
236 com.liferay.portal.service.ServiceContext serviceContext)
237 throws com.liferay.portal.PortalException,
238 com.liferay.portal.SystemException {
239 return _shoppingCategoryLocalService.updateCategory(categoryId,
240 parentCategoryId, name, description, mergeWithParentCategory,
241 serviceContext);
242 }
243
244 public ShoppingCategoryLocalService getWrappedShoppingCategoryLocalService() {
245 return _shoppingCategoryLocalService;
246 }
247
248 private ShoppingCategoryLocalService _shoppingCategoryLocalService;
249 }