001
014
015 package com.liferay.portlet.shopping.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class ShoppingCategoryLocalServiceWrapper
029 implements ShoppingCategoryLocalService,
030 ServiceWrapper<ShoppingCategoryLocalService> {
031 public ShoppingCategoryLocalServiceWrapper(
032 ShoppingCategoryLocalService shoppingCategoryLocalService) {
033 _shoppingCategoryLocalService = shoppingCategoryLocalService;
034 }
035
036
043 public com.liferay.portlet.shopping.model.ShoppingCategory addShoppingCategory(
044 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
045 throws com.liferay.portal.kernel.exception.SystemException {
046 return _shoppingCategoryLocalService.addShoppingCategory(shoppingCategory);
047 }
048
049
055 public com.liferay.portlet.shopping.model.ShoppingCategory createShoppingCategory(
056 long categoryId) {
057 return _shoppingCategoryLocalService.createShoppingCategory(categoryId);
058 }
059
060
067 public void deleteShoppingCategory(long categoryId)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException {
070 _shoppingCategoryLocalService.deleteShoppingCategory(categoryId);
071 }
072
073
079 public void deleteShoppingCategory(
080 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 _shoppingCategoryLocalService.deleteShoppingCategory(shoppingCategory);
083 }
084
085
092 @SuppressWarnings("rawtypes")
093 public java.util.List dynamicQuery(
094 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
095 throws com.liferay.portal.kernel.exception.SystemException {
096 return _shoppingCategoryLocalService.dynamicQuery(dynamicQuery);
097 }
098
099
112 @SuppressWarnings("rawtypes")
113 public java.util.List dynamicQuery(
114 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
115 int end) throws com.liferay.portal.kernel.exception.SystemException {
116 return _shoppingCategoryLocalService.dynamicQuery(dynamicQuery, start,
117 end);
118 }
119
120
134 @SuppressWarnings("rawtypes")
135 public java.util.List dynamicQuery(
136 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
137 int end,
138 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
139 throws com.liferay.portal.kernel.exception.SystemException {
140 return _shoppingCategoryLocalService.dynamicQuery(dynamicQuery, start,
141 end, orderByComparator);
142 }
143
144
151 public long dynamicQueryCount(
152 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
153 throws com.liferay.portal.kernel.exception.SystemException {
154 return _shoppingCategoryLocalService.dynamicQueryCount(dynamicQuery);
155 }
156
157 public com.liferay.portlet.shopping.model.ShoppingCategory fetchShoppingCategory(
158 long categoryId)
159 throws com.liferay.portal.kernel.exception.SystemException {
160 return _shoppingCategoryLocalService.fetchShoppingCategory(categoryId);
161 }
162
163
171 public com.liferay.portlet.shopping.model.ShoppingCategory getShoppingCategory(
172 long categoryId)
173 throws com.liferay.portal.kernel.exception.PortalException,
174 com.liferay.portal.kernel.exception.SystemException {
175 return _shoppingCategoryLocalService.getShoppingCategory(categoryId);
176 }
177
178 public com.liferay.portal.model.PersistedModel getPersistedModel(
179 java.io.Serializable primaryKeyObj)
180 throws com.liferay.portal.kernel.exception.PortalException,
181 com.liferay.portal.kernel.exception.SystemException {
182 return _shoppingCategoryLocalService.getPersistedModel(primaryKeyObj);
183 }
184
185
197 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getShoppingCategories(
198 int start, int end)
199 throws com.liferay.portal.kernel.exception.SystemException {
200 return _shoppingCategoryLocalService.getShoppingCategories(start, end);
201 }
202
203
209 public int getShoppingCategoriesCount()
210 throws com.liferay.portal.kernel.exception.SystemException {
211 return _shoppingCategoryLocalService.getShoppingCategoriesCount();
212 }
213
214
221 public com.liferay.portlet.shopping.model.ShoppingCategory updateShoppingCategory(
222 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
223 throws com.liferay.portal.kernel.exception.SystemException {
224 return _shoppingCategoryLocalService.updateShoppingCategory(shoppingCategory);
225 }
226
227
235 public com.liferay.portlet.shopping.model.ShoppingCategory updateShoppingCategory(
236 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory,
237 boolean merge)
238 throws com.liferay.portal.kernel.exception.SystemException {
239 return _shoppingCategoryLocalService.updateShoppingCategory(shoppingCategory,
240 merge);
241 }
242
243
248 public java.lang.String getBeanIdentifier() {
249 return _shoppingCategoryLocalService.getBeanIdentifier();
250 }
251
252
257 public void setBeanIdentifier(java.lang.String beanIdentifier) {
258 _shoppingCategoryLocalService.setBeanIdentifier(beanIdentifier);
259 }
260
261 public com.liferay.portlet.shopping.model.ShoppingCategory addCategory(
262 long userId, long parentCategoryId, java.lang.String name,
263 java.lang.String description,
264 com.liferay.portal.service.ServiceContext serviceContext)
265 throws com.liferay.portal.kernel.exception.PortalException,
266 com.liferay.portal.kernel.exception.SystemException {
267 return _shoppingCategoryLocalService.addCategory(userId,
268 parentCategoryId, name, description, serviceContext);
269 }
270
271 public void addCategoryResources(long categoryId,
272 boolean addGroupPermissions, boolean addGuestPermissions)
273 throws com.liferay.portal.kernel.exception.PortalException,
274 com.liferay.portal.kernel.exception.SystemException {
275 _shoppingCategoryLocalService.addCategoryResources(categoryId,
276 addGroupPermissions, addGuestPermissions);
277 }
278
279 public void addCategoryResources(long categoryId,
280 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
281 throws com.liferay.portal.kernel.exception.PortalException,
282 com.liferay.portal.kernel.exception.SystemException {
283 _shoppingCategoryLocalService.addCategoryResources(categoryId,
284 groupPermissions, guestPermissions);
285 }
286
287 public void addCategoryResources(
288 com.liferay.portlet.shopping.model.ShoppingCategory category,
289 boolean addGroupPermissions, boolean addGuestPermissions)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 _shoppingCategoryLocalService.addCategoryResources(category,
293 addGroupPermissions, addGuestPermissions);
294 }
295
296 public void addCategoryResources(
297 com.liferay.portlet.shopping.model.ShoppingCategory category,
298 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
299 throws com.liferay.portal.kernel.exception.PortalException,
300 com.liferay.portal.kernel.exception.SystemException {
301 _shoppingCategoryLocalService.addCategoryResources(category,
302 groupPermissions, guestPermissions);
303 }
304
305 public void deleteCategories(long groupId)
306 throws com.liferay.portal.kernel.exception.PortalException,
307 com.liferay.portal.kernel.exception.SystemException {
308 _shoppingCategoryLocalService.deleteCategories(groupId);
309 }
310
311 public void deleteCategory(long categoryId)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 _shoppingCategoryLocalService.deleteCategory(categoryId);
315 }
316
317 public void deleteCategory(
318 com.liferay.portlet.shopping.model.ShoppingCategory category)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException {
321 _shoppingCategoryLocalService.deleteCategory(category);
322 }
323
324 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
325 long groupId)
326 throws com.liferay.portal.kernel.exception.SystemException {
327 return _shoppingCategoryLocalService.getCategories(groupId);
328 }
329
330 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
331 long groupId, long parentCategoryId, int start, int end)
332 throws com.liferay.portal.kernel.exception.SystemException {
333 return _shoppingCategoryLocalService.getCategories(groupId,
334 parentCategoryId, start, end);
335 }
336
337 public int getCategoriesCount(long groupId, long parentCategoryId)
338 throws com.liferay.portal.kernel.exception.SystemException {
339 return _shoppingCategoryLocalService.getCategoriesCount(groupId,
340 parentCategoryId);
341 }
342
343 public com.liferay.portlet.shopping.model.ShoppingCategory getCategory(
344 long categoryId)
345 throws com.liferay.portal.kernel.exception.PortalException,
346 com.liferay.portal.kernel.exception.SystemException {
347 return _shoppingCategoryLocalService.getCategory(categoryId);
348 }
349
350 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getParentCategories(
351 long categoryId)
352 throws com.liferay.portal.kernel.exception.PortalException,
353 com.liferay.portal.kernel.exception.SystemException {
354 return _shoppingCategoryLocalService.getParentCategories(categoryId);
355 }
356
357 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getParentCategories(
358 com.liferay.portlet.shopping.model.ShoppingCategory category)
359 throws com.liferay.portal.kernel.exception.PortalException,
360 com.liferay.portal.kernel.exception.SystemException {
361 return _shoppingCategoryLocalService.getParentCategories(category);
362 }
363
364 public com.liferay.portlet.shopping.model.ShoppingCategory getParentCategory(
365 com.liferay.portlet.shopping.model.ShoppingCategory category)
366 throws com.liferay.portal.kernel.exception.PortalException,
367 com.liferay.portal.kernel.exception.SystemException {
368 return _shoppingCategoryLocalService.getParentCategory(category);
369 }
370
371 public void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
372 long groupId, long categoryId)
373 throws com.liferay.portal.kernel.exception.SystemException {
374 _shoppingCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
375 categoryId);
376 }
377
378 public com.liferay.portlet.shopping.model.ShoppingCategory updateCategory(
379 long categoryId, long parentCategoryId, java.lang.String name,
380 java.lang.String description, boolean mergeWithParentCategory,
381 com.liferay.portal.service.ServiceContext serviceContext)
382 throws com.liferay.portal.kernel.exception.PortalException,
383 com.liferay.portal.kernel.exception.SystemException {
384 return _shoppingCategoryLocalService.updateCategory(categoryId,
385 parentCategoryId, name, description, mergeWithParentCategory,
386 serviceContext);
387 }
388
389
392 public ShoppingCategoryLocalService getWrappedShoppingCategoryLocalService() {
393 return _shoppingCategoryLocalService;
394 }
395
396
399 public void setWrappedShoppingCategoryLocalService(
400 ShoppingCategoryLocalService shoppingCategoryLocalService) {
401 _shoppingCategoryLocalService = shoppingCategoryLocalService;
402 }
403
404 public ShoppingCategoryLocalService getWrappedService() {
405 return _shoppingCategoryLocalService;
406 }
407
408 public void setWrappedService(
409 ShoppingCategoryLocalService shoppingCategoryLocalService) {
410 _shoppingCategoryLocalService = shoppingCategoryLocalService;
411 }
412
413 private ShoppingCategoryLocalService _shoppingCategoryLocalService;
414 }