1
14
15 package com.liferay.portlet.shopping.service;
16
17
18
34 public class ShoppingCategoryLocalServiceWrapper
35 implements ShoppingCategoryLocalService {
36 public ShoppingCategoryLocalServiceWrapper(
37 ShoppingCategoryLocalService shoppingCategoryLocalService) {
38 _shoppingCategoryLocalService = shoppingCategoryLocalService;
39 }
40
41 public com.liferay.portlet.shopping.model.ShoppingCategory addShoppingCategory(
42 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
43 throws com.liferay.portal.kernel.exception.SystemException {
44 return _shoppingCategoryLocalService.addShoppingCategory(shoppingCategory);
45 }
46
47 public com.liferay.portlet.shopping.model.ShoppingCategory createShoppingCategory(
48 long categoryId) {
49 return _shoppingCategoryLocalService.createShoppingCategory(categoryId);
50 }
51
52 public void deleteShoppingCategory(long categoryId)
53 throws com.liferay.portal.kernel.exception.PortalException,
54 com.liferay.portal.kernel.exception.SystemException {
55 _shoppingCategoryLocalService.deleteShoppingCategory(categoryId);
56 }
57
58 public void deleteShoppingCategory(
59 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
60 throws com.liferay.portal.kernel.exception.SystemException {
61 _shoppingCategoryLocalService.deleteShoppingCategory(shoppingCategory);
62 }
63
64 public java.util.List<Object> dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.kernel.exception.SystemException {
67 return _shoppingCategoryLocalService.dynamicQuery(dynamicQuery);
68 }
69
70 public java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.kernel.exception.SystemException {
73 return _shoppingCategoryLocalService.dynamicQuery(dynamicQuery, start,
74 end);
75 }
76
77 public java.util.List<Object> dynamicQuery(
78 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79 int end,
80 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81 throws com.liferay.portal.kernel.exception.SystemException {
82 return _shoppingCategoryLocalService.dynamicQuery(dynamicQuery, start,
83 end, orderByComparator);
84 }
85
86 public int dynamicQueryCount(
87 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88 throws com.liferay.portal.kernel.exception.SystemException {
89 return _shoppingCategoryLocalService.dynamicQueryCount(dynamicQuery);
90 }
91
92 public com.liferay.portlet.shopping.model.ShoppingCategory getShoppingCategory(
93 long categoryId)
94 throws com.liferay.portal.kernel.exception.PortalException,
95 com.liferay.portal.kernel.exception.SystemException {
96 return _shoppingCategoryLocalService.getShoppingCategory(categoryId);
97 }
98
99 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getShoppingCategories(
100 int start, int end)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _shoppingCategoryLocalService.getShoppingCategories(start, end);
103 }
104
105 public int getShoppingCategoriesCount()
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return _shoppingCategoryLocalService.getShoppingCategoriesCount();
108 }
109
110 public com.liferay.portlet.shopping.model.ShoppingCategory updateShoppingCategory(
111 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
112 throws com.liferay.portal.kernel.exception.SystemException {
113 return _shoppingCategoryLocalService.updateShoppingCategory(shoppingCategory);
114 }
115
116 public com.liferay.portlet.shopping.model.ShoppingCategory updateShoppingCategory(
117 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory,
118 boolean merge)
119 throws com.liferay.portal.kernel.exception.SystemException {
120 return _shoppingCategoryLocalService.updateShoppingCategory(shoppingCategory,
121 merge);
122 }
123
124 public com.liferay.portlet.shopping.model.ShoppingCategory addCategory(
125 long userId, long parentCategoryId, java.lang.String name,
126 java.lang.String description,
127 com.liferay.portal.service.ServiceContext serviceContext)
128 throws com.liferay.portal.kernel.exception.PortalException,
129 com.liferay.portal.kernel.exception.SystemException {
130 return _shoppingCategoryLocalService.addCategory(userId,
131 parentCategoryId, name, description, serviceContext);
132 }
133
134 public void addCategoryResources(long categoryId,
135 boolean addCommunityPermissions, boolean addGuestPermissions)
136 throws com.liferay.portal.kernel.exception.PortalException,
137 com.liferay.portal.kernel.exception.SystemException {
138 _shoppingCategoryLocalService.addCategoryResources(categoryId,
139 addCommunityPermissions, addGuestPermissions);
140 }
141
142 public void addCategoryResources(long categoryId,
143 java.lang.String[] communityPermissions,
144 java.lang.String[] guestPermissions)
145 throws com.liferay.portal.kernel.exception.PortalException,
146 com.liferay.portal.kernel.exception.SystemException {
147 _shoppingCategoryLocalService.addCategoryResources(categoryId,
148 communityPermissions, guestPermissions);
149 }
150
151 public void addCategoryResources(
152 com.liferay.portlet.shopping.model.ShoppingCategory category,
153 boolean addCommunityPermissions, boolean addGuestPermissions)
154 throws com.liferay.portal.kernel.exception.PortalException,
155 com.liferay.portal.kernel.exception.SystemException {
156 _shoppingCategoryLocalService.addCategoryResources(category,
157 addCommunityPermissions, addGuestPermissions);
158 }
159
160 public void addCategoryResources(
161 com.liferay.portlet.shopping.model.ShoppingCategory category,
162 java.lang.String[] communityPermissions,
163 java.lang.String[] guestPermissions)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException {
166 _shoppingCategoryLocalService.addCategoryResources(category,
167 communityPermissions, guestPermissions);
168 }
169
170 public void deleteCategories(long groupId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 _shoppingCategoryLocalService.deleteCategories(groupId);
174 }
175
176 public void deleteCategory(long categoryId)
177 throws com.liferay.portal.kernel.exception.PortalException,
178 com.liferay.portal.kernel.exception.SystemException {
179 _shoppingCategoryLocalService.deleteCategory(categoryId);
180 }
181
182 public void deleteCategory(
183 com.liferay.portlet.shopping.model.ShoppingCategory category)
184 throws com.liferay.portal.kernel.exception.PortalException,
185 com.liferay.portal.kernel.exception.SystemException {
186 _shoppingCategoryLocalService.deleteCategory(category);
187 }
188
189 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
190 long groupId)
191 throws com.liferay.portal.kernel.exception.SystemException {
192 return _shoppingCategoryLocalService.getCategories(groupId);
193 }
194
195 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
196 long groupId, long parentCategoryId, int start, int end)
197 throws com.liferay.portal.kernel.exception.SystemException {
198 return _shoppingCategoryLocalService.getCategories(groupId,
199 parentCategoryId, start, end);
200 }
201
202 public int getCategoriesCount(long groupId, long parentCategoryId)
203 throws com.liferay.portal.kernel.exception.SystemException {
204 return _shoppingCategoryLocalService.getCategoriesCount(groupId,
205 parentCategoryId);
206 }
207
208 public com.liferay.portlet.shopping.model.ShoppingCategory getCategory(
209 long categoryId)
210 throws com.liferay.portal.kernel.exception.PortalException,
211 com.liferay.portal.kernel.exception.SystemException {
212 return _shoppingCategoryLocalService.getCategory(categoryId);
213 }
214
215 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getParentCategories(
216 long categoryId)
217 throws com.liferay.portal.kernel.exception.PortalException,
218 com.liferay.portal.kernel.exception.SystemException {
219 return _shoppingCategoryLocalService.getParentCategories(categoryId);
220 }
221
222 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getParentCategories(
223 com.liferay.portlet.shopping.model.ShoppingCategory category)
224 throws com.liferay.portal.kernel.exception.PortalException,
225 com.liferay.portal.kernel.exception.SystemException {
226 return _shoppingCategoryLocalService.getParentCategories(category);
227 }
228
229 public com.liferay.portlet.shopping.model.ShoppingCategory getParentCategory(
230 com.liferay.portlet.shopping.model.ShoppingCategory category)
231 throws com.liferay.portal.kernel.exception.PortalException,
232 com.liferay.portal.kernel.exception.SystemException {
233 return _shoppingCategoryLocalService.getParentCategory(category);
234 }
235
236 public void getSubcategoryIds(java.util.List<Long> categoryIds,
237 long groupId, long categoryId)
238 throws com.liferay.portal.kernel.exception.SystemException {
239 _shoppingCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
240 categoryId);
241 }
242
243 public com.liferay.portlet.shopping.model.ShoppingCategory updateCategory(
244 long categoryId, long parentCategoryId, java.lang.String name,
245 java.lang.String description, boolean mergeWithParentCategory,
246 com.liferay.portal.service.ServiceContext serviceContext)
247 throws com.liferay.portal.kernel.exception.PortalException,
248 com.liferay.portal.kernel.exception.SystemException {
249 return _shoppingCategoryLocalService.updateCategory(categoryId,
250 parentCategoryId, name, description, mergeWithParentCategory,
251 serviceContext);
252 }
253
254 public ShoppingCategoryLocalService getWrappedShoppingCategoryLocalService() {
255 return _shoppingCategoryLocalService;
256 }
257
258 private ShoppingCategoryLocalService _shoppingCategoryLocalService;
259 }