001
014
015 package com.liferay.portlet.asset.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class AssetCategoryServiceWrapper implements AssetCategoryService,
030 ServiceWrapper<AssetCategoryService> {
031 public AssetCategoryServiceWrapper(
032 AssetCategoryService assetCategoryService) {
033 _assetCategoryService = assetCategoryService;
034 }
035
036 @Override
037 public com.liferay.portlet.asset.model.AssetCategory addCategory(
038 long parentCategoryId,
039 java.util.Map<java.util.Locale, java.lang.String> titleMap,
040 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
041 long vocabularyId, java.lang.String[] categoryProperties,
042 com.liferay.portal.service.ServiceContext serviceContext)
043 throws com.liferay.portal.kernel.exception.PortalException {
044 return _assetCategoryService.addCategory(parentCategoryId, titleMap,
045 descriptionMap, vocabularyId, categoryProperties, serviceContext);
046 }
047
048 @Override
049 public com.liferay.portlet.asset.model.AssetCategory addCategory(
050 java.lang.String title, long vocabularyId,
051 com.liferay.portal.service.ServiceContext serviceContext)
052 throws com.liferay.portal.kernel.exception.PortalException {
053 return _assetCategoryService.addCategory(title, vocabularyId,
054 serviceContext);
055 }
056
057
061 @Deprecated
062 @Override
063 public void deleteCategories(long[] categoryIds)
064 throws com.liferay.portal.kernel.exception.PortalException {
065 _assetCategoryService.deleteCategories(categoryIds);
066 }
067
068 @Override
069 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> deleteCategories(
070 long[] categoryIds,
071 com.liferay.portal.service.ServiceContext serviceContext)
072 throws com.liferay.portal.kernel.exception.PortalException {
073 return _assetCategoryService.deleteCategories(categoryIds,
074 serviceContext);
075 }
076
077 @Override
078 public void deleteCategory(long categoryId)
079 throws com.liferay.portal.kernel.exception.PortalException {
080 _assetCategoryService.deleteCategory(categoryId);
081 }
082
083
088 @Override
089 public java.lang.String getBeanIdentifier() {
090 return _assetCategoryService.getBeanIdentifier();
091 }
092
093 @Override
094 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
095 java.lang.String className, long classPK)
096 throws com.liferay.portal.kernel.exception.PortalException {
097 return _assetCategoryService.getCategories(className, classPK);
098 }
099
100 @Override
101 public com.liferay.portlet.asset.model.AssetCategory getCategory(
102 long categoryId)
103 throws com.liferay.portal.kernel.exception.PortalException {
104 return _assetCategoryService.getCategory(categoryId);
105 }
106
107 @Override
108 public java.lang.String getCategoryPath(long categoryId)
109 throws com.liferay.portal.kernel.exception.PortalException {
110 return _assetCategoryService.getCategoryPath(categoryId);
111 }
112
113 @Override
114 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
115 long parentCategoryId)
116 throws com.liferay.portal.kernel.exception.PortalException {
117 return _assetCategoryService.getChildCategories(parentCategoryId);
118 }
119
120 @Override
121 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
122 long parentCategoryId, int start, int end,
123 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
124 throws com.liferay.portal.kernel.exception.PortalException {
125 return _assetCategoryService.getChildCategories(parentCategoryId,
126 start, end, obc);
127 }
128
129
133 @Deprecated
134 @Override
135 public com.liferay.portal.kernel.json.JSONArray getJSONSearch(
136 long groupId, java.lang.String name, long[] vocabularyIds, int start,
137 int end) throws com.liferay.portal.kernel.exception.PortalException {
138 return _assetCategoryService.getJSONSearch(groupId, name,
139 vocabularyIds, start, end);
140 }
141
142
147 @Deprecated
148 @Override
149 public com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(
150 long groupId, java.lang.String name, long vocabularyId, int start,
151 int end,
152 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
153 throws com.liferay.portal.kernel.exception.PortalException {
154 return _assetCategoryService.getJSONVocabularyCategories(groupId, name,
155 vocabularyId, start, end, obc);
156 }
157
158
163 @Deprecated
164 @Override
165 public com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(
166 long vocabularyId, int start, int end,
167 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
168 throws com.liferay.portal.kernel.exception.PortalException {
169 return _assetCategoryService.getJSONVocabularyCategories(vocabularyId,
170 start, end, obc);
171 }
172
173 @Override
174 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
175 long groupId, java.lang.String name, long vocabularyId, int start,
176 int end,
177 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
178 return _assetCategoryService.getVocabularyCategories(groupId, name,
179 vocabularyId, start, end, obc);
180 }
181
182 @Override
183 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
184 long groupId, long parentCategoryId, long vocabularyId, int start,
185 int end,
186 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
187 return _assetCategoryService.getVocabularyCategories(groupId,
188 parentCategoryId, vocabularyId, start, end, obc);
189 }
190
191 @Override
192 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
193 long parentCategoryId, long vocabularyId, int start, int end,
194 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
195 throws com.liferay.portal.kernel.exception.PortalException {
196 return _assetCategoryService.getVocabularyCategories(parentCategoryId,
197 vocabularyId, start, end, obc);
198 }
199
200 @Override
201 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
202 long vocabularyId, int start, int end,
203 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
204 throws com.liferay.portal.kernel.exception.PortalException {
205 return _assetCategoryService.getVocabularyCategories(vocabularyId,
206 start, end, obc);
207 }
208
209 @Override
210 public int getVocabularyCategoriesCount(long groupId,
211 java.lang.String name, long vocabularyId) {
212 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
213 name, vocabularyId);
214 }
215
216 @Override
217 public int getVocabularyCategoriesCount(long groupId, long parentCategory,
218 long vocabularyId) {
219 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
220 parentCategory, vocabularyId);
221 }
222
223 @Override
224 public int getVocabularyCategoriesCount(long groupId, long vocabularyId) {
225 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
226 vocabularyId);
227 }
228
229 @Override
230 public com.liferay.portlet.asset.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
231 long groupId, java.lang.String name, long vocabularyId, int start,
232 int end,
233 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
234 throws com.liferay.portal.kernel.exception.PortalException {
235 return _assetCategoryService.getVocabularyCategoriesDisplay(groupId,
236 name, vocabularyId, start, end, obc);
237 }
238
239 @Override
240 public com.liferay.portlet.asset.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
241 long vocabularyId, int start, int end,
242 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
243 throws com.liferay.portal.kernel.exception.PortalException {
244 return _assetCategoryService.getVocabularyCategoriesDisplay(vocabularyId,
245 start, end, obc);
246 }
247
248 @Override
249 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
250 long groupId, long vocabularyId, int start, int end,
251 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
252 return _assetCategoryService.getVocabularyRootCategories(groupId,
253 vocabularyId, start, end, obc);
254 }
255
256
261 @Deprecated
262 @Override
263 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
264 long vocabularyId, int start, int end,
265 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
266 throws com.liferay.portal.kernel.exception.PortalException {
267 return _assetCategoryService.getVocabularyRootCategories(vocabularyId,
268 start, end, obc);
269 }
270
271 @Override
272 public int getVocabularyRootCategoriesCount(long groupId, long vocabularyId) {
273 return _assetCategoryService.getVocabularyRootCategoriesCount(groupId,
274 vocabularyId);
275 }
276
277 @Override
278 public com.liferay.portlet.asset.model.AssetCategory moveCategory(
279 long categoryId, long parentCategoryId, long vocabularyId,
280 com.liferay.portal.service.ServiceContext serviceContext)
281 throws com.liferay.portal.kernel.exception.PortalException {
282 return _assetCategoryService.moveCategory(categoryId, parentCategoryId,
283 vocabularyId, serviceContext);
284 }
285
286 @Override
287 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
288 long groupId, java.lang.String keywords, long vocabularyId, int start,
289 int end,
290 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
291 return _assetCategoryService.search(groupId, keywords, vocabularyId,
292 start, end, obc);
293 }
294
295 @Override
296 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
297 java.lang.String name, java.lang.String[] categoryProperties,
298 int start, int end)
299 throws com.liferay.portal.kernel.exception.PortalException {
300 return _assetCategoryService.search(groupId, name, categoryProperties,
301 start, end);
302 }
303
304 @Override
305 public com.liferay.portal.kernel.json.JSONArray search(long[] groupIds,
306 java.lang.String name, long[] vocabularyIds, int start, int end)
307 throws com.liferay.portal.kernel.exception.PortalException {
308 return _assetCategoryService.search(groupIds, name, vocabularyIds,
309 start, end);
310 }
311
312 @Override
313 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
314 long groupId, java.lang.String title, long parentCategoryId,
315 long vocabularyId, int start, int end)
316 throws com.liferay.portal.kernel.exception.PortalException {
317 return _assetCategoryService.searchCategoriesDisplay(groupId, title,
318 parentCategoryId, vocabularyId, start, end);
319 }
320
321 @Override
322 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
323 long groupId, java.lang.String title, long vocabularyId, int start,
324 int end) throws com.liferay.portal.kernel.exception.PortalException {
325 return _assetCategoryService.searchCategoriesDisplay(groupId, title,
326 vocabularyId, start, end);
327 }
328
329 @Override
330 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
331 long[] groupIds, java.lang.String title, long[] parentCategoryIds,
332 long[] vocabularyIds, int start, int end)
333 throws com.liferay.portal.kernel.exception.PortalException {
334 return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
335 parentCategoryIds, vocabularyIds, start, end);
336 }
337
338 @Override
339 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
340 long[] groupIds, java.lang.String title, long[] vocabularyIds,
341 int start, int end)
342 throws com.liferay.portal.kernel.exception.PortalException {
343 return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
344 vocabularyIds, start, end);
345 }
346
347
352 @Override
353 public void setBeanIdentifier(java.lang.String beanIdentifier) {
354 _assetCategoryService.setBeanIdentifier(beanIdentifier);
355 }
356
357 @Override
358 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
359 long categoryId, long parentCategoryId,
360 java.util.Map<java.util.Locale, java.lang.String> titleMap,
361 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
362 long vocabularyId, java.lang.String[] categoryProperties,
363 com.liferay.portal.service.ServiceContext serviceContext)
364 throws com.liferay.portal.kernel.exception.PortalException {
365 return _assetCategoryService.updateCategory(categoryId,
366 parentCategoryId, titleMap, descriptionMap, vocabularyId,
367 categoryProperties, serviceContext);
368 }
369
370
373 @Deprecated
374 public AssetCategoryService getWrappedAssetCategoryService() {
375 return _assetCategoryService;
376 }
377
378
381 @Deprecated
382 public void setWrappedAssetCategoryService(
383 AssetCategoryService assetCategoryService) {
384 _assetCategoryService = assetCategoryService;
385 }
386
387 @Override
388 public AssetCategoryService getWrappedService() {
389 return _assetCategoryService;
390 }
391
392 @Override
393 public void setWrappedService(AssetCategoryService assetCategoryService) {
394 _assetCategoryService = assetCategoryService;
395 }
396
397 private AssetCategoryService _assetCategoryService;
398 }