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
041 @Override
042 public java.lang.String getBeanIdentifier() {
043 return _shoppingCategoryService.getBeanIdentifier();
044 }
045
046
051 @Override
052 public void setBeanIdentifier(java.lang.String beanIdentifier) {
053 _shoppingCategoryService.setBeanIdentifier(beanIdentifier);
054 }
055
056 @Override
057 public com.liferay.portlet.shopping.model.ShoppingCategory addCategory(
058 long parentCategoryId, java.lang.String name,
059 java.lang.String description,
060 com.liferay.portal.service.ServiceContext serviceContext)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 return _shoppingCategoryService.addCategory(parentCategoryId, name,
064 description, serviceContext);
065 }
066
067 @Override
068 public void deleteCategory(long categoryId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 _shoppingCategoryService.deleteCategory(categoryId);
072 }
073
074 @Override
075 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
076 long groupId)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 return _shoppingCategoryService.getCategories(groupId);
079 }
080
081 @Override
082 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
083 long groupId, long parentCategoryId, int start, int end)
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return _shoppingCategoryService.getCategories(groupId,
086 parentCategoryId, start, end);
087 }
088
089 @Override
090 public int getCategoriesCount(long groupId, long parentCategoryId)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _shoppingCategoryService.getCategoriesCount(groupId,
093 parentCategoryId);
094 }
095
096 @Override
097 public com.liferay.portlet.shopping.model.ShoppingCategory getCategory(
098 long categoryId)
099 throws com.liferay.portal.kernel.exception.PortalException,
100 com.liferay.portal.kernel.exception.SystemException {
101 return _shoppingCategoryService.getCategory(categoryId);
102 }
103
104 @Override
105 public void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
106 long groupId, long categoryId)
107 throws com.liferay.portal.kernel.exception.SystemException {
108 _shoppingCategoryService.getSubcategoryIds(categoryIds, groupId,
109 categoryId);
110 }
111
112 @Override
113 public com.liferay.portlet.shopping.model.ShoppingCategory updateCategory(
114 long categoryId, long parentCategoryId, java.lang.String name,
115 java.lang.String description, boolean mergeWithParentCategory,
116 com.liferay.portal.service.ServiceContext serviceContext)
117 throws com.liferay.portal.kernel.exception.PortalException,
118 com.liferay.portal.kernel.exception.SystemException {
119 return _shoppingCategoryService.updateCategory(categoryId,
120 parentCategoryId, name, description, mergeWithParentCategory,
121 serviceContext);
122 }
123
124
127 public ShoppingCategoryService getWrappedShoppingCategoryService() {
128 return _shoppingCategoryService;
129 }
130
131
134 public void setWrappedShoppingCategoryService(
135 ShoppingCategoryService shoppingCategoryService) {
136 _shoppingCategoryService = shoppingCategoryService;
137 }
138
139 @Override
140 public ShoppingCategoryService getWrappedService() {
141 return _shoppingCategoryService;
142 }
143
144 @Override
145 public void setWrappedService(
146 ShoppingCategoryService shoppingCategoryService) {
147 _shoppingCategoryService = shoppingCategoryService;
148 }
149
150 private ShoppingCategoryService _shoppingCategoryService;
151 }