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.portlet.asset.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link AssetCategoryLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see AssetCategoryLocalService
026     * @generated
027     */
028    @ProviderType
029    public class AssetCategoryLocalServiceWrapper
030            implements AssetCategoryLocalService,
031                    ServiceWrapper<AssetCategoryLocalService> {
032            public AssetCategoryLocalServiceWrapper(
033                    AssetCategoryLocalService assetCategoryLocalService) {
034                    _assetCategoryLocalService = assetCategoryLocalService;
035            }
036    
037            /**
038            * Adds the asset category to the database. Also notifies the appropriate model listeners.
039            *
040            * @param assetCategory the asset category
041            * @return the asset category that was added
042            */
043            @Override
044            public com.liferay.portlet.asset.model.AssetCategory addAssetCategory(
045                    com.liferay.portlet.asset.model.AssetCategory assetCategory) {
046                    return _assetCategoryLocalService.addAssetCategory(assetCategory);
047            }
048    
049            @Override
050            public void addAssetEntryAssetCategories(long entryId,
051                    java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories) {
052                    _assetCategoryLocalService.addAssetEntryAssetCategories(entryId,
053                            AssetCategories);
054            }
055    
056            @Override
057            public void addAssetEntryAssetCategories(long entryId, long[] categoryIds) {
058                    _assetCategoryLocalService.addAssetEntryAssetCategories(entryId,
059                            categoryIds);
060            }
061    
062            @Override
063            public void addAssetEntryAssetCategory(long entryId,
064                    com.liferay.portlet.asset.model.AssetCategory assetCategory) {
065                    _assetCategoryLocalService.addAssetEntryAssetCategory(entryId,
066                            assetCategory);
067            }
068    
069            @Override
070            public void addAssetEntryAssetCategory(long entryId, long categoryId) {
071                    _assetCategoryLocalService.addAssetEntryAssetCategory(entryId,
072                            categoryId);
073            }
074    
075            @Override
076            public com.liferay.portlet.asset.model.AssetCategory addCategory(
077                    long userId, long parentCategoryId,
078                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
079                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
080                    long vocabularyId, java.lang.String[] categoryProperties,
081                    com.liferay.portal.service.ServiceContext serviceContext)
082                    throws com.liferay.portal.kernel.exception.PortalException {
083                    return _assetCategoryLocalService.addCategory(userId, parentCategoryId,
084                            titleMap, descriptionMap, vocabularyId, categoryProperties,
085                            serviceContext);
086            }
087    
088            @Override
089            public com.liferay.portlet.asset.model.AssetCategory addCategory(
090                    long userId, java.lang.String title, long vocabularyId,
091                    com.liferay.portal.service.ServiceContext serviceContext)
092                    throws com.liferay.portal.kernel.exception.PortalException {
093                    return _assetCategoryLocalService.addCategory(userId, title,
094                            vocabularyId, serviceContext);
095            }
096    
097            @Override
098            public void addCategoryResources(
099                    com.liferay.portlet.asset.model.AssetCategory category,
100                    boolean addGroupPermissions, boolean addGuestPermissions)
101                    throws com.liferay.portal.kernel.exception.PortalException {
102                    _assetCategoryLocalService.addCategoryResources(category,
103                            addGroupPermissions, addGuestPermissions);
104            }
105    
106            @Override
107            public void addCategoryResources(
108                    com.liferay.portlet.asset.model.AssetCategory category,
109                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
110                    throws com.liferay.portal.kernel.exception.PortalException {
111                    _assetCategoryLocalService.addCategoryResources(category,
112                            groupPermissions, guestPermissions);
113            }
114    
115            @Override
116            public void clearAssetEntryAssetCategories(long entryId) {
117                    _assetCategoryLocalService.clearAssetEntryAssetCategories(entryId);
118            }
119    
120            /**
121            * Creates a new asset category with the primary key. Does not add the asset category to the database.
122            *
123            * @param categoryId the primary key for the new asset category
124            * @return the new asset category
125            */
126            @Override
127            public com.liferay.portlet.asset.model.AssetCategory createAssetCategory(
128                    long categoryId) {
129                    return _assetCategoryLocalService.createAssetCategory(categoryId);
130            }
131    
132            /**
133            * Deletes the asset category from the database. Also notifies the appropriate model listeners.
134            *
135            * @param assetCategory the asset category
136            * @return the asset category that was removed
137            */
138            @Override
139            public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
140                    com.liferay.portlet.asset.model.AssetCategory assetCategory) {
141                    return _assetCategoryLocalService.deleteAssetCategory(assetCategory);
142            }
143    
144            /**
145            * Deletes the asset category with the primary key from the database. Also notifies the appropriate model listeners.
146            *
147            * @param categoryId the primary key of the asset category
148            * @return the asset category that was removed
149            * @throws PortalException if a asset category with the primary key could not be found
150            */
151            @Override
152            public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
153                    long categoryId)
154                    throws com.liferay.portal.kernel.exception.PortalException {
155                    return _assetCategoryLocalService.deleteAssetCategory(categoryId);
156            }
157    
158            @Override
159            public void deleteAssetEntryAssetCategories(long entryId,
160                    java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories) {
161                    _assetCategoryLocalService.deleteAssetEntryAssetCategories(entryId,
162                            AssetCategories);
163            }
164    
165            @Override
166            public void deleteAssetEntryAssetCategories(long entryId, long[] categoryIds) {
167                    _assetCategoryLocalService.deleteAssetEntryAssetCategories(entryId,
168                            categoryIds);
169            }
170    
171            @Override
172            public void deleteAssetEntryAssetCategory(long entryId,
173                    com.liferay.portlet.asset.model.AssetCategory assetCategory) {
174                    _assetCategoryLocalService.deleteAssetEntryAssetCategory(entryId,
175                            assetCategory);
176            }
177    
178            @Override
179            public void deleteAssetEntryAssetCategory(long entryId, long categoryId) {
180                    _assetCategoryLocalService.deleteAssetEntryAssetCategory(entryId,
181                            categoryId);
182            }
183    
184            @Override
185            public com.liferay.portlet.asset.model.AssetCategory deleteCategory(
186                    com.liferay.portlet.asset.model.AssetCategory category)
187                    throws com.liferay.portal.kernel.exception.PortalException {
188                    return _assetCategoryLocalService.deleteCategory(category);
189            }
190    
191            @Override
192            public com.liferay.portlet.asset.model.AssetCategory deleteCategory(
193                    com.liferay.portlet.asset.model.AssetCategory category,
194                    boolean childCategory)
195                    throws com.liferay.portal.kernel.exception.PortalException {
196                    return _assetCategoryLocalService.deleteCategory(category, childCategory);
197            }
198    
199            @Override
200            public com.liferay.portlet.asset.model.AssetCategory deleteCategory(
201                    long categoryId)
202                    throws com.liferay.portal.kernel.exception.PortalException {
203                    return _assetCategoryLocalService.deleteCategory(categoryId);
204            }
205    
206            /**
207            * @throws PortalException
208            */
209            @Override
210            public com.liferay.portal.model.PersistedModel deletePersistedModel(
211                    com.liferay.portal.model.PersistedModel persistedModel)
212                    throws com.liferay.portal.kernel.exception.PortalException {
213                    return _assetCategoryLocalService.deletePersistedModel(persistedModel);
214            }
215    
216            @Override
217            public void deleteVocabularyCategories(long vocabularyId)
218                    throws com.liferay.portal.kernel.exception.PortalException {
219                    _assetCategoryLocalService.deleteVocabularyCategories(vocabularyId);
220            }
221    
222            @Override
223            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
224                    return _assetCategoryLocalService.dynamicQuery();
225            }
226    
227            /**
228            * Performs a dynamic query on the database and returns the matching rows.
229            *
230            * @param dynamicQuery the dynamic query
231            * @return the matching rows
232            */
233            @Override
234            public <T> java.util.List<T> dynamicQuery(
235                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
236                    return _assetCategoryLocalService.dynamicQuery(dynamicQuery);
237            }
238    
239            /**
240            * Performs a dynamic query on the database and returns a range of the matching rows.
241            *
242            * <p>
243            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
244            * </p>
245            *
246            * @param dynamicQuery the dynamic query
247            * @param start the lower bound of the range of model instances
248            * @param end the upper bound of the range of model instances (not inclusive)
249            * @return the range of matching rows
250            */
251            @Override
252            public <T> java.util.List<T> dynamicQuery(
253                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
254                    int end) {
255                    return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
256            }
257    
258            /**
259            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
260            *
261            * <p>
262            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
263            * </p>
264            *
265            * @param dynamicQuery the dynamic query
266            * @param start the lower bound of the range of model instances
267            * @param end the upper bound of the range of model instances (not inclusive)
268            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
269            * @return the ordered range of matching rows
270            */
271            @Override
272            public <T> java.util.List<T> dynamicQuery(
273                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
274                    int end,
275                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
276                    return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start,
277                            end, orderByComparator);
278            }
279    
280            /**
281            * Returns the number of rows that match the dynamic query.
282            *
283            * @param dynamicQuery the dynamic query
284            * @return the number of rows that match the dynamic query
285            */
286            @Override
287            public long dynamicQueryCount(
288                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
289                    return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery);
290            }
291    
292            /**
293            * Returns the number of rows that match the dynamic query.
294            *
295            * @param dynamicQuery the dynamic query
296            * @param projection the projection to apply to the query
297            * @return the number of rows that match the dynamic query
298            */
299            @Override
300            public long dynamicQueryCount(
301                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
302                    com.liferay.portal.kernel.dao.orm.Projection projection) {
303                    return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery,
304                            projection);
305            }
306    
307            @Override
308            public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategory(
309                    long categoryId) {
310                    return _assetCategoryLocalService.fetchAssetCategory(categoryId);
311            }
312    
313            /**
314            * Returns the asset category matching the UUID and group.
315            *
316            * @param uuid the asset category's UUID
317            * @param groupId the primary key of the group
318            * @return the matching asset category, or <code>null</code> if a matching asset category could not be found
319            */
320            @Override
321            public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategoryByUuidAndGroupId(
322                    java.lang.String uuid, long groupId) {
323                    return _assetCategoryLocalService.fetchAssetCategoryByUuidAndGroupId(uuid,
324                            groupId);
325            }
326    
327            @Override
328            public com.liferay.portlet.asset.model.AssetCategory fetchCategory(
329                    long categoryId) {
330                    return _assetCategoryLocalService.fetchCategory(categoryId);
331            }
332    
333            @Override
334            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
335                    return _assetCategoryLocalService.getActionableDynamicQuery();
336            }
337    
338            /**
339            * Returns a range of all the asset categories.
340            *
341            * <p>
342            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
343            * </p>
344            *
345            * @param start the lower bound of the range of asset categories
346            * @param end the upper bound of the range of asset categories (not inclusive)
347            * @return the range of asset categories
348            */
349            @Override
350            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
351                    int start, int end) {
352                    return _assetCategoryLocalService.getAssetCategories(start, end);
353            }
354    
355            @Override
356            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategoriesByUuidAndCompanyId(
357                    java.lang.String uuid, long companyId) {
358                    return _assetCategoryLocalService.getAssetCategoriesByUuidAndCompanyId(uuid,
359                            companyId);
360            }
361    
362            @Override
363            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategoriesByUuidAndCompanyId(
364                    java.lang.String uuid, long companyId, int start, int end,
365                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> orderByComparator) {
366                    return _assetCategoryLocalService.getAssetCategoriesByUuidAndCompanyId(uuid,
367                            companyId, start, end, orderByComparator);
368            }
369    
370            /**
371            * Returns the number of asset categories.
372            *
373            * @return the number of asset categories
374            */
375            @Override
376            public int getAssetCategoriesCount() {
377                    return _assetCategoryLocalService.getAssetCategoriesCount();
378            }
379    
380            /**
381            * Returns the asset category with the primary key.
382            *
383            * @param categoryId the primary key of the asset category
384            * @return the asset category
385            * @throws PortalException if a asset category with the primary key could not be found
386            */
387            @Override
388            public com.liferay.portlet.asset.model.AssetCategory getAssetCategory(
389                    long categoryId)
390                    throws com.liferay.portal.kernel.exception.PortalException {
391                    return _assetCategoryLocalService.getAssetCategory(categoryId);
392            }
393    
394            /**
395            * Returns the asset category matching the UUID and group.
396            *
397            * @param uuid the asset category's UUID
398            * @param groupId the primary key of the group
399            * @return the matching asset category
400            * @throws PortalException if a matching asset category could not be found
401            */
402            @Override
403            public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndGroupId(
404                    java.lang.String uuid, long groupId)
405                    throws com.liferay.portal.kernel.exception.PortalException {
406                    return _assetCategoryLocalService.getAssetCategoryByUuidAndGroupId(uuid,
407                            groupId);
408            }
409    
410            @Override
411            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
412                    long entryId) {
413                    return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId);
414            }
415    
416            @Override
417            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
418                    long entryId, int start, int end) {
419                    return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId,
420                            start, end);
421            }
422    
423            @Override
424            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
425                    long entryId, int start, int end,
426                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> orderByComparator) {
427                    return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId,
428                            start, end, orderByComparator);
429            }
430    
431            @Override
432            public int getAssetEntryAssetCategoriesCount(long entryId) {
433                    return _assetCategoryLocalService.getAssetEntryAssetCategoriesCount(entryId);
434            }
435    
436            /**
437            * Returns the entryIds of the asset entries associated with the asset category.
438            *
439            * @param categoryId the categoryId of the asset category
440            * @return long[] the entryIds of asset entries associated with the asset category
441            */
442            @Override
443            public long[] getAssetEntryPrimaryKeys(long categoryId) {
444                    return _assetCategoryLocalService.getAssetEntryPrimaryKeys(categoryId);
445            }
446    
447            /**
448            * Returns the Spring bean ID for this bean.
449            *
450            * @return the Spring bean ID for this bean
451            */
452            @Override
453            public java.lang.String getBeanIdentifier() {
454                    return _assetCategoryLocalService.getBeanIdentifier();
455            }
456    
457            @Override
458            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories() {
459                    return _assetCategoryLocalService.getCategories();
460            }
461    
462            @Override
463            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
464                    java.lang.String className, long classPK) {
465                    return _assetCategoryLocalService.getCategories(className, classPK);
466            }
467    
468            @Override
469            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
470                    long classNameId, long classPK) {
471                    return _assetCategoryLocalService.getCategories(classNameId, classPK);
472            }
473    
474            @Override
475            public com.liferay.portlet.asset.model.AssetCategory getCategory(
476                    long categoryId)
477                    throws com.liferay.portal.kernel.exception.PortalException {
478                    return _assetCategoryLocalService.getCategory(categoryId);
479            }
480    
481            @Override
482            public com.liferay.portlet.asset.model.AssetCategory getCategory(
483                    java.lang.String uuid, long groupId)
484                    throws com.liferay.portal.kernel.exception.PortalException {
485                    return _assetCategoryLocalService.getCategory(uuid, groupId);
486            }
487    
488            @Override
489            public long[] getCategoryIds(java.lang.String className, long classPK) {
490                    return _assetCategoryLocalService.getCategoryIds(className, classPK);
491            }
492    
493            @Override
494            public java.lang.String[] getCategoryNames() {
495                    return _assetCategoryLocalService.getCategoryNames();
496            }
497    
498            @Override
499            public java.lang.String[] getCategoryNames(java.lang.String className,
500                    long classPK) {
501                    return _assetCategoryLocalService.getCategoryNames(className, classPK);
502            }
503    
504            @Override
505            public java.lang.String[] getCategoryNames(long classNameId, long classPK) {
506                    return _assetCategoryLocalService.getCategoryNames(classNameId, classPK);
507            }
508    
509            @Override
510            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
511                    long parentCategoryId) {
512                    return _assetCategoryLocalService.getChildCategories(parentCategoryId);
513            }
514    
515            @Override
516            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
517                    long parentCategoryId, int start, int end,
518                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
519                    return _assetCategoryLocalService.getChildCategories(parentCategoryId,
520                            start, end, obc);
521            }
522    
523            @Override
524            public int getChildCategoriesCount(long parentCategoryId) {
525                    return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
526            }
527    
528            @Override
529            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
530                    long entryId) {
531                    return _assetCategoryLocalService.getEntryCategories(entryId);
532            }
533    
534            @Override
535            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
536                    com.liferay.portal.kernel.lar.PortletDataContext portletDataContext) {
537                    return _assetCategoryLocalService.getExportActionableDynamicQuery(portletDataContext);
538            }
539    
540            @Override
541            public com.liferay.portal.model.PersistedModel getPersistedModel(
542                    java.io.Serializable primaryKeyObj)
543                    throws com.liferay.portal.kernel.exception.PortalException {
544                    return _assetCategoryLocalService.getPersistedModel(primaryKeyObj);
545            }
546    
547            @Override
548            public java.util.List<java.lang.Long> getSubcategoryIds(
549                    long parentCategoryId) {
550                    return _assetCategoryLocalService.getSubcategoryIds(parentCategoryId);
551            }
552    
553            @Override
554            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
555                    long parentCategoryId, long vocabularyId, int start, int end,
556                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
557                    return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
558                            vocabularyId, start, end, obc);
559            }
560    
561            @Override
562            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
563                    long vocabularyId, int start, int end,
564                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
565                    return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
566                            start, end, obc);
567            }
568    
569            @Override
570            public int getVocabularyCategoriesCount(long vocabularyId) {
571                    return _assetCategoryLocalService.getVocabularyCategoriesCount(vocabularyId);
572            }
573    
574            @Override
575            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
576                    long vocabularyId, int start, int end,
577                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
578                    return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
579                            start, end, obc);
580            }
581    
582            @Override
583            public int getVocabularyRootCategoriesCount(long vocabularyId) {
584                    return _assetCategoryLocalService.getVocabularyRootCategoriesCount(vocabularyId);
585            }
586    
587            @Override
588            public boolean hasAssetEntryAssetCategories(long entryId) {
589                    return _assetCategoryLocalService.hasAssetEntryAssetCategories(entryId);
590            }
591    
592            @Override
593            public boolean hasAssetEntryAssetCategory(long entryId, long categoryId) {
594                    return _assetCategoryLocalService.hasAssetEntryAssetCategory(entryId,
595                            categoryId);
596            }
597    
598            @Override
599            public com.liferay.portlet.asset.model.AssetCategory mergeCategories(
600                    long fromCategoryId, long toCategoryId)
601                    throws com.liferay.portal.kernel.exception.PortalException {
602                    return _assetCategoryLocalService.mergeCategories(fromCategoryId,
603                            toCategoryId);
604            }
605    
606            @Override
607            public com.liferay.portlet.asset.model.AssetCategory moveCategory(
608                    long categoryId, long parentCategoryId, long vocabularyId,
609                    com.liferay.portal.service.ServiceContext serviceContext)
610                    throws com.liferay.portal.kernel.exception.PortalException {
611                    return _assetCategoryLocalService.moveCategory(categoryId,
612                            parentCategoryId, vocabularyId, serviceContext);
613            }
614    
615            @Override
616            public void rebuildTree(long groupId, boolean force) {
617                    _assetCategoryLocalService.rebuildTree(groupId, force);
618            }
619    
620            @Override
621            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
622                    long groupId, java.lang.String name,
623                    java.lang.String[] categoryProperties, int start, int end) {
624                    return _assetCategoryLocalService.search(groupId, name,
625                            categoryProperties, start, end);
626            }
627    
628            @Override
629            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(
630                    long companyId, long[] groupIds, java.lang.String title,
631                    long[] parentCategoryIds, long[] vocabularyIds, int start, int end)
632                    throws com.liferay.portal.kernel.exception.PortalException {
633                    return _assetCategoryLocalService.searchCategories(companyId, groupIds,
634                            title, parentCategoryIds, vocabularyIds, start, end);
635            }
636    
637            @Override
638            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(
639                    long companyId, long groupIds, java.lang.String title,
640                    long vocabularyId, int start, int end)
641                    throws com.liferay.portal.kernel.exception.PortalException {
642                    return _assetCategoryLocalService.searchCategories(companyId, groupIds,
643                            title, vocabularyId, start, end);
644            }
645    
646            @Override
647            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(
648                    long companyId, long[] groupIds, java.lang.String title,
649                    long[] vocabularyIds, int start, int end)
650                    throws com.liferay.portal.kernel.exception.PortalException {
651                    return _assetCategoryLocalService.searchCategories(companyId, groupIds,
652                            title, vocabularyIds, start, end);
653            }
654    
655            @Override
656            public void setAssetEntryAssetCategories(long entryId, long[] categoryIds) {
657                    _assetCategoryLocalService.setAssetEntryAssetCategories(entryId,
658                            categoryIds);
659            }
660    
661            /**
662            * Sets the Spring bean ID for this bean.
663            *
664            * @param beanIdentifier the Spring bean ID for this bean
665            */
666            @Override
667            public void setBeanIdentifier(java.lang.String beanIdentifier) {
668                    _assetCategoryLocalService.setBeanIdentifier(beanIdentifier);
669            }
670    
671            /**
672            * Updates the asset category in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
673            *
674            * @param assetCategory the asset category
675            * @return the asset category that was updated
676            */
677            @Override
678            public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
679                    com.liferay.portlet.asset.model.AssetCategory assetCategory) {
680                    return _assetCategoryLocalService.updateAssetCategory(assetCategory);
681            }
682    
683            @Override
684            public com.liferay.portlet.asset.model.AssetCategory updateCategory(
685                    long userId, long categoryId, long parentCategoryId,
686                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
687                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
688                    long vocabularyId, java.lang.String[] categoryProperties,
689                    com.liferay.portal.service.ServiceContext serviceContext)
690                    throws com.liferay.portal.kernel.exception.PortalException {
691                    return _assetCategoryLocalService.updateCategory(userId, categoryId,
692                            parentCategoryId, titleMap, descriptionMap, vocabularyId,
693                            categoryProperties, serviceContext);
694            }
695    
696            /**
697             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
698             */
699            @Deprecated
700            public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
701                    return _assetCategoryLocalService;
702            }
703    
704            /**
705             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
706             */
707            @Deprecated
708            public void setWrappedAssetCategoryLocalService(
709                    AssetCategoryLocalService assetCategoryLocalService) {
710                    _assetCategoryLocalService = assetCategoryLocalService;
711            }
712    
713            @Override
714            public AssetCategoryLocalService getWrappedService() {
715                    return _assetCategoryLocalService;
716            }
717    
718            @Override
719            public void setWrappedService(
720                    AssetCategoryLocalService assetCategoryLocalService) {
721                    _assetCategoryLocalService = assetCategoryLocalService;
722            }
723    
724            private AssetCategoryLocalService _assetCategoryLocalService;
725    }