001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.asset.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link AssetCategoryLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see AssetCategoryLocalService
026     * @generated
027     */
028    @ProviderType
029    public class AssetCategoryLocalServiceWrapper
030            implements AssetCategoryLocalService,
031                    ServiceWrapper<AssetCategoryLocalService> {
032            public AssetCategoryLocalServiceWrapper(
033                    AssetCategoryLocalService assetCategoryLocalService) {
034                    _assetCategoryLocalService = assetCategoryLocalService;
035            }
036    
037            /**
038            * Adds the asset category to the database. Also notifies the appropriate model listeners.
039            *
040            * @param assetCategory the asset category
041            * @return the asset category that was added
042            */
043            @Override
044            public com.liferay.portlet.asset.model.AssetCategory addAssetCategory(
045                    com.liferay.portlet.asset.model.AssetCategory assetCategory) {
046                    return _assetCategoryLocalService.addAssetCategory(assetCategory);
047            }
048    
049            @Override
050            public void addAssetEntryAssetCategories(long entryId,
051                    java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories) {
052                    _assetCategoryLocalService.addAssetEntryAssetCategories(entryId,
053                            AssetCategories);
054            }
055    
056            @Override
057            public void addAssetEntryAssetCategories(long entryId, long[] categoryIds) {
058                    _assetCategoryLocalService.addAssetEntryAssetCategories(entryId,
059                            categoryIds);
060            }
061    
062            @Override
063            public void addAssetEntryAssetCategory(long entryId,
064                    com.liferay.portlet.asset.model.AssetCategory assetCategory) {
065                    _assetCategoryLocalService.addAssetEntryAssetCategory(entryId,
066                            assetCategory);
067            }
068    
069            @Override
070            public void addAssetEntryAssetCategory(long entryId, long categoryId) {
071                    _assetCategoryLocalService.addAssetEntryAssetCategory(entryId,
072                            categoryId);
073            }
074    
075            @Override
076            public com.liferay.portlet.asset.model.AssetCategory addCategory(
077                    long userId, long parentCategoryId,
078                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
079                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
080                    long vocabularyId, java.lang.String[] categoryProperties,
081                    com.liferay.portal.service.ServiceContext serviceContext)
082                    throws com.liferay.portal.kernel.exception.PortalException {
083                    return _assetCategoryLocalService.addCategory(userId, parentCategoryId,
084                            titleMap, descriptionMap, vocabularyId, categoryProperties,
085                            serviceContext);
086            }
087    
088            @Override
089            public com.liferay.portlet.asset.model.AssetCategory addCategory(
090                    long userId, java.lang.String title, long vocabularyId,
091                    com.liferay.portal.service.ServiceContext serviceContext)
092                    throws com.liferay.portal.kernel.exception.PortalException {
093                    return _assetCategoryLocalService.addCategory(userId, title,
094                            vocabularyId, serviceContext);
095            }
096    
097            @Override
098            public void addCategoryResources(
099                    com.liferay.portlet.asset.model.AssetCategory category,
100                    boolean addGroupPermissions, boolean addGuestPermissions)
101                    throws com.liferay.portal.kernel.exception.PortalException {
102                    _assetCategoryLocalService.addCategoryResources(category,
103                            addGroupPermissions, addGuestPermissions);
104            }
105    
106            @Override
107            public void addCategoryResources(
108                    com.liferay.portlet.asset.model.AssetCategory category,
109                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
110                    throws com.liferay.portal.kernel.exception.PortalException {
111                    _assetCategoryLocalService.addCategoryResources(category,
112                            groupPermissions, guestPermissions);
113            }
114    
115            @Override
116            public void clearAssetEntryAssetCategories(long entryId) {
117                    _assetCategoryLocalService.clearAssetEntryAssetCategories(entryId);
118            }
119    
120            /**
121            * Creates a new asset category with the primary key. Does not add the asset category to the database.
122            *
123            * @param categoryId the primary key for the new asset category
124            * @return the new asset category
125            */
126            @Override
127            public com.liferay.portlet.asset.model.AssetCategory createAssetCategory(
128                    long categoryId) {
129                    return _assetCategoryLocalService.createAssetCategory(categoryId);
130            }
131    
132            /**
133            * Deletes the asset category from the database. Also notifies the appropriate model listeners.
134            *
135            * @param assetCategory the asset category
136            * @return the asset category that was removed
137            */
138            @Override
139            public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
140                    com.liferay.portlet.asset.model.AssetCategory assetCategory) {
141                    return _assetCategoryLocalService.deleteAssetCategory(assetCategory);
142            }
143    
144            /**
145            * Deletes the asset category with the primary key from the database. Also notifies the appropriate model listeners.
146            *
147            * @param categoryId the primary key of the asset category
148            * @return the asset category that was removed
149            * @throws PortalException if a asset category with the primary key could not be found
150            */
151            @Override
152            public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
153                    long categoryId)
154                    throws com.liferay.portal.kernel.exception.PortalException {
155                    return _assetCategoryLocalService.deleteAssetCategory(categoryId);
156            }
157    
158            @Override
159            public void deleteAssetEntryAssetCategories(long entryId,
160                    java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories) {
161                    _assetCategoryLocalService.deleteAssetEntryAssetCategories(entryId,
162                            AssetCategories);
163            }
164    
165            @Override
166            public void deleteAssetEntryAssetCategories(long entryId, long[] categoryIds) {
167                    _assetCategoryLocalService.deleteAssetEntryAssetCategories(entryId,
168                            categoryIds);
169            }
170    
171            @Override
172            public void deleteAssetEntryAssetCategory(long entryId,
173                    com.liferay.portlet.asset.model.AssetCategory assetCategory) {
174                    _assetCategoryLocalService.deleteAssetEntryAssetCategory(entryId,
175                            assetCategory);
176            }
177    
178            @Override
179            public void deleteAssetEntryAssetCategory(long entryId, long categoryId) {
180                    _assetCategoryLocalService.deleteAssetEntryAssetCategory(entryId,
181                            categoryId);
182            }
183    
184            @Override
185            public 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 com.liferay.portlet.asset.model.AssetCategory getCategory(
507                    long categoryId)
508                    throws com.liferay.portal.kernel.exception.PortalException {
509                    return _assetCategoryLocalService.getCategory(categoryId);
510            }
511    
512            @Override
513            public com.liferay.portlet.asset.model.AssetCategory getCategory(
514                    java.lang.String uuid, long groupId)
515                    throws com.liferay.portal.kernel.exception.PortalException {
516                    return _assetCategoryLocalService.getCategory(uuid, groupId);
517            }
518    
519            @Override
520            public long[] getCategoryIds(java.lang.String className, long classPK) {
521                    return _assetCategoryLocalService.getCategoryIds(className, classPK);
522            }
523    
524            @Override
525            public java.lang.String[] getCategoryNames() {
526                    return _assetCategoryLocalService.getCategoryNames();
527            }
528    
529            @Override
530            public java.lang.String[] getCategoryNames(java.lang.String className,
531                    long classPK) {
532                    return _assetCategoryLocalService.getCategoryNames(className, classPK);
533            }
534    
535            @Override
536            public java.lang.String[] getCategoryNames(long classNameId, long classPK) {
537                    return _assetCategoryLocalService.getCategoryNames(classNameId, classPK);
538            }
539    
540            @Override
541            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
542                    long parentCategoryId) {
543                    return _assetCategoryLocalService.getChildCategories(parentCategoryId);
544            }
545    
546            @Override
547            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
548                    long parentCategoryId, int start, int end,
549                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
550                    return _assetCategoryLocalService.getChildCategories(parentCategoryId,
551                            start, end, obc);
552            }
553    
554            @Override
555            public int getChildCategoriesCount(long parentCategoryId) {
556                    return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
557            }
558    
559            @Override
560            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
561                    long entryId) {
562                    return _assetCategoryLocalService.getEntryCategories(entryId);
563            }
564    
565            @Override
566            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
567                    com.liferay.portal.kernel.lar.PortletDataContext portletDataContext) {
568                    return _assetCategoryLocalService.getExportActionableDynamicQuery(portletDataContext);
569            }
570    
571            @Override
572            public com.liferay.portal.model.PersistedModel getPersistedModel(
573                    java.io.Serializable primaryKeyObj)
574                    throws com.liferay.portal.kernel.exception.PortalException {
575                    return _assetCategoryLocalService.getPersistedModel(primaryKeyObj);
576            }
577    
578            @Override
579            public java.util.List<java.lang.Long> getSubcategoryIds(
580                    long parentCategoryId) {
581                    return _assetCategoryLocalService.getSubcategoryIds(parentCategoryId);
582            }
583    
584            @Override
585            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
586                    long parentCategoryId, long vocabularyId, int start, int end,
587                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
588                    return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
589                            vocabularyId, start, end, obc);
590            }
591    
592            @Override
593            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
594                    long vocabularyId, int start, int end,
595                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
596                    return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
597                            start, end, obc);
598            }
599    
600            @Override
601            public int getVocabularyCategoriesCount(long vocabularyId) {
602                    return _assetCategoryLocalService.getVocabularyCategoriesCount(vocabularyId);
603            }
604    
605            @Override
606            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
607                    long vocabularyId, int start, int end,
608                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
609                    return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
610                            start, end, obc);
611            }
612    
613            @Override
614            public int getVocabularyRootCategoriesCount(long vocabularyId) {
615                    return _assetCategoryLocalService.getVocabularyRootCategoriesCount(vocabularyId);
616            }
617    
618            @Override
619            public boolean hasAssetEntryAssetCategories(long entryId) {
620                    return _assetCategoryLocalService.hasAssetEntryAssetCategories(entryId);
621            }
622    
623            @Override
624            public boolean hasAssetEntryAssetCategory(long entryId, long categoryId) {
625                    return _assetCategoryLocalService.hasAssetEntryAssetCategory(entryId,
626                            categoryId);
627            }
628    
629            @Override
630            public com.liferay.portlet.asset.model.AssetCategory mergeCategories(
631                    long fromCategoryId, long toCategoryId)
632                    throws com.liferay.portal.kernel.exception.PortalException {
633                    return _assetCategoryLocalService.mergeCategories(fromCategoryId,
634                            toCategoryId);
635            }
636    
637            @Override
638            public com.liferay.portlet.asset.model.AssetCategory moveCategory(
639                    long categoryId, long parentCategoryId, long vocabularyId,
640                    com.liferay.portal.service.ServiceContext serviceContext)
641                    throws com.liferay.portal.kernel.exception.PortalException {
642                    return _assetCategoryLocalService.moveCategory(categoryId,
643                            parentCategoryId, vocabularyId, serviceContext);
644            }
645    
646            @Override
647            public void rebuildTree(long groupId, boolean force) {
648                    _assetCategoryLocalService.rebuildTree(groupId, force);
649            }
650    
651            @Override
652            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
653                    long groupId, java.lang.String name,
654                    java.lang.String[] categoryProperties, int start, int end) {
655                    return _assetCategoryLocalService.search(groupId, name,
656                            categoryProperties, start, end);
657            }
658    
659            @Override
660            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(
661                    long companyId, long[] groupIds, java.lang.String title,
662                    long[] parentCategoryIds, long[] vocabularyIds, int start, int end)
663                    throws com.liferay.portal.kernel.exception.PortalException {
664                    return _assetCategoryLocalService.searchCategories(companyId, groupIds,
665                            title, parentCategoryIds, vocabularyIds, start, end);
666            }
667    
668            @Override
669            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(
670                    long companyId, long groupIds, java.lang.String title,
671                    long vocabularyId, int start, int end)
672                    throws com.liferay.portal.kernel.exception.PortalException {
673                    return _assetCategoryLocalService.searchCategories(companyId, groupIds,
674                            title, vocabularyId, start, end);
675            }
676    
677            @Override
678            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(
679                    long companyId, long[] groupIds, java.lang.String title,
680                    long[] vocabularyIds, int start, int end)
681                    throws com.liferay.portal.kernel.exception.PortalException {
682                    return _assetCategoryLocalService.searchCategories(companyId, groupIds,
683                            title, vocabularyIds, start, end);
684            }
685    
686            @Override
687            public void setAssetEntryAssetCategories(long entryId, long[] categoryIds) {
688                    _assetCategoryLocalService.setAssetEntryAssetCategories(entryId,
689                            categoryIds);
690            }
691    
692            /**
693            * Sets the Spring bean ID for this bean.
694            *
695            * @param beanIdentifier the Spring bean ID for this bean
696            */
697            @Override
698            public void setBeanIdentifier(java.lang.String beanIdentifier) {
699                    _assetCategoryLocalService.setBeanIdentifier(beanIdentifier);
700            }
701    
702            /**
703            * Updates the asset category in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
704            *
705            * @param assetCategory the asset category
706            * @return the asset category that was updated
707            */
708            @Override
709            public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
710                    com.liferay.portlet.asset.model.AssetCategory assetCategory) {
711                    return _assetCategoryLocalService.updateAssetCategory(assetCategory);
712            }
713    
714            @Override
715            public com.liferay.portlet.asset.model.AssetCategory updateCategory(
716                    long userId, long categoryId, long parentCategoryId,
717                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
718                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
719                    long vocabularyId, java.lang.String[] categoryProperties,
720                    com.liferay.portal.service.ServiceContext serviceContext)
721                    throws com.liferay.portal.kernel.exception.PortalException {
722                    return _assetCategoryLocalService.updateCategory(userId, categoryId,
723                            parentCategoryId, titleMap, descriptionMap, vocabularyId,
724                            categoryProperties, serviceContext);
725            }
726    
727            /**
728             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
729             */
730            @Deprecated
731            public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
732                    return _assetCategoryLocalService;
733            }
734    
735            /**
736             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
737             */
738            @Deprecated
739            public void setWrappedAssetCategoryLocalService(
740                    AssetCategoryLocalService assetCategoryLocalService) {
741                    _assetCategoryLocalService = assetCategoryLocalService;
742            }
743    
744            @Override
745            public AssetCategoryLocalService getWrappedService() {
746                    return _assetCategoryLocalService;
747            }
748    
749            @Override
750            public void setWrappedService(
751                    AssetCategoryLocalService assetCategoryLocalService) {
752                    _assetCategoryLocalService = assetCategoryLocalService;
753            }
754    
755            private AssetCategoryLocalService _assetCategoryLocalService;
756    }