001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.asset.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link AssetCategoryService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see AssetCategoryService
026     * @generated
027     */
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.asset.kernel.model.AssetCategory addCategory(
038                    long groupId, 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.kernel.service.ServiceContext serviceContext)
043                    throws com.liferay.portal.kernel.exception.PortalException {
044                    return _assetCategoryService.addCategory(groupId, parentCategoryId,
045                            titleMap, descriptionMap, vocabularyId, categoryProperties,
046                            serviceContext);
047            }
048    
049            @Override
050            public com.liferay.asset.kernel.model.AssetCategory addCategory(
051                    long groupId, java.lang.String title, long vocabularyId,
052                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
053                    throws com.liferay.portal.kernel.exception.PortalException {
054                    return _assetCategoryService.addCategory(groupId, title, vocabularyId,
055                            serviceContext);
056            }
057    
058            @Override
059            public void deleteCategories(long[] categoryIds)
060                    throws com.liferay.portal.kernel.exception.PortalException {
061                    _assetCategoryService.deleteCategories(categoryIds);
062            }
063    
064            /**
065            * @deprecated As of 7.0.0, Replaced by {@link #deleteCategories(long[])}
066            */
067            @Deprecated
068            @Override
069            public java.util.List<com.liferay.asset.kernel.model.AssetCategory> deleteCategories(
070                    long[] categoryIds,
071                    com.liferay.portal.kernel.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            @Override
084            public com.liferay.asset.kernel.model.AssetCategory fetchCategory(
085                    long categoryId)
086                    throws com.liferay.portal.kernel.exception.PortalException {
087                    return _assetCategoryService.fetchCategory(categoryId);
088            }
089    
090            @Override
091            public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getCategories(
092                    java.lang.String className, long classPK)
093                    throws com.liferay.portal.kernel.exception.PortalException {
094                    return _assetCategoryService.getCategories(className, classPK);
095            }
096    
097            @Override
098            public com.liferay.asset.kernel.model.AssetCategory getCategory(
099                    long categoryId)
100                    throws com.liferay.portal.kernel.exception.PortalException {
101                    return _assetCategoryService.getCategory(categoryId);
102            }
103    
104            @Override
105            public java.lang.String getCategoryPath(long categoryId)
106                    throws com.liferay.portal.kernel.exception.PortalException {
107                    return _assetCategoryService.getCategoryPath(categoryId);
108            }
109    
110            @Override
111            public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getChildCategories(
112                    long parentCategoryId)
113                    throws com.liferay.portal.kernel.exception.PortalException {
114                    return _assetCategoryService.getChildCategories(parentCategoryId);
115            }
116    
117            @Override
118            public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getChildCategories(
119                    long parentCategoryId, int start, int end,
120                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
121                    throws com.liferay.portal.kernel.exception.PortalException {
122                    return _assetCategoryService.getChildCategories(parentCategoryId,
123                            start, end, obc);
124            }
125    
126            /**
127            * Returns the OSGi service identifier.
128            *
129            * @return the OSGi service identifier
130            */
131            @Override
132            public java.lang.String getOSGiServiceIdentifier() {
133                    return _assetCategoryService.getOSGiServiceIdentifier();
134            }
135    
136            @Override
137            public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(
138                    long groupId, java.lang.String name, long vocabularyId, int start,
139                    int end,
140                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) {
141                    return _assetCategoryService.getVocabularyCategories(groupId, name,
142                            vocabularyId, start, end, obc);
143            }
144    
145            @Override
146            public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(
147                    long groupId, long parentCategoryId, long vocabularyId, int start,
148                    int end,
149                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) {
150                    return _assetCategoryService.getVocabularyCategories(groupId,
151                            parentCategoryId, vocabularyId, start, end, obc);
152            }
153    
154            @Override
155            public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(
156                    long parentCategoryId, long vocabularyId, int start, int end,
157                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
158                    throws com.liferay.portal.kernel.exception.PortalException {
159                    return _assetCategoryService.getVocabularyCategories(parentCategoryId,
160                            vocabularyId, start, end, obc);
161            }
162    
163            @Override
164            public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(
165                    long vocabularyId, int start, int end,
166                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
167                    throws com.liferay.portal.kernel.exception.PortalException {
168                    return _assetCategoryService.getVocabularyCategories(vocabularyId,
169                            start, end, obc);
170            }
171    
172            @Override
173            public int getVocabularyCategoriesCount(long groupId,
174                    java.lang.String name, long vocabularyId) {
175                    return _assetCategoryService.getVocabularyCategoriesCount(groupId,
176                            name, vocabularyId);
177            }
178    
179            @Override
180            public int getVocabularyCategoriesCount(long groupId, long parentCategory,
181                    long vocabularyId) {
182                    return _assetCategoryService.getVocabularyCategoriesCount(groupId,
183                            parentCategory, vocabularyId);
184            }
185    
186            @Override
187            public int getVocabularyCategoriesCount(long groupId, long vocabularyId) {
188                    return _assetCategoryService.getVocabularyCategoriesCount(groupId,
189                            vocabularyId);
190            }
191    
192            @Override
193            public com.liferay.asset.kernel.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
194                    long groupId, java.lang.String name, long vocabularyId, int start,
195                    int end,
196                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
197                    throws com.liferay.portal.kernel.exception.PortalException {
198                    return _assetCategoryService.getVocabularyCategoriesDisplay(groupId,
199                            name, vocabularyId, start, end, obc);
200            }
201    
202            @Override
203            public com.liferay.asset.kernel.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
204                    long vocabularyId, int start, int end,
205                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
206                    throws com.liferay.portal.kernel.exception.PortalException {
207                    return _assetCategoryService.getVocabularyCategoriesDisplay(vocabularyId,
208                            start, end, obc);
209            }
210    
211            @Override
212            public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyRootCategories(
213                    long groupId, long vocabularyId, int start, int end,
214                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) {
215                    return _assetCategoryService.getVocabularyRootCategories(groupId,
216                            vocabularyId, start, end, obc);
217            }
218    
219            @Override
220            public int getVocabularyRootCategoriesCount(long groupId, long vocabularyId) {
221                    return _assetCategoryService.getVocabularyRootCategoriesCount(groupId,
222                            vocabularyId);
223            }
224    
225            @Override
226            public com.liferay.asset.kernel.model.AssetCategory moveCategory(
227                    long categoryId, long parentCategoryId, long vocabularyId,
228                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
229                    throws com.liferay.portal.kernel.exception.PortalException {
230                    return _assetCategoryService.moveCategory(categoryId, parentCategoryId,
231                            vocabularyId, serviceContext);
232            }
233    
234            @Override
235            public java.util.List<com.liferay.asset.kernel.model.AssetCategory> search(
236                    long groupId, java.lang.String keywords, long vocabularyId, int start,
237                    int end,
238                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) {
239                    return _assetCategoryService.search(groupId, keywords, vocabularyId,
240                            start, end, obc);
241            }
242    
243            @Override
244            public com.liferay.portal.kernel.json.JSONArray search(long groupId,
245                    java.lang.String name, java.lang.String[] categoryProperties,
246                    int start, int end)
247                    throws com.liferay.portal.kernel.exception.PortalException {
248                    return _assetCategoryService.search(groupId, name, categoryProperties,
249                            start, end);
250            }
251    
252            @Override
253            public com.liferay.portal.kernel.json.JSONArray search(long[] groupIds,
254                    java.lang.String name, long[] vocabularyIds, int start, int end)
255                    throws com.liferay.portal.kernel.exception.PortalException {
256                    return _assetCategoryService.search(groupIds, name, vocabularyIds,
257                            start, end);
258            }
259    
260            @Override
261            public com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
262                    long groupId, java.lang.String title, long parentCategoryId,
263                    long vocabularyId, int start, int end)
264                    throws com.liferay.portal.kernel.exception.PortalException {
265                    return _assetCategoryService.searchCategoriesDisplay(groupId, title,
266                            parentCategoryId, vocabularyId, start, end);
267            }
268    
269            @Override
270            public com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
271                    long groupId, java.lang.String title, long vocabularyId,
272                    long parentCategoryId, int start, int end,
273                    com.liferay.portal.kernel.search.Sort sort)
274                    throws com.liferay.portal.kernel.exception.PortalException {
275                    return _assetCategoryService.searchCategoriesDisplay(groupId, title,
276                            vocabularyId, parentCategoryId, start, end, sort);
277            }
278    
279            @Override
280            public com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
281                    long groupId, java.lang.String title, long vocabularyId, int start,
282                    int end) throws com.liferay.portal.kernel.exception.PortalException {
283                    return _assetCategoryService.searchCategoriesDisplay(groupId, title,
284                            vocabularyId, start, end);
285            }
286    
287            @Override
288            public com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
289                    long[] groupIds, java.lang.String title, long[] parentCategoryIds,
290                    long[] vocabularyIds, int start, int end)
291                    throws com.liferay.portal.kernel.exception.PortalException {
292                    return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
293                            parentCategoryIds, vocabularyIds, start, end);
294            }
295    
296            @Override
297            public com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
298                    long[] groupIds, java.lang.String title, long[] vocabularyIds,
299                    long[] parentCategoryIds, int start, int end,
300                    com.liferay.portal.kernel.search.Sort sort)
301                    throws com.liferay.portal.kernel.exception.PortalException {
302                    return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
303                            vocabularyIds, parentCategoryIds, start, end, sort);
304            }
305    
306            @Override
307            public com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
308                    long[] groupIds, java.lang.String title, long[] vocabularyIds,
309                    int start, int end)
310                    throws com.liferay.portal.kernel.exception.PortalException {
311                    return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
312                            vocabularyIds, start, end);
313            }
314    
315            @Override
316            public com.liferay.asset.kernel.model.AssetCategory updateCategory(
317                    long categoryId, long parentCategoryId,
318                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
319                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
320                    long vocabularyId, java.lang.String[] categoryProperties,
321                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
322                    throws com.liferay.portal.kernel.exception.PortalException {
323                    return _assetCategoryService.updateCategory(categoryId,
324                            parentCategoryId, titleMap, descriptionMap, vocabularyId,
325                            categoryProperties, serviceContext);
326            }
327    
328            @Override
329            public AssetCategoryService getWrappedService() {
330                    return _assetCategoryService;
331            }
332    
333            @Override
334            public void setWrappedService(AssetCategoryService assetCategoryService) {
335                    _assetCategoryService = assetCategoryService;
336            }
337    
338            private AssetCategoryService _assetCategoryService;
339    }