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