001
014
015 package com.liferay.portlet.shopping.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class ShoppingCategoryServiceWrapper implements ShoppingCategoryService,
030 ServiceWrapper<ShoppingCategoryService> {
031 public ShoppingCategoryServiceWrapper(
032 ShoppingCategoryService shoppingCategoryService) {
033 _shoppingCategoryService = shoppingCategoryService;
034 }
035
036 @Override
037 public com.liferay.portlet.shopping.model.ShoppingCategory addCategory(
038 long parentCategoryId, java.lang.String name,
039 java.lang.String description,
040 com.liferay.portal.service.ServiceContext serviceContext)
041 throws com.liferay.portal.kernel.exception.PortalException {
042 return _shoppingCategoryService.addCategory(parentCategoryId, name,
043 description, serviceContext);
044 }
045
046 @Override
047 public void deleteCategory(long categoryId)
048 throws com.liferay.portal.kernel.exception.PortalException {
049 _shoppingCategoryService.deleteCategory(categoryId);
050 }
051
052
057 @Override
058 public java.lang.String getBeanIdentifier() {
059 return _shoppingCategoryService.getBeanIdentifier();
060 }
061
062 @Override
063 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
064 long groupId) {
065 return _shoppingCategoryService.getCategories(groupId);
066 }
067
068 @Override
069 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
070 long groupId, long parentCategoryId, int start, int end) {
071 return _shoppingCategoryService.getCategories(groupId,
072 parentCategoryId, start, end);
073 }
074
075 @Override
076 public int getCategoriesCount(long groupId, long parentCategoryId) {
077 return _shoppingCategoryService.getCategoriesCount(groupId,
078 parentCategoryId);
079 }
080
081 @Override
082 public com.liferay.portlet.shopping.model.ShoppingCategory getCategory(
083 long categoryId)
084 throws com.liferay.portal.kernel.exception.PortalException {
085 return _shoppingCategoryService.getCategory(categoryId);
086 }
087
088 @Override
089 public void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
090 long groupId, long categoryId) {
091 _shoppingCategoryService.getSubcategoryIds(categoryIds, groupId,
092 categoryId);
093 }
094
095
100 @Override
101 public void setBeanIdentifier(java.lang.String beanIdentifier) {
102 _shoppingCategoryService.setBeanIdentifier(beanIdentifier);
103 }
104
105 @Override
106 public com.liferay.portlet.shopping.model.ShoppingCategory updateCategory(
107 long categoryId, long parentCategoryId, java.lang.String name,
108 java.lang.String description, boolean mergeWithParentCategory,
109 com.liferay.portal.service.ServiceContext serviceContext)
110 throws com.liferay.portal.kernel.exception.PortalException {
111 return _shoppingCategoryService.updateCategory(categoryId,
112 parentCategoryId, name, description, mergeWithParentCategory,
113 serviceContext);
114 }
115
116
119 @Deprecated
120 public ShoppingCategoryService getWrappedShoppingCategoryService() {
121 return _shoppingCategoryService;
122 }
123
124
127 @Deprecated
128 public void setWrappedShoppingCategoryService(
129 ShoppingCategoryService shoppingCategoryService) {
130 _shoppingCategoryService = shoppingCategoryService;
131 }
132
133 @Override
134 public ShoppingCategoryService getWrappedService() {
135 return _shoppingCategoryService;
136 }
137
138 @Override
139 public void setWrappedService(
140 ShoppingCategoryService shoppingCategoryService) {
141 _shoppingCategoryService = shoppingCategoryService;
142 }
143
144 private ShoppingCategoryService _shoppingCategoryService;
145 }