001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.asset.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link AssetCategoryLocalService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       AssetCategoryLocalService
026     * @generated
027     */
028    public class AssetCategoryLocalServiceWrapper
029            implements AssetCategoryLocalService,
030                    ServiceWrapper<AssetCategoryLocalService> {
031            public AssetCategoryLocalServiceWrapper(
032                    AssetCategoryLocalService assetCategoryLocalService) {
033                    _assetCategoryLocalService = assetCategoryLocalService;
034            }
035    
036            /**
037            * Adds the asset category to the database. Also notifies the appropriate model listeners.
038            *
039            * @param assetCategory the asset category
040            * @return the asset category that was added
041            * @throws SystemException if a system exception occurred
042            */
043            public com.liferay.portlet.asset.model.AssetCategory addAssetCategory(
044                    com.liferay.portlet.asset.model.AssetCategory assetCategory)
045                    throws com.liferay.portal.kernel.exception.SystemException {
046                    return _assetCategoryLocalService.addAssetCategory(assetCategory);
047            }
048    
049            /**
050            * Creates a new asset category with the primary key. Does not add the asset category to the database.
051            *
052            * @param categoryId the primary key for the new asset category
053            * @return the new asset category
054            */
055            public com.liferay.portlet.asset.model.AssetCategory createAssetCategory(
056                    long categoryId) {
057                    return _assetCategoryLocalService.createAssetCategory(categoryId);
058            }
059    
060            /**
061            * Deletes the asset category with the primary key from the database. Also notifies the appropriate model listeners.
062            *
063            * @param categoryId the primary key of the asset category
064            * @return the asset category that was removed
065            * @throws PortalException if a asset category with the primary key could not be found
066            * @throws SystemException if a system exception occurred
067            */
068            public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
069                    long categoryId)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _assetCategoryLocalService.deleteAssetCategory(categoryId);
073            }
074    
075            /**
076            * Deletes the asset category from the database. Also notifies the appropriate model listeners.
077            *
078            * @param assetCategory the asset category
079            * @return the asset category that was removed
080            * @throws SystemException if a system exception occurred
081            */
082            public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
083                    com.liferay.portlet.asset.model.AssetCategory assetCategory)
084                    throws com.liferay.portal.kernel.exception.SystemException {
085                    return _assetCategoryLocalService.deleteAssetCategory(assetCategory);
086            }
087    
088            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
089                    return _assetCategoryLocalService.dynamicQuery();
090            }
091    
092            /**
093            * Performs a dynamic query on the database and returns the matching rows.
094            *
095            * @param dynamicQuery the dynamic query
096            * @return the matching rows
097            * @throws SystemException if a system exception occurred
098            */
099            @SuppressWarnings("rawtypes")
100            public java.util.List dynamicQuery(
101                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _assetCategoryLocalService.dynamicQuery(dynamicQuery);
104            }
105    
106            /**
107            * Performs a dynamic query on the database and returns a range of the matching rows.
108            *
109            * <p>
110            * 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.
111            * </p>
112            *
113            * @param dynamicQuery the dynamic query
114            * @param start the lower bound of the range of model instances
115            * @param end the upper bound of the range of model instances (not inclusive)
116            * @return the range of matching rows
117            * @throws SystemException if a system exception occurred
118            */
119            @SuppressWarnings("rawtypes")
120            public java.util.List dynamicQuery(
121                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122                    int end) throws com.liferay.portal.kernel.exception.SystemException {
123                    return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
124            }
125    
126            /**
127            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
128            *
129            * <p>
130            * 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.
131            * </p>
132            *
133            * @param dynamicQuery the dynamic query
134            * @param start the lower bound of the range of model instances
135            * @param end the upper bound of the range of model instances (not inclusive)
136            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
137            * @return the ordered range of matching rows
138            * @throws SystemException if a system exception occurred
139            */
140            @SuppressWarnings("rawtypes")
141            public java.util.List dynamicQuery(
142                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
143                    int end,
144                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145                    throws com.liferay.portal.kernel.exception.SystemException {
146                    return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start,
147                            end, orderByComparator);
148            }
149    
150            /**
151            * Returns the number of rows that match the dynamic query.
152            *
153            * @param dynamicQuery the dynamic query
154            * @return the number of rows that match the dynamic query
155            * @throws SystemException if a system exception occurred
156            */
157            public long dynamicQueryCount(
158                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
159                    throws com.liferay.portal.kernel.exception.SystemException {
160                    return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery);
161            }
162    
163            public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategory(
164                    long categoryId)
165                    throws com.liferay.portal.kernel.exception.SystemException {
166                    return _assetCategoryLocalService.fetchAssetCategory(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            * @throws SystemException if a system exception occurred
176            */
177            public com.liferay.portlet.asset.model.AssetCategory getAssetCategory(
178                    long categoryId)
179                    throws com.liferay.portal.kernel.exception.PortalException,
180                            com.liferay.portal.kernel.exception.SystemException {
181                    return _assetCategoryLocalService.getAssetCategory(categoryId);
182            }
183    
184            public com.liferay.portal.model.PersistedModel getPersistedModel(
185                    java.io.Serializable primaryKeyObj)
186                    throws com.liferay.portal.kernel.exception.PortalException,
187                            com.liferay.portal.kernel.exception.SystemException {
188                    return _assetCategoryLocalService.getPersistedModel(primaryKeyObj);
189            }
190    
191            /**
192            * Returns the asset category matching the UUID and group.
193            *
194            * @param uuid the asset category's UUID
195            * @param groupId the primary key of the group
196            * @return the matching asset category
197            * @throws PortalException if a matching asset category could not be found
198            * @throws SystemException if a system exception occurred
199            */
200            public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndGroupId(
201                    java.lang.String uuid, long groupId)
202                    throws com.liferay.portal.kernel.exception.PortalException,
203                            com.liferay.portal.kernel.exception.SystemException {
204                    return _assetCategoryLocalService.getAssetCategoryByUuidAndGroupId(uuid,
205                            groupId);
206            }
207    
208            /**
209            * Returns a range of all the asset categories.
210            *
211            * <p>
212            * 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.
213            * </p>
214            *
215            * @param start the lower bound of the range of asset categories
216            * @param end the upper bound of the range of asset categories (not inclusive)
217            * @return the range of asset categories
218            * @throws SystemException if a system exception occurred
219            */
220            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
221                    int start, int end)
222                    throws com.liferay.portal.kernel.exception.SystemException {
223                    return _assetCategoryLocalService.getAssetCategories(start, end);
224            }
225    
226            /**
227            * Returns the number of asset categories.
228            *
229            * @return the number of asset categories
230            * @throws SystemException if a system exception occurred
231            */
232            public int getAssetCategoriesCount()
233                    throws com.liferay.portal.kernel.exception.SystemException {
234                    return _assetCategoryLocalService.getAssetCategoriesCount();
235            }
236    
237            /**
238            * Updates the asset category in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
239            *
240            * @param assetCategory the asset category
241            * @return the asset category that was updated
242            * @throws SystemException if a system exception occurred
243            */
244            public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
245                    com.liferay.portlet.asset.model.AssetCategory assetCategory)
246                    throws com.liferay.portal.kernel.exception.SystemException {
247                    return _assetCategoryLocalService.updateAssetCategory(assetCategory);
248            }
249    
250            /**
251            * @throws SystemException if a system exception occurred
252            */
253            public void addAssetEntryAssetCategory(long entryId, long categoryId)
254                    throws com.liferay.portal.kernel.exception.SystemException {
255                    _assetCategoryLocalService.addAssetEntryAssetCategory(entryId,
256                            categoryId);
257            }
258    
259            /**
260            * @throws SystemException if a system exception occurred
261            */
262            public void addAssetEntryAssetCategory(long entryId,
263                    com.liferay.portlet.asset.model.AssetCategory assetCategory)
264                    throws com.liferay.portal.kernel.exception.SystemException {
265                    _assetCategoryLocalService.addAssetEntryAssetCategory(entryId,
266                            assetCategory);
267            }
268    
269            /**
270            * @throws SystemException if a system exception occurred
271            */
272            public void addAssetEntryAssetCategories(long entryId, long[] categoryIds)
273                    throws com.liferay.portal.kernel.exception.SystemException {
274                    _assetCategoryLocalService.addAssetEntryAssetCategories(entryId,
275                            categoryIds);
276            }
277    
278            /**
279            * @throws SystemException if a system exception occurred
280            */
281            public void addAssetEntryAssetCategories(long entryId,
282                    java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories)
283                    throws com.liferay.portal.kernel.exception.SystemException {
284                    _assetCategoryLocalService.addAssetEntryAssetCategories(entryId,
285                            AssetCategories);
286            }
287    
288            /**
289            * @throws SystemException if a system exception occurred
290            */
291            public void clearAssetEntryAssetCategories(long entryId)
292                    throws com.liferay.portal.kernel.exception.SystemException {
293                    _assetCategoryLocalService.clearAssetEntryAssetCategories(entryId);
294            }
295    
296            /**
297            * @throws SystemException if a system exception occurred
298            */
299            public void deleteAssetEntryAssetCategory(long entryId, long categoryId)
300                    throws com.liferay.portal.kernel.exception.SystemException {
301                    _assetCategoryLocalService.deleteAssetEntryAssetCategory(entryId,
302                            categoryId);
303            }
304    
305            /**
306            * @throws SystemException if a system exception occurred
307            */
308            public void deleteAssetEntryAssetCategory(long entryId,
309                    com.liferay.portlet.asset.model.AssetCategory assetCategory)
310                    throws com.liferay.portal.kernel.exception.SystemException {
311                    _assetCategoryLocalService.deleteAssetEntryAssetCategory(entryId,
312                            assetCategory);
313            }
314    
315            /**
316            * @throws SystemException if a system exception occurred
317            */
318            public void deleteAssetEntryAssetCategories(long entryId, long[] categoryIds)
319                    throws com.liferay.portal.kernel.exception.SystemException {
320                    _assetCategoryLocalService.deleteAssetEntryAssetCategories(entryId,
321                            categoryIds);
322            }
323    
324            /**
325            * @throws SystemException if a system exception occurred
326            */
327            public void deleteAssetEntryAssetCategories(long entryId,
328                    java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories)
329                    throws com.liferay.portal.kernel.exception.SystemException {
330                    _assetCategoryLocalService.deleteAssetEntryAssetCategories(entryId,
331                            AssetCategories);
332            }
333    
334            /**
335            * @throws SystemException if a system exception occurred
336            */
337            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
338                    long entryId)
339                    throws com.liferay.portal.kernel.exception.SystemException {
340                    return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId);
341            }
342    
343            /**
344            * @throws SystemException if a system exception occurred
345            */
346            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
347                    long entryId, int start, int end)
348                    throws com.liferay.portal.kernel.exception.SystemException {
349                    return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId,
350                            start, end);
351            }
352    
353            /**
354            * @throws SystemException if a system exception occurred
355            */
356            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
357                    long entryId, int start, int end,
358                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
359                    throws com.liferay.portal.kernel.exception.SystemException {
360                    return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId,
361                            start, end, orderByComparator);
362            }
363    
364            /**
365            * @throws SystemException if a system exception occurred
366            */
367            public int getAssetEntryAssetCategoriesCount(long entryId)
368                    throws com.liferay.portal.kernel.exception.SystemException {
369                    return _assetCategoryLocalService.getAssetEntryAssetCategoriesCount(entryId);
370            }
371    
372            /**
373            * @throws SystemException if a system exception occurred
374            */
375            public boolean hasAssetEntryAssetCategory(long entryId, long categoryId)
376                    throws com.liferay.portal.kernel.exception.SystemException {
377                    return _assetCategoryLocalService.hasAssetEntryAssetCategory(entryId,
378                            categoryId);
379            }
380    
381            /**
382            * @throws SystemException if a system exception occurred
383            */
384            public boolean hasAssetEntryAssetCategories(long entryId)
385                    throws com.liferay.portal.kernel.exception.SystemException {
386                    return _assetCategoryLocalService.hasAssetEntryAssetCategories(entryId);
387            }
388    
389            /**
390            * @throws SystemException if a system exception occurred
391            */
392            public void setAssetEntryAssetCategories(long entryId, long[] categoryIds)
393                    throws com.liferay.portal.kernel.exception.SystemException {
394                    _assetCategoryLocalService.setAssetEntryAssetCategories(entryId,
395                            categoryIds);
396            }
397    
398            /**
399            * Returns the Spring bean ID for this bean.
400            *
401            * @return the Spring bean ID for this bean
402            */
403            public java.lang.String getBeanIdentifier() {
404                    return _assetCategoryLocalService.getBeanIdentifier();
405            }
406    
407            /**
408            * Sets the Spring bean ID for this bean.
409            *
410            * @param beanIdentifier the Spring bean ID for this bean
411            */
412            public void setBeanIdentifier(java.lang.String beanIdentifier) {
413                    _assetCategoryLocalService.setBeanIdentifier(beanIdentifier);
414            }
415    
416            public com.liferay.portlet.asset.model.AssetCategory addCategory(
417                    long userId, long parentCategoryId,
418                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
419                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
420                    long vocabularyId, java.lang.String[] categoryProperties,
421                    com.liferay.portal.service.ServiceContext serviceContext)
422                    throws com.liferay.portal.kernel.exception.PortalException,
423                            com.liferay.portal.kernel.exception.SystemException {
424                    return _assetCategoryLocalService.addCategory(userId, parentCategoryId,
425                            titleMap, descriptionMap, vocabularyId, categoryProperties,
426                            serviceContext);
427            }
428    
429            public com.liferay.portlet.asset.model.AssetCategory addCategory(
430                    long userId, java.lang.String title, long vocabularyId,
431                    com.liferay.portal.service.ServiceContext serviceContext)
432                    throws com.liferay.portal.kernel.exception.PortalException,
433                            com.liferay.portal.kernel.exception.SystemException {
434                    return _assetCategoryLocalService.addCategory(userId, title,
435                            vocabularyId, serviceContext);
436            }
437    
438            public void addCategoryResources(
439                    com.liferay.portlet.asset.model.AssetCategory category,
440                    boolean addGroupPermissions, boolean addGuestPermissions)
441                    throws com.liferay.portal.kernel.exception.PortalException,
442                            com.liferay.portal.kernel.exception.SystemException {
443                    _assetCategoryLocalService.addCategoryResources(category,
444                            addGroupPermissions, addGuestPermissions);
445            }
446    
447            public void addCategoryResources(
448                    com.liferay.portlet.asset.model.AssetCategory category,
449                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
450                    throws com.liferay.portal.kernel.exception.PortalException,
451                            com.liferay.portal.kernel.exception.SystemException {
452                    _assetCategoryLocalService.addCategoryResources(category,
453                            groupPermissions, guestPermissions);
454            }
455    
456            public void deleteCategory(
457                    com.liferay.portlet.asset.model.AssetCategory category)
458                    throws com.liferay.portal.kernel.exception.PortalException,
459                            com.liferay.portal.kernel.exception.SystemException {
460                    _assetCategoryLocalService.deleteCategory(category);
461            }
462    
463            public void deleteCategory(long categoryId)
464                    throws com.liferay.portal.kernel.exception.PortalException,
465                            com.liferay.portal.kernel.exception.SystemException {
466                    _assetCategoryLocalService.deleteCategory(categoryId);
467            }
468    
469            public void deleteVocabularyCategories(long vocabularyId)
470                    throws com.liferay.portal.kernel.exception.PortalException,
471                            com.liferay.portal.kernel.exception.SystemException {
472                    _assetCategoryLocalService.deleteVocabularyCategories(vocabularyId);
473            }
474    
475            public com.liferay.portlet.asset.model.AssetCategory fetchCategory(
476                    long categoryId)
477                    throws com.liferay.portal.kernel.exception.SystemException {
478                    return _assetCategoryLocalService.fetchCategory(categoryId);
479            }
480    
481            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
482                    throws com.liferay.portal.kernel.exception.SystemException {
483                    return _assetCategoryLocalService.getCategories();
484            }
485    
486            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
487                    long classNameId, long classPK)
488                    throws com.liferay.portal.kernel.exception.SystemException {
489                    return _assetCategoryLocalService.getCategories(classNameId, classPK);
490            }
491    
492            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
493                    java.lang.String className, long classPK)
494                    throws com.liferay.portal.kernel.exception.SystemException {
495                    return _assetCategoryLocalService.getCategories(className, classPK);
496            }
497    
498            public com.liferay.portlet.asset.model.AssetCategory getCategory(
499                    long categoryId)
500                    throws com.liferay.portal.kernel.exception.PortalException,
501                            com.liferay.portal.kernel.exception.SystemException {
502                    return _assetCategoryLocalService.getCategory(categoryId);
503            }
504    
505            public com.liferay.portlet.asset.model.AssetCategory getCategory(
506                    java.lang.String uuid, long groupId)
507                    throws com.liferay.portal.kernel.exception.PortalException,
508                            com.liferay.portal.kernel.exception.SystemException {
509                    return _assetCategoryLocalService.getCategory(uuid, groupId);
510            }
511    
512            public long[] getCategoryIds(java.lang.String className, long classPK)
513                    throws com.liferay.portal.kernel.exception.SystemException {
514                    return _assetCategoryLocalService.getCategoryIds(className, classPK);
515            }
516    
517            public java.lang.String[] getCategoryNames()
518                    throws com.liferay.portal.kernel.exception.SystemException {
519                    return _assetCategoryLocalService.getCategoryNames();
520            }
521    
522            public java.lang.String[] getCategoryNames(long classNameId, long classPK)
523                    throws com.liferay.portal.kernel.exception.SystemException {
524                    return _assetCategoryLocalService.getCategoryNames(classNameId, classPK);
525            }
526    
527            public java.lang.String[] getCategoryNames(java.lang.String className,
528                    long classPK)
529                    throws com.liferay.portal.kernel.exception.SystemException {
530                    return _assetCategoryLocalService.getCategoryNames(className, classPK);
531            }
532    
533            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
534                    long parentCategoryId)
535                    throws com.liferay.portal.kernel.exception.SystemException {
536                    return _assetCategoryLocalService.getChildCategories(parentCategoryId);
537            }
538    
539            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
540                    long parentCategoryId, int start, int end,
541                    com.liferay.portal.kernel.util.OrderByComparator obc)
542                    throws com.liferay.portal.kernel.exception.SystemException {
543                    return _assetCategoryLocalService.getChildCategories(parentCategoryId,
544                            start, end, obc);
545            }
546    
547            public int getChildCategoriesCount(long parentCategoryId)
548                    throws com.liferay.portal.kernel.exception.SystemException {
549                    return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
550            }
551    
552            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
553                    long entryId)
554                    throws com.liferay.portal.kernel.exception.SystemException {
555                    return _assetCategoryLocalService.getEntryCategories(entryId);
556            }
557    
558            public java.util.List<java.lang.Long> getSubcategoryIds(
559                    long parentCategoryId)
560                    throws com.liferay.portal.kernel.exception.SystemException {
561                    return _assetCategoryLocalService.getSubcategoryIds(parentCategoryId);
562            }
563    
564            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
565                    long vocabularyId, int start, int end,
566                    com.liferay.portal.kernel.util.OrderByComparator obc)
567                    throws com.liferay.portal.kernel.exception.SystemException {
568                    return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
569                            start, end, obc);
570            }
571    
572            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
573                    long parentCategoryId, long vocabularyId, int start, int end,
574                    com.liferay.portal.kernel.util.OrderByComparator obc)
575                    throws com.liferay.portal.kernel.exception.SystemException {
576                    return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
577                            vocabularyId, start, end, obc);
578            }
579    
580            public int getVocabularyCategoriesCount(long vocabularyId)
581                    throws com.liferay.portal.kernel.exception.SystemException {
582                    return _assetCategoryLocalService.getVocabularyCategoriesCount(vocabularyId);
583            }
584    
585            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
586                    long vocabularyId, int start, int end,
587                    com.liferay.portal.kernel.util.OrderByComparator obc)
588                    throws com.liferay.portal.kernel.exception.SystemException {
589                    return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
590                            start, end, obc);
591            }
592    
593            public int getVocabularyRootCategoriesCount(long vocabularyId)
594                    throws com.liferay.portal.kernel.exception.SystemException {
595                    return _assetCategoryLocalService.getVocabularyRootCategoriesCount(vocabularyId);
596            }
597    
598            public void mergeCategories(long fromCategoryId, long toCategoryId)
599                    throws com.liferay.portal.kernel.exception.PortalException,
600                            com.liferay.portal.kernel.exception.SystemException {
601                    _assetCategoryLocalService.mergeCategories(fromCategoryId, toCategoryId);
602            }
603    
604            public com.liferay.portlet.asset.model.AssetCategory moveCategory(
605                    long categoryId, long parentCategoryId, long vocabularyId,
606                    com.liferay.portal.service.ServiceContext serviceContext)
607                    throws com.liferay.portal.kernel.exception.PortalException,
608                            com.liferay.portal.kernel.exception.SystemException {
609                    return _assetCategoryLocalService.moveCategory(categoryId,
610                            parentCategoryId, vocabularyId, serviceContext);
611            }
612    
613            public void rebuildTree(long groupId, boolean force)
614                    throws com.liferay.portal.kernel.exception.SystemException {
615                    _assetCategoryLocalService.rebuildTree(groupId, force);
616            }
617    
618            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
619                    long groupId, java.lang.String name,
620                    java.lang.String[] categoryProperties, int start, int end)
621                    throws com.liferay.portal.kernel.exception.SystemException {
622                    return _assetCategoryLocalService.search(groupId, name,
623                            categoryProperties, start, end);
624            }
625    
626            public com.liferay.portlet.asset.model.AssetCategory updateCategory(
627                    long userId, long categoryId, long parentCategoryId,
628                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
629                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
630                    long vocabularyId, java.lang.String[] categoryProperties,
631                    com.liferay.portal.service.ServiceContext serviceContext)
632                    throws com.liferay.portal.kernel.exception.PortalException,
633                            com.liferay.portal.kernel.exception.SystemException {
634                    return _assetCategoryLocalService.updateCategory(userId, categoryId,
635                            parentCategoryId, titleMap, descriptionMap, vocabularyId,
636                            categoryProperties, serviceContext);
637            }
638    
639            /**
640             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
641             */
642            public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
643                    return _assetCategoryLocalService;
644            }
645    
646            /**
647             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
648             */
649            public void setWrappedAssetCategoryLocalService(
650                    AssetCategoryLocalService assetCategoryLocalService) {
651                    _assetCategoryLocalService = assetCategoryLocalService;
652            }
653    
654            public AssetCategoryLocalService getWrappedService() {
655                    return _assetCategoryLocalService;
656            }
657    
658            public void setWrappedService(
659                    AssetCategoryLocalService assetCategoryLocalService) {
660                    _assetCategoryLocalService = assetCategoryLocalService;
661            }
662    
663            private AssetCategoryLocalService _assetCategoryLocalService;
664    }