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                    com.liferay.portal.service.permission.ModelPermissions modelPermissions)
110                    throws com.liferay.portal.kernel.exception.PortalException {
111                    _assetCategoryLocalService.addCategoryResources(category,
112                            modelPermissions);
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            @Override
479            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories() {
480                    return _assetCategoryLocalService.getCategories();
481            }
482    
483            @Override
484            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
485                    java.lang.String className, long classPK) {
486                    return _assetCategoryLocalService.getCategories(className, classPK);
487            }
488    
489            @Override
490            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
491                    long classNameId, long classPK) {
492                    return _assetCategoryLocalService.getCategories(classNameId, classPK);
493            }
494    
495            @Override
496            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
497                    com.liferay.portal.kernel.search.Hits hits)
498                    throws com.liferay.portal.kernel.exception.PortalException {
499                    return _assetCategoryLocalService.getCategories(hits);
500            }
501    
502            @Override
503            public com.liferay.portlet.asset.model.AssetCategory getCategory(
504                    long categoryId)
505                    throws com.liferay.portal.kernel.exception.PortalException {
506                    return _assetCategoryLocalService.getCategory(categoryId);
507            }
508    
509            @Override
510            public com.liferay.portlet.asset.model.AssetCategory getCategory(
511                    java.lang.String uuid, long groupId)
512                    throws com.liferay.portal.kernel.exception.PortalException {
513                    return _assetCategoryLocalService.getCategory(uuid, groupId);
514            }
515    
516            @Override
517            public long[] getCategoryIds(java.lang.String className, long classPK) {
518                    return _assetCategoryLocalService.getCategoryIds(className, classPK);
519            }
520    
521            @Override
522            public java.lang.String[] getCategoryNames() {
523                    return _assetCategoryLocalService.getCategoryNames();
524            }
525    
526            @Override
527            public java.lang.String[] getCategoryNames(java.lang.String className,
528                    long classPK) {
529                    return _assetCategoryLocalService.getCategoryNames(className, classPK);
530            }
531    
532            @Override
533            public java.lang.String[] getCategoryNames(long classNameId, long classPK) {
534                    return _assetCategoryLocalService.getCategoryNames(classNameId, classPK);
535            }
536    
537            @Override
538            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
539                    long parentCategoryId) {
540                    return _assetCategoryLocalService.getChildCategories(parentCategoryId);
541            }
542    
543            @Override
544            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
545                    long parentCategoryId, int start, int end,
546                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
547                    return _assetCategoryLocalService.getChildCategories(parentCategoryId,
548                            start, end, obc);
549            }
550    
551            @Override
552            public int getChildCategoriesCount(long parentCategoryId) {
553                    return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
554            }
555    
556            @Override
557            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
558                    long entryId) {
559                    return _assetCategoryLocalService.getEntryCategories(entryId);
560            }
561    
562            @Override
563            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
564                    com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
565                    return _assetCategoryLocalService.getExportActionableDynamicQuery(portletDataContext);
566            }
567    
568            @Override
569            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
570                    return _assetCategoryLocalService.getIndexableActionableDynamicQuery();
571            }
572    
573            /**
574            * Returns the OSGi service identifier.
575            *
576            * @return the OSGi service identifier
577            */
578            @Override
579            public java.lang.String getOSGiServiceIdentifier() {
580                    return _assetCategoryLocalService.getOSGiServiceIdentifier();
581            }
582    
583            @Override
584            public com.liferay.portal.model.PersistedModel getPersistedModel(
585                    java.io.Serializable primaryKeyObj)
586                    throws com.liferay.portal.kernel.exception.PortalException {
587                    return _assetCategoryLocalService.getPersistedModel(primaryKeyObj);
588            }
589    
590            @Override
591            public java.util.List<java.lang.Long> getSubcategoryIds(
592                    long parentCategoryId) {
593                    return _assetCategoryLocalService.getSubcategoryIds(parentCategoryId);
594            }
595    
596            @Override
597            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
598                    long parentCategoryId, long vocabularyId, int start, int end,
599                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
600                    return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
601                            vocabularyId, start, end, obc);
602            }
603    
604            @Override
605            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
606                    long vocabularyId, int start, int end,
607                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
608                    return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
609                            start, end, obc);
610            }
611    
612            @Override
613            public int getVocabularyCategoriesCount(long vocabularyId) {
614                    return _assetCategoryLocalService.getVocabularyCategoriesCount(vocabularyId);
615            }
616    
617            @Override
618            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
619                    long vocabularyId, int start, int end,
620                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
621                    return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
622                            start, end, obc);
623            }
624    
625            @Override
626            public int getVocabularyRootCategoriesCount(long vocabularyId) {
627                    return _assetCategoryLocalService.getVocabularyRootCategoriesCount(vocabularyId);
628            }
629    
630            @Override
631            public boolean hasAssetEntryAssetCategories(long entryId) {
632                    return _assetCategoryLocalService.hasAssetEntryAssetCategories(entryId);
633            }
634    
635            @Override
636            public boolean hasAssetEntryAssetCategory(long entryId, long categoryId) {
637                    return _assetCategoryLocalService.hasAssetEntryAssetCategory(entryId,
638                            categoryId);
639            }
640    
641            @Override
642            public com.liferay.portlet.asset.model.AssetCategory mergeCategories(
643                    long fromCategoryId, long toCategoryId)
644                    throws com.liferay.portal.kernel.exception.PortalException {
645                    return _assetCategoryLocalService.mergeCategories(fromCategoryId,
646                            toCategoryId);
647            }
648    
649            @Override
650            public com.liferay.portlet.asset.model.AssetCategory moveCategory(
651                    long categoryId, long parentCategoryId, long vocabularyId,
652                    com.liferay.portal.service.ServiceContext serviceContext)
653                    throws com.liferay.portal.kernel.exception.PortalException {
654                    return _assetCategoryLocalService.moveCategory(categoryId,
655                            parentCategoryId, vocabularyId, serviceContext);
656            }
657    
658            @Override
659            public void rebuildTree(long groupId, boolean force) {
660                    _assetCategoryLocalService.rebuildTree(groupId, force);
661            }
662    
663            @Override
664            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
665                    long groupId, java.lang.String name,
666                    java.lang.String[] categoryProperties, int start, int end) {
667                    return _assetCategoryLocalService.search(groupId, name,
668                            categoryProperties, start, end);
669            }
670    
671            @Override
672            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(
673                    long companyId, long[] groupIds, java.lang.String title,
674                    long[] parentCategoryIds, long[] vocabularyIds, int start, int end)
675                    throws com.liferay.portal.kernel.exception.PortalException {
676                    return _assetCategoryLocalService.searchCategories(companyId, groupIds,
677                            title, parentCategoryIds, vocabularyIds, start, end);
678            }
679    
680            @Override
681            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(
682                    long companyId, long groupIds, java.lang.String title,
683                    long vocabularyId, int start, int end)
684                    throws com.liferay.portal.kernel.exception.PortalException {
685                    return _assetCategoryLocalService.searchCategories(companyId, groupIds,
686                            title, vocabularyId, start, end);
687            }
688    
689            @Override
690            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(
691                    long companyId, long[] groupIds, java.lang.String title,
692                    long[] vocabularyIds, long[] parentCategoryIds, int start, int end,
693                    com.liferay.portal.kernel.search.Sort sort)
694                    throws com.liferay.portal.kernel.exception.PortalException {
695                    return _assetCategoryLocalService.searchCategories(companyId, groupIds,
696                            title, vocabularyIds, parentCategoryIds, start, end, sort);
697            }
698    
699            @Override
700            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(
701                    long companyId, long[] groupIds, java.lang.String title,
702                    long[] vocabularyIds, int start, int end)
703                    throws com.liferay.portal.kernel.exception.PortalException {
704                    return _assetCategoryLocalService.searchCategories(companyId, groupIds,
705                            title, vocabularyIds, start, end);
706            }
707    
708            @Override
709            public void setAssetEntryAssetCategories(long entryId, long[] categoryIds) {
710                    _assetCategoryLocalService.setAssetEntryAssetCategories(entryId,
711                            categoryIds);
712            }
713    
714            /**
715            * Updates the asset category in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
716            *
717            * @param assetCategory the asset category
718            * @return the asset category that was updated
719            */
720            @Override
721            public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
722                    com.liferay.portlet.asset.model.AssetCategory assetCategory) {
723                    return _assetCategoryLocalService.updateAssetCategory(assetCategory);
724            }
725    
726            @Override
727            public com.liferay.portlet.asset.model.AssetCategory updateCategory(
728                    long userId, long categoryId, long parentCategoryId,
729                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
730                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
731                    long vocabularyId, java.lang.String[] categoryProperties,
732                    com.liferay.portal.service.ServiceContext serviceContext)
733                    throws com.liferay.portal.kernel.exception.PortalException {
734                    return _assetCategoryLocalService.updateCategory(userId, categoryId,
735                            parentCategoryId, titleMap, descriptionMap, vocabularyId,
736                            categoryProperties, serviceContext);
737            }
738    
739            @Override
740            public AssetCategoryLocalService getWrappedService() {
741                    return _assetCategoryLocalService;
742            }
743    
744            @Override
745            public void setWrappedService(
746                    AssetCategoryLocalService assetCategoryLocalService) {
747                    _assetCategoryLocalService = assetCategoryLocalService;
748            }
749    
750            private AssetCategoryLocalService _assetCategoryLocalService;
751    }