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