001
014
015 package com.liferay.portlet.shopping.service;
016
017
026 public class ShoppingCategoryLocalServiceWrapper
027 implements ShoppingCategoryLocalService {
028 public ShoppingCategoryLocalServiceWrapper(
029 ShoppingCategoryLocalService shoppingCategoryLocalService) {
030 _shoppingCategoryLocalService = shoppingCategoryLocalService;
031 }
032
033
040 public com.liferay.portlet.shopping.model.ShoppingCategory addShoppingCategory(
041 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _shoppingCategoryLocalService.addShoppingCategory(shoppingCategory);
044 }
045
046
052 public com.liferay.portlet.shopping.model.ShoppingCategory createShoppingCategory(
053 long categoryId) {
054 return _shoppingCategoryLocalService.createShoppingCategory(categoryId);
055 }
056
057
064 public void deleteShoppingCategory(long categoryId)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 _shoppingCategoryLocalService.deleteShoppingCategory(categoryId);
068 }
069
070
076 public void deleteShoppingCategory(
077 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 _shoppingCategoryLocalService.deleteShoppingCategory(shoppingCategory);
080 }
081
082
089 @SuppressWarnings("rawtypes")
090 public java.util.List dynamicQuery(
091 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _shoppingCategoryLocalService.dynamicQuery(dynamicQuery);
094 }
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException {
113 return _shoppingCategoryLocalService.dynamicQuery(dynamicQuery, start,
114 end);
115 }
116
117
131 @SuppressWarnings("rawtypes")
132 public java.util.List dynamicQuery(
133 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
134 int end,
135 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
136 throws com.liferay.portal.kernel.exception.SystemException {
137 return _shoppingCategoryLocalService.dynamicQuery(dynamicQuery, start,
138 end, orderByComparator);
139 }
140
141
148 public long dynamicQueryCount(
149 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return _shoppingCategoryLocalService.dynamicQueryCount(dynamicQuery);
152 }
153
154
162 public com.liferay.portlet.shopping.model.ShoppingCategory getShoppingCategory(
163 long categoryId)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException {
166 return _shoppingCategoryLocalService.getShoppingCategory(categoryId);
167 }
168
169 public com.liferay.portal.model.PersistedModel getPersistedModel(
170 java.io.Serializable primaryKeyObj)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _shoppingCategoryLocalService.getPersistedModel(primaryKeyObj);
174 }
175
176
188 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getShoppingCategories(
189 int start, int end)
190 throws com.liferay.portal.kernel.exception.SystemException {
191 return _shoppingCategoryLocalService.getShoppingCategories(start, end);
192 }
193
194
200 public int getShoppingCategoriesCount()
201 throws com.liferay.portal.kernel.exception.SystemException {
202 return _shoppingCategoryLocalService.getShoppingCategoriesCount();
203 }
204
205
212 public com.liferay.portlet.shopping.model.ShoppingCategory updateShoppingCategory(
213 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
214 throws com.liferay.portal.kernel.exception.SystemException {
215 return _shoppingCategoryLocalService.updateShoppingCategory(shoppingCategory);
216 }
217
218
226 public com.liferay.portlet.shopping.model.ShoppingCategory updateShoppingCategory(
227 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory,
228 boolean merge)
229 throws com.liferay.portal.kernel.exception.SystemException {
230 return _shoppingCategoryLocalService.updateShoppingCategory(shoppingCategory,
231 merge);
232 }
233
234
239 public java.lang.String getBeanIdentifier() {
240 return _shoppingCategoryLocalService.getBeanIdentifier();
241 }
242
243
248 public void setBeanIdentifier(java.lang.String beanIdentifier) {
249 _shoppingCategoryLocalService.setBeanIdentifier(beanIdentifier);
250 }
251
252 public com.liferay.portlet.shopping.model.ShoppingCategory addCategory(
253 long userId, long parentCategoryId, java.lang.String name,
254 java.lang.String description,
255 com.liferay.portal.service.ServiceContext serviceContext)
256 throws com.liferay.portal.kernel.exception.PortalException,
257 com.liferay.portal.kernel.exception.SystemException {
258 return _shoppingCategoryLocalService.addCategory(userId,
259 parentCategoryId, name, description, serviceContext);
260 }
261
262 public void addCategoryResources(long categoryId,
263 boolean addGroupPermissions, boolean addGuestPermissions)
264 throws com.liferay.portal.kernel.exception.PortalException,
265 com.liferay.portal.kernel.exception.SystemException {
266 _shoppingCategoryLocalService.addCategoryResources(categoryId,
267 addGroupPermissions, addGuestPermissions);
268 }
269
270 public void addCategoryResources(long categoryId,
271 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
272 throws com.liferay.portal.kernel.exception.PortalException,
273 com.liferay.portal.kernel.exception.SystemException {
274 _shoppingCategoryLocalService.addCategoryResources(categoryId,
275 groupPermissions, guestPermissions);
276 }
277
278 public void addCategoryResources(
279 com.liferay.portlet.shopping.model.ShoppingCategory category,
280 boolean addGroupPermissions, boolean addGuestPermissions)
281 throws com.liferay.portal.kernel.exception.PortalException,
282 com.liferay.portal.kernel.exception.SystemException {
283 _shoppingCategoryLocalService.addCategoryResources(category,
284 addGroupPermissions, addGuestPermissions);
285 }
286
287 public void addCategoryResources(
288 com.liferay.portlet.shopping.model.ShoppingCategory category,
289 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 _shoppingCategoryLocalService.addCategoryResources(category,
293 groupPermissions, guestPermissions);
294 }
295
296 public void deleteCategories(long groupId)
297 throws com.liferay.portal.kernel.exception.PortalException,
298 com.liferay.portal.kernel.exception.SystemException {
299 _shoppingCategoryLocalService.deleteCategories(groupId);
300 }
301
302 public void deleteCategory(long categoryId)
303 throws com.liferay.portal.kernel.exception.PortalException,
304 com.liferay.portal.kernel.exception.SystemException {
305 _shoppingCategoryLocalService.deleteCategory(categoryId);
306 }
307
308 public void deleteCategory(
309 com.liferay.portlet.shopping.model.ShoppingCategory category)
310 throws com.liferay.portal.kernel.exception.PortalException,
311 com.liferay.portal.kernel.exception.SystemException {
312 _shoppingCategoryLocalService.deleteCategory(category);
313 }
314
315 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
316 long groupId)
317 throws com.liferay.portal.kernel.exception.SystemException {
318 return _shoppingCategoryLocalService.getCategories(groupId);
319 }
320
321 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
322 long groupId, long parentCategoryId, int start, int end)
323 throws com.liferay.portal.kernel.exception.SystemException {
324 return _shoppingCategoryLocalService.getCategories(groupId,
325 parentCategoryId, start, end);
326 }
327
328 public int getCategoriesCount(long groupId, long parentCategoryId)
329 throws com.liferay.portal.kernel.exception.SystemException {
330 return _shoppingCategoryLocalService.getCategoriesCount(groupId,
331 parentCategoryId);
332 }
333
334 public com.liferay.portlet.shopping.model.ShoppingCategory getCategory(
335 long categoryId)
336 throws com.liferay.portal.kernel.exception.PortalException,
337 com.liferay.portal.kernel.exception.SystemException {
338 return _shoppingCategoryLocalService.getCategory(categoryId);
339 }
340
341 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getParentCategories(
342 long categoryId)
343 throws com.liferay.portal.kernel.exception.PortalException,
344 com.liferay.portal.kernel.exception.SystemException {
345 return _shoppingCategoryLocalService.getParentCategories(categoryId);
346 }
347
348 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getParentCategories(
349 com.liferay.portlet.shopping.model.ShoppingCategory category)
350 throws com.liferay.portal.kernel.exception.PortalException,
351 com.liferay.portal.kernel.exception.SystemException {
352 return _shoppingCategoryLocalService.getParentCategories(category);
353 }
354
355 public com.liferay.portlet.shopping.model.ShoppingCategory getParentCategory(
356 com.liferay.portlet.shopping.model.ShoppingCategory category)
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 return _shoppingCategoryLocalService.getParentCategory(category);
360 }
361
362 public void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
363 long groupId, long categoryId)
364 throws com.liferay.portal.kernel.exception.SystemException {
365 _shoppingCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
366 categoryId);
367 }
368
369 public com.liferay.portlet.shopping.model.ShoppingCategory updateCategory(
370 long categoryId, long parentCategoryId, java.lang.String name,
371 java.lang.String description, boolean mergeWithParentCategory,
372 com.liferay.portal.service.ServiceContext serviceContext)
373 throws com.liferay.portal.kernel.exception.PortalException,
374 com.liferay.portal.kernel.exception.SystemException {
375 return _shoppingCategoryLocalService.updateCategory(categoryId,
376 parentCategoryId, name, description, mergeWithParentCategory,
377 serviceContext);
378 }
379
380 public ShoppingCategoryLocalService getWrappedShoppingCategoryLocalService() {
381 return _shoppingCategoryLocalService;
382 }
383
384 public void setWrappedShoppingCategoryLocalService(
385 ShoppingCategoryLocalService shoppingCategoryLocalService) {
386 _shoppingCategoryLocalService = shoppingCategoryLocalService;
387 }
388
389 private ShoppingCategoryLocalService _shoppingCategoryLocalService;
390 }