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