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 groupId, 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, groupId,
084                            parentCategoryId, titleMap, descriptionMap, vocabularyId,
085                            categoryProperties, serviceContext);
086            }
087    
088            @Override
089            public com.liferay.portlet.asset.model.AssetCategory addCategory(
090                    long userId, long groupId, 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, groupId, 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 void deleteCategories(
186                    java.util.List<com.liferay.portlet.asset.model.AssetCategory> categories)
187                    throws com.liferay.portal.kernel.exception.PortalException {
188                    _assetCategoryLocalService.deleteCategories(categories);
189            }
190    
191            @Override
192            public void deleteCategories(long[] categoryIds)
193                    throws com.liferay.portal.kernel.exception.PortalException {
194                    _assetCategoryLocalService.deleteCategories(categoryIds);
195            }
196    
197            @Override
198            public com.liferay.portlet.asset.model.AssetCategory deleteCategory(
199                    com.liferay.portlet.asset.model.AssetCategory category)
200                    throws com.liferay.portal.kernel.exception.PortalException {
201                    return _assetCategoryLocalService.deleteCategory(category);
202            }
203    
204            @Override
205            public com.liferay.portlet.asset.model.AssetCategory deleteCategory(
206                    com.liferay.portlet.asset.model.AssetCategory category,
207                    boolean skipRebuildTree)
208                    throws com.liferay.portal.kernel.exception.PortalException {
209                    return _assetCategoryLocalService.deleteCategory(category,
210                            skipRebuildTree);
211            }
212    
213            @Override
214            public com.liferay.portlet.asset.model.AssetCategory deleteCategory(
215                    long categoryId)
216                    throws com.liferay.portal.kernel.exception.PortalException {
217                    return _assetCategoryLocalService.deleteCategory(categoryId);
218            }
219    
220            /**
221            * @throws PortalException
222            */
223            @Override
224            public com.liferay.portal.model.PersistedModel deletePersistedModel(
225                    com.liferay.portal.model.PersistedModel persistedModel)
226                    throws com.liferay.portal.kernel.exception.PortalException {
227                    return _assetCategoryLocalService.deletePersistedModel(persistedModel);
228            }
229    
230            @Override
231            public void deleteVocabularyCategories(long vocabularyId)
232                    throws com.liferay.portal.kernel.exception.PortalException {
233                    _assetCategoryLocalService.deleteVocabularyCategories(vocabularyId);
234            }
235    
236            @Override
237            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
238                    return _assetCategoryLocalService.dynamicQuery();
239            }
240    
241            /**
242            * Performs a dynamic query on the database and returns the matching rows.
243            *
244            * @param dynamicQuery the dynamic query
245            * @return the matching rows
246            */
247            @Override
248            public <T> java.util.List<T> dynamicQuery(
249                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
250                    return _assetCategoryLocalService.dynamicQuery(dynamicQuery);
251            }
252    
253            /**
254            * Performs a dynamic query on the database and returns a range of the matching rows.
255            *
256            * <p>
257            * 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.
258            * </p>
259            *
260            * @param dynamicQuery the dynamic query
261            * @param start the lower bound of the range of model instances
262            * @param end the upper bound of the range of model instances (not inclusive)
263            * @return the range of matching rows
264            */
265            @Override
266            public <T> java.util.List<T> dynamicQuery(
267                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
268                    int end) {
269                    return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
270            }
271    
272            /**
273            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
274            *
275            * <p>
276            * 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.
277            * </p>
278            *
279            * @param dynamicQuery the dynamic query
280            * @param start the lower bound of the range of model instances
281            * @param end the upper bound of the range of model instances (not inclusive)
282            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
283            * @return the ordered range of matching rows
284            */
285            @Override
286            public <T> java.util.List<T> dynamicQuery(
287                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
288                    int end,
289                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
290                    return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start,
291                            end, orderByComparator);
292            }
293    
294            /**
295            * Returns the number of rows matching the dynamic query.
296            *
297            * @param dynamicQuery the dynamic query
298            * @return the number of rows matching the dynamic query
299            */
300            @Override
301            public long dynamicQueryCount(
302                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
303                    return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery);
304            }
305    
306            /**
307            * Returns the number of rows matching the dynamic query.
308            *
309            * @param dynamicQuery the dynamic query
310            * @param projection the projection to apply to the query
311            * @return the number of rows matching the dynamic query
312            */
313            @Override
314            public long dynamicQueryCount(
315                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
316                    com.liferay.portal.kernel.dao.orm.Projection projection) {
317                    return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery,
318                            projection);
319            }
320    
321            @Override
322            public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategory(
323                    long categoryId) {
324                    return _assetCategoryLocalService.fetchAssetCategory(categoryId);
325            }
326    
327            /**
328            * Returns the asset category matching the UUID and group.
329            *
330            * @param uuid the asset category's UUID
331            * @param groupId the primary key of the group
332            * @return the matching asset category, or <code>null</code> if a matching asset category could not be found
333            */
334            @Override
335            public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategoryByUuidAndGroupId(
336                    java.lang.String uuid, long groupId) {
337                    return _assetCategoryLocalService.fetchAssetCategoryByUuidAndGroupId(uuid,
338                            groupId);
339            }
340    
341            @Override
342            public com.liferay.portlet.asset.model.AssetCategory fetchCategory(
343                    long categoryId) {
344                    return _assetCategoryLocalService.fetchCategory(categoryId);
345            }
346    
347            @Override
348            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
349                    return _assetCategoryLocalService.getActionableDynamicQuery();
350            }
351    
352            /**
353            * Returns a range of all the asset categories.
354            *
355            * <p>
356            * 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.
357            * </p>
358            *
359            * @param start the lower bound of the range of asset categories
360            * @param end the upper bound of the range of asset categories (not inclusive)
361            * @return the range of asset categories
362            */
363            @Override
364            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
365                    int start, int end) {
366                    return _assetCategoryLocalService.getAssetCategories(start, end);
367            }
368    
369            /**
370            * Returns all the asset categories matching the UUID and company.
371            *
372            * @param uuid the UUID of the asset categories
373            * @param companyId the primary key of the company
374            * @return the matching asset categories, or an empty list if no matches were found
375            */
376            @Override
377            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategoriesByUuidAndCompanyId(
378                    java.lang.String uuid, long companyId) {
379                    return _assetCategoryLocalService.getAssetCategoriesByUuidAndCompanyId(uuid,
380                            companyId);
381            }
382    
383            /**
384            * Returns a range of asset categories matching the UUID and company.
385            *
386            * @param uuid the UUID of the asset categories
387            * @param companyId the primary key of the company
388            * @param start the lower bound of the range of asset categories
389            * @param end the upper bound of the range of asset categories (not inclusive)
390            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
391            * @return the range of matching asset categories, or an empty list if no matches were found
392            */
393            @Override
394            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategoriesByUuidAndCompanyId(
395                    java.lang.String uuid, long companyId, int start, int end,
396                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> orderByComparator) {
397                    return _assetCategoryLocalService.getAssetCategoriesByUuidAndCompanyId(uuid,
398                            companyId, start, end, orderByComparator);
399            }
400    
401            /**
402            * Returns the number of asset categories.
403            *
404            * @return the number of asset categories
405            */
406            @Override
407            public int getAssetCategoriesCount() {
408                    return _assetCategoryLocalService.getAssetCategoriesCount();
409            }
410    
411            /**
412            * Returns the asset category with the primary key.
413            *
414            * @param categoryId the primary key of the asset category
415            * @return the asset category
416            * @throws PortalException if a asset category with the primary key could not be found
417            */
418            @Override
419            public com.liferay.portlet.asset.model.AssetCategory getAssetCategory(
420                    long categoryId)
421                    throws com.liferay.portal.kernel.exception.PortalException {
422                    return _assetCategoryLocalService.getAssetCategory(categoryId);
423            }
424    
425            /**
426            * Returns the asset category matching the UUID and group.
427            *
428            * @param uuid the asset category's UUID
429            * @param groupId the primary key of the group
430            * @return the matching asset category
431            * @throws PortalException if a matching asset category could not be found
432            */
433            @Override
434            public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndGroupId(
435                    java.lang.String uuid, long groupId)
436                    throws com.liferay.portal.kernel.exception.PortalException {
437                    return _assetCategoryLocalService.getAssetCategoryByUuidAndGroupId(uuid,
438                            groupId);
439            }
440    
441            @Override
442            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
443                    long entryId) {
444                    return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId);
445            }
446    
447            @Override
448            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
449                    long entryId, int start, int end) {
450                    return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId,
451                            start, end);
452            }
453    
454            @Override
455            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
456                    long entryId, int start, int end,
457                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> orderByComparator) {
458                    return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId,
459                            start, end, orderByComparator);
460            }
461    
462            @Override
463            public int getAssetEntryAssetCategoriesCount(long entryId) {
464                    return _assetCategoryLocalService.getAssetEntryAssetCategoriesCount(entryId);
465            }
466    
467            /**
468            * Returns the entryIds of the asset entries associated with the asset category.
469            *
470            * @param categoryId the categoryId of the asset category
471            * @return long[] the entryIds of asset entries associated with the asset category
472            */
473            @Override
474            public long[] getAssetEntryPrimaryKeys(long categoryId) {
475                    return _assetCategoryLocalService.getAssetEntryPrimaryKeys(categoryId);
476            }
477    
478            /**
479            * Returns the Spring bean ID for this bean.
480            *
481            * @return the Spring bean ID for this bean
482            */
483            @Override
484            public java.lang.String getBeanIdentifier() {
485                    return _assetCategoryLocalService.getBeanIdentifier();
486            }
487    
488            @Override
489            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories() {
490                    return _assetCategoryLocalService.getCategories();
491            }
492    
493            @Override
494            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
495                    java.lang.String className, long classPK) {
496                    return _assetCategoryLocalService.getCategories(className, classPK);
497            }
498    
499            @Override
500            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
501                    long classNameId, long classPK) {
502                    return _assetCategoryLocalService.getCategories(classNameId, classPK);
503            }
504    
505            @Override
506            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
507                    com.liferay.portal.kernel.search.Hits hits)
508                    throws com.liferay.portal.kernel.exception.PortalException {
509                    return _assetCategoryLocalService.getCategories(hits);
510            }
511    
512            @Override
513            public com.liferay.portlet.asset.model.AssetCategory getCategory(
514                    long categoryId)
515                    throws com.liferay.portal.kernel.exception.PortalException {
516                    return _assetCategoryLocalService.getCategory(categoryId);
517            }
518    
519            @Override
520            public com.liferay.portlet.asset.model.AssetCategory getCategory(
521                    java.lang.String uuid, long groupId)
522                    throws com.liferay.portal.kernel.exception.PortalException {
523                    return _assetCategoryLocalService.getCategory(uuid, groupId);
524            }
525    
526            @Override
527            public long[] getCategoryIds(java.lang.String className, long classPK) {
528                    return _assetCategoryLocalService.getCategoryIds(className, classPK);
529            }
530    
531            @Override
532            public java.lang.String[] getCategoryNames() {
533                    return _assetCategoryLocalService.getCategoryNames();
534            }
535    
536            @Override
537            public java.lang.String[] getCategoryNames(java.lang.String className,
538                    long classPK) {
539                    return _assetCategoryLocalService.getCategoryNames(className, classPK);
540            }
541    
542            @Override
543            public java.lang.String[] getCategoryNames(long classNameId, long classPK) {
544                    return _assetCategoryLocalService.getCategoryNames(classNameId, classPK);
545            }
546    
547            @Override
548            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
549                    long parentCategoryId) {
550                    return _assetCategoryLocalService.getChildCategories(parentCategoryId);
551            }
552    
553            @Override
554            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
555                    long parentCategoryId, int start, int end,
556                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
557                    return _assetCategoryLocalService.getChildCategories(parentCategoryId,
558                            start, end, obc);
559            }
560    
561            @Override
562            public int getChildCategoriesCount(long parentCategoryId) {
563                    return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
564            }
565    
566            @Override
567            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
568                    long entryId) {
569                    return _assetCategoryLocalService.getEntryCategories(entryId);
570            }
571    
572            @Override
573            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
574                    com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
575                    return _assetCategoryLocalService.getExportActionableDynamicQuery(portletDataContext);
576            }
577    
578            @Override
579            public com.liferay.portal.model.PersistedModel getPersistedModel(
580                    java.io.Serializable primaryKeyObj)
581                    throws com.liferay.portal.kernel.exception.PortalException {
582                    return _assetCategoryLocalService.getPersistedModel(primaryKeyObj);
583            }
584    
585            @Override
586            public java.util.List<java.lang.Long> getSubcategoryIds(
587                    long parentCategoryId) {
588                    return _assetCategoryLocalService.getSubcategoryIds(parentCategoryId);
589            }
590    
591            @Override
592            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
593                    long parentCategoryId, long vocabularyId, int start, int end,
594                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
595                    return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
596                            vocabularyId, start, end, obc);
597            }
598    
599            @Override
600            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
601                    long vocabularyId, int start, int end,
602                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
603                    return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
604                            start, end, obc);
605            }
606    
607            @Override
608            public int getVocabularyCategoriesCount(long vocabularyId) {
609                    return _assetCategoryLocalService.getVocabularyCategoriesCount(vocabularyId);
610            }
611    
612            @Override
613            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
614                    long vocabularyId, int start, int end,
615                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
616                    return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
617                            start, end, obc);
618            }
619    
620            @Override
621            public int getVocabularyRootCategoriesCount(long vocabularyId) {
622                    return _assetCategoryLocalService.getVocabularyRootCategoriesCount(vocabularyId);
623            }
624    
625            @Override
626            public boolean hasAssetEntryAssetCategories(long entryId) {
627                    return _assetCategoryLocalService.hasAssetEntryAssetCategories(entryId);
628            }
629    
630            @Override
631            public boolean hasAssetEntryAssetCategory(long entryId, long categoryId) {
632                    return _assetCategoryLocalService.hasAssetEntryAssetCategory(entryId,
633                            categoryId);
634            }
635    
636            @Override
637            public com.liferay.portlet.asset.model.AssetCategory mergeCategories(
638                    long fromCategoryId, long toCategoryId)
639                    throws com.liferay.portal.kernel.exception.PortalException {
640                    return _assetCategoryLocalService.mergeCategories(fromCategoryId,
641                            toCategoryId);
642            }
643    
644            @Override
645            public com.liferay.portlet.asset.model.AssetCategory moveCategory(
646                    long categoryId, long parentCategoryId, long vocabularyId,
647                    com.liferay.portal.service.ServiceContext serviceContext)
648                    throws com.liferay.portal.kernel.exception.PortalException {
649                    return _assetCategoryLocalService.moveCategory(categoryId,
650                            parentCategoryId, vocabularyId, serviceContext);
651            }
652    
653            @Override
654            public void rebuildTree(long groupId, boolean force) {
655                    _assetCategoryLocalService.rebuildTree(groupId, force);
656            }
657    
658            @Override
659            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
660                    long groupId, java.lang.String name,
661                    java.lang.String[] categoryProperties, int start, int end) {
662                    return _assetCategoryLocalService.search(groupId, name,
663                            categoryProperties, start, end);
664            }
665    
666            @Override
667            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(
668                    long companyId, long[] groupIds, java.lang.String title,
669                    long[] parentCategoryIds, long[] vocabularyIds, int start, int end)
670                    throws com.liferay.portal.kernel.exception.PortalException {
671                    return _assetCategoryLocalService.searchCategories(companyId, groupIds,
672                            title, parentCategoryIds, vocabularyIds, start, end);
673            }
674    
675            @Override
676            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(
677                    long companyId, long groupIds, java.lang.String title,
678                    long vocabularyId, int start, int end)
679                    throws com.liferay.portal.kernel.exception.PortalException {
680                    return _assetCategoryLocalService.searchCategories(companyId, groupIds,
681                            title, vocabularyId, start, end);
682            }
683    
684            @Override
685            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(
686                    long companyId, long[] groupIds, java.lang.String title,
687                    long[] vocabularyIds, int start, int end)
688                    throws com.liferay.portal.kernel.exception.PortalException {
689                    return _assetCategoryLocalService.searchCategories(companyId, groupIds,
690                            title, vocabularyIds, start, end);
691            }
692    
693            @Override
694            public void setAssetEntryAssetCategories(long entryId, long[] categoryIds) {
695                    _assetCategoryLocalService.setAssetEntryAssetCategories(entryId,
696                            categoryIds);
697            }
698    
699            /**
700            * Sets the Spring bean ID for this bean.
701            *
702            * @param beanIdentifier the Spring bean ID for this bean
703            */
704            @Override
705            public void setBeanIdentifier(java.lang.String beanIdentifier) {
706                    _assetCategoryLocalService.setBeanIdentifier(beanIdentifier);
707            }
708    
709            /**
710            * Updates the asset category in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
711            *
712            * @param assetCategory the asset category
713            * @return the asset category that was updated
714            */
715            @Override
716            public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
717                    com.liferay.portlet.asset.model.AssetCategory assetCategory) {
718                    return _assetCategoryLocalService.updateAssetCategory(assetCategory);
719            }
720    
721            @Override
722            public com.liferay.portlet.asset.model.AssetCategory updateCategory(
723                    long userId, long categoryId, long parentCategoryId,
724                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
725                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
726                    long vocabularyId, java.lang.String[] categoryProperties,
727                    com.liferay.portal.service.ServiceContext serviceContext)
728                    throws com.liferay.portal.kernel.exception.PortalException {
729                    return _assetCategoryLocalService.updateCategory(userId, categoryId,
730                            parentCategoryId, titleMap, descriptionMap, vocabularyId,
731                            categoryProperties, serviceContext);
732            }
733    
734            /**
735             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
736             */
737            @Deprecated
738            public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
739                    return _assetCategoryLocalService;
740            }
741    
742            /**
743             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
744             */
745            @Deprecated
746            public void setWrappedAssetCategoryLocalService(
747                    AssetCategoryLocalService assetCategoryLocalService) {
748                    _assetCategoryLocalService = assetCategoryLocalService;
749            }
750    
751            @Override
752            public AssetCategoryLocalService getWrappedService() {
753                    return _assetCategoryLocalService;
754            }
755    
756            @Override
757            public void setWrappedService(
758                    AssetCategoryLocalService assetCategoryLocalService) {
759                    _assetCategoryLocalService = assetCategoryLocalService;
760            }
761    
762            private AssetCategoryLocalService _assetCategoryLocalService;
763    }