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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.exception.PortalException;
020    import com.liferay.portal.kernel.exception.SystemException;
021    import com.liferay.portal.kernel.transaction.Isolation;
022    import com.liferay.portal.kernel.transaction.Propagation;
023    import com.liferay.portal.kernel.transaction.Transactional;
024    import com.liferay.portal.service.BaseLocalService;
025    import com.liferay.portal.service.PersistedModelLocalService;
026    
027    /**
028     * Provides the local service interface for AssetCategory. Methods of this
029     * service will not have security checks based on the propagated JAAS
030     * credentials because this service can only be accessed from within the same
031     * VM.
032     *
033     * @author Brian Wing Shun Chan
034     * @see AssetCategoryLocalServiceUtil
035     * @see com.liferay.portlet.asset.service.base.AssetCategoryLocalServiceBaseImpl
036     * @see com.liferay.portlet.asset.service.impl.AssetCategoryLocalServiceImpl
037     * @generated
038     */
039    @ProviderType
040    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
041            PortalException.class, SystemException.class})
042    public interface AssetCategoryLocalService extends BaseLocalService,
043            PersistedModelLocalService {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify or reference this interface directly. Always use {@link AssetCategoryLocalServiceUtil} to access the asset category local service. Add custom service methods to {@link com.liferay.portlet.asset.service.impl.AssetCategoryLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
048             */
049    
050            /**
051            * Adds the asset category to the database. Also notifies the appropriate model listeners.
052            *
053            * @param assetCategory the asset category
054            * @return the asset category that was added
055            * @throws SystemException if a system exception occurred
056            */
057            public com.liferay.portlet.asset.model.AssetCategory addAssetCategory(
058                    com.liferay.portlet.asset.model.AssetCategory assetCategory)
059                    throws com.liferay.portal.kernel.exception.SystemException;
060    
061            /**
062            * Creates a new asset category with the primary key. Does not add the asset category to the database.
063            *
064            * @param categoryId the primary key for the new asset category
065            * @return the new asset category
066            */
067            public com.liferay.portlet.asset.model.AssetCategory createAssetCategory(
068                    long categoryId);
069    
070            /**
071            * Deletes the asset category with the primary key from the database. Also notifies the appropriate model listeners.
072            *
073            * @param categoryId the primary key of the asset category
074            * @return the asset category that was removed
075            * @throws PortalException if a asset category with the primary key could not be found
076            * @throws SystemException if a system exception occurred
077            */
078            public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
079                    long categoryId)
080                    throws com.liferay.portal.kernel.exception.PortalException,
081                            com.liferay.portal.kernel.exception.SystemException;
082    
083            /**
084            * Deletes the asset category from the database. Also notifies the appropriate model listeners.
085            *
086            * @param assetCategory the asset category
087            * @return the asset category that was removed
088            * @throws SystemException if a system exception occurred
089            */
090            public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
091                    com.liferay.portlet.asset.model.AssetCategory assetCategory)
092                    throws com.liferay.portal.kernel.exception.SystemException;
093    
094            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
095    
096            /**
097            * Performs a dynamic query on the database and returns the matching rows.
098            *
099            * @param dynamicQuery the dynamic query
100            * @return the matching rows
101            * @throws SystemException if a system exception occurred
102            */
103            @SuppressWarnings("rawtypes")
104            public java.util.List dynamicQuery(
105                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106                    throws com.liferay.portal.kernel.exception.SystemException;
107    
108            /**
109            * Performs a dynamic query on the database and returns a range of the matching rows.
110            *
111            * <p>
112            * 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.
113            * </p>
114            *
115            * @param dynamicQuery the dynamic query
116            * @param start the lower bound of the range of model instances
117            * @param end the upper bound of the range of model instances (not inclusive)
118            * @return the range of matching rows
119            * @throws SystemException if a system exception occurred
120            */
121            @SuppressWarnings("rawtypes")
122            public java.util.List dynamicQuery(
123                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
124                    int end) throws com.liferay.portal.kernel.exception.SystemException;
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    
147            /**
148            * Returns the number of rows that match the dynamic query.
149            *
150            * @param dynamicQuery the dynamic query
151            * @return the number of rows that match the dynamic query
152            * @throws SystemException if a system exception occurred
153            */
154            public long dynamicQueryCount(
155                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
156                    throws com.liferay.portal.kernel.exception.SystemException;
157    
158            /**
159            * Returns the number of rows that match the dynamic query.
160            *
161            * @param dynamicQuery the dynamic query
162            * @param projection the projection to apply to the query
163            * @return the number of rows that match the dynamic query
164            * @throws SystemException if a system exception occurred
165            */
166            public long dynamicQueryCount(
167                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
168                    com.liferay.portal.kernel.dao.orm.Projection projection)
169                    throws com.liferay.portal.kernel.exception.SystemException;
170    
171            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
172            public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategory(
173                    long categoryId)
174                    throws com.liferay.portal.kernel.exception.SystemException;
175    
176            /**
177            * Returns the asset category with the matching UUID and company.
178            *
179            * @param uuid the asset category's UUID
180            * @param companyId the primary key of the company
181            * @return the matching asset category, or <code>null</code> if a matching asset category could not be found
182            * @throws SystemException if a system exception occurred
183            */
184            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
185            public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategoryByUuidAndCompanyId(
186                    java.lang.String uuid, long companyId)
187                    throws com.liferay.portal.kernel.exception.SystemException;
188    
189            /**
190            * Returns the asset category matching the UUID and group.
191            *
192            * @param uuid the asset category's UUID
193            * @param groupId the primary key of the group
194            * @return the matching asset category, or <code>null</code> if a matching asset category could not be found
195            * @throws SystemException if a system exception occurred
196            */
197            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
198            public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategoryByUuidAndGroupId(
199                    java.lang.String uuid, long groupId)
200                    throws com.liferay.portal.kernel.exception.SystemException;
201    
202            /**
203            * Returns the asset category with the primary key.
204            *
205            * @param categoryId the primary key of the asset category
206            * @return the asset category
207            * @throws PortalException if a asset category with the primary key could not be found
208            * @throws SystemException if a system exception occurred
209            */
210            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
211            public com.liferay.portlet.asset.model.AssetCategory getAssetCategory(
212                    long categoryId)
213                    throws com.liferay.portal.kernel.exception.PortalException,
214                            com.liferay.portal.kernel.exception.SystemException;
215    
216            @Override
217            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
218            public com.liferay.portal.model.PersistedModel getPersistedModel(
219                    java.io.Serializable primaryKeyObj)
220                    throws com.liferay.portal.kernel.exception.PortalException,
221                            com.liferay.portal.kernel.exception.SystemException;
222    
223            /**
224            * Returns the asset category with the matching UUID and company.
225            *
226            * @param uuid the asset category's UUID
227            * @param companyId the primary key of the company
228            * @return the matching asset category
229            * @throws PortalException if a matching asset category could not be found
230            * @throws SystemException if a system exception occurred
231            */
232            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
233            public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndCompanyId(
234                    java.lang.String uuid, long companyId)
235                    throws com.liferay.portal.kernel.exception.PortalException,
236                            com.liferay.portal.kernel.exception.SystemException;
237    
238            /**
239            * Returns the asset category matching the UUID and group.
240            *
241            * @param uuid the asset category's UUID
242            * @param groupId the primary key of the group
243            * @return the matching asset category
244            * @throws PortalException if a matching asset category could not be found
245            * @throws SystemException if a system exception occurred
246            */
247            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
248            public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndGroupId(
249                    java.lang.String uuid, long groupId)
250                    throws com.liferay.portal.kernel.exception.PortalException,
251                            com.liferay.portal.kernel.exception.SystemException;
252    
253            /**
254            * Returns a range of all the asset categories.
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 start the lower bound of the range of asset categories
261            * @param end the upper bound of the range of asset categories (not inclusive)
262            * @return the range of asset categories
263            * @throws SystemException if a system exception occurred
264            */
265            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
266            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
267                    int start, int end)
268                    throws com.liferay.portal.kernel.exception.SystemException;
269    
270            /**
271            * Returns the number of asset categories.
272            *
273            * @return the number of asset categories
274            * @throws SystemException if a system exception occurred
275            */
276            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
277            public int getAssetCategoriesCount()
278                    throws com.liferay.portal.kernel.exception.SystemException;
279    
280            /**
281            * Updates the asset category in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
282            *
283            * @param assetCategory the asset category
284            * @return the asset category that was updated
285            * @throws SystemException if a system exception occurred
286            */
287            public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
288                    com.liferay.portlet.asset.model.AssetCategory assetCategory)
289                    throws com.liferay.portal.kernel.exception.SystemException;
290    
291            /**
292            * @throws SystemException if a system exception occurred
293            */
294            public void addAssetEntryAssetCategory(long entryId, long categoryId)
295                    throws com.liferay.portal.kernel.exception.SystemException;
296    
297            /**
298            * @throws SystemException if a system exception occurred
299            */
300            public void addAssetEntryAssetCategory(long entryId,
301                    com.liferay.portlet.asset.model.AssetCategory assetCategory)
302                    throws com.liferay.portal.kernel.exception.SystemException;
303    
304            /**
305            * @throws SystemException if a system exception occurred
306            */
307            public void addAssetEntryAssetCategories(long entryId, long[] categoryIds)
308                    throws com.liferay.portal.kernel.exception.SystemException;
309    
310            /**
311            * @throws SystemException if a system exception occurred
312            */
313            public void addAssetEntryAssetCategories(long entryId,
314                    java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories)
315                    throws com.liferay.portal.kernel.exception.SystemException;
316    
317            /**
318            * @throws SystemException if a system exception occurred
319            */
320            public void clearAssetEntryAssetCategories(long entryId)
321                    throws com.liferay.portal.kernel.exception.SystemException;
322    
323            /**
324            * @throws SystemException if a system exception occurred
325            */
326            public void deleteAssetEntryAssetCategory(long entryId, long categoryId)
327                    throws com.liferay.portal.kernel.exception.SystemException;
328    
329            /**
330            * @throws SystemException if a system exception occurred
331            */
332            public void deleteAssetEntryAssetCategory(long entryId,
333                    com.liferay.portlet.asset.model.AssetCategory assetCategory)
334                    throws com.liferay.portal.kernel.exception.SystemException;
335    
336            /**
337            * @throws SystemException if a system exception occurred
338            */
339            public void deleteAssetEntryAssetCategories(long entryId, long[] categoryIds)
340                    throws com.liferay.portal.kernel.exception.SystemException;
341    
342            /**
343            * @throws SystemException if a system exception occurred
344            */
345            public void deleteAssetEntryAssetCategories(long entryId,
346                    java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories)
347                    throws com.liferay.portal.kernel.exception.SystemException;
348    
349            /**
350            * @throws SystemException if a system exception occurred
351            */
352            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
353            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
354                    long entryId)
355                    throws com.liferay.portal.kernel.exception.SystemException;
356    
357            /**
358            * @throws SystemException if a system exception occurred
359            */
360            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
361            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
362                    long entryId, int start, int end)
363                    throws com.liferay.portal.kernel.exception.SystemException;
364    
365            /**
366            * @throws SystemException if a system exception occurred
367            */
368            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
369            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
370                    long entryId, int start, int end,
371                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
372                    throws com.liferay.portal.kernel.exception.SystemException;
373    
374            /**
375            * @throws SystemException if a system exception occurred
376            */
377            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
378            public int getAssetEntryAssetCategoriesCount(long entryId)
379                    throws com.liferay.portal.kernel.exception.SystemException;
380    
381            /**
382            * @throws SystemException if a system exception occurred
383            */
384            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
385            public boolean hasAssetEntryAssetCategory(long entryId, long categoryId)
386                    throws com.liferay.portal.kernel.exception.SystemException;
387    
388            /**
389            * @throws SystemException if a system exception occurred
390            */
391            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
392            public boolean hasAssetEntryAssetCategories(long entryId)
393                    throws com.liferay.portal.kernel.exception.SystemException;
394    
395            /**
396            * @throws SystemException if a system exception occurred
397            */
398            public void setAssetEntryAssetCategories(long entryId, long[] categoryIds)
399                    throws com.liferay.portal.kernel.exception.SystemException;
400    
401            /**
402            * Returns the Spring bean ID for this bean.
403            *
404            * @return the Spring bean ID for this bean
405            */
406            public java.lang.String getBeanIdentifier();
407    
408            /**
409            * Sets the Spring bean ID for this bean.
410            *
411            * @param beanIdentifier the Spring bean ID for this bean
412            */
413            public void setBeanIdentifier(java.lang.String beanIdentifier);
414    
415            public com.liferay.portlet.asset.model.AssetCategory addCategory(
416                    long userId, long parentCategoryId,
417                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
418                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
419                    long vocabularyId, java.lang.String[] categoryProperties,
420                    com.liferay.portal.service.ServiceContext serviceContext)
421                    throws com.liferay.portal.kernel.exception.PortalException,
422                            com.liferay.portal.kernel.exception.SystemException;
423    
424            public com.liferay.portlet.asset.model.AssetCategory addCategory(
425                    long userId, java.lang.String title, long vocabularyId,
426                    com.liferay.portal.service.ServiceContext serviceContext)
427                    throws com.liferay.portal.kernel.exception.PortalException,
428                            com.liferay.portal.kernel.exception.SystemException;
429    
430            public void addCategoryResources(
431                    com.liferay.portlet.asset.model.AssetCategory category,
432                    boolean addGroupPermissions, boolean addGuestPermissions)
433                    throws com.liferay.portal.kernel.exception.PortalException,
434                            com.liferay.portal.kernel.exception.SystemException;
435    
436            public void addCategoryResources(
437                    com.liferay.portlet.asset.model.AssetCategory category,
438                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
439                    throws com.liferay.portal.kernel.exception.PortalException,
440                            com.liferay.portal.kernel.exception.SystemException;
441    
442            public void deleteCategory(
443                    com.liferay.portlet.asset.model.AssetCategory category)
444                    throws com.liferay.portal.kernel.exception.PortalException,
445                            com.liferay.portal.kernel.exception.SystemException;
446    
447            public void deleteCategory(long categoryId)
448                    throws com.liferay.portal.kernel.exception.PortalException,
449                            com.liferay.portal.kernel.exception.SystemException;
450    
451            public void deleteVocabularyCategories(long vocabularyId)
452                    throws com.liferay.portal.kernel.exception.PortalException,
453                            com.liferay.portal.kernel.exception.SystemException;
454    
455            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
456            public com.liferay.portlet.asset.model.AssetCategory fetchCategory(
457                    long categoryId)
458                    throws com.liferay.portal.kernel.exception.SystemException;
459    
460            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
461            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
462                    throws com.liferay.portal.kernel.exception.SystemException;
463    
464            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
465            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
466                    long classNameId, long classPK)
467                    throws com.liferay.portal.kernel.exception.SystemException;
468    
469            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
470            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
471                    java.lang.String className, long classPK)
472                    throws com.liferay.portal.kernel.exception.SystemException;
473    
474            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
475            public com.liferay.portlet.asset.model.AssetCategory getCategory(
476                    long categoryId)
477                    throws com.liferay.portal.kernel.exception.PortalException,
478                            com.liferay.portal.kernel.exception.SystemException;
479    
480            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
481            public com.liferay.portlet.asset.model.AssetCategory getCategory(
482                    java.lang.String uuid, long groupId)
483                    throws com.liferay.portal.kernel.exception.PortalException,
484                            com.liferay.portal.kernel.exception.SystemException;
485    
486            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
487            public long[] getCategoryIds(java.lang.String className, long classPK)
488                    throws com.liferay.portal.kernel.exception.SystemException;
489    
490            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
491            public java.lang.String[] getCategoryNames()
492                    throws com.liferay.portal.kernel.exception.SystemException;
493    
494            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
495            public java.lang.String[] getCategoryNames(long classNameId, long classPK)
496                    throws com.liferay.portal.kernel.exception.SystemException;
497    
498            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
499            public java.lang.String[] getCategoryNames(java.lang.String className,
500                    long classPK)
501                    throws com.liferay.portal.kernel.exception.SystemException;
502    
503            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
504            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
505                    long parentCategoryId)
506                    throws com.liferay.portal.kernel.exception.SystemException;
507    
508            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
509            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
510                    long parentCategoryId, int start, int end,
511                    com.liferay.portal.kernel.util.OrderByComparator obc)
512                    throws com.liferay.portal.kernel.exception.SystemException;
513    
514            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
515            public int getChildCategoriesCount(long parentCategoryId)
516                    throws com.liferay.portal.kernel.exception.SystemException;
517    
518            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
519            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
520                    long entryId)
521                    throws com.liferay.portal.kernel.exception.SystemException;
522    
523            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
524            public java.util.List<java.lang.Long> getSubcategoryIds(
525                    long parentCategoryId)
526                    throws com.liferay.portal.kernel.exception.SystemException;
527    
528            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
529            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
530                    long vocabularyId, int start, int end,
531                    com.liferay.portal.kernel.util.OrderByComparator obc)
532                    throws com.liferay.portal.kernel.exception.SystemException;
533    
534            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
535            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
536                    long parentCategoryId, long vocabularyId, int start, int end,
537                    com.liferay.portal.kernel.util.OrderByComparator obc)
538                    throws com.liferay.portal.kernel.exception.SystemException;
539    
540            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
541            public int getVocabularyCategoriesCount(long vocabularyId)
542                    throws com.liferay.portal.kernel.exception.SystemException;
543    
544            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
545            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
546                    long vocabularyId, int start, int end,
547                    com.liferay.portal.kernel.util.OrderByComparator obc)
548                    throws com.liferay.portal.kernel.exception.SystemException;
549    
550            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
551            public int getVocabularyRootCategoriesCount(long vocabularyId)
552                    throws com.liferay.portal.kernel.exception.SystemException;
553    
554            public void mergeCategories(long fromCategoryId, long toCategoryId)
555                    throws com.liferay.portal.kernel.exception.PortalException,
556                            com.liferay.portal.kernel.exception.SystemException;
557    
558            public com.liferay.portlet.asset.model.AssetCategory moveCategory(
559                    long categoryId, long parentCategoryId, long vocabularyId,
560                    com.liferay.portal.service.ServiceContext serviceContext)
561                    throws com.liferay.portal.kernel.exception.PortalException,
562                            com.liferay.portal.kernel.exception.SystemException;
563    
564            public void rebuildTree(long groupId, boolean force)
565                    throws com.liferay.portal.kernel.exception.SystemException;
566    
567            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
568            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
569                    long groupId, java.lang.String name,
570                    java.lang.String[] categoryProperties, int start, int end)
571                    throws com.liferay.portal.kernel.exception.SystemException;
572    
573            public com.liferay.portlet.asset.model.AssetCategory updateCategory(
574                    long userId, long categoryId, long parentCategoryId,
575                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
576                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
577                    long vocabularyId, java.lang.String[] categoryProperties,
578                    com.liferay.portal.service.ServiceContext serviceContext)
579                    throws com.liferay.portal.kernel.exception.PortalException,
580                            com.liferay.portal.kernel.exception.SystemException;
581    }