001    /**
002     * Copyright (c) 2000-2010 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.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.asset.model.AssetCategory;
020    
021    /**
022     * The persistence interface for the asset category service.
023     *
024     * <p>
025     * Never modify or reference this interface directly. Always use {@link AssetCategoryUtil} to access the asset category persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
026     * </p>
027     *
028     * <p>
029     * Caching information and settings can be found in <code>portal.properties</code>
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see AssetCategoryPersistenceImpl
034     * @see AssetCategoryUtil
035     * @generated
036     */
037    public interface AssetCategoryPersistence extends BasePersistence<AssetCategory> {
038            /**
039            * Caches the asset category in the entity cache if it is enabled.
040            *
041            * @param assetCategory the asset category to cache
042            */
043            public void cacheResult(
044                    com.liferay.portlet.asset.model.AssetCategory assetCategory);
045    
046            /**
047            * Caches the asset categories in the entity cache if it is enabled.
048            *
049            * @param assetCategories the asset categories to cache
050            */
051            public void cacheResult(
052                    java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories);
053    
054            /**
055            * Creates a new asset category with the primary key. Does not add the asset category to the database.
056            *
057            * @param categoryId the primary key for the new asset category
058            * @return the new asset category
059            */
060            public com.liferay.portlet.asset.model.AssetCategory create(long categoryId);
061    
062            /**
063            * Removes the asset category with the primary key from the database. Also notifies the appropriate model listeners.
064            *
065            * @param categoryId the primary key of the asset category to remove
066            * @return the asset category that was removed
067            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
068            * @throws SystemException if a system exception occurred
069            */
070            public com.liferay.portlet.asset.model.AssetCategory remove(long categoryId)
071                    throws com.liferay.portal.kernel.exception.SystemException,
072                            com.liferay.portlet.asset.NoSuchCategoryException;
073    
074            public com.liferay.portlet.asset.model.AssetCategory updateImpl(
075                    com.liferay.portlet.asset.model.AssetCategory assetCategory,
076                    boolean merge)
077                    throws com.liferay.portal.kernel.exception.SystemException;
078    
079            /**
080            * Finds the asset category with the primary key or throws a {@link com.liferay.portlet.asset.NoSuchCategoryException} if it could not be found.
081            *
082            * @param categoryId the primary key of the asset category to find
083            * @return the asset category
084            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
085            * @throws SystemException if a system exception occurred
086            */
087            public com.liferay.portlet.asset.model.AssetCategory findByPrimaryKey(
088                    long categoryId)
089                    throws com.liferay.portal.kernel.exception.SystemException,
090                            com.liferay.portlet.asset.NoSuchCategoryException;
091    
092            /**
093            * Finds the asset category with the primary key or returns <code>null</code> if it could not be found.
094            *
095            * @param categoryId the primary key of the asset category to find
096            * @return the asset category, or <code>null</code> if a asset category with the primary key could not be found
097            * @throws SystemException if a system exception occurred
098            */
099            public com.liferay.portlet.asset.model.AssetCategory fetchByPrimaryKey(
100                    long categoryId)
101                    throws com.liferay.portal.kernel.exception.SystemException;
102    
103            /**
104            * Finds all the asset categories where uuid = &#63;.
105            *
106            * @param uuid the uuid to search with
107            * @return the matching asset categories
108            * @throws SystemException if a system exception occurred
109            */
110            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(
111                    java.lang.String uuid)
112                    throws com.liferay.portal.kernel.exception.SystemException;
113    
114            /**
115            * Finds a range of all the asset categories where uuid = &#63;.
116            *
117            * <p>
118            * 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.
119            * </p>
120            *
121            * @param uuid the uuid to search with
122            * @param start the lower bound of the range of asset categories to return
123            * @param end the upper bound of the range of asset categories to return (not inclusive)
124            * @return the range of matching asset categories
125            * @throws SystemException if a system exception occurred
126            */
127            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(
128                    java.lang.String uuid, int start, int end)
129                    throws com.liferay.portal.kernel.exception.SystemException;
130    
131            /**
132            * Finds an ordered range of all the asset categories where uuid = &#63;.
133            *
134            * <p>
135            * 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.
136            * </p>
137            *
138            * @param uuid the uuid to search with
139            * @param start the lower bound of the range of asset categories to return
140            * @param end the upper bound of the range of asset categories to return (not inclusive)
141            * @param orderByComparator the comparator to order the results by
142            * @return the ordered range of matching asset categories
143            * @throws SystemException if a system exception occurred
144            */
145            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(
146                    java.lang.String uuid, int start, int end,
147                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
148                    throws com.liferay.portal.kernel.exception.SystemException;
149    
150            /**
151            * Finds the first asset category in the ordered set where uuid = &#63;.
152            *
153            * <p>
154            * 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.
155            * </p>
156            *
157            * @param uuid the uuid to search with
158            * @param orderByComparator the comparator to order the set by
159            * @return the first matching asset category
160            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
161            * @throws SystemException if a system exception occurred
162            */
163            public com.liferay.portlet.asset.model.AssetCategory findByUuid_First(
164                    java.lang.String uuid,
165                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166                    throws com.liferay.portal.kernel.exception.SystemException,
167                            com.liferay.portlet.asset.NoSuchCategoryException;
168    
169            /**
170            * Finds the last asset category in the ordered set where uuid = &#63;.
171            *
172            * <p>
173            * 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.
174            * </p>
175            *
176            * @param uuid the uuid to search with
177            * @param orderByComparator the comparator to order the set by
178            * @return the last matching asset category
179            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
180            * @throws SystemException if a system exception occurred
181            */
182            public com.liferay.portlet.asset.model.AssetCategory findByUuid_Last(
183                    java.lang.String uuid,
184                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
185                    throws com.liferay.portal.kernel.exception.SystemException,
186                            com.liferay.portlet.asset.NoSuchCategoryException;
187    
188            /**
189            * Finds the asset categories before and after the current asset category in the ordered set where uuid = &#63;.
190            *
191            * <p>
192            * 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.
193            * </p>
194            *
195            * @param categoryId the primary key of the current asset category
196            * @param uuid the uuid to search with
197            * @param orderByComparator the comparator to order the set by
198            * @return the previous, current, and next asset category
199            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
200            * @throws SystemException if a system exception occurred
201            */
202            public com.liferay.portlet.asset.model.AssetCategory[] findByUuid_PrevAndNext(
203                    long categoryId, java.lang.String uuid,
204                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
205                    throws com.liferay.portal.kernel.exception.SystemException,
206                            com.liferay.portlet.asset.NoSuchCategoryException;
207    
208            /**
209            * Finds the asset category where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.asset.NoSuchCategoryException} if it could not be found.
210            *
211            * @param uuid the uuid to search with
212            * @param groupId the group id to search with
213            * @return the matching asset category
214            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
215            * @throws SystemException if a system exception occurred
216            */
217            public com.liferay.portlet.asset.model.AssetCategory findByUUID_G(
218                    java.lang.String uuid, long groupId)
219                    throws com.liferay.portal.kernel.exception.SystemException,
220                            com.liferay.portlet.asset.NoSuchCategoryException;
221    
222            /**
223            * Finds the asset category where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
224            *
225            * @param uuid the uuid to search with
226            * @param groupId the group id to search with
227            * @return the matching asset category, or <code>null</code> if a matching asset category could not be found
228            * @throws SystemException if a system exception occurred
229            */
230            public com.liferay.portlet.asset.model.AssetCategory fetchByUUID_G(
231                    java.lang.String uuid, long groupId)
232                    throws com.liferay.portal.kernel.exception.SystemException;
233    
234            /**
235            * Finds the asset category where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
236            *
237            * @param uuid the uuid to search with
238            * @param groupId the group id to search with
239            * @return the matching asset category, or <code>null</code> if a matching asset category could not be found
240            * @throws SystemException if a system exception occurred
241            */
242            public com.liferay.portlet.asset.model.AssetCategory fetchByUUID_G(
243                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
244                    throws com.liferay.portal.kernel.exception.SystemException;
245    
246            /**
247            * Finds all the asset categories where groupId = &#63;.
248            *
249            * @param groupId the group id to search with
250            * @return the matching asset categories
251            * @throws SystemException if a system exception occurred
252            */
253            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByGroupId(
254                    long groupId)
255                    throws com.liferay.portal.kernel.exception.SystemException;
256    
257            /**
258            * Finds a range of all the asset categories where groupId = &#63;.
259            *
260            * <p>
261            * 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.
262            * </p>
263            *
264            * @param groupId the group id to search with
265            * @param start the lower bound of the range of asset categories to return
266            * @param end the upper bound of the range of asset categories to return (not inclusive)
267            * @return the range of matching asset categories
268            * @throws SystemException if a system exception occurred
269            */
270            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByGroupId(
271                    long groupId, int start, int end)
272                    throws com.liferay.portal.kernel.exception.SystemException;
273    
274            /**
275            * Finds an ordered range of all the asset categories where groupId = &#63;.
276            *
277            * <p>
278            * 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.
279            * </p>
280            *
281            * @param groupId the group id to search with
282            * @param start the lower bound of the range of asset categories to return
283            * @param end the upper bound of the range of asset categories to return (not inclusive)
284            * @param orderByComparator the comparator to order the results by
285            * @return the ordered range of matching asset categories
286            * @throws SystemException if a system exception occurred
287            */
288            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByGroupId(
289                    long groupId, int start, int end,
290                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
291                    throws com.liferay.portal.kernel.exception.SystemException;
292    
293            /**
294            * Finds the first asset category in the ordered set where groupId = &#63;.
295            *
296            * <p>
297            * 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.
298            * </p>
299            *
300            * @param groupId the group id to search with
301            * @param orderByComparator the comparator to order the set by
302            * @return the first matching asset category
303            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
304            * @throws SystemException if a system exception occurred
305            */
306            public com.liferay.portlet.asset.model.AssetCategory findByGroupId_First(
307                    long groupId,
308                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
309                    throws com.liferay.portal.kernel.exception.SystemException,
310                            com.liferay.portlet.asset.NoSuchCategoryException;
311    
312            /**
313            * Finds the last asset category in the ordered set where groupId = &#63;.
314            *
315            * <p>
316            * 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.
317            * </p>
318            *
319            * @param groupId the group id to search with
320            * @param orderByComparator the comparator to order the set by
321            * @return the last matching asset category
322            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
323            * @throws SystemException if a system exception occurred
324            */
325            public com.liferay.portlet.asset.model.AssetCategory findByGroupId_Last(
326                    long groupId,
327                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
328                    throws com.liferay.portal.kernel.exception.SystemException,
329                            com.liferay.portlet.asset.NoSuchCategoryException;
330    
331            /**
332            * Finds the asset categories before and after the current asset category in the ordered set where groupId = &#63;.
333            *
334            * <p>
335            * 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.
336            * </p>
337            *
338            * @param categoryId the primary key of the current asset category
339            * @param groupId the group id to search with
340            * @param orderByComparator the comparator to order the set by
341            * @return the previous, current, and next asset category
342            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
343            * @throws SystemException if a system exception occurred
344            */
345            public com.liferay.portlet.asset.model.AssetCategory[] findByGroupId_PrevAndNext(
346                    long categoryId, long groupId,
347                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
348                    throws com.liferay.portal.kernel.exception.SystemException,
349                            com.liferay.portlet.asset.NoSuchCategoryException;
350    
351            /**
352            * Filters by the user's permissions and finds all the asset categories where groupId = &#63;.
353            *
354            * @param groupId the group id to search with
355            * @return the matching asset categories that the user has permission to view
356            * @throws SystemException if a system exception occurred
357            */
358            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId(
359                    long groupId)
360                    throws com.liferay.portal.kernel.exception.SystemException;
361    
362            /**
363            * Filters by the user's permissions and finds a range of all the asset categories where groupId = &#63;.
364            *
365            * <p>
366            * 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.
367            * </p>
368            *
369            * @param groupId the group id to search with
370            * @param start the lower bound of the range of asset categories to return
371            * @param end the upper bound of the range of asset categories to return (not inclusive)
372            * @return the range of matching asset categories that the user has permission to view
373            * @throws SystemException if a system exception occurred
374            */
375            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId(
376                    long groupId, int start, int end)
377                    throws com.liferay.portal.kernel.exception.SystemException;
378    
379            /**
380            * Filters by the user's permissions and finds an ordered range of all the asset categories where groupId = &#63;.
381            *
382            * <p>
383            * 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.
384            * </p>
385            *
386            * @param groupId the group id to search with
387            * @param start the lower bound of the range of asset categories to return
388            * @param end the upper bound of the range of asset categories to return (not inclusive)
389            * @param orderByComparator the comparator to order the results by
390            * @return the ordered range of matching asset categories that the user has permission to view
391            * @throws SystemException if a system exception occurred
392            */
393            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId(
394                    long groupId, int start, int end,
395                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
396                    throws com.liferay.portal.kernel.exception.SystemException;
397    
398            /**
399            * Finds all the asset categories where parentCategoryId = &#63;.
400            *
401            * @param parentCategoryId the parent category id to search with
402            * @return the matching asset categories
403            * @throws SystemException if a system exception occurred
404            */
405            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(
406                    long parentCategoryId)
407                    throws com.liferay.portal.kernel.exception.SystemException;
408    
409            /**
410            * Finds a range of all the asset categories where parentCategoryId = &#63;.
411            *
412            * <p>
413            * 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.
414            * </p>
415            *
416            * @param parentCategoryId the parent category id to search with
417            * @param start the lower bound of the range of asset categories to return
418            * @param end the upper bound of the range of asset categories to return (not inclusive)
419            * @return the range of matching asset categories
420            * @throws SystemException if a system exception occurred
421            */
422            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(
423                    long parentCategoryId, int start, int end)
424                    throws com.liferay.portal.kernel.exception.SystemException;
425    
426            /**
427            * Finds an ordered range of all the asset categories where parentCategoryId = &#63;.
428            *
429            * <p>
430            * 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.
431            * </p>
432            *
433            * @param parentCategoryId the parent category id to search with
434            * @param start the lower bound of the range of asset categories to return
435            * @param end the upper bound of the range of asset categories to return (not inclusive)
436            * @param orderByComparator the comparator to order the results by
437            * @return the ordered range of matching asset categories
438            * @throws SystemException if a system exception occurred
439            */
440            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(
441                    long parentCategoryId, int start, int end,
442                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
443                    throws com.liferay.portal.kernel.exception.SystemException;
444    
445            /**
446            * Finds the first asset category in the ordered set where parentCategoryId = &#63;.
447            *
448            * <p>
449            * 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.
450            * </p>
451            *
452            * @param parentCategoryId the parent category id to search with
453            * @param orderByComparator the comparator to order the set by
454            * @return the first matching asset category
455            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
456            * @throws SystemException if a system exception occurred
457            */
458            public com.liferay.portlet.asset.model.AssetCategory findByParentCategoryId_First(
459                    long parentCategoryId,
460                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
461                    throws com.liferay.portal.kernel.exception.SystemException,
462                            com.liferay.portlet.asset.NoSuchCategoryException;
463    
464            /**
465            * Finds the last asset category in the ordered set where parentCategoryId = &#63;.
466            *
467            * <p>
468            * 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.
469            * </p>
470            *
471            * @param parentCategoryId the parent category id to search with
472            * @param orderByComparator the comparator to order the set by
473            * @return the last matching asset category
474            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
475            * @throws SystemException if a system exception occurred
476            */
477            public com.liferay.portlet.asset.model.AssetCategory findByParentCategoryId_Last(
478                    long parentCategoryId,
479                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
480                    throws com.liferay.portal.kernel.exception.SystemException,
481                            com.liferay.portlet.asset.NoSuchCategoryException;
482    
483            /**
484            * Finds the asset categories before and after the current asset category in the ordered set where parentCategoryId = &#63;.
485            *
486            * <p>
487            * 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.
488            * </p>
489            *
490            * @param categoryId the primary key of the current asset category
491            * @param parentCategoryId the parent category id to search with
492            * @param orderByComparator the comparator to order the set by
493            * @return the previous, current, and next asset category
494            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
495            * @throws SystemException if a system exception occurred
496            */
497            public com.liferay.portlet.asset.model.AssetCategory[] findByParentCategoryId_PrevAndNext(
498                    long categoryId, long parentCategoryId,
499                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
500                    throws com.liferay.portal.kernel.exception.SystemException,
501                            com.liferay.portlet.asset.NoSuchCategoryException;
502    
503            /**
504            * Finds all the asset categories where vocabularyId = &#63;.
505            *
506            * @param vocabularyId the vocabulary id to search with
507            * @return the matching asset categories
508            * @throws SystemException if a system exception occurred
509            */
510            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(
511                    long vocabularyId)
512                    throws com.liferay.portal.kernel.exception.SystemException;
513    
514            /**
515            * Finds a range of all the asset categories where vocabularyId = &#63;.
516            *
517            * <p>
518            * 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.
519            * </p>
520            *
521            * @param vocabularyId the vocabulary id to search with
522            * @param start the lower bound of the range of asset categories to return
523            * @param end the upper bound of the range of asset categories to return (not inclusive)
524            * @return the range of matching asset categories
525            * @throws SystemException if a system exception occurred
526            */
527            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(
528                    long vocabularyId, int start, int end)
529                    throws com.liferay.portal.kernel.exception.SystemException;
530    
531            /**
532            * Finds an ordered range of all the asset categories where vocabularyId = &#63;.
533            *
534            * <p>
535            * 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.
536            * </p>
537            *
538            * @param vocabularyId the vocabulary id to search with
539            * @param start the lower bound of the range of asset categories to return
540            * @param end the upper bound of the range of asset categories to return (not inclusive)
541            * @param orderByComparator the comparator to order the results by
542            * @return the ordered range of matching asset categories
543            * @throws SystemException if a system exception occurred
544            */
545            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(
546                    long vocabularyId, int start, int end,
547                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
548                    throws com.liferay.portal.kernel.exception.SystemException;
549    
550            /**
551            * Finds the first asset category in the ordered set where vocabularyId = &#63;.
552            *
553            * <p>
554            * 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.
555            * </p>
556            *
557            * @param vocabularyId the vocabulary id to search with
558            * @param orderByComparator the comparator to order the set by
559            * @return the first matching asset category
560            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
561            * @throws SystemException if a system exception occurred
562            */
563            public com.liferay.portlet.asset.model.AssetCategory findByVocabularyId_First(
564                    long vocabularyId,
565                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
566                    throws com.liferay.portal.kernel.exception.SystemException,
567                            com.liferay.portlet.asset.NoSuchCategoryException;
568    
569            /**
570            * Finds the last asset category in the ordered set where vocabularyId = &#63;.
571            *
572            * <p>
573            * 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.
574            * </p>
575            *
576            * @param vocabularyId the vocabulary id to search with
577            * @param orderByComparator the comparator to order the set by
578            * @return the last matching asset category
579            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
580            * @throws SystemException if a system exception occurred
581            */
582            public com.liferay.portlet.asset.model.AssetCategory findByVocabularyId_Last(
583                    long vocabularyId,
584                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
585                    throws com.liferay.portal.kernel.exception.SystemException,
586                            com.liferay.portlet.asset.NoSuchCategoryException;
587    
588            /**
589            * Finds the asset categories before and after the current asset category in the ordered set where vocabularyId = &#63;.
590            *
591            * <p>
592            * 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.
593            * </p>
594            *
595            * @param categoryId the primary key of the current asset category
596            * @param vocabularyId the vocabulary id to search with
597            * @param orderByComparator the comparator to order the set by
598            * @return the previous, current, and next asset category
599            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
600            * @throws SystemException if a system exception occurred
601            */
602            public com.liferay.portlet.asset.model.AssetCategory[] findByVocabularyId_PrevAndNext(
603                    long categoryId, long vocabularyId,
604                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
605                    throws com.liferay.portal.kernel.exception.SystemException,
606                            com.liferay.portlet.asset.NoSuchCategoryException;
607    
608            /**
609            * Finds all the asset categories where parentCategoryId = &#63; and name = &#63;.
610            *
611            * @param parentCategoryId the parent category id to search with
612            * @param name the name to search with
613            * @return the matching asset categories
614            * @throws SystemException if a system exception occurred
615            */
616            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(
617                    long parentCategoryId, java.lang.String name)
618                    throws com.liferay.portal.kernel.exception.SystemException;
619    
620            /**
621            * Finds a range of all the asset categories where parentCategoryId = &#63; and name = &#63;.
622            *
623            * <p>
624            * 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.
625            * </p>
626            *
627            * @param parentCategoryId the parent category id to search with
628            * @param name the name to search with
629            * @param start the lower bound of the range of asset categories to return
630            * @param end the upper bound of the range of asset categories to return (not inclusive)
631            * @return the range of matching asset categories
632            * @throws SystemException if a system exception occurred
633            */
634            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(
635                    long parentCategoryId, java.lang.String name, int start, int end)
636                    throws com.liferay.portal.kernel.exception.SystemException;
637    
638            /**
639            * Finds an ordered range of all the asset categories where parentCategoryId = &#63; and name = &#63;.
640            *
641            * <p>
642            * 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.
643            * </p>
644            *
645            * @param parentCategoryId the parent category id to search with
646            * @param name the name to search with
647            * @param start the lower bound of the range of asset categories to return
648            * @param end the upper bound of the range of asset categories to return (not inclusive)
649            * @param orderByComparator the comparator to order the results by
650            * @return the ordered range of matching asset categories
651            * @throws SystemException if a system exception occurred
652            */
653            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(
654                    long parentCategoryId, java.lang.String name, int start, int end,
655                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
656                    throws com.liferay.portal.kernel.exception.SystemException;
657    
658            /**
659            * Finds the first asset category in the ordered set where parentCategoryId = &#63; and name = &#63;.
660            *
661            * <p>
662            * 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.
663            * </p>
664            *
665            * @param parentCategoryId the parent category id to search with
666            * @param name the name to search with
667            * @param orderByComparator the comparator to order the set by
668            * @return the first matching asset category
669            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
670            * @throws SystemException if a system exception occurred
671            */
672            public com.liferay.portlet.asset.model.AssetCategory findByP_N_First(
673                    long parentCategoryId, java.lang.String name,
674                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
675                    throws com.liferay.portal.kernel.exception.SystemException,
676                            com.liferay.portlet.asset.NoSuchCategoryException;
677    
678            /**
679            * Finds the last asset category in the ordered set where parentCategoryId = &#63; and name = &#63;.
680            *
681            * <p>
682            * 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.
683            * </p>
684            *
685            * @param parentCategoryId the parent category id to search with
686            * @param name the name to search with
687            * @param orderByComparator the comparator to order the set by
688            * @return the last matching asset category
689            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
690            * @throws SystemException if a system exception occurred
691            */
692            public com.liferay.portlet.asset.model.AssetCategory findByP_N_Last(
693                    long parentCategoryId, java.lang.String name,
694                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
695                    throws com.liferay.portal.kernel.exception.SystemException,
696                            com.liferay.portlet.asset.NoSuchCategoryException;
697    
698            /**
699            * Finds the asset categories before and after the current asset category in the ordered set where parentCategoryId = &#63; and name = &#63;.
700            *
701            * <p>
702            * 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.
703            * </p>
704            *
705            * @param categoryId the primary key of the current asset category
706            * @param parentCategoryId the parent category id to search with
707            * @param name the name to search with
708            * @param orderByComparator the comparator to order the set by
709            * @return the previous, current, and next asset category
710            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
711            * @throws SystemException if a system exception occurred
712            */
713            public com.liferay.portlet.asset.model.AssetCategory[] findByP_N_PrevAndNext(
714                    long categoryId, long parentCategoryId, java.lang.String name,
715                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
716                    throws com.liferay.portal.kernel.exception.SystemException,
717                            com.liferay.portlet.asset.NoSuchCategoryException;
718    
719            /**
720            * Finds all the asset categories where parentCategoryId = &#63; and vocabularyId = &#63;.
721            *
722            * @param parentCategoryId the parent category id to search with
723            * @param vocabularyId the vocabulary id to search with
724            * @return the matching asset categories
725            * @throws SystemException if a system exception occurred
726            */
727            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(
728                    long parentCategoryId, long vocabularyId)
729                    throws com.liferay.portal.kernel.exception.SystemException;
730    
731            /**
732            * Finds a range of all the asset categories where parentCategoryId = &#63; and vocabularyId = &#63;.
733            *
734            * <p>
735            * 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.
736            * </p>
737            *
738            * @param parentCategoryId the parent category id to search with
739            * @param vocabularyId the vocabulary id to search with
740            * @param start the lower bound of the range of asset categories to return
741            * @param end the upper bound of the range of asset categories to return (not inclusive)
742            * @return the range of matching asset categories
743            * @throws SystemException if a system exception occurred
744            */
745            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(
746                    long parentCategoryId, long vocabularyId, int start, int end)
747                    throws com.liferay.portal.kernel.exception.SystemException;
748    
749            /**
750            * Finds an ordered range of all the asset categories where parentCategoryId = &#63; and vocabularyId = &#63;.
751            *
752            * <p>
753            * 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.
754            * </p>
755            *
756            * @param parentCategoryId the parent category id to search with
757            * @param vocabularyId the vocabulary id to search with
758            * @param start the lower bound of the range of asset categories to return
759            * @param end the upper bound of the range of asset categories to return (not inclusive)
760            * @param orderByComparator the comparator to order the results by
761            * @return the ordered range of matching asset categories
762            * @throws SystemException if a system exception occurred
763            */
764            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(
765                    long parentCategoryId, long vocabularyId, int start, int end,
766                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
767                    throws com.liferay.portal.kernel.exception.SystemException;
768    
769            /**
770            * Finds the first asset category in the ordered set where parentCategoryId = &#63; and vocabularyId = &#63;.
771            *
772            * <p>
773            * 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.
774            * </p>
775            *
776            * @param parentCategoryId the parent category id to search with
777            * @param vocabularyId the vocabulary id to search with
778            * @param orderByComparator the comparator to order the set by
779            * @return the first matching asset category
780            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
781            * @throws SystemException if a system exception occurred
782            */
783            public com.liferay.portlet.asset.model.AssetCategory findByP_V_First(
784                    long parentCategoryId, long vocabularyId,
785                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
786                    throws com.liferay.portal.kernel.exception.SystemException,
787                            com.liferay.portlet.asset.NoSuchCategoryException;
788    
789            /**
790            * Finds the last asset category in the ordered set where parentCategoryId = &#63; and vocabularyId = &#63;.
791            *
792            * <p>
793            * 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.
794            * </p>
795            *
796            * @param parentCategoryId the parent category id to search with
797            * @param vocabularyId the vocabulary id to search with
798            * @param orderByComparator the comparator to order the set by
799            * @return the last matching asset category
800            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
801            * @throws SystemException if a system exception occurred
802            */
803            public com.liferay.portlet.asset.model.AssetCategory findByP_V_Last(
804                    long parentCategoryId, long vocabularyId,
805                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
806                    throws com.liferay.portal.kernel.exception.SystemException,
807                            com.liferay.portlet.asset.NoSuchCategoryException;
808    
809            /**
810            * Finds the asset categories before and after the current asset category in the ordered set where parentCategoryId = &#63; and vocabularyId = &#63;.
811            *
812            * <p>
813            * 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.
814            * </p>
815            *
816            * @param categoryId the primary key of the current asset category
817            * @param parentCategoryId the parent category id to search with
818            * @param vocabularyId the vocabulary id to search with
819            * @param orderByComparator the comparator to order the set by
820            * @return the previous, current, and next asset category
821            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
822            * @throws SystemException if a system exception occurred
823            */
824            public com.liferay.portlet.asset.model.AssetCategory[] findByP_V_PrevAndNext(
825                    long categoryId, long parentCategoryId, long vocabularyId,
826                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
827                    throws com.liferay.portal.kernel.exception.SystemException,
828                            com.liferay.portlet.asset.NoSuchCategoryException;
829    
830            /**
831            * Finds all the asset categories where name = &#63; and vocabularyId = &#63;.
832            *
833            * @param name the name to search with
834            * @param vocabularyId the vocabulary id to search with
835            * @return the matching asset categories
836            * @throws SystemException if a system exception occurred
837            */
838            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(
839                    java.lang.String name, long vocabularyId)
840                    throws com.liferay.portal.kernel.exception.SystemException;
841    
842            /**
843            * Finds a range of all the asset categories where name = &#63; and vocabularyId = &#63;.
844            *
845            * <p>
846            * 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.
847            * </p>
848            *
849            * @param name the name to search with
850            * @param vocabularyId the vocabulary id to search with
851            * @param start the lower bound of the range of asset categories to return
852            * @param end the upper bound of the range of asset categories to return (not inclusive)
853            * @return the range of matching asset categories
854            * @throws SystemException if a system exception occurred
855            */
856            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(
857                    java.lang.String name, long vocabularyId, int start, int end)
858                    throws com.liferay.portal.kernel.exception.SystemException;
859    
860            /**
861            * Finds an ordered range of all the asset categories where name = &#63; and vocabularyId = &#63;.
862            *
863            * <p>
864            * 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.
865            * </p>
866            *
867            * @param name the name to search with
868            * @param vocabularyId the vocabulary id to search with
869            * @param start the lower bound of the range of asset categories to return
870            * @param end the upper bound of the range of asset categories to return (not inclusive)
871            * @param orderByComparator the comparator to order the results by
872            * @return the ordered range of matching asset categories
873            * @throws SystemException if a system exception occurred
874            */
875            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(
876                    java.lang.String name, long vocabularyId, int start, int end,
877                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
878                    throws com.liferay.portal.kernel.exception.SystemException;
879    
880            /**
881            * Finds the first asset category in the ordered set where name = &#63; and vocabularyId = &#63;.
882            *
883            * <p>
884            * 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.
885            * </p>
886            *
887            * @param name the name to search with
888            * @param vocabularyId the vocabulary id to search with
889            * @param orderByComparator the comparator to order the set by
890            * @return the first matching asset category
891            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
892            * @throws SystemException if a system exception occurred
893            */
894            public com.liferay.portlet.asset.model.AssetCategory findByN_V_First(
895                    java.lang.String name, long vocabularyId,
896                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
897                    throws com.liferay.portal.kernel.exception.SystemException,
898                            com.liferay.portlet.asset.NoSuchCategoryException;
899    
900            /**
901            * Finds the last asset category in the ordered set where name = &#63; and vocabularyId = &#63;.
902            *
903            * <p>
904            * 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.
905            * </p>
906            *
907            * @param name the name to search with
908            * @param vocabularyId the vocabulary id to search with
909            * @param orderByComparator the comparator to order the set by
910            * @return the last matching asset category
911            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
912            * @throws SystemException if a system exception occurred
913            */
914            public com.liferay.portlet.asset.model.AssetCategory findByN_V_Last(
915                    java.lang.String name, long vocabularyId,
916                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
917                    throws com.liferay.portal.kernel.exception.SystemException,
918                            com.liferay.portlet.asset.NoSuchCategoryException;
919    
920            /**
921            * Finds the asset categories before and after the current asset category in the ordered set where name = &#63; and vocabularyId = &#63;.
922            *
923            * <p>
924            * 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.
925            * </p>
926            *
927            * @param categoryId the primary key of the current asset category
928            * @param name the name to search with
929            * @param vocabularyId the vocabulary id to search with
930            * @param orderByComparator the comparator to order the set by
931            * @return the previous, current, and next asset category
932            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
933            * @throws SystemException if a system exception occurred
934            */
935            public com.liferay.portlet.asset.model.AssetCategory[] findByN_V_PrevAndNext(
936                    long categoryId, java.lang.String name, long vocabularyId,
937                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
938                    throws com.liferay.portal.kernel.exception.SystemException,
939                            com.liferay.portlet.asset.NoSuchCategoryException;
940    
941            /**
942            * Finds the asset category where parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63; or throws a {@link com.liferay.portlet.asset.NoSuchCategoryException} if it could not be found.
943            *
944            * @param parentCategoryId the parent category id to search with
945            * @param name the name to search with
946            * @param vocabularyId the vocabulary id to search with
947            * @return the matching asset category
948            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
949            * @throws SystemException if a system exception occurred
950            */
951            public com.liferay.portlet.asset.model.AssetCategory findByP_N_V(
952                    long parentCategoryId, java.lang.String name, long vocabularyId)
953                    throws com.liferay.portal.kernel.exception.SystemException,
954                            com.liferay.portlet.asset.NoSuchCategoryException;
955    
956            /**
957            * Finds the asset category where parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
958            *
959            * @param parentCategoryId the parent category id to search with
960            * @param name the name to search with
961            * @param vocabularyId the vocabulary id to search with
962            * @return the matching asset category, or <code>null</code> if a matching asset category could not be found
963            * @throws SystemException if a system exception occurred
964            */
965            public com.liferay.portlet.asset.model.AssetCategory fetchByP_N_V(
966                    long parentCategoryId, java.lang.String name, long vocabularyId)
967                    throws com.liferay.portal.kernel.exception.SystemException;
968    
969            /**
970            * Finds the asset category where parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
971            *
972            * @param parentCategoryId the parent category id to search with
973            * @param name the name to search with
974            * @param vocabularyId the vocabulary id to search with
975            * @return the matching asset category, or <code>null</code> if a matching asset category could not be found
976            * @throws SystemException if a system exception occurred
977            */
978            public com.liferay.portlet.asset.model.AssetCategory fetchByP_N_V(
979                    long parentCategoryId, java.lang.String name, long vocabularyId,
980                    boolean retrieveFromCache)
981                    throws com.liferay.portal.kernel.exception.SystemException;
982    
983            /**
984            * Finds all the asset categories.
985            *
986            * @return the asset categories
987            * @throws SystemException if a system exception occurred
988            */
989            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll()
990                    throws com.liferay.portal.kernel.exception.SystemException;
991    
992            /**
993            * Finds a range of all the asset categories.
994            *
995            * <p>
996            * 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.
997            * </p>
998            *
999            * @param start the lower bound of the range of asset categories to return
1000            * @param end the upper bound of the range of asset categories to return (not inclusive)
1001            * @return the range of asset categories
1002            * @throws SystemException if a system exception occurred
1003            */
1004            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll(
1005                    int start, int end)
1006                    throws com.liferay.portal.kernel.exception.SystemException;
1007    
1008            /**
1009            * Finds an ordered range of all the asset categories.
1010            *
1011            * <p>
1012            * 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.
1013            * </p>
1014            *
1015            * @param start the lower bound of the range of asset categories to return
1016            * @param end the upper bound of the range of asset categories to return (not inclusive)
1017            * @param orderByComparator the comparator to order the results by
1018            * @return the ordered range of asset categories
1019            * @throws SystemException if a system exception occurred
1020            */
1021            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll(
1022                    int start, int end,
1023                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1024                    throws com.liferay.portal.kernel.exception.SystemException;
1025    
1026            /**
1027            * Removes all the asset categories where uuid = &#63; from the database.
1028            *
1029            * @param uuid the uuid to search with
1030            * @throws SystemException if a system exception occurred
1031            */
1032            public void removeByUuid(java.lang.String uuid)
1033                    throws com.liferay.portal.kernel.exception.SystemException;
1034    
1035            /**
1036            * Removes the asset category where uuid = &#63; and groupId = &#63; from the database.
1037            *
1038            * @param uuid the uuid to search with
1039            * @param groupId the group id to search with
1040            * @throws SystemException if a system exception occurred
1041            */
1042            public void removeByUUID_G(java.lang.String uuid, long groupId)
1043                    throws com.liferay.portal.kernel.exception.SystemException,
1044                            com.liferay.portlet.asset.NoSuchCategoryException;
1045    
1046            /**
1047            * Removes all the asset categories where groupId = &#63; from the database.
1048            *
1049            * @param groupId the group id to search with
1050            * @throws SystemException if a system exception occurred
1051            */
1052            public void removeByGroupId(long groupId)
1053                    throws com.liferay.portal.kernel.exception.SystemException;
1054    
1055            /**
1056            * Removes all the asset categories where parentCategoryId = &#63; from the database.
1057            *
1058            * @param parentCategoryId the parent category id to search with
1059            * @throws SystemException if a system exception occurred
1060            */
1061            public void removeByParentCategoryId(long parentCategoryId)
1062                    throws com.liferay.portal.kernel.exception.SystemException;
1063    
1064            /**
1065            * Removes all the asset categories where vocabularyId = &#63; from the database.
1066            *
1067            * @param vocabularyId the vocabulary id to search with
1068            * @throws SystemException if a system exception occurred
1069            */
1070            public void removeByVocabularyId(long vocabularyId)
1071                    throws com.liferay.portal.kernel.exception.SystemException;
1072    
1073            /**
1074            * Removes all the asset categories where parentCategoryId = &#63; and name = &#63; from the database.
1075            *
1076            * @param parentCategoryId the parent category id to search with
1077            * @param name the name to search with
1078            * @throws SystemException if a system exception occurred
1079            */
1080            public void removeByP_N(long parentCategoryId, java.lang.String name)
1081                    throws com.liferay.portal.kernel.exception.SystemException;
1082    
1083            /**
1084            * Removes all the asset categories where parentCategoryId = &#63; and vocabularyId = &#63; from the database.
1085            *
1086            * @param parentCategoryId the parent category id to search with
1087            * @param vocabularyId the vocabulary id to search with
1088            * @throws SystemException if a system exception occurred
1089            */
1090            public void removeByP_V(long parentCategoryId, long vocabularyId)
1091                    throws com.liferay.portal.kernel.exception.SystemException;
1092    
1093            /**
1094            * Removes all the asset categories where name = &#63; and vocabularyId = &#63; from the database.
1095            *
1096            * @param name the name to search with
1097            * @param vocabularyId the vocabulary id to search with
1098            * @throws SystemException if a system exception occurred
1099            */
1100            public void removeByN_V(java.lang.String name, long vocabularyId)
1101                    throws com.liferay.portal.kernel.exception.SystemException;
1102    
1103            /**
1104            * Removes the asset category where parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63; from the database.
1105            *
1106            * @param parentCategoryId the parent category id to search with
1107            * @param name the name to search with
1108            * @param vocabularyId the vocabulary id to search with
1109            * @throws SystemException if a system exception occurred
1110            */
1111            public void removeByP_N_V(long parentCategoryId, java.lang.String name,
1112                    long vocabularyId)
1113                    throws com.liferay.portal.kernel.exception.SystemException,
1114                            com.liferay.portlet.asset.NoSuchCategoryException;
1115    
1116            /**
1117            * Removes all the asset categories from the database.
1118            *
1119            * @throws SystemException if a system exception occurred
1120            */
1121            public void removeAll()
1122                    throws com.liferay.portal.kernel.exception.SystemException;
1123    
1124            /**
1125            * Counts all the asset categories where uuid = &#63;.
1126            *
1127            * @param uuid the uuid to search with
1128            * @return the number of matching asset categories
1129            * @throws SystemException if a system exception occurred
1130            */
1131            public int countByUuid(java.lang.String uuid)
1132                    throws com.liferay.portal.kernel.exception.SystemException;
1133    
1134            /**
1135            * Counts all the asset categories where uuid = &#63; and groupId = &#63;.
1136            *
1137            * @param uuid the uuid to search with
1138            * @param groupId the group id to search with
1139            * @return the number of matching asset categories
1140            * @throws SystemException if a system exception occurred
1141            */
1142            public int countByUUID_G(java.lang.String uuid, long groupId)
1143                    throws com.liferay.portal.kernel.exception.SystemException;
1144    
1145            /**
1146            * Counts all the asset categories where groupId = &#63;.
1147            *
1148            * @param groupId the group id to search with
1149            * @return the number of matching asset categories
1150            * @throws SystemException if a system exception occurred
1151            */
1152            public int countByGroupId(long groupId)
1153                    throws com.liferay.portal.kernel.exception.SystemException;
1154    
1155            /**
1156            * Filters by the user's permissions and counts all the asset categories where groupId = &#63;.
1157            *
1158            * @param groupId the group id to search with
1159            * @return the number of matching asset categories that the user has permission to view
1160            * @throws SystemException if a system exception occurred
1161            */
1162            public int filterCountByGroupId(long groupId)
1163                    throws com.liferay.portal.kernel.exception.SystemException;
1164    
1165            /**
1166            * Counts all the asset categories where parentCategoryId = &#63;.
1167            *
1168            * @param parentCategoryId the parent category id to search with
1169            * @return the number of matching asset categories
1170            * @throws SystemException if a system exception occurred
1171            */
1172            public int countByParentCategoryId(long parentCategoryId)
1173                    throws com.liferay.portal.kernel.exception.SystemException;
1174    
1175            /**
1176            * Counts all the asset categories where vocabularyId = &#63;.
1177            *
1178            * @param vocabularyId the vocabulary id to search with
1179            * @return the number of matching asset categories
1180            * @throws SystemException if a system exception occurred
1181            */
1182            public int countByVocabularyId(long vocabularyId)
1183                    throws com.liferay.portal.kernel.exception.SystemException;
1184    
1185            /**
1186            * Counts all the asset categories where parentCategoryId = &#63; and name = &#63;.
1187            *
1188            * @param parentCategoryId the parent category id to search with
1189            * @param name the name to search with
1190            * @return the number of matching asset categories
1191            * @throws SystemException if a system exception occurred
1192            */
1193            public int countByP_N(long parentCategoryId, java.lang.String name)
1194                    throws com.liferay.portal.kernel.exception.SystemException;
1195    
1196            /**
1197            * Counts all the asset categories where parentCategoryId = &#63; and vocabularyId = &#63;.
1198            *
1199            * @param parentCategoryId the parent category id to search with
1200            * @param vocabularyId the vocabulary id to search with
1201            * @return the number of matching asset categories
1202            * @throws SystemException if a system exception occurred
1203            */
1204            public int countByP_V(long parentCategoryId, long vocabularyId)
1205                    throws com.liferay.portal.kernel.exception.SystemException;
1206    
1207            /**
1208            * Counts all the asset categories where name = &#63; and vocabularyId = &#63;.
1209            *
1210            * @param name the name to search with
1211            * @param vocabularyId the vocabulary id to search with
1212            * @return the number of matching asset categories
1213            * @throws SystemException if a system exception occurred
1214            */
1215            public int countByN_V(java.lang.String name, long vocabularyId)
1216                    throws com.liferay.portal.kernel.exception.SystemException;
1217    
1218            /**
1219            * Counts all the asset categories where parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
1220            *
1221            * @param parentCategoryId the parent category id to search with
1222            * @param name the name to search with
1223            * @param vocabularyId the vocabulary id to search with
1224            * @return the number of matching asset categories
1225            * @throws SystemException if a system exception occurred
1226            */
1227            public int countByP_N_V(long parentCategoryId, java.lang.String name,
1228                    long vocabularyId)
1229                    throws com.liferay.portal.kernel.exception.SystemException;
1230    
1231            /**
1232            * Counts all the asset categories.
1233            *
1234            * @return the number of asset categories
1235            * @throws SystemException if a system exception occurred
1236            */
1237            public int countAll()
1238                    throws com.liferay.portal.kernel.exception.SystemException;
1239    
1240            /**
1241            * Gets all the asset entries associated with the asset category.
1242            *
1243            * @param pk the primary key of the asset category to get the associated asset entries for
1244            * @return the asset entries associated with the asset category
1245            * @throws SystemException if a system exception occurred
1246            */
1247            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
1248                    long pk) throws com.liferay.portal.kernel.exception.SystemException;
1249    
1250            /**
1251            * Gets a range of all the asset entries associated with the asset category.
1252            *
1253            * <p>
1254            * 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.
1255            * </p>
1256            *
1257            * @param pk the primary key of the asset category to get the associated asset entries for
1258            * @param start the lower bound of the range of asset categories to return
1259            * @param end the upper bound of the range of asset categories to return (not inclusive)
1260            * @return the range of asset entries associated with the asset category
1261            * @throws SystemException if a system exception occurred
1262            */
1263            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
1264                    long pk, int start, int end)
1265                    throws com.liferay.portal.kernel.exception.SystemException;
1266    
1267            /**
1268            * Gets an ordered range of all the asset entries associated with the asset category.
1269            *
1270            * <p>
1271            * 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.
1272            * </p>
1273            *
1274            * @param pk the primary key of the asset category to get the associated asset entries for
1275            * @param start the lower bound of the range of asset categories to return
1276            * @param end the upper bound of the range of asset categories to return (not inclusive)
1277            * @param orderByComparator the comparator to order the results by
1278            * @return the ordered range of asset entries associated with the asset category
1279            * @throws SystemException if a system exception occurred
1280            */
1281            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
1282                    long pk, int start, int end,
1283                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1284                    throws com.liferay.portal.kernel.exception.SystemException;
1285    
1286            /**
1287            * Gets the number of asset entries associated with the asset category.
1288            *
1289            * @param pk the primary key of the asset category to get the number of associated asset entries for
1290            * @return the number of asset entries associated with the asset category
1291            * @throws SystemException if a system exception occurred
1292            */
1293            public int getAssetEntriesSize(long pk)
1294                    throws com.liferay.portal.kernel.exception.SystemException;
1295    
1296            /**
1297            * Determines whether the asset entry is associated with the asset category.
1298            *
1299            * @param pk the primary key of the asset category
1300            * @param assetEntryPK the primary key of the asset entry
1301            * @return whether the asset entry is associated with the asset category
1302            * @throws SystemException if a system exception occurred
1303            */
1304            public boolean containsAssetEntry(long pk, long assetEntryPK)
1305                    throws com.liferay.portal.kernel.exception.SystemException;
1306    
1307            /**
1308            * Determines whether the asset category has any asset entries associated with it.
1309            *
1310            * @param pk the primary key of the asset category to check for associations with asset entries
1311            * @return whether the asset category has any asset entries associated with it
1312            * @throws SystemException if a system exception occurred
1313            */
1314            public boolean containsAssetEntries(long pk)
1315                    throws com.liferay.portal.kernel.exception.SystemException;
1316    
1317            /**
1318            * Adds an association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1319            *
1320            * @param pk the primary key of the asset category
1321            * @param assetEntryPK the primary key of the asset entry
1322            * @throws SystemException if a system exception occurred
1323            */
1324            public void addAssetEntry(long pk, long assetEntryPK)
1325                    throws com.liferay.portal.kernel.exception.SystemException;
1326    
1327            /**
1328            * Adds an association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1329            *
1330            * @param pk the primary key of the asset category
1331            * @param assetEntry the asset entry
1332            * @throws SystemException if a system exception occurred
1333            */
1334            public void addAssetEntry(long pk,
1335                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
1336                    throws com.liferay.portal.kernel.exception.SystemException;
1337    
1338            /**
1339            * Adds an association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1340            *
1341            * @param pk the primary key of the asset category
1342            * @param assetEntryPKs the primary keys of the asset entries
1343            * @throws SystemException if a system exception occurred
1344            */
1345            public void addAssetEntries(long pk, long[] assetEntryPKs)
1346                    throws com.liferay.portal.kernel.exception.SystemException;
1347    
1348            /**
1349            * Adds an association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1350            *
1351            * @param pk the primary key of the asset category
1352            * @param assetEntries the asset entries
1353            * @throws SystemException if a system exception occurred
1354            */
1355            public void addAssetEntries(long pk,
1356                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
1357                    throws com.liferay.portal.kernel.exception.SystemException;
1358    
1359            /**
1360            * Clears all associations between the asset category and its asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1361            *
1362            * @param pk the primary key of the asset category to clear the associated asset entries from
1363            * @throws SystemException if a system exception occurred
1364            */
1365            public void clearAssetEntries(long pk)
1366                    throws com.liferay.portal.kernel.exception.SystemException;
1367    
1368            /**
1369            * Removes the association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1370            *
1371            * @param pk the primary key of the asset category
1372            * @param assetEntryPK the primary key of the asset entry
1373            * @throws SystemException if a system exception occurred
1374            */
1375            public void removeAssetEntry(long pk, long assetEntryPK)
1376                    throws com.liferay.portal.kernel.exception.SystemException;
1377    
1378            /**
1379            * Removes the association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1380            *
1381            * @param pk the primary key of the asset category
1382            * @param assetEntry the asset entry
1383            * @throws SystemException if a system exception occurred
1384            */
1385            public void removeAssetEntry(long pk,
1386                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
1387                    throws com.liferay.portal.kernel.exception.SystemException;
1388    
1389            /**
1390            * Removes the association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1391            *
1392            * @param pk the primary key of the asset category
1393            * @param assetEntryPKs the primary keys of the asset entries
1394            * @throws SystemException if a system exception occurred
1395            */
1396            public void removeAssetEntries(long pk, long[] assetEntryPKs)
1397                    throws com.liferay.portal.kernel.exception.SystemException;
1398    
1399            /**
1400            * Removes the association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1401            *
1402            * @param pk the primary key of the asset category
1403            * @param assetEntries the asset entries
1404            * @throws SystemException if a system exception occurred
1405            */
1406            public void removeAssetEntries(long pk,
1407                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
1408                    throws com.liferay.portal.kernel.exception.SystemException;
1409    
1410            /**
1411            * Sets the asset entries associated with the asset category, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1412            *
1413            * @param pk the primary key of the asset category to set the associations for
1414            * @param assetEntryPKs the primary keys of the asset entries to be associated with the asset category
1415            * @throws SystemException if a system exception occurred
1416            */
1417            public void setAssetEntries(long pk, long[] assetEntryPKs)
1418                    throws com.liferay.portal.kernel.exception.SystemException;
1419    
1420            /**
1421            * Sets the asset entries associated with the asset category, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1422            *
1423            * @param pk the primary key of the asset category to set the associations for
1424            * @param assetEntries the asset entries to be associated with the asset category
1425            * @throws SystemException if a system exception occurred
1426            */
1427            public void setAssetEntries(long pk,
1428                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
1429                    throws com.liferay.portal.kernel.exception.SystemException;
1430    
1431            /**
1432            * Rebuilds the asset categories tree for the scope using the modified pre-order tree traversal algorithm.
1433            *
1434            * <p>
1435            * Only call this method if the tree has become stale through operations other than normal CRUD. Under normal circumstances the tree is automatically rebuilt whenver necessary.
1436            * </p>
1437            *
1438            * @param groupId the id of the scope to rebuild the tree for
1439            * @param force whether to force the rebuild even if the tree is not stale
1440            */
1441            public void rebuildTree(long groupId, boolean force)
1442                    throws com.liferay.portal.kernel.exception.SystemException;
1443    }