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 addCommunityPermissions, boolean addGuestPermissions)
264 throws com.liferay.portal.kernel.exception.PortalException,
265 com.liferay.portal.kernel.exception.SystemException {
266 _shoppingCategoryLocalService.addCategoryResources(categoryId,
267 addCommunityPermissions, addGuestPermissions);
268 }
269
270 public void addCategoryResources(long categoryId,
271 java.lang.String[] communityPermissions,
272 java.lang.String[] guestPermissions)
273 throws com.liferay.portal.kernel.exception.PortalException,
274 com.liferay.portal.kernel.exception.SystemException {
275 _shoppingCategoryLocalService.addCategoryResources(categoryId,
276 communityPermissions, guestPermissions);
277 }
278
279 public void addCategoryResources(
280 com.liferay.portlet.shopping.model.ShoppingCategory category,
281 boolean addCommunityPermissions, boolean addGuestPermissions)
282 throws com.liferay.portal.kernel.exception.PortalException,
283 com.liferay.portal.kernel.exception.SystemException {
284 _shoppingCategoryLocalService.addCategoryResources(category,
285 addCommunityPermissions, addGuestPermissions);
286 }
287
288 public void addCategoryResources(
289 com.liferay.portlet.shopping.model.ShoppingCategory category,
290 java.lang.String[] communityPermissions,
291 java.lang.String[] guestPermissions)
292 throws com.liferay.portal.kernel.exception.PortalException,
293 com.liferay.portal.kernel.exception.SystemException {
294 _shoppingCategoryLocalService.addCategoryResources(category,
295 communityPermissions, guestPermissions);
296 }
297
298 public void deleteCategories(long groupId)
299 throws com.liferay.portal.kernel.exception.PortalException,
300 com.liferay.portal.kernel.exception.SystemException {
301 _shoppingCategoryLocalService.deleteCategories(groupId);
302 }
303
304 public void deleteCategory(long categoryId)
305 throws com.liferay.portal.kernel.exception.PortalException,
306 com.liferay.portal.kernel.exception.SystemException {
307 _shoppingCategoryLocalService.deleteCategory(categoryId);
308 }
309
310 public void deleteCategory(
311 com.liferay.portlet.shopping.model.ShoppingCategory category)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 _shoppingCategoryLocalService.deleteCategory(category);
315 }
316
317 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
318 long groupId)
319 throws com.liferay.portal.kernel.exception.SystemException {
320 return _shoppingCategoryLocalService.getCategories(groupId);
321 }
322
323 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
324 long groupId, long parentCategoryId, int start, int end)
325 throws com.liferay.portal.kernel.exception.SystemException {
326 return _shoppingCategoryLocalService.getCategories(groupId,
327 parentCategoryId, start, end);
328 }
329
330 public int getCategoriesCount(long groupId, long parentCategoryId)
331 throws com.liferay.portal.kernel.exception.SystemException {
332 return _shoppingCategoryLocalService.getCategoriesCount(groupId,
333 parentCategoryId);
334 }
335
336 public com.liferay.portlet.shopping.model.ShoppingCategory getCategory(
337 long categoryId)
338 throws com.liferay.portal.kernel.exception.PortalException,
339 com.liferay.portal.kernel.exception.SystemException {
340 return _shoppingCategoryLocalService.getCategory(categoryId);
341 }
342
343 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getParentCategories(
344 long categoryId)
345 throws com.liferay.portal.kernel.exception.PortalException,
346 com.liferay.portal.kernel.exception.SystemException {
347 return _shoppingCategoryLocalService.getParentCategories(categoryId);
348 }
349
350 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getParentCategories(
351 com.liferay.portlet.shopping.model.ShoppingCategory category)
352 throws com.liferay.portal.kernel.exception.PortalException,
353 com.liferay.portal.kernel.exception.SystemException {
354 return _shoppingCategoryLocalService.getParentCategories(category);
355 }
356
357 public com.liferay.portlet.shopping.model.ShoppingCategory getParentCategory(
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.getParentCategory(category);
362 }
363
364 public void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
365 long groupId, long categoryId)
366 throws com.liferay.portal.kernel.exception.SystemException {
367 _shoppingCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
368 categoryId);
369 }
370
371 public com.liferay.portlet.shopping.model.ShoppingCategory updateCategory(
372 long categoryId, long parentCategoryId, java.lang.String name,
373 java.lang.String description, boolean mergeWithParentCategory,
374 com.liferay.portal.service.ServiceContext serviceContext)
375 throws com.liferay.portal.kernel.exception.PortalException,
376 com.liferay.portal.kernel.exception.SystemException {
377 return _shoppingCategoryLocalService.updateCategory(categoryId,
378 parentCategoryId, name, description, mergeWithParentCategory,
379 serviceContext);
380 }
381
382 public ShoppingCategoryLocalService getWrappedShoppingCategoryLocalService() {
383 return _shoppingCategoryLocalService;
384 }
385
386 public void setWrappedShoppingCategoryLocalService(
387 ShoppingCategoryLocalService shoppingCategoryLocalService) {
388 _shoppingCategoryLocalService = shoppingCategoryLocalService;
389 }
390
391 private ShoppingCategoryLocalService _shoppingCategoryLocalService;
392 }