001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.asset.service.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     * Caching information and settings can be found in <code>portal.properties</code>
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see AssetCategoryPersistenceImpl
030     * @see AssetCategoryUtil
031     * @generated
032     */
033    public interface AssetCategoryPersistence extends BasePersistence<AssetCategory> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * 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.
038             */
039    
040            /**
041            * Caches the asset category in the entity cache if it is enabled.
042            *
043            * @param assetCategory the asset category
044            */
045            public void cacheResult(
046                    com.liferay.portlet.asset.model.AssetCategory assetCategory);
047    
048            /**
049            * Caches the asset categories in the entity cache if it is enabled.
050            *
051            * @param assetCategories the asset categories
052            */
053            public void cacheResult(
054                    java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories);
055    
056            /**
057            * Creates a new asset category with the primary key. Does not add the asset category to the database.
058            *
059            * @param categoryId the primary key for the new asset category
060            * @return the new asset category
061            */
062            public com.liferay.portlet.asset.model.AssetCategory create(long categoryId);
063    
064            /**
065            * Removes the asset category with the primary key from the database. Also notifies the appropriate model listeners.
066            *
067            * @param categoryId the primary key of the asset category
068            * @return the asset category that was removed
069            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
070            * @throws SystemException if a system exception occurred
071            */
072            public com.liferay.portlet.asset.model.AssetCategory remove(long categoryId)
073                    throws com.liferay.portal.kernel.exception.SystemException,
074                            com.liferay.portlet.asset.NoSuchCategoryException;
075    
076            public com.liferay.portlet.asset.model.AssetCategory updateImpl(
077                    com.liferay.portlet.asset.model.AssetCategory assetCategory,
078                    boolean merge)
079                    throws com.liferay.portal.kernel.exception.SystemException;
080    
081            /**
082            * Returns the asset category with the primary key or throws a {@link com.liferay.portlet.asset.NoSuchCategoryException} if it could not be found.
083            *
084            * @param categoryId the primary key of the asset category
085            * @return the asset category
086            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
087            * @throws SystemException if a system exception occurred
088            */
089            public com.liferay.portlet.asset.model.AssetCategory findByPrimaryKey(
090                    long categoryId)
091                    throws com.liferay.portal.kernel.exception.SystemException,
092                            com.liferay.portlet.asset.NoSuchCategoryException;
093    
094            /**
095            * Returns the asset category with the primary key or returns <code>null</code> if it could not be found.
096            *
097            * @param categoryId the primary key of the asset category
098            * @return the asset category, or <code>null</code> if a asset category with the primary key could not be found
099            * @throws SystemException if a system exception occurred
100            */
101            public com.liferay.portlet.asset.model.AssetCategory fetchByPrimaryKey(
102                    long categoryId)
103                    throws com.liferay.portal.kernel.exception.SystemException;
104    
105            /**
106            * Returns all the asset categories where uuid = &#63;.
107            *
108            * @param uuid the uuid
109            * @return the matching asset categories
110            * @throws SystemException if a system exception occurred
111            */
112            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(
113                    java.lang.String uuid)
114                    throws com.liferay.portal.kernel.exception.SystemException;
115    
116            /**
117            * Returns a range of all the asset categories where uuid = &#63;.
118            *
119            * <p>
120            * 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.
121            * </p>
122            *
123            * @param uuid the uuid
124            * @param start the lower bound of the range of asset categories
125            * @param end the upper bound of the range of asset categories (not inclusive)
126            * @return the range of matching asset categories
127            * @throws SystemException if a system exception occurred
128            */
129            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(
130                    java.lang.String uuid, int start, int end)
131                    throws com.liferay.portal.kernel.exception.SystemException;
132    
133            /**
134            * Returns an ordered range of all the asset categories where uuid = &#63;.
135            *
136            * <p>
137            * 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.
138            * </p>
139            *
140            * @param uuid the uuid
141            * @param start the lower bound of the range of asset categories
142            * @param end the upper bound of the range of asset categories (not inclusive)
143            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
144            * @return the ordered range of matching asset categories
145            * @throws SystemException if a system exception occurred
146            */
147            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(
148                    java.lang.String uuid, int start, int end,
149                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150                    throws com.liferay.portal.kernel.exception.SystemException;
151    
152            /**
153            * Returns the first asset category in the ordered set where uuid = &#63;.
154            *
155            * @param uuid the uuid
156            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
157            * @return the first matching asset category
158            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
159            * @throws SystemException if a system exception occurred
160            */
161            public com.liferay.portlet.asset.model.AssetCategory findByUuid_First(
162                    java.lang.String uuid,
163                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
164                    throws com.liferay.portal.kernel.exception.SystemException,
165                            com.liferay.portlet.asset.NoSuchCategoryException;
166    
167            /**
168            * Returns the first asset category in the ordered set where uuid = &#63;.
169            *
170            * @param uuid the uuid
171            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
172            * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found
173            * @throws SystemException if a system exception occurred
174            */
175            public com.liferay.portlet.asset.model.AssetCategory fetchByUuid_First(
176                    java.lang.String uuid,
177                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
178                    throws com.liferay.portal.kernel.exception.SystemException;
179    
180            /**
181            * Returns the last asset category in the ordered set where uuid = &#63;.
182            *
183            * @param uuid the uuid
184            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
185            * @return the last matching asset category
186            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
187            * @throws SystemException if a system exception occurred
188            */
189            public com.liferay.portlet.asset.model.AssetCategory findByUuid_Last(
190                    java.lang.String uuid,
191                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
192                    throws com.liferay.portal.kernel.exception.SystemException,
193                            com.liferay.portlet.asset.NoSuchCategoryException;
194    
195            /**
196            * Returns the last asset category in the ordered set where uuid = &#63;.
197            *
198            * @param uuid the uuid
199            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
200            * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found
201            * @throws SystemException if a system exception occurred
202            */
203            public com.liferay.portlet.asset.model.AssetCategory fetchByUuid_Last(
204                    java.lang.String uuid,
205                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
206                    throws com.liferay.portal.kernel.exception.SystemException;
207    
208            /**
209            * Returns the asset categories before and after the current asset category in the ordered set where uuid = &#63;.
210            *
211            * @param categoryId the primary key of the current asset category
212            * @param uuid the uuid
213            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
214            * @return the previous, current, and next asset category
215            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
216            * @throws SystemException if a system exception occurred
217            */
218            public com.liferay.portlet.asset.model.AssetCategory[] findByUuid_PrevAndNext(
219                    long categoryId, java.lang.String uuid,
220                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
221                    throws com.liferay.portal.kernel.exception.SystemException,
222                            com.liferay.portlet.asset.NoSuchCategoryException;
223    
224            /**
225            * Returns the asset category where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.asset.NoSuchCategoryException} if it could not be found.
226            *
227            * @param uuid the uuid
228            * @param groupId the group ID
229            * @return the matching asset category
230            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
231            * @throws SystemException if a system exception occurred
232            */
233            public com.liferay.portlet.asset.model.AssetCategory findByUUID_G(
234                    java.lang.String uuid, long groupId)
235                    throws com.liferay.portal.kernel.exception.SystemException,
236                            com.liferay.portlet.asset.NoSuchCategoryException;
237    
238            /**
239            * Returns the asset category where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
240            *
241            * @param uuid the uuid
242            * @param groupId the group ID
243            * @return the matching asset category, or <code>null</code> if a matching asset category could not be found
244            * @throws SystemException if a system exception occurred
245            */
246            public com.liferay.portlet.asset.model.AssetCategory fetchByUUID_G(
247                    java.lang.String uuid, long groupId)
248                    throws com.liferay.portal.kernel.exception.SystemException;
249    
250            /**
251            * Returns 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.
252            *
253            * @param uuid the uuid
254            * @param groupId the group ID
255            * @param retrieveFromCache whether to use the finder cache
256            * @return the matching asset category, or <code>null</code> if a matching asset category could not be found
257            * @throws SystemException if a system exception occurred
258            */
259            public com.liferay.portlet.asset.model.AssetCategory fetchByUUID_G(
260                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
261                    throws com.liferay.portal.kernel.exception.SystemException;
262    
263            /**
264            * Returns all the asset categories where groupId = &#63;.
265            *
266            * @param groupId the group ID
267            * @return the 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)
272                    throws com.liferay.portal.kernel.exception.SystemException;
273    
274            /**
275            * Returns a 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
282            * @param start the lower bound of the range of asset categories
283            * @param end the upper bound of the range of asset categories (not inclusive)
284            * @return the range of matching asset categories
285            * @throws SystemException if a system exception occurred
286            */
287            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByGroupId(
288                    long groupId, int start, int end)
289                    throws com.liferay.portal.kernel.exception.SystemException;
290    
291            /**
292            * Returns an ordered range of all the asset categories where groupId = &#63;.
293            *
294            * <p>
295            * 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.
296            * </p>
297            *
298            * @param groupId the group ID
299            * @param start the lower bound of the range of asset categories
300            * @param end the upper bound of the range of asset categories (not inclusive)
301            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
302            * @return the ordered range of matching asset categories
303            * @throws SystemException if a system exception occurred
304            */
305            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByGroupId(
306                    long groupId, int start, int end,
307                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
308                    throws com.liferay.portal.kernel.exception.SystemException;
309    
310            /**
311            * Returns the first asset category in the ordered set where groupId = &#63;.
312            *
313            * @param groupId the group ID
314            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
315            * @return the first matching asset category
316            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
317            * @throws SystemException if a system exception occurred
318            */
319            public com.liferay.portlet.asset.model.AssetCategory findByGroupId_First(
320                    long groupId,
321                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
322                    throws com.liferay.portal.kernel.exception.SystemException,
323                            com.liferay.portlet.asset.NoSuchCategoryException;
324    
325            /**
326            * Returns the first asset category in the ordered set where groupId = &#63;.
327            *
328            * @param groupId the group ID
329            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
330            * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found
331            * @throws SystemException if a system exception occurred
332            */
333            public com.liferay.portlet.asset.model.AssetCategory fetchByGroupId_First(
334                    long groupId,
335                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
336                    throws com.liferay.portal.kernel.exception.SystemException;
337    
338            /**
339            * Returns the last asset category in the ordered set where groupId = &#63;.
340            *
341            * @param groupId the group ID
342            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
343            * @return the last matching asset category
344            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
345            * @throws SystemException if a system exception occurred
346            */
347            public com.liferay.portlet.asset.model.AssetCategory findByGroupId_Last(
348                    long groupId,
349                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
350                    throws com.liferay.portal.kernel.exception.SystemException,
351                            com.liferay.portlet.asset.NoSuchCategoryException;
352    
353            /**
354            * Returns the last asset category in the ordered set where groupId = &#63;.
355            *
356            * @param groupId the group ID
357            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
358            * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found
359            * @throws SystemException if a system exception occurred
360            */
361            public com.liferay.portlet.asset.model.AssetCategory fetchByGroupId_Last(
362                    long groupId,
363                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
364                    throws com.liferay.portal.kernel.exception.SystemException;
365    
366            /**
367            * Returns the asset categories before and after the current asset category in the ordered set where groupId = &#63;.
368            *
369            * @param categoryId the primary key of the current asset category
370            * @param groupId the group ID
371            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
372            * @return the previous, current, and next asset category
373            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
374            * @throws SystemException if a system exception occurred
375            */
376            public com.liferay.portlet.asset.model.AssetCategory[] findByGroupId_PrevAndNext(
377                    long categoryId, long groupId,
378                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
379                    throws com.liferay.portal.kernel.exception.SystemException,
380                            com.liferay.portlet.asset.NoSuchCategoryException;
381    
382            /**
383            * Returns all the asset categories that the user has permission to view where groupId = &#63;.
384            *
385            * @param groupId the group ID
386            * @return the matching asset categories that the user has permission to view
387            * @throws SystemException if a system exception occurred
388            */
389            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId(
390                    long groupId)
391                    throws com.liferay.portal.kernel.exception.SystemException;
392    
393            /**
394            * Returns a range of all the asset categories that the user has permission to view where groupId = &#63;.
395            *
396            * <p>
397            * 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.
398            * </p>
399            *
400            * @param groupId the group ID
401            * @param start the lower bound of the range of asset categories
402            * @param end the upper bound of the range of asset categories (not inclusive)
403            * @return the range of matching asset categories that the user has permission to view
404            * @throws SystemException if a system exception occurred
405            */
406            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId(
407                    long groupId, int start, int end)
408                    throws com.liferay.portal.kernel.exception.SystemException;
409    
410            /**
411            * Returns an ordered range of all the asset categories that the user has permissions to view where groupId = &#63;.
412            *
413            * <p>
414            * 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.
415            * </p>
416            *
417            * @param groupId the group ID
418            * @param start the lower bound of the range of asset categories
419            * @param end the upper bound of the range of asset categories (not inclusive)
420            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
421            * @return the ordered range of matching asset categories that the user has permission to view
422            * @throws SystemException if a system exception occurred
423            */
424            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId(
425                    long groupId, int start, int end,
426                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
427                    throws com.liferay.portal.kernel.exception.SystemException;
428    
429            /**
430            * Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = &#63;.
431            *
432            * @param categoryId the primary key of the current asset category
433            * @param groupId the group ID
434            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
435            * @return the previous, current, and next asset category
436            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
437            * @throws SystemException if a system exception occurred
438            */
439            public com.liferay.portlet.asset.model.AssetCategory[] filterFindByGroupId_PrevAndNext(
440                    long categoryId, long groupId,
441                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
442                    throws com.liferay.portal.kernel.exception.SystemException,
443                            com.liferay.portlet.asset.NoSuchCategoryException;
444    
445            /**
446            * Returns all the asset categories where parentCategoryId = &#63;.
447            *
448            * @param parentCategoryId the parent category ID
449            * @return the matching asset categories
450            * @throws SystemException if a system exception occurred
451            */
452            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(
453                    long parentCategoryId)
454                    throws com.liferay.portal.kernel.exception.SystemException;
455    
456            /**
457            * Returns a range of all the asset categories where parentCategoryId = &#63;.
458            *
459            * <p>
460            * 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.
461            * </p>
462            *
463            * @param parentCategoryId the parent category ID
464            * @param start the lower bound of the range of asset categories
465            * @param end the upper bound of the range of asset categories (not inclusive)
466            * @return the range of matching asset categories
467            * @throws SystemException if a system exception occurred
468            */
469            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(
470                    long parentCategoryId, int start, int end)
471                    throws com.liferay.portal.kernel.exception.SystemException;
472    
473            /**
474            * Returns an ordered range of all the asset categories where parentCategoryId = &#63;.
475            *
476            * <p>
477            * 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.
478            * </p>
479            *
480            * @param parentCategoryId the parent category ID
481            * @param start the lower bound of the range of asset categories
482            * @param end the upper bound of the range of asset categories (not inclusive)
483            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
484            * @return the ordered range of matching asset categories
485            * @throws SystemException if a system exception occurred
486            */
487            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(
488                    long parentCategoryId, int start, int end,
489                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
490                    throws com.liferay.portal.kernel.exception.SystemException;
491    
492            /**
493            * Returns the first asset category in the ordered set where parentCategoryId = &#63;.
494            *
495            * @param parentCategoryId the parent category ID
496            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
497            * @return the first matching asset category
498            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
499            * @throws SystemException if a system exception occurred
500            */
501            public com.liferay.portlet.asset.model.AssetCategory findByParentCategoryId_First(
502                    long parentCategoryId,
503                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
504                    throws com.liferay.portal.kernel.exception.SystemException,
505                            com.liferay.portlet.asset.NoSuchCategoryException;
506    
507            /**
508            * Returns the first asset category in the ordered set where parentCategoryId = &#63;.
509            *
510            * @param parentCategoryId the parent category ID
511            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
512            * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found
513            * @throws SystemException if a system exception occurred
514            */
515            public com.liferay.portlet.asset.model.AssetCategory fetchByParentCategoryId_First(
516                    long parentCategoryId,
517                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
518                    throws com.liferay.portal.kernel.exception.SystemException;
519    
520            /**
521            * Returns the last asset category in the ordered set where parentCategoryId = &#63;.
522            *
523            * @param parentCategoryId the parent category ID
524            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
525            * @return the last matching asset category
526            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
527            * @throws SystemException if a system exception occurred
528            */
529            public com.liferay.portlet.asset.model.AssetCategory findByParentCategoryId_Last(
530                    long parentCategoryId,
531                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
532                    throws com.liferay.portal.kernel.exception.SystemException,
533                            com.liferay.portlet.asset.NoSuchCategoryException;
534    
535            /**
536            * Returns the last asset category in the ordered set where parentCategoryId = &#63;.
537            *
538            * @param parentCategoryId the parent category ID
539            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
540            * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found
541            * @throws SystemException if a system exception occurred
542            */
543            public com.liferay.portlet.asset.model.AssetCategory fetchByParentCategoryId_Last(
544                    long parentCategoryId,
545                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
546                    throws com.liferay.portal.kernel.exception.SystemException;
547    
548            /**
549            * Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = &#63;.
550            *
551            * @param categoryId the primary key of the current asset category
552            * @param parentCategoryId the parent category ID
553            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
554            * @return the previous, current, and next asset category
555            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
556            * @throws SystemException if a system exception occurred
557            */
558            public com.liferay.portlet.asset.model.AssetCategory[] findByParentCategoryId_PrevAndNext(
559                    long categoryId, long parentCategoryId,
560                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
561                    throws com.liferay.portal.kernel.exception.SystemException,
562                            com.liferay.portlet.asset.NoSuchCategoryException;
563    
564            /**
565            * Returns all the asset categories where vocabularyId = &#63;.
566            *
567            * @param vocabularyId the vocabulary ID
568            * @return the matching asset categories
569            * @throws SystemException if a system exception occurred
570            */
571            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(
572                    long vocabularyId)
573                    throws com.liferay.portal.kernel.exception.SystemException;
574    
575            /**
576            * Returns a range of all the asset categories where vocabularyId = &#63;.
577            *
578            * <p>
579            * 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.
580            * </p>
581            *
582            * @param vocabularyId the vocabulary ID
583            * @param start the lower bound of the range of asset categories
584            * @param end the upper bound of the range of asset categories (not inclusive)
585            * @return the range of matching asset categories
586            * @throws SystemException if a system exception occurred
587            */
588            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(
589                    long vocabularyId, int start, int end)
590                    throws com.liferay.portal.kernel.exception.SystemException;
591    
592            /**
593            * Returns an ordered range of all the asset categories where vocabularyId = &#63;.
594            *
595            * <p>
596            * 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.
597            * </p>
598            *
599            * @param vocabularyId the vocabulary ID
600            * @param start the lower bound of the range of asset categories
601            * @param end the upper bound of the range of asset categories (not inclusive)
602            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
603            * @return the ordered range of matching asset categories
604            * @throws SystemException if a system exception occurred
605            */
606            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(
607                    long vocabularyId, int start, int end,
608                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
609                    throws com.liferay.portal.kernel.exception.SystemException;
610    
611            /**
612            * Returns the first asset category in the ordered set where vocabularyId = &#63;.
613            *
614            * @param vocabularyId the vocabulary ID
615            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
616            * @return the first matching asset category
617            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
618            * @throws SystemException if a system exception occurred
619            */
620            public com.liferay.portlet.asset.model.AssetCategory findByVocabularyId_First(
621                    long vocabularyId,
622                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
623                    throws com.liferay.portal.kernel.exception.SystemException,
624                            com.liferay.portlet.asset.NoSuchCategoryException;
625    
626            /**
627            * Returns the first asset category in the ordered set where vocabularyId = &#63;.
628            *
629            * @param vocabularyId the vocabulary ID
630            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
631            * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found
632            * @throws SystemException if a system exception occurred
633            */
634            public com.liferay.portlet.asset.model.AssetCategory fetchByVocabularyId_First(
635                    long vocabularyId,
636                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
637                    throws com.liferay.portal.kernel.exception.SystemException;
638    
639            /**
640            * Returns the last asset category in the ordered set where vocabularyId = &#63;.
641            *
642            * @param vocabularyId the vocabulary ID
643            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
644            * @return the last matching asset category
645            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
646            * @throws SystemException if a system exception occurred
647            */
648            public com.liferay.portlet.asset.model.AssetCategory findByVocabularyId_Last(
649                    long vocabularyId,
650                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
651                    throws com.liferay.portal.kernel.exception.SystemException,
652                            com.liferay.portlet.asset.NoSuchCategoryException;
653    
654            /**
655            * Returns the last asset category in the ordered set where vocabularyId = &#63;.
656            *
657            * @param vocabularyId the vocabulary ID
658            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
659            * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found
660            * @throws SystemException if a system exception occurred
661            */
662            public com.liferay.portlet.asset.model.AssetCategory fetchByVocabularyId_Last(
663                    long vocabularyId,
664                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
665                    throws com.liferay.portal.kernel.exception.SystemException;
666    
667            /**
668            * Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = &#63;.
669            *
670            * @param categoryId the primary key of the current asset category
671            * @param vocabularyId the vocabulary ID
672            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
673            * @return the previous, current, and next asset category
674            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
675            * @throws SystemException if a system exception occurred
676            */
677            public com.liferay.portlet.asset.model.AssetCategory[] findByVocabularyId_PrevAndNext(
678                    long categoryId, long vocabularyId,
679                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
680                    throws com.liferay.portal.kernel.exception.SystemException,
681                            com.liferay.portlet.asset.NoSuchCategoryException;
682    
683            /**
684            * Returns all the asset categories where groupId = &#63; and vocabularyId = &#63;.
685            *
686            * @param groupId the group ID
687            * @param vocabularyId the vocabulary ID
688            * @return the matching asset categories
689            * @throws SystemException if a system exception occurred
690            */
691            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V(
692                    long groupId, long vocabularyId)
693                    throws com.liferay.portal.kernel.exception.SystemException;
694    
695            /**
696            * Returns a range of all the asset categories where groupId = &#63; and vocabularyId = &#63;.
697            *
698            * <p>
699            * 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.
700            * </p>
701            *
702            * @param groupId the group ID
703            * @param vocabularyId the vocabulary ID
704            * @param start the lower bound of the range of asset categories
705            * @param end the upper bound of the range of asset categories (not inclusive)
706            * @return the range of matching asset categories
707            * @throws SystemException if a system exception occurred
708            */
709            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V(
710                    long groupId, long vocabularyId, int start, int end)
711                    throws com.liferay.portal.kernel.exception.SystemException;
712    
713            /**
714            * Returns an ordered range of all the asset categories where groupId = &#63; and vocabularyId = &#63;.
715            *
716            * <p>
717            * 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.
718            * </p>
719            *
720            * @param groupId the group ID
721            * @param vocabularyId the vocabulary ID
722            * @param start the lower bound of the range of asset categories
723            * @param end the upper bound of the range of asset categories (not inclusive)
724            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
725            * @return the ordered range of matching asset categories
726            * @throws SystemException if a system exception occurred
727            */
728            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V(
729                    long groupId, long vocabularyId, int start, int end,
730                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
731                    throws com.liferay.portal.kernel.exception.SystemException;
732    
733            /**
734            * Returns the first asset category in the ordered set where groupId = &#63; and vocabularyId = &#63;.
735            *
736            * @param groupId the group ID
737            * @param vocabularyId the vocabulary ID
738            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
739            * @return the first matching asset category
740            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
741            * @throws SystemException if a system exception occurred
742            */
743            public com.liferay.portlet.asset.model.AssetCategory findByG_V_First(
744                    long groupId, long vocabularyId,
745                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
746                    throws com.liferay.portal.kernel.exception.SystemException,
747                            com.liferay.portlet.asset.NoSuchCategoryException;
748    
749            /**
750            * Returns the first asset category in the ordered set where groupId = &#63; and vocabularyId = &#63;.
751            *
752            * @param groupId the group ID
753            * @param vocabularyId the vocabulary ID
754            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
755            * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found
756            * @throws SystemException if a system exception occurred
757            */
758            public com.liferay.portlet.asset.model.AssetCategory fetchByG_V_First(
759                    long groupId, long vocabularyId,
760                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
761                    throws com.liferay.portal.kernel.exception.SystemException;
762    
763            /**
764            * Returns the last asset category in the ordered set where groupId = &#63; and vocabularyId = &#63;.
765            *
766            * @param groupId the group ID
767            * @param vocabularyId the vocabulary ID
768            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
769            * @return the last matching asset category
770            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
771            * @throws SystemException if a system exception occurred
772            */
773            public com.liferay.portlet.asset.model.AssetCategory findByG_V_Last(
774                    long groupId, long vocabularyId,
775                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
776                    throws com.liferay.portal.kernel.exception.SystemException,
777                            com.liferay.portlet.asset.NoSuchCategoryException;
778    
779            /**
780            * Returns the last asset category in the ordered set where groupId = &#63; and vocabularyId = &#63;.
781            *
782            * @param groupId the group ID
783            * @param vocabularyId the vocabulary ID
784            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
785            * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found
786            * @throws SystemException if a system exception occurred
787            */
788            public com.liferay.portlet.asset.model.AssetCategory fetchByG_V_Last(
789                    long groupId, long vocabularyId,
790                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
791                    throws com.liferay.portal.kernel.exception.SystemException;
792    
793            /**
794            * Returns the asset categories before and after the current asset category in the ordered set where groupId = &#63; and vocabularyId = &#63;.
795            *
796            * @param categoryId the primary key of the current asset category
797            * @param groupId the group ID
798            * @param vocabularyId the vocabulary ID
799            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
800            * @return the previous, current, and next asset category
801            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
802            * @throws SystemException if a system exception occurred
803            */
804            public com.liferay.portlet.asset.model.AssetCategory[] findByG_V_PrevAndNext(
805                    long categoryId, long groupId, long vocabularyId,
806                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
807                    throws com.liferay.portal.kernel.exception.SystemException,
808                            com.liferay.portlet.asset.NoSuchCategoryException;
809    
810            /**
811            * Returns all the asset categories where groupId = &#63; and vocabularyId = any &#63;.
812            *
813            * <p>
814            * 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.
815            * </p>
816            *
817            * @param groupId the group ID
818            * @param vocabularyIds the vocabulary IDs
819            * @return the matching asset categories
820            * @throws SystemException if a system exception occurred
821            */
822            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V(
823                    long groupId, long[] vocabularyIds)
824                    throws com.liferay.portal.kernel.exception.SystemException;
825    
826            /**
827            * Returns a range of all the asset categories where groupId = &#63; and vocabularyId = any &#63;.
828            *
829            * <p>
830            * 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.
831            * </p>
832            *
833            * @param groupId the group ID
834            * @param vocabularyIds the vocabulary IDs
835            * @param start the lower bound of the range of asset categories
836            * @param end the upper bound of the range of asset categories (not inclusive)
837            * @return the range of matching asset categories
838            * @throws SystemException if a system exception occurred
839            */
840            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V(
841                    long groupId, long[] vocabularyIds, int start, int end)
842                    throws com.liferay.portal.kernel.exception.SystemException;
843    
844            /**
845            * Returns an ordered range of all the asset categories where groupId = &#63; and vocabularyId = any &#63;.
846            *
847            * <p>
848            * 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.
849            * </p>
850            *
851            * @param groupId the group ID
852            * @param vocabularyIds the vocabulary IDs
853            * @param start the lower bound of the range of asset categories
854            * @param end the upper bound of the range of asset categories (not inclusive)
855            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
856            * @return the ordered range of matching asset categories
857            * @throws SystemException if a system exception occurred
858            */
859            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V(
860                    long groupId, long[] vocabularyIds, int start, int end,
861                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
862                    throws com.liferay.portal.kernel.exception.SystemException;
863    
864            /**
865            * Returns all the asset categories that the user has permission to view where groupId = &#63; and vocabularyId = &#63;.
866            *
867            * @param groupId the group ID
868            * @param vocabularyId the vocabulary ID
869            * @return the matching asset categories that the user has permission to view
870            * @throws SystemException if a system exception occurred
871            */
872            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V(
873                    long groupId, long vocabularyId)
874                    throws com.liferay.portal.kernel.exception.SystemException;
875    
876            /**
877            * Returns a range of all the asset categories that the user has permission to view where groupId = &#63; and vocabularyId = &#63;.
878            *
879            * <p>
880            * 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.
881            * </p>
882            *
883            * @param groupId the group ID
884            * @param vocabularyId the vocabulary ID
885            * @param start the lower bound of the range of asset categories
886            * @param end the upper bound of the range of asset categories (not inclusive)
887            * @return the range of matching asset categories that the user has permission to view
888            * @throws SystemException if a system exception occurred
889            */
890            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V(
891                    long groupId, long vocabularyId, int start, int end)
892                    throws com.liferay.portal.kernel.exception.SystemException;
893    
894            /**
895            * Returns an ordered range of all the asset categories that the user has permissions to view where groupId = &#63; and vocabularyId = &#63;.
896            *
897            * <p>
898            * 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.
899            * </p>
900            *
901            * @param groupId the group ID
902            * @param vocabularyId the vocabulary ID
903            * @param start the lower bound of the range of asset categories
904            * @param end the upper bound of the range of asset categories (not inclusive)
905            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
906            * @return the ordered range of matching asset categories that the user has permission to view
907            * @throws SystemException if a system exception occurred
908            */
909            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V(
910                    long groupId, long vocabularyId, int start, int end,
911                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
912                    throws com.liferay.portal.kernel.exception.SystemException;
913    
914            /**
915            * Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = &#63; and vocabularyId = &#63;.
916            *
917            * @param categoryId the primary key of the current asset category
918            * @param groupId the group ID
919            * @param vocabularyId the vocabulary ID
920            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
921            * @return the previous, current, and next asset category
922            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
923            * @throws SystemException if a system exception occurred
924            */
925            public com.liferay.portlet.asset.model.AssetCategory[] filterFindByG_V_PrevAndNext(
926                    long categoryId, long groupId, long vocabularyId,
927                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
928                    throws com.liferay.portal.kernel.exception.SystemException,
929                            com.liferay.portlet.asset.NoSuchCategoryException;
930    
931            /**
932            * Returns all the asset categories that the user has permission to view where groupId = &#63; and vocabularyId = any &#63;.
933            *
934            * @param groupId the group ID
935            * @param vocabularyIds the vocabulary IDs
936            * @return the matching asset categories that the user has permission to view
937            * @throws SystemException if a system exception occurred
938            */
939            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V(
940                    long groupId, long[] vocabularyIds)
941                    throws com.liferay.portal.kernel.exception.SystemException;
942    
943            /**
944            * Returns a range of all the asset categories that the user has permission to view where groupId = &#63; and vocabularyId = any &#63;.
945            *
946            * <p>
947            * 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.
948            * </p>
949            *
950            * @param groupId the group ID
951            * @param vocabularyIds the vocabulary IDs
952            * @param start the lower bound of the range of asset categories
953            * @param end the upper bound of the range of asset categories (not inclusive)
954            * @return the range of matching asset categories that the user has permission to view
955            * @throws SystemException if a system exception occurred
956            */
957            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V(
958                    long groupId, long[] vocabularyIds, int start, int end)
959                    throws com.liferay.portal.kernel.exception.SystemException;
960    
961            /**
962            * Returns an ordered range of all the asset categories that the user has permission to view where groupId = &#63; and vocabularyId = any &#63;.
963            *
964            * <p>
965            * 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.
966            * </p>
967            *
968            * @param groupId the group ID
969            * @param vocabularyIds the vocabulary IDs
970            * @param start the lower bound of the range of asset categories
971            * @param end the upper bound of the range of asset categories (not inclusive)
972            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
973            * @return the ordered range of matching asset categories that the user has permission to view
974            * @throws SystemException if a system exception occurred
975            */
976            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V(
977                    long groupId, long[] vocabularyIds, int start, int end,
978                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
979                    throws com.liferay.portal.kernel.exception.SystemException;
980    
981            /**
982            * Returns all the asset categories where parentCategoryId = &#63; and name = &#63;.
983            *
984            * @param parentCategoryId the parent category ID
985            * @param name the name
986            * @return the matching asset categories
987            * @throws SystemException if a system exception occurred
988            */
989            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(
990                    long parentCategoryId, java.lang.String name)
991                    throws com.liferay.portal.kernel.exception.SystemException;
992    
993            /**
994            * Returns a range of all the asset categories where parentCategoryId = &#63; and name = &#63;.
995            *
996            * <p>
997            * 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.
998            * </p>
999            *
1000            * @param parentCategoryId the parent category ID
1001            * @param name the name
1002            * @param start the lower bound of the range of asset categories
1003            * @param end the upper bound of the range of asset categories (not inclusive)
1004            * @return the range of matching asset categories
1005            * @throws SystemException if a system exception occurred
1006            */
1007            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(
1008                    long parentCategoryId, java.lang.String name, int start, int end)
1009                    throws com.liferay.portal.kernel.exception.SystemException;
1010    
1011            /**
1012            * Returns an ordered range of all the asset categories where parentCategoryId = &#63; and name = &#63;.
1013            *
1014            * <p>
1015            * 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.
1016            * </p>
1017            *
1018            * @param parentCategoryId the parent category ID
1019            * @param name the name
1020            * @param start the lower bound of the range of asset categories
1021            * @param end the upper bound of the range of asset categories (not inclusive)
1022            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1023            * @return the ordered range of matching asset categories
1024            * @throws SystemException if a system exception occurred
1025            */
1026            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(
1027                    long parentCategoryId, java.lang.String name, int start, int end,
1028                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1029                    throws com.liferay.portal.kernel.exception.SystemException;
1030    
1031            /**
1032            * Returns the first asset category in the ordered set where parentCategoryId = &#63; and name = &#63;.
1033            *
1034            * @param parentCategoryId the parent category ID
1035            * @param name the name
1036            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1037            * @return the first matching asset category
1038            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
1039            * @throws SystemException if a system exception occurred
1040            */
1041            public com.liferay.portlet.asset.model.AssetCategory findByP_N_First(
1042                    long parentCategoryId, java.lang.String name,
1043                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1044                    throws com.liferay.portal.kernel.exception.SystemException,
1045                            com.liferay.portlet.asset.NoSuchCategoryException;
1046    
1047            /**
1048            * Returns the first asset category in the ordered set where parentCategoryId = &#63; and name = &#63;.
1049            *
1050            * @param parentCategoryId the parent category ID
1051            * @param name the name
1052            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1053            * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found
1054            * @throws SystemException if a system exception occurred
1055            */
1056            public com.liferay.portlet.asset.model.AssetCategory fetchByP_N_First(
1057                    long parentCategoryId, java.lang.String name,
1058                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1059                    throws com.liferay.portal.kernel.exception.SystemException;
1060    
1061            /**
1062            * Returns the last asset category in the ordered set where parentCategoryId = &#63; and name = &#63;.
1063            *
1064            * @param parentCategoryId the parent category ID
1065            * @param name the name
1066            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1067            * @return the last matching asset category
1068            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
1069            * @throws SystemException if a system exception occurred
1070            */
1071            public com.liferay.portlet.asset.model.AssetCategory findByP_N_Last(
1072                    long parentCategoryId, java.lang.String name,
1073                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1074                    throws com.liferay.portal.kernel.exception.SystemException,
1075                            com.liferay.portlet.asset.NoSuchCategoryException;
1076    
1077            /**
1078            * Returns the last asset category in the ordered set where parentCategoryId = &#63; and name = &#63;.
1079            *
1080            * @param parentCategoryId the parent category ID
1081            * @param name the name
1082            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1083            * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found
1084            * @throws SystemException if a system exception occurred
1085            */
1086            public com.liferay.portlet.asset.model.AssetCategory fetchByP_N_Last(
1087                    long parentCategoryId, java.lang.String name,
1088                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1089                    throws com.liferay.portal.kernel.exception.SystemException;
1090    
1091            /**
1092            * Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = &#63; and name = &#63;.
1093            *
1094            * @param categoryId the primary key of the current asset category
1095            * @param parentCategoryId the parent category ID
1096            * @param name the name
1097            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1098            * @return the previous, current, and next asset category
1099            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
1100            * @throws SystemException if a system exception occurred
1101            */
1102            public com.liferay.portlet.asset.model.AssetCategory[] findByP_N_PrevAndNext(
1103                    long categoryId, long parentCategoryId, java.lang.String name,
1104                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1105                    throws com.liferay.portal.kernel.exception.SystemException,
1106                            com.liferay.portlet.asset.NoSuchCategoryException;
1107    
1108            /**
1109            * Returns all the asset categories where parentCategoryId = &#63; and vocabularyId = &#63;.
1110            *
1111            * @param parentCategoryId the parent category ID
1112            * @param vocabularyId the vocabulary ID
1113            * @return the matching asset categories
1114            * @throws SystemException if a system exception occurred
1115            */
1116            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(
1117                    long parentCategoryId, long vocabularyId)
1118                    throws com.liferay.portal.kernel.exception.SystemException;
1119    
1120            /**
1121            * Returns a range of all the asset categories where parentCategoryId = &#63; and vocabularyId = &#63;.
1122            *
1123            * <p>
1124            * 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.
1125            * </p>
1126            *
1127            * @param parentCategoryId the parent category ID
1128            * @param vocabularyId the vocabulary ID
1129            * @param start the lower bound of the range of asset categories
1130            * @param end the upper bound of the range of asset categories (not inclusive)
1131            * @return the range of matching asset categories
1132            * @throws SystemException if a system exception occurred
1133            */
1134            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(
1135                    long parentCategoryId, long vocabularyId, int start, int end)
1136                    throws com.liferay.portal.kernel.exception.SystemException;
1137    
1138            /**
1139            * Returns an ordered range of all the asset categories where parentCategoryId = &#63; and vocabularyId = &#63;.
1140            *
1141            * <p>
1142            * 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.
1143            * </p>
1144            *
1145            * @param parentCategoryId the parent category ID
1146            * @param vocabularyId the vocabulary ID
1147            * @param start the lower bound of the range of asset categories
1148            * @param end the upper bound of the range of asset categories (not inclusive)
1149            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1150            * @return the ordered range of matching asset categories
1151            * @throws SystemException if a system exception occurred
1152            */
1153            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(
1154                    long parentCategoryId, long vocabularyId, int start, int end,
1155                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1156                    throws com.liferay.portal.kernel.exception.SystemException;
1157    
1158            /**
1159            * Returns the first asset category in the ordered set where parentCategoryId = &#63; and vocabularyId = &#63;.
1160            *
1161            * @param parentCategoryId the parent category ID
1162            * @param vocabularyId the vocabulary ID
1163            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1164            * @return the first matching asset category
1165            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
1166            * @throws SystemException if a system exception occurred
1167            */
1168            public com.liferay.portlet.asset.model.AssetCategory findByP_V_First(
1169                    long parentCategoryId, long vocabularyId,
1170                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1171                    throws com.liferay.portal.kernel.exception.SystemException,
1172                            com.liferay.portlet.asset.NoSuchCategoryException;
1173    
1174            /**
1175            * Returns the first asset category in the ordered set where parentCategoryId = &#63; and vocabularyId = &#63;.
1176            *
1177            * @param parentCategoryId the parent category ID
1178            * @param vocabularyId the vocabulary ID
1179            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1180            * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found
1181            * @throws SystemException if a system exception occurred
1182            */
1183            public com.liferay.portlet.asset.model.AssetCategory fetchByP_V_First(
1184                    long parentCategoryId, long vocabularyId,
1185                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1186                    throws com.liferay.portal.kernel.exception.SystemException;
1187    
1188            /**
1189            * Returns the last asset category in the ordered set where parentCategoryId = &#63; and vocabularyId = &#63;.
1190            *
1191            * @param parentCategoryId the parent category ID
1192            * @param vocabularyId the vocabulary ID
1193            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1194            * @return the last matching asset category
1195            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
1196            * @throws SystemException if a system exception occurred
1197            */
1198            public com.liferay.portlet.asset.model.AssetCategory findByP_V_Last(
1199                    long parentCategoryId, long vocabularyId,
1200                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1201                    throws com.liferay.portal.kernel.exception.SystemException,
1202                            com.liferay.portlet.asset.NoSuchCategoryException;
1203    
1204            /**
1205            * Returns the last asset category in the ordered set where parentCategoryId = &#63; and vocabularyId = &#63;.
1206            *
1207            * @param parentCategoryId the parent category ID
1208            * @param vocabularyId the vocabulary ID
1209            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1210            * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found
1211            * @throws SystemException if a system exception occurred
1212            */
1213            public com.liferay.portlet.asset.model.AssetCategory fetchByP_V_Last(
1214                    long parentCategoryId, long vocabularyId,
1215                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1216                    throws com.liferay.portal.kernel.exception.SystemException;
1217    
1218            /**
1219            * Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = &#63; and vocabularyId = &#63;.
1220            *
1221            * @param categoryId the primary key of the current asset category
1222            * @param parentCategoryId the parent category ID
1223            * @param vocabularyId the vocabulary ID
1224            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1225            * @return the previous, current, and next asset category
1226            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
1227            * @throws SystemException if a system exception occurred
1228            */
1229            public com.liferay.portlet.asset.model.AssetCategory[] findByP_V_PrevAndNext(
1230                    long categoryId, long parentCategoryId, long vocabularyId,
1231                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1232                    throws com.liferay.portal.kernel.exception.SystemException,
1233                            com.liferay.portlet.asset.NoSuchCategoryException;
1234    
1235            /**
1236            * Returns all the asset categories where name = &#63; and vocabularyId = &#63;.
1237            *
1238            * @param name the name
1239            * @param vocabularyId the vocabulary ID
1240            * @return the matching asset categories
1241            * @throws SystemException if a system exception occurred
1242            */
1243            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(
1244                    java.lang.String name, long vocabularyId)
1245                    throws com.liferay.portal.kernel.exception.SystemException;
1246    
1247            /**
1248            * Returns a range of all the asset categories where name = &#63; and vocabularyId = &#63;.
1249            *
1250            * <p>
1251            * 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.
1252            * </p>
1253            *
1254            * @param name the name
1255            * @param vocabularyId the vocabulary ID
1256            * @param start the lower bound of the range of asset categories
1257            * @param end the upper bound of the range of asset categories (not inclusive)
1258            * @return the range of matching asset categories
1259            * @throws SystemException if a system exception occurred
1260            */
1261            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(
1262                    java.lang.String name, long vocabularyId, int start, int end)
1263                    throws com.liferay.portal.kernel.exception.SystemException;
1264    
1265            /**
1266            * Returns an ordered range of all the asset categories where name = &#63; and vocabularyId = &#63;.
1267            *
1268            * <p>
1269            * 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.
1270            * </p>
1271            *
1272            * @param name the name
1273            * @param vocabularyId the vocabulary ID
1274            * @param start the lower bound of the range of asset categories
1275            * @param end the upper bound of the range of asset categories (not inclusive)
1276            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1277            * @return the ordered range of matching asset categories
1278            * @throws SystemException if a system exception occurred
1279            */
1280            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(
1281                    java.lang.String name, long vocabularyId, int start, int end,
1282                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1283                    throws com.liferay.portal.kernel.exception.SystemException;
1284    
1285            /**
1286            * Returns the first asset category in the ordered set where name = &#63; and vocabularyId = &#63;.
1287            *
1288            * @param name the name
1289            * @param vocabularyId the vocabulary ID
1290            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1291            * @return the first matching asset category
1292            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
1293            * @throws SystemException if a system exception occurred
1294            */
1295            public com.liferay.portlet.asset.model.AssetCategory findByN_V_First(
1296                    java.lang.String name, long vocabularyId,
1297                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1298                    throws com.liferay.portal.kernel.exception.SystemException,
1299                            com.liferay.portlet.asset.NoSuchCategoryException;
1300    
1301            /**
1302            * Returns the first asset category in the ordered set where name = &#63; and vocabularyId = &#63;.
1303            *
1304            * @param name the name
1305            * @param vocabularyId the vocabulary ID
1306            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1307            * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found
1308            * @throws SystemException if a system exception occurred
1309            */
1310            public com.liferay.portlet.asset.model.AssetCategory fetchByN_V_First(
1311                    java.lang.String name, long vocabularyId,
1312                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1313                    throws com.liferay.portal.kernel.exception.SystemException;
1314    
1315            /**
1316            * Returns the last asset category in the ordered set where name = &#63; and vocabularyId = &#63;.
1317            *
1318            * @param name the name
1319            * @param vocabularyId the vocabulary ID
1320            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1321            * @return the last matching asset category
1322            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
1323            * @throws SystemException if a system exception occurred
1324            */
1325            public com.liferay.portlet.asset.model.AssetCategory findByN_V_Last(
1326                    java.lang.String name, long vocabularyId,
1327                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1328                    throws com.liferay.portal.kernel.exception.SystemException,
1329                            com.liferay.portlet.asset.NoSuchCategoryException;
1330    
1331            /**
1332            * Returns the last asset category in the ordered set where name = &#63; and vocabularyId = &#63;.
1333            *
1334            * @param name the name
1335            * @param vocabularyId the vocabulary ID
1336            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1337            * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found
1338            * @throws SystemException if a system exception occurred
1339            */
1340            public com.liferay.portlet.asset.model.AssetCategory fetchByN_V_Last(
1341                    java.lang.String name, long vocabularyId,
1342                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1343                    throws com.liferay.portal.kernel.exception.SystemException;
1344    
1345            /**
1346            * Returns the asset categories before and after the current asset category in the ordered set where name = &#63; and vocabularyId = &#63;.
1347            *
1348            * @param categoryId the primary key of the current asset category
1349            * @param name the name
1350            * @param vocabularyId the vocabulary ID
1351            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1352            * @return the previous, current, and next asset category
1353            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
1354            * @throws SystemException if a system exception occurred
1355            */
1356            public com.liferay.portlet.asset.model.AssetCategory[] findByN_V_PrevAndNext(
1357                    long categoryId, java.lang.String name, long vocabularyId,
1358                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1359                    throws com.liferay.portal.kernel.exception.SystemException,
1360                            com.liferay.portlet.asset.NoSuchCategoryException;
1361    
1362            /**
1363            * Returns all the asset categories where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63;.
1364            *
1365            * @param groupId the group ID
1366            * @param parentCategoryId the parent category ID
1367            * @param vocabularyId the vocabulary ID
1368            * @return the matching asset categories
1369            * @throws SystemException if a system exception occurred
1370            */
1371            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_P_V(
1372                    long groupId, long parentCategoryId, long vocabularyId)
1373                    throws com.liferay.portal.kernel.exception.SystemException;
1374    
1375            /**
1376            * Returns a range of all the asset categories where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63;.
1377            *
1378            * <p>
1379            * 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.
1380            * </p>
1381            *
1382            * @param groupId the group ID
1383            * @param parentCategoryId the parent category ID
1384            * @param vocabularyId the vocabulary ID
1385            * @param start the lower bound of the range of asset categories
1386            * @param end the upper bound of the range of asset categories (not inclusive)
1387            * @return the range of matching asset categories
1388            * @throws SystemException if a system exception occurred
1389            */
1390            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_P_V(
1391                    long groupId, long parentCategoryId, long vocabularyId, int start,
1392                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1393    
1394            /**
1395            * Returns an ordered range of all the asset categories where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63;.
1396            *
1397            * <p>
1398            * 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.
1399            * </p>
1400            *
1401            * @param groupId the group ID
1402            * @param parentCategoryId the parent category ID
1403            * @param vocabularyId the vocabulary ID
1404            * @param start the lower bound of the range of asset categories
1405            * @param end the upper bound of the range of asset categories (not inclusive)
1406            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1407            * @return the ordered range of matching asset categories
1408            * @throws SystemException if a system exception occurred
1409            */
1410            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_P_V(
1411                    long groupId, long parentCategoryId, long vocabularyId, int start,
1412                    int end,
1413                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1414                    throws com.liferay.portal.kernel.exception.SystemException;
1415    
1416            /**
1417            * Returns the first asset category in the ordered set where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63;.
1418            *
1419            * @param groupId the group ID
1420            * @param parentCategoryId the parent category ID
1421            * @param vocabularyId the vocabulary ID
1422            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1423            * @return the first matching asset category
1424            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
1425            * @throws SystemException if a system exception occurred
1426            */
1427            public com.liferay.portlet.asset.model.AssetCategory findByG_P_V_First(
1428                    long groupId, long parentCategoryId, long vocabularyId,
1429                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1430                    throws com.liferay.portal.kernel.exception.SystemException,
1431                            com.liferay.portlet.asset.NoSuchCategoryException;
1432    
1433            /**
1434            * Returns the first asset category in the ordered set where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63;.
1435            *
1436            * @param groupId the group ID
1437            * @param parentCategoryId the parent category ID
1438            * @param vocabularyId the vocabulary ID
1439            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1440            * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found
1441            * @throws SystemException if a system exception occurred
1442            */
1443            public com.liferay.portlet.asset.model.AssetCategory fetchByG_P_V_First(
1444                    long groupId, long parentCategoryId, long vocabularyId,
1445                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1446                    throws com.liferay.portal.kernel.exception.SystemException;
1447    
1448            /**
1449            * Returns the last asset category in the ordered set where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63;.
1450            *
1451            * @param groupId the group ID
1452            * @param parentCategoryId the parent category ID
1453            * @param vocabularyId the vocabulary ID
1454            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1455            * @return the last matching asset category
1456            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
1457            * @throws SystemException if a system exception occurred
1458            */
1459            public com.liferay.portlet.asset.model.AssetCategory findByG_P_V_Last(
1460                    long groupId, long parentCategoryId, long vocabularyId,
1461                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1462                    throws com.liferay.portal.kernel.exception.SystemException,
1463                            com.liferay.portlet.asset.NoSuchCategoryException;
1464    
1465            /**
1466            * Returns the last asset category in the ordered set where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63;.
1467            *
1468            * @param groupId the group ID
1469            * @param parentCategoryId the parent category ID
1470            * @param vocabularyId the vocabulary ID
1471            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1472            * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found
1473            * @throws SystemException if a system exception occurred
1474            */
1475            public com.liferay.portlet.asset.model.AssetCategory fetchByG_P_V_Last(
1476                    long groupId, long parentCategoryId, long vocabularyId,
1477                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1478                    throws com.liferay.portal.kernel.exception.SystemException;
1479    
1480            /**
1481            * Returns the asset categories before and after the current asset category in the ordered set where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63;.
1482            *
1483            * @param categoryId the primary key of the current asset category
1484            * @param groupId the group ID
1485            * @param parentCategoryId the parent category ID
1486            * @param vocabularyId the vocabulary ID
1487            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1488            * @return the previous, current, and next asset category
1489            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
1490            * @throws SystemException if a system exception occurred
1491            */
1492            public com.liferay.portlet.asset.model.AssetCategory[] findByG_P_V_PrevAndNext(
1493                    long categoryId, long groupId, long parentCategoryId,
1494                    long vocabularyId,
1495                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1496                    throws com.liferay.portal.kernel.exception.SystemException,
1497                            com.liferay.portlet.asset.NoSuchCategoryException;
1498    
1499            /**
1500            * Returns all the asset categories that the user has permission to view where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63;.
1501            *
1502            * @param groupId the group ID
1503            * @param parentCategoryId the parent category ID
1504            * @param vocabularyId the vocabulary ID
1505            * @return the matching asset categories that the user has permission to view
1506            * @throws SystemException if a system exception occurred
1507            */
1508            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_P_V(
1509                    long groupId, long parentCategoryId, long vocabularyId)
1510                    throws com.liferay.portal.kernel.exception.SystemException;
1511    
1512            /**
1513            * Returns a range of all the asset categories that the user has permission to view where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63;.
1514            *
1515            * <p>
1516            * 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.
1517            * </p>
1518            *
1519            * @param groupId the group ID
1520            * @param parentCategoryId the parent category ID
1521            * @param vocabularyId the vocabulary ID
1522            * @param start the lower bound of the range of asset categories
1523            * @param end the upper bound of the range of asset categories (not inclusive)
1524            * @return the range of matching asset categories that the user has permission to view
1525            * @throws SystemException if a system exception occurred
1526            */
1527            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_P_V(
1528                    long groupId, long parentCategoryId, long vocabularyId, int start,
1529                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1530    
1531            /**
1532            * Returns an ordered range of all the asset categories that the user has permissions to view where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63;.
1533            *
1534            * <p>
1535            * 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.
1536            * </p>
1537            *
1538            * @param groupId the group ID
1539            * @param parentCategoryId the parent category ID
1540            * @param vocabularyId the vocabulary ID
1541            * @param start the lower bound of the range of asset categories
1542            * @param end the upper bound of the range of asset categories (not inclusive)
1543            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1544            * @return the ordered range of matching asset categories that the user has permission to view
1545            * @throws SystemException if a system exception occurred
1546            */
1547            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_P_V(
1548                    long groupId, long parentCategoryId, long vocabularyId, int start,
1549                    int end,
1550                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1551                    throws com.liferay.portal.kernel.exception.SystemException;
1552    
1553            /**
1554            * Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63;.
1555            *
1556            * @param categoryId the primary key of the current asset category
1557            * @param groupId the group ID
1558            * @param parentCategoryId the parent category ID
1559            * @param vocabularyId the vocabulary ID
1560            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1561            * @return the previous, current, and next asset category
1562            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
1563            * @throws SystemException if a system exception occurred
1564            */
1565            public com.liferay.portlet.asset.model.AssetCategory[] filterFindByG_P_V_PrevAndNext(
1566                    long categoryId, long groupId, long parentCategoryId,
1567                    long vocabularyId,
1568                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1569                    throws com.liferay.portal.kernel.exception.SystemException,
1570                            com.liferay.portlet.asset.NoSuchCategoryException;
1571    
1572            /**
1573            * Returns all the asset categories where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63;.
1574            *
1575            * @param groupId the group ID
1576            * @param name the name
1577            * @param vocabularyId the vocabulary ID
1578            * @return the matching asset categories
1579            * @throws SystemException if a system exception occurred
1580            */
1581            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_LikeN_V(
1582                    long groupId, java.lang.String name, long vocabularyId)
1583                    throws com.liferay.portal.kernel.exception.SystemException;
1584    
1585            /**
1586            * Returns a range of all the asset categories where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63;.
1587            *
1588            * <p>
1589            * 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.
1590            * </p>
1591            *
1592            * @param groupId the group ID
1593            * @param name the name
1594            * @param vocabularyId the vocabulary ID
1595            * @param start the lower bound of the range of asset categories
1596            * @param end the upper bound of the range of asset categories (not inclusive)
1597            * @return the range of matching asset categories
1598            * @throws SystemException if a system exception occurred
1599            */
1600            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_LikeN_V(
1601                    long groupId, java.lang.String name, long vocabularyId, int start,
1602                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1603    
1604            /**
1605            * Returns an ordered range of all the asset categories where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63;.
1606            *
1607            * <p>
1608            * 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.
1609            * </p>
1610            *
1611            * @param groupId the group ID
1612            * @param name the name
1613            * @param vocabularyId the vocabulary ID
1614            * @param start the lower bound of the range of asset categories
1615            * @param end the upper bound of the range of asset categories (not inclusive)
1616            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1617            * @return the ordered range of matching asset categories
1618            * @throws SystemException if a system exception occurred
1619            */
1620            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_LikeN_V(
1621                    long groupId, java.lang.String name, long vocabularyId, int start,
1622                    int end,
1623                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1624                    throws com.liferay.portal.kernel.exception.SystemException;
1625    
1626            /**
1627            * Returns the first asset category in the ordered set where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63;.
1628            *
1629            * @param groupId the group ID
1630            * @param name the name
1631            * @param vocabularyId the vocabulary ID
1632            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1633            * @return the first matching asset category
1634            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
1635            * @throws SystemException if a system exception occurred
1636            */
1637            public com.liferay.portlet.asset.model.AssetCategory findByG_LikeN_V_First(
1638                    long groupId, java.lang.String name, long vocabularyId,
1639                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1640                    throws com.liferay.portal.kernel.exception.SystemException,
1641                            com.liferay.portlet.asset.NoSuchCategoryException;
1642    
1643            /**
1644            * Returns the first asset category in the ordered set where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63;.
1645            *
1646            * @param groupId the group ID
1647            * @param name the name
1648            * @param vocabularyId the vocabulary ID
1649            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1650            * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found
1651            * @throws SystemException if a system exception occurred
1652            */
1653            public com.liferay.portlet.asset.model.AssetCategory fetchByG_LikeN_V_First(
1654                    long groupId, java.lang.String name, long vocabularyId,
1655                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1656                    throws com.liferay.portal.kernel.exception.SystemException;
1657    
1658            /**
1659            * Returns the last asset category in the ordered set where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63;.
1660            *
1661            * @param groupId the group ID
1662            * @param name the name
1663            * @param vocabularyId the vocabulary ID
1664            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1665            * @return the last matching asset category
1666            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
1667            * @throws SystemException if a system exception occurred
1668            */
1669            public com.liferay.portlet.asset.model.AssetCategory findByG_LikeN_V_Last(
1670                    long groupId, java.lang.String name, long vocabularyId,
1671                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1672                    throws com.liferay.portal.kernel.exception.SystemException,
1673                            com.liferay.portlet.asset.NoSuchCategoryException;
1674    
1675            /**
1676            * Returns the last asset category in the ordered set where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63;.
1677            *
1678            * @param groupId the group ID
1679            * @param name the name
1680            * @param vocabularyId the vocabulary ID
1681            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1682            * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found
1683            * @throws SystemException if a system exception occurred
1684            */
1685            public com.liferay.portlet.asset.model.AssetCategory fetchByG_LikeN_V_Last(
1686                    long groupId, java.lang.String name, long vocabularyId,
1687                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1688                    throws com.liferay.portal.kernel.exception.SystemException;
1689    
1690            /**
1691            * Returns the asset categories before and after the current asset category in the ordered set where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63;.
1692            *
1693            * @param categoryId the primary key of the current asset category
1694            * @param groupId the group ID
1695            * @param name the name
1696            * @param vocabularyId the vocabulary ID
1697            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1698            * @return the previous, current, and next asset category
1699            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
1700            * @throws SystemException if a system exception occurred
1701            */
1702            public com.liferay.portlet.asset.model.AssetCategory[] findByG_LikeN_V_PrevAndNext(
1703                    long categoryId, long groupId, java.lang.String name,
1704                    long vocabularyId,
1705                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1706                    throws com.liferay.portal.kernel.exception.SystemException,
1707                            com.liferay.portlet.asset.NoSuchCategoryException;
1708    
1709            /**
1710            * Returns all the asset categories where groupId = &#63; and name LIKE &#63; and vocabularyId = any &#63;.
1711            *
1712            * <p>
1713            * 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.
1714            * </p>
1715            *
1716            * @param groupId the group ID
1717            * @param name the name
1718            * @param vocabularyIds the vocabulary IDs
1719            * @return the matching asset categories
1720            * @throws SystemException if a system exception occurred
1721            */
1722            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_LikeN_V(
1723                    long groupId, java.lang.String name, long[] vocabularyIds)
1724                    throws com.liferay.portal.kernel.exception.SystemException;
1725    
1726            /**
1727            * Returns a range of all the asset categories where groupId = &#63; and name LIKE &#63; and vocabularyId = any &#63;.
1728            *
1729            * <p>
1730            * 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.
1731            * </p>
1732            *
1733            * @param groupId the group ID
1734            * @param name the name
1735            * @param vocabularyIds the vocabulary IDs
1736            * @param start the lower bound of the range of asset categories
1737            * @param end the upper bound of the range of asset categories (not inclusive)
1738            * @return the range of matching asset categories
1739            * @throws SystemException if a system exception occurred
1740            */
1741            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_LikeN_V(
1742                    long groupId, java.lang.String name, long[] vocabularyIds, int start,
1743                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1744    
1745            /**
1746            * Returns an ordered range of all the asset categories where groupId = &#63; and name LIKE &#63; and vocabularyId = any &#63;.
1747            *
1748            * <p>
1749            * 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.
1750            * </p>
1751            *
1752            * @param groupId the group ID
1753            * @param name the name
1754            * @param vocabularyIds the vocabulary IDs
1755            * @param start the lower bound of the range of asset categories
1756            * @param end the upper bound of the range of asset categories (not inclusive)
1757            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1758            * @return the ordered range of matching asset categories
1759            * @throws SystemException if a system exception occurred
1760            */
1761            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_LikeN_V(
1762                    long groupId, java.lang.String name, long[] vocabularyIds, int start,
1763                    int end,
1764                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1765                    throws com.liferay.portal.kernel.exception.SystemException;
1766    
1767            /**
1768            * Returns all the asset categories that the user has permission to view where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63;.
1769            *
1770            * @param groupId the group ID
1771            * @param name the name
1772            * @param vocabularyId the vocabulary ID
1773            * @return the matching asset categories that the user has permission to view
1774            * @throws SystemException if a system exception occurred
1775            */
1776            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_LikeN_V(
1777                    long groupId, java.lang.String name, long vocabularyId)
1778                    throws com.liferay.portal.kernel.exception.SystemException;
1779    
1780            /**
1781            * Returns a range of all the asset categories that the user has permission to view where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63;.
1782            *
1783            * <p>
1784            * 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.
1785            * </p>
1786            *
1787            * @param groupId the group ID
1788            * @param name the name
1789            * @param vocabularyId the vocabulary ID
1790            * @param start the lower bound of the range of asset categories
1791            * @param end the upper bound of the range of asset categories (not inclusive)
1792            * @return the range of matching asset categories that the user has permission to view
1793            * @throws SystemException if a system exception occurred
1794            */
1795            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_LikeN_V(
1796                    long groupId, java.lang.String name, long vocabularyId, int start,
1797                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1798    
1799            /**
1800            * Returns an ordered range of all the asset categories that the user has permissions to view where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63;.
1801            *
1802            * <p>
1803            * 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.
1804            * </p>
1805            *
1806            * @param groupId the group ID
1807            * @param name the name
1808            * @param vocabularyId the vocabulary ID
1809            * @param start the lower bound of the range of asset categories
1810            * @param end the upper bound of the range of asset categories (not inclusive)
1811            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1812            * @return the ordered range of matching asset categories that the user has permission to view
1813            * @throws SystemException if a system exception occurred
1814            */
1815            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_LikeN_V(
1816                    long groupId, java.lang.String name, long vocabularyId, int start,
1817                    int end,
1818                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1819                    throws com.liferay.portal.kernel.exception.SystemException;
1820    
1821            /**
1822            * Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63;.
1823            *
1824            * @param categoryId the primary key of the current asset category
1825            * @param groupId the group ID
1826            * @param name the name
1827            * @param vocabularyId the vocabulary ID
1828            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1829            * @return the previous, current, and next asset category
1830            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
1831            * @throws SystemException if a system exception occurred
1832            */
1833            public com.liferay.portlet.asset.model.AssetCategory[] filterFindByG_LikeN_V_PrevAndNext(
1834                    long categoryId, long groupId, java.lang.String name,
1835                    long vocabularyId,
1836                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1837                    throws com.liferay.portal.kernel.exception.SystemException,
1838                            com.liferay.portlet.asset.NoSuchCategoryException;
1839    
1840            /**
1841            * Returns all the asset categories that the user has permission to view where groupId = &#63; and name LIKE &#63; and vocabularyId = any &#63;.
1842            *
1843            * @param groupId the group ID
1844            * @param name the name
1845            * @param vocabularyIds the vocabulary IDs
1846            * @return the matching asset categories that the user has permission to view
1847            * @throws SystemException if a system exception occurred
1848            */
1849            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_LikeN_V(
1850                    long groupId, java.lang.String name, long[] vocabularyIds)
1851                    throws com.liferay.portal.kernel.exception.SystemException;
1852    
1853            /**
1854            * Returns a range of all the asset categories that the user has permission to view where groupId = &#63; and name LIKE &#63; and vocabularyId = any &#63;.
1855            *
1856            * <p>
1857            * 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.
1858            * </p>
1859            *
1860            * @param groupId the group ID
1861            * @param name the name
1862            * @param vocabularyIds the vocabulary IDs
1863            * @param start the lower bound of the range of asset categories
1864            * @param end the upper bound of the range of asset categories (not inclusive)
1865            * @return the range of matching asset categories that the user has permission to view
1866            * @throws SystemException if a system exception occurred
1867            */
1868            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_LikeN_V(
1869                    long groupId, java.lang.String name, long[] vocabularyIds, int start,
1870                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1871    
1872            /**
1873            * Returns an ordered range of all the asset categories that the user has permission to view where groupId = &#63; and name LIKE &#63; and vocabularyId = any &#63;.
1874            *
1875            * <p>
1876            * 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.
1877            * </p>
1878            *
1879            * @param groupId the group ID
1880            * @param name the name
1881            * @param vocabularyIds the vocabulary IDs
1882            * @param start the lower bound of the range of asset categories
1883            * @param end the upper bound of the range of asset categories (not inclusive)
1884            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1885            * @return the ordered range of matching asset categories that the user has permission to view
1886            * @throws SystemException if a system exception occurred
1887            */
1888            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_LikeN_V(
1889                    long groupId, java.lang.String name, long[] vocabularyIds, int start,
1890                    int end,
1891                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1892                    throws com.liferay.portal.kernel.exception.SystemException;
1893    
1894            /**
1895            * Returns 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.
1896            *
1897            * @param parentCategoryId the parent category ID
1898            * @param name the name
1899            * @param vocabularyId the vocabulary ID
1900            * @return the matching asset category
1901            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
1902            * @throws SystemException if a system exception occurred
1903            */
1904            public com.liferay.portlet.asset.model.AssetCategory findByP_N_V(
1905                    long parentCategoryId, java.lang.String name, long vocabularyId)
1906                    throws com.liferay.portal.kernel.exception.SystemException,
1907                            com.liferay.portlet.asset.NoSuchCategoryException;
1908    
1909            /**
1910            * Returns 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.
1911            *
1912            * @param parentCategoryId the parent category ID
1913            * @param name the name
1914            * @param vocabularyId the vocabulary ID
1915            * @return the matching asset category, or <code>null</code> if a matching asset category could not be found
1916            * @throws SystemException if a system exception occurred
1917            */
1918            public com.liferay.portlet.asset.model.AssetCategory fetchByP_N_V(
1919                    long parentCategoryId, java.lang.String name, long vocabularyId)
1920                    throws com.liferay.portal.kernel.exception.SystemException;
1921    
1922            /**
1923            * Returns 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.
1924            *
1925            * @param parentCategoryId the parent category ID
1926            * @param name the name
1927            * @param vocabularyId the vocabulary ID
1928            * @param retrieveFromCache whether to use the finder cache
1929            * @return the matching asset category, or <code>null</code> if a matching asset category could not be found
1930            * @throws SystemException if a system exception occurred
1931            */
1932            public com.liferay.portlet.asset.model.AssetCategory fetchByP_N_V(
1933                    long parentCategoryId, java.lang.String name, long vocabularyId,
1934                    boolean retrieveFromCache)
1935                    throws com.liferay.portal.kernel.exception.SystemException;
1936    
1937            /**
1938            * Returns all the asset categories where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
1939            *
1940            * @param groupId the group ID
1941            * @param parentCategoryId the parent category ID
1942            * @param name the name
1943            * @param vocabularyId the vocabulary ID
1944            * @return the matching asset categories
1945            * @throws SystemException if a system exception occurred
1946            */
1947            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_P_N_V(
1948                    long groupId, long parentCategoryId, java.lang.String name,
1949                    long vocabularyId)
1950                    throws com.liferay.portal.kernel.exception.SystemException;
1951    
1952            /**
1953            * Returns a range of all the asset categories where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
1954            *
1955            * <p>
1956            * 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.
1957            * </p>
1958            *
1959            * @param groupId the group ID
1960            * @param parentCategoryId the parent category ID
1961            * @param name the name
1962            * @param vocabularyId the vocabulary ID
1963            * @param start the lower bound of the range of asset categories
1964            * @param end the upper bound of the range of asset categories (not inclusive)
1965            * @return the range of matching asset categories
1966            * @throws SystemException if a system exception occurred
1967            */
1968            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_P_N_V(
1969                    long groupId, long parentCategoryId, java.lang.String name,
1970                    long vocabularyId, int start, int end)
1971                    throws com.liferay.portal.kernel.exception.SystemException;
1972    
1973            /**
1974            * Returns an ordered range of all the asset categories where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
1975            *
1976            * <p>
1977            * 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.
1978            * </p>
1979            *
1980            * @param groupId the group ID
1981            * @param parentCategoryId the parent category ID
1982            * @param name the name
1983            * @param vocabularyId the vocabulary ID
1984            * @param start the lower bound of the range of asset categories
1985            * @param end the upper bound of the range of asset categories (not inclusive)
1986            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1987            * @return the ordered range of matching asset categories
1988            * @throws SystemException if a system exception occurred
1989            */
1990            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_P_N_V(
1991                    long groupId, long parentCategoryId, java.lang.String name,
1992                    long vocabularyId, int start, int end,
1993                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1994                    throws com.liferay.portal.kernel.exception.SystemException;
1995    
1996            /**
1997            * Returns the first asset category in the ordered set where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
1998            *
1999            * @param groupId the group ID
2000            * @param parentCategoryId the parent category ID
2001            * @param name the name
2002            * @param vocabularyId the vocabulary ID
2003            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2004            * @return the first matching asset category
2005            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
2006            * @throws SystemException if a system exception occurred
2007            */
2008            public com.liferay.portlet.asset.model.AssetCategory findByG_P_N_V_First(
2009                    long groupId, long parentCategoryId, java.lang.String name,
2010                    long vocabularyId,
2011                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2012                    throws com.liferay.portal.kernel.exception.SystemException,
2013                            com.liferay.portlet.asset.NoSuchCategoryException;
2014    
2015            /**
2016            * Returns the first asset category in the ordered set where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
2017            *
2018            * @param groupId the group ID
2019            * @param parentCategoryId the parent category ID
2020            * @param name the name
2021            * @param vocabularyId the vocabulary ID
2022            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2023            * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found
2024            * @throws SystemException if a system exception occurred
2025            */
2026            public com.liferay.portlet.asset.model.AssetCategory fetchByG_P_N_V_First(
2027                    long groupId, long parentCategoryId, java.lang.String name,
2028                    long vocabularyId,
2029                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2030                    throws com.liferay.portal.kernel.exception.SystemException;
2031    
2032            /**
2033            * Returns the last asset category in the ordered set where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
2034            *
2035            * @param groupId the group ID
2036            * @param parentCategoryId the parent category ID
2037            * @param name the name
2038            * @param vocabularyId the vocabulary ID
2039            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2040            * @return the last matching asset category
2041            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found
2042            * @throws SystemException if a system exception occurred
2043            */
2044            public com.liferay.portlet.asset.model.AssetCategory findByG_P_N_V_Last(
2045                    long groupId, long parentCategoryId, java.lang.String name,
2046                    long vocabularyId,
2047                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2048                    throws com.liferay.portal.kernel.exception.SystemException,
2049                            com.liferay.portlet.asset.NoSuchCategoryException;
2050    
2051            /**
2052            * Returns the last asset category in the ordered set where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
2053            *
2054            * @param groupId the group ID
2055            * @param parentCategoryId the parent category ID
2056            * @param name the name
2057            * @param vocabularyId the vocabulary ID
2058            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2059            * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found
2060            * @throws SystemException if a system exception occurred
2061            */
2062            public com.liferay.portlet.asset.model.AssetCategory fetchByG_P_N_V_Last(
2063                    long groupId, long parentCategoryId, java.lang.String name,
2064                    long vocabularyId,
2065                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2066                    throws com.liferay.portal.kernel.exception.SystemException;
2067    
2068            /**
2069            * Returns the asset categories before and after the current asset category in the ordered set where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
2070            *
2071            * @param categoryId the primary key of the current asset category
2072            * @param groupId the group ID
2073            * @param parentCategoryId the parent category ID
2074            * @param name the name
2075            * @param vocabularyId the vocabulary ID
2076            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2077            * @return the previous, current, and next asset category
2078            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
2079            * @throws SystemException if a system exception occurred
2080            */
2081            public com.liferay.portlet.asset.model.AssetCategory[] findByG_P_N_V_PrevAndNext(
2082                    long categoryId, long groupId, long parentCategoryId,
2083                    java.lang.String name, long vocabularyId,
2084                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2085                    throws com.liferay.portal.kernel.exception.SystemException,
2086                            com.liferay.portlet.asset.NoSuchCategoryException;
2087    
2088            /**
2089            * Returns all the asset categories that the user has permission to view where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
2090            *
2091            * @param groupId the group ID
2092            * @param parentCategoryId the parent category ID
2093            * @param name the name
2094            * @param vocabularyId the vocabulary ID
2095            * @return the matching asset categories that the user has permission to view
2096            * @throws SystemException if a system exception occurred
2097            */
2098            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_P_N_V(
2099                    long groupId, long parentCategoryId, java.lang.String name,
2100                    long vocabularyId)
2101                    throws com.liferay.portal.kernel.exception.SystemException;
2102    
2103            /**
2104            * Returns a range of all the asset categories that the user has permission to view where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
2105            *
2106            * <p>
2107            * 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.
2108            * </p>
2109            *
2110            * @param groupId the group ID
2111            * @param parentCategoryId the parent category ID
2112            * @param name the name
2113            * @param vocabularyId the vocabulary ID
2114            * @param start the lower bound of the range of asset categories
2115            * @param end the upper bound of the range of asset categories (not inclusive)
2116            * @return the range of matching asset categories that the user has permission to view
2117            * @throws SystemException if a system exception occurred
2118            */
2119            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_P_N_V(
2120                    long groupId, long parentCategoryId, java.lang.String name,
2121                    long vocabularyId, int start, int end)
2122                    throws com.liferay.portal.kernel.exception.SystemException;
2123    
2124            /**
2125            * Returns an ordered range of all the asset categories that the user has permissions to view where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
2126            *
2127            * <p>
2128            * 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.
2129            * </p>
2130            *
2131            * @param groupId the group ID
2132            * @param parentCategoryId the parent category ID
2133            * @param name the name
2134            * @param vocabularyId the vocabulary ID
2135            * @param start the lower bound of the range of asset categories
2136            * @param end the upper bound of the range of asset categories (not inclusive)
2137            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2138            * @return the ordered range of matching asset categories that the user has permission to view
2139            * @throws SystemException if a system exception occurred
2140            */
2141            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_P_N_V(
2142                    long groupId, long parentCategoryId, java.lang.String name,
2143                    long vocabularyId, int start, int end,
2144                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2145                    throws com.liferay.portal.kernel.exception.SystemException;
2146    
2147            /**
2148            * Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
2149            *
2150            * @param categoryId the primary key of the current asset category
2151            * @param groupId the group ID
2152            * @param parentCategoryId the parent category ID
2153            * @param name the name
2154            * @param vocabularyId the vocabulary ID
2155            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2156            * @return the previous, current, and next asset category
2157            * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found
2158            * @throws SystemException if a system exception occurred
2159            */
2160            public com.liferay.portlet.asset.model.AssetCategory[] filterFindByG_P_N_V_PrevAndNext(
2161                    long categoryId, long groupId, long parentCategoryId,
2162                    java.lang.String name, long vocabularyId,
2163                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2164                    throws com.liferay.portal.kernel.exception.SystemException,
2165                            com.liferay.portlet.asset.NoSuchCategoryException;
2166    
2167            /**
2168            * Returns all the asset categories.
2169            *
2170            * @return the asset categories
2171            * @throws SystemException if a system exception occurred
2172            */
2173            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll()
2174                    throws com.liferay.portal.kernel.exception.SystemException;
2175    
2176            /**
2177            * Returns a range of all the asset categories.
2178            *
2179            * <p>
2180            * 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.
2181            * </p>
2182            *
2183            * @param start the lower bound of the range of asset categories
2184            * @param end the upper bound of the range of asset categories (not inclusive)
2185            * @return the range of asset categories
2186            * @throws SystemException if a system exception occurred
2187            */
2188            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll(
2189                    int start, int end)
2190                    throws com.liferay.portal.kernel.exception.SystemException;
2191    
2192            /**
2193            * Returns an ordered range of all the asset categories.
2194            *
2195            * <p>
2196            * 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.
2197            * </p>
2198            *
2199            * @param start the lower bound of the range of asset categories
2200            * @param end the upper bound of the range of asset categories (not inclusive)
2201            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2202            * @return the ordered range of asset categories
2203            * @throws SystemException if a system exception occurred
2204            */
2205            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll(
2206                    int start, int end,
2207                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2208                    throws com.liferay.portal.kernel.exception.SystemException;
2209    
2210            /**
2211            * Removes all the asset categories where uuid = &#63; from the database.
2212            *
2213            * @param uuid the uuid
2214            * @throws SystemException if a system exception occurred
2215            */
2216            public void removeByUuid(java.lang.String uuid)
2217                    throws com.liferay.portal.kernel.exception.SystemException;
2218    
2219            /**
2220            * Removes the asset category where uuid = &#63; and groupId = &#63; from the database.
2221            *
2222            * @param uuid the uuid
2223            * @param groupId the group ID
2224            * @return the asset category that was removed
2225            * @throws SystemException if a system exception occurred
2226            */
2227            public com.liferay.portlet.asset.model.AssetCategory removeByUUID_G(
2228                    java.lang.String uuid, long groupId)
2229                    throws com.liferay.portal.kernel.exception.SystemException,
2230                            com.liferay.portlet.asset.NoSuchCategoryException;
2231    
2232            /**
2233            * Removes all the asset categories where groupId = &#63; from the database.
2234            *
2235            * @param groupId the group ID
2236            * @throws SystemException if a system exception occurred
2237            */
2238            public void removeByGroupId(long groupId)
2239                    throws com.liferay.portal.kernel.exception.SystemException;
2240    
2241            /**
2242            * Removes all the asset categories where parentCategoryId = &#63; from the database.
2243            *
2244            * @param parentCategoryId the parent category ID
2245            * @throws SystemException if a system exception occurred
2246            */
2247            public void removeByParentCategoryId(long parentCategoryId)
2248                    throws com.liferay.portal.kernel.exception.SystemException;
2249    
2250            /**
2251            * Removes all the asset categories where vocabularyId = &#63; from the database.
2252            *
2253            * @param vocabularyId the vocabulary ID
2254            * @throws SystemException if a system exception occurred
2255            */
2256            public void removeByVocabularyId(long vocabularyId)
2257                    throws com.liferay.portal.kernel.exception.SystemException;
2258    
2259            /**
2260            * Removes all the asset categories where groupId = &#63; and vocabularyId = &#63; from the database.
2261            *
2262            * @param groupId the group ID
2263            * @param vocabularyId the vocabulary ID
2264            * @throws SystemException if a system exception occurred
2265            */
2266            public void removeByG_V(long groupId, long vocabularyId)
2267                    throws com.liferay.portal.kernel.exception.SystemException;
2268    
2269            /**
2270            * Removes all the asset categories where parentCategoryId = &#63; and name = &#63; from the database.
2271            *
2272            * @param parentCategoryId the parent category ID
2273            * @param name the name
2274            * @throws SystemException if a system exception occurred
2275            */
2276            public void removeByP_N(long parentCategoryId, java.lang.String name)
2277                    throws com.liferay.portal.kernel.exception.SystemException;
2278    
2279            /**
2280            * Removes all the asset categories where parentCategoryId = &#63; and vocabularyId = &#63; from the database.
2281            *
2282            * @param parentCategoryId the parent category ID
2283            * @param vocabularyId the vocabulary ID
2284            * @throws SystemException if a system exception occurred
2285            */
2286            public void removeByP_V(long parentCategoryId, long vocabularyId)
2287                    throws com.liferay.portal.kernel.exception.SystemException;
2288    
2289            /**
2290            * Removes all the asset categories where name = &#63; and vocabularyId = &#63; from the database.
2291            *
2292            * @param name the name
2293            * @param vocabularyId the vocabulary ID
2294            * @throws SystemException if a system exception occurred
2295            */
2296            public void removeByN_V(java.lang.String name, long vocabularyId)
2297                    throws com.liferay.portal.kernel.exception.SystemException;
2298    
2299            /**
2300            * Removes all the asset categories where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63; from the database.
2301            *
2302            * @param groupId the group ID
2303            * @param parentCategoryId the parent category ID
2304            * @param vocabularyId the vocabulary ID
2305            * @throws SystemException if a system exception occurred
2306            */
2307            public void removeByG_P_V(long groupId, long parentCategoryId,
2308                    long vocabularyId)
2309                    throws com.liferay.portal.kernel.exception.SystemException;
2310    
2311            /**
2312            * Removes all the asset categories where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63; from the database.
2313            *
2314            * @param groupId the group ID
2315            * @param name the name
2316            * @param vocabularyId the vocabulary ID
2317            * @throws SystemException if a system exception occurred
2318            */
2319            public void removeByG_LikeN_V(long groupId, java.lang.String name,
2320                    long vocabularyId)
2321                    throws com.liferay.portal.kernel.exception.SystemException;
2322    
2323            /**
2324            * Removes the asset category where parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63; from the database.
2325            *
2326            * @param parentCategoryId the parent category ID
2327            * @param name the name
2328            * @param vocabularyId the vocabulary ID
2329            * @return the asset category that was removed
2330            * @throws SystemException if a system exception occurred
2331            */
2332            public com.liferay.portlet.asset.model.AssetCategory removeByP_N_V(
2333                    long parentCategoryId, java.lang.String name, long vocabularyId)
2334                    throws com.liferay.portal.kernel.exception.SystemException,
2335                            com.liferay.portlet.asset.NoSuchCategoryException;
2336    
2337            /**
2338            * Removes all the asset categories where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63; from the database.
2339            *
2340            * @param groupId the group ID
2341            * @param parentCategoryId the parent category ID
2342            * @param name the name
2343            * @param vocabularyId the vocabulary ID
2344            * @throws SystemException if a system exception occurred
2345            */
2346            public void removeByG_P_N_V(long groupId, long parentCategoryId,
2347                    java.lang.String name, long vocabularyId)
2348                    throws com.liferay.portal.kernel.exception.SystemException;
2349    
2350            /**
2351            * Removes all the asset categories from the database.
2352            *
2353            * @throws SystemException if a system exception occurred
2354            */
2355            public void removeAll()
2356                    throws com.liferay.portal.kernel.exception.SystemException;
2357    
2358            /**
2359            * Returns the number of asset categories where uuid = &#63;.
2360            *
2361            * @param uuid the uuid
2362            * @return the number of matching asset categories
2363            * @throws SystemException if a system exception occurred
2364            */
2365            public int countByUuid(java.lang.String uuid)
2366                    throws com.liferay.portal.kernel.exception.SystemException;
2367    
2368            /**
2369            * Returns the number of asset categories where uuid = &#63; and groupId = &#63;.
2370            *
2371            * @param uuid the uuid
2372            * @param groupId the group ID
2373            * @return the number of matching asset categories
2374            * @throws SystemException if a system exception occurred
2375            */
2376            public int countByUUID_G(java.lang.String uuid, long groupId)
2377                    throws com.liferay.portal.kernel.exception.SystemException;
2378    
2379            /**
2380            * Returns the number of asset categories where groupId = &#63;.
2381            *
2382            * @param groupId the group ID
2383            * @return the number of matching asset categories
2384            * @throws SystemException if a system exception occurred
2385            */
2386            public int countByGroupId(long groupId)
2387                    throws com.liferay.portal.kernel.exception.SystemException;
2388    
2389            /**
2390            * Returns the number of asset categories that the user has permission to view where groupId = &#63;.
2391            *
2392            * @param groupId the group ID
2393            * @return the number of matching asset categories that the user has permission to view
2394            * @throws SystemException if a system exception occurred
2395            */
2396            public int filterCountByGroupId(long groupId)
2397                    throws com.liferay.portal.kernel.exception.SystemException;
2398    
2399            /**
2400            * Returns the number of asset categories where parentCategoryId = &#63;.
2401            *
2402            * @param parentCategoryId the parent category ID
2403            * @return the number of matching asset categories
2404            * @throws SystemException if a system exception occurred
2405            */
2406            public int countByParentCategoryId(long parentCategoryId)
2407                    throws com.liferay.portal.kernel.exception.SystemException;
2408    
2409            /**
2410            * Returns the number of asset categories where vocabularyId = &#63;.
2411            *
2412            * @param vocabularyId the vocabulary ID
2413            * @return the number of matching asset categories
2414            * @throws SystemException if a system exception occurred
2415            */
2416            public int countByVocabularyId(long vocabularyId)
2417                    throws com.liferay.portal.kernel.exception.SystemException;
2418    
2419            /**
2420            * Returns the number of asset categories where groupId = &#63; and vocabularyId = &#63;.
2421            *
2422            * @param groupId the group ID
2423            * @param vocabularyId the vocabulary ID
2424            * @return the number of matching asset categories
2425            * @throws SystemException if a system exception occurred
2426            */
2427            public int countByG_V(long groupId, long vocabularyId)
2428                    throws com.liferay.portal.kernel.exception.SystemException;
2429    
2430            /**
2431            * Returns the number of asset categories where groupId = &#63; and vocabularyId = any &#63;.
2432            *
2433            * @param groupId the group ID
2434            * @param vocabularyIds the vocabulary IDs
2435            * @return the number of matching asset categories
2436            * @throws SystemException if a system exception occurred
2437            */
2438            public int countByG_V(long groupId, long[] vocabularyIds)
2439                    throws com.liferay.portal.kernel.exception.SystemException;
2440    
2441            /**
2442            * Returns the number of asset categories that the user has permission to view where groupId = &#63; and vocabularyId = &#63;.
2443            *
2444            * @param groupId the group ID
2445            * @param vocabularyId the vocabulary ID
2446            * @return the number of matching asset categories that the user has permission to view
2447            * @throws SystemException if a system exception occurred
2448            */
2449            public int filterCountByG_V(long groupId, long vocabularyId)
2450                    throws com.liferay.portal.kernel.exception.SystemException;
2451    
2452            /**
2453            * Returns the number of asset categories that the user has permission to view where groupId = &#63; and vocabularyId = any &#63;.
2454            *
2455            * @param groupId the group ID
2456            * @param vocabularyIds the vocabulary IDs
2457            * @return the number of matching asset categories that the user has permission to view
2458            * @throws SystemException if a system exception occurred
2459            */
2460            public int filterCountByG_V(long groupId, long[] vocabularyIds)
2461                    throws com.liferay.portal.kernel.exception.SystemException;
2462    
2463            /**
2464            * Returns the number of asset categories where parentCategoryId = &#63; and name = &#63;.
2465            *
2466            * @param parentCategoryId the parent category ID
2467            * @param name the name
2468            * @return the number of matching asset categories
2469            * @throws SystemException if a system exception occurred
2470            */
2471            public int countByP_N(long parentCategoryId, java.lang.String name)
2472                    throws com.liferay.portal.kernel.exception.SystemException;
2473    
2474            /**
2475            * Returns the number of asset categories where parentCategoryId = &#63; and vocabularyId = &#63;.
2476            *
2477            * @param parentCategoryId the parent category ID
2478            * @param vocabularyId the vocabulary ID
2479            * @return the number of matching asset categories
2480            * @throws SystemException if a system exception occurred
2481            */
2482            public int countByP_V(long parentCategoryId, long vocabularyId)
2483                    throws com.liferay.portal.kernel.exception.SystemException;
2484    
2485            /**
2486            * Returns the number of asset categories where name = &#63; and vocabularyId = &#63;.
2487            *
2488            * @param name the name
2489            * @param vocabularyId the vocabulary ID
2490            * @return the number of matching asset categories
2491            * @throws SystemException if a system exception occurred
2492            */
2493            public int countByN_V(java.lang.String name, long vocabularyId)
2494                    throws com.liferay.portal.kernel.exception.SystemException;
2495    
2496            /**
2497            * Returns the number of asset categories where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63;.
2498            *
2499            * @param groupId the group ID
2500            * @param parentCategoryId the parent category ID
2501            * @param vocabularyId the vocabulary ID
2502            * @return the number of matching asset categories
2503            * @throws SystemException if a system exception occurred
2504            */
2505            public int countByG_P_V(long groupId, long parentCategoryId,
2506                    long vocabularyId)
2507                    throws com.liferay.portal.kernel.exception.SystemException;
2508    
2509            /**
2510            * Returns the number of asset categories that the user has permission to view where groupId = &#63; and parentCategoryId = &#63; and vocabularyId = &#63;.
2511            *
2512            * @param groupId the group ID
2513            * @param parentCategoryId the parent category ID
2514            * @param vocabularyId the vocabulary ID
2515            * @return the number of matching asset categories that the user has permission to view
2516            * @throws SystemException if a system exception occurred
2517            */
2518            public int filterCountByG_P_V(long groupId, long parentCategoryId,
2519                    long vocabularyId)
2520                    throws com.liferay.portal.kernel.exception.SystemException;
2521    
2522            /**
2523            * Returns the number of asset categories where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63;.
2524            *
2525            * @param groupId the group ID
2526            * @param name the name
2527            * @param vocabularyId the vocabulary ID
2528            * @return the number of matching asset categories
2529            * @throws SystemException if a system exception occurred
2530            */
2531            public int countByG_LikeN_V(long groupId, java.lang.String name,
2532                    long vocabularyId)
2533                    throws com.liferay.portal.kernel.exception.SystemException;
2534    
2535            /**
2536            * Returns the number of asset categories where groupId = &#63; and name LIKE &#63; and vocabularyId = any &#63;.
2537            *
2538            * @param groupId the group ID
2539            * @param name the name
2540            * @param vocabularyIds the vocabulary IDs
2541            * @return the number of matching asset categories
2542            * @throws SystemException if a system exception occurred
2543            */
2544            public int countByG_LikeN_V(long groupId, java.lang.String name,
2545                    long[] vocabularyIds)
2546                    throws com.liferay.portal.kernel.exception.SystemException;
2547    
2548            /**
2549            * Returns the number of asset categories that the user has permission to view where groupId = &#63; and name LIKE &#63; and vocabularyId = &#63;.
2550            *
2551            * @param groupId the group ID
2552            * @param name the name
2553            * @param vocabularyId the vocabulary ID
2554            * @return the number of matching asset categories that the user has permission to view
2555            * @throws SystemException if a system exception occurred
2556            */
2557            public int filterCountByG_LikeN_V(long groupId, java.lang.String name,
2558                    long vocabularyId)
2559                    throws com.liferay.portal.kernel.exception.SystemException;
2560    
2561            /**
2562            * Returns the number of asset categories that the user has permission to view where groupId = &#63; and name LIKE &#63; and vocabularyId = any &#63;.
2563            *
2564            * @param groupId the group ID
2565            * @param name the name
2566            * @param vocabularyIds the vocabulary IDs
2567            * @return the number of matching asset categories that the user has permission to view
2568            * @throws SystemException if a system exception occurred
2569            */
2570            public int filterCountByG_LikeN_V(long groupId, java.lang.String name,
2571                    long[] vocabularyIds)
2572                    throws com.liferay.portal.kernel.exception.SystemException;
2573    
2574            /**
2575            * Returns the number of asset categories where parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
2576            *
2577            * @param parentCategoryId the parent category ID
2578            * @param name the name
2579            * @param vocabularyId the vocabulary ID
2580            * @return the number of matching asset categories
2581            * @throws SystemException if a system exception occurred
2582            */
2583            public int countByP_N_V(long parentCategoryId, java.lang.String name,
2584                    long vocabularyId)
2585                    throws com.liferay.portal.kernel.exception.SystemException;
2586    
2587            /**
2588            * Returns the number of asset categories where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
2589            *
2590            * @param groupId the group ID
2591            * @param parentCategoryId the parent category ID
2592            * @param name the name
2593            * @param vocabularyId the vocabulary ID
2594            * @return the number of matching asset categories
2595            * @throws SystemException if a system exception occurred
2596            */
2597            public int countByG_P_N_V(long groupId, long parentCategoryId,
2598                    java.lang.String name, long vocabularyId)
2599                    throws com.liferay.portal.kernel.exception.SystemException;
2600    
2601            /**
2602            * Returns the number of asset categories that the user has permission to view where groupId = &#63; and parentCategoryId = &#63; and name = &#63; and vocabularyId = &#63;.
2603            *
2604            * @param groupId the group ID
2605            * @param parentCategoryId the parent category ID
2606            * @param name the name
2607            * @param vocabularyId the vocabulary ID
2608            * @return the number of matching asset categories that the user has permission to view
2609            * @throws SystemException if a system exception occurred
2610            */
2611            public int filterCountByG_P_N_V(long groupId, long parentCategoryId,
2612                    java.lang.String name, long vocabularyId)
2613                    throws com.liferay.portal.kernel.exception.SystemException;
2614    
2615            /**
2616            * Returns the number of asset categories.
2617            *
2618            * @return the number of asset categories
2619            * @throws SystemException if a system exception occurred
2620            */
2621            public int countAll()
2622                    throws com.liferay.portal.kernel.exception.SystemException;
2623    
2624            /**
2625            * Returns all the asset entries associated with the asset category.
2626            *
2627            * @param pk the primary key of the asset category
2628            * @return the asset entries associated with the asset category
2629            * @throws SystemException if a system exception occurred
2630            */
2631            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
2632                    long pk) throws com.liferay.portal.kernel.exception.SystemException;
2633    
2634            /**
2635            * Returns a range of all the asset entries associated with the asset category.
2636            *
2637            * <p>
2638            * 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.
2639            * </p>
2640            *
2641            * @param pk the primary key of the asset category
2642            * @param start the lower bound of the range of asset categories
2643            * @param end the upper bound of the range of asset categories (not inclusive)
2644            * @return the range of asset entries associated with the asset category
2645            * @throws SystemException if a system exception occurred
2646            */
2647            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
2648                    long pk, int start, int end)
2649                    throws com.liferay.portal.kernel.exception.SystemException;
2650    
2651            /**
2652            * Returns an ordered range of all the asset entries associated with the asset category.
2653            *
2654            * <p>
2655            * 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.
2656            * </p>
2657            *
2658            * @param pk the primary key of the asset category
2659            * @param start the lower bound of the range of asset categories
2660            * @param end the upper bound of the range of asset categories (not inclusive)
2661            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2662            * @return the ordered range of asset entries associated with the asset category
2663            * @throws SystemException if a system exception occurred
2664            */
2665            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
2666                    long pk, int start, int end,
2667                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2668                    throws com.liferay.portal.kernel.exception.SystemException;
2669    
2670            /**
2671            * Returns the number of asset entries associated with the asset category.
2672            *
2673            * @param pk the primary key of the asset category
2674            * @return the number of asset entries associated with the asset category
2675            * @throws SystemException if a system exception occurred
2676            */
2677            public int getAssetEntriesSize(long pk)
2678                    throws com.liferay.portal.kernel.exception.SystemException;
2679    
2680            /**
2681            * Returns <code>true</code> if the asset entry is associated with the asset category.
2682            *
2683            * @param pk the primary key of the asset category
2684            * @param assetEntryPK the primary key of the asset entry
2685            * @return <code>true</code> if the asset entry is associated with the asset category; <code>false</code> otherwise
2686            * @throws SystemException if a system exception occurred
2687            */
2688            public boolean containsAssetEntry(long pk, long assetEntryPK)
2689                    throws com.liferay.portal.kernel.exception.SystemException;
2690    
2691            /**
2692            * Returns <code>true</code> if the asset category has any asset entries associated with it.
2693            *
2694            * @param pk the primary key of the asset category to check for associations with asset entries
2695            * @return <code>true</code> if the asset category has any asset entries associated with it; <code>false</code> otherwise
2696            * @throws SystemException if a system exception occurred
2697            */
2698            public boolean containsAssetEntries(long pk)
2699                    throws com.liferay.portal.kernel.exception.SystemException;
2700    
2701            /**
2702            * Adds an association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2703            *
2704            * @param pk the primary key of the asset category
2705            * @param assetEntryPK the primary key of the asset entry
2706            * @throws SystemException if a system exception occurred
2707            */
2708            public void addAssetEntry(long pk, long assetEntryPK)
2709                    throws com.liferay.portal.kernel.exception.SystemException;
2710    
2711            /**
2712            * Adds an association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2713            *
2714            * @param pk the primary key of the asset category
2715            * @param assetEntry the asset entry
2716            * @throws SystemException if a system exception occurred
2717            */
2718            public void addAssetEntry(long pk,
2719                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
2720                    throws com.liferay.portal.kernel.exception.SystemException;
2721    
2722            /**
2723            * Adds an association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2724            *
2725            * @param pk the primary key of the asset category
2726            * @param assetEntryPKs the primary keys of the asset entries
2727            * @throws SystemException if a system exception occurred
2728            */
2729            public void addAssetEntries(long pk, long[] assetEntryPKs)
2730                    throws com.liferay.portal.kernel.exception.SystemException;
2731    
2732            /**
2733            * Adds an association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2734            *
2735            * @param pk the primary key of the asset category
2736            * @param assetEntries the asset entries
2737            * @throws SystemException if a system exception occurred
2738            */
2739            public void addAssetEntries(long pk,
2740                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
2741                    throws com.liferay.portal.kernel.exception.SystemException;
2742    
2743            /**
2744            * Clears all associations between the asset category and its asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2745            *
2746            * @param pk the primary key of the asset category to clear the associated asset entries from
2747            * @throws SystemException if a system exception occurred
2748            */
2749            public void clearAssetEntries(long pk)
2750                    throws com.liferay.portal.kernel.exception.SystemException;
2751    
2752            /**
2753            * Removes the association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2754            *
2755            * @param pk the primary key of the asset category
2756            * @param assetEntryPK the primary key of the asset entry
2757            * @throws SystemException if a system exception occurred
2758            */
2759            public void removeAssetEntry(long pk, long assetEntryPK)
2760                    throws com.liferay.portal.kernel.exception.SystemException;
2761    
2762            /**
2763            * Removes the association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2764            *
2765            * @param pk the primary key of the asset category
2766            * @param assetEntry the asset entry
2767            * @throws SystemException if a system exception occurred
2768            */
2769            public void removeAssetEntry(long pk,
2770                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
2771                    throws com.liferay.portal.kernel.exception.SystemException;
2772    
2773            /**
2774            * Removes the association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2775            *
2776            * @param pk the primary key of the asset category
2777            * @param assetEntryPKs the primary keys of the asset entries
2778            * @throws SystemException if a system exception occurred
2779            */
2780            public void removeAssetEntries(long pk, long[] assetEntryPKs)
2781                    throws com.liferay.portal.kernel.exception.SystemException;
2782    
2783            /**
2784            * Removes the association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2785            *
2786            * @param pk the primary key of the asset category
2787            * @param assetEntries the asset entries
2788            * @throws SystemException if a system exception occurred
2789            */
2790            public void removeAssetEntries(long pk,
2791                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
2792                    throws com.liferay.portal.kernel.exception.SystemException;
2793    
2794            /**
2795            * 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.
2796            *
2797            * @param pk the primary key of the asset category
2798            * @param assetEntryPKs the primary keys of the asset entries to be associated with the asset category
2799            * @throws SystemException if a system exception occurred
2800            */
2801            public void setAssetEntries(long pk, long[] assetEntryPKs)
2802                    throws com.liferay.portal.kernel.exception.SystemException;
2803    
2804            /**
2805            * 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.
2806            *
2807            * @param pk the primary key of the asset category
2808            * @param assetEntries the asset entries to be associated with the asset category
2809            * @throws SystemException if a system exception occurred
2810            */
2811            public void setAssetEntries(long pk,
2812                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
2813                    throws com.liferay.portal.kernel.exception.SystemException;
2814    
2815            /**
2816            * Rebuilds the asset categories tree for the scope using the modified pre-order tree traversal algorithm.
2817            *
2818            * <p>
2819            * 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.
2820            * </p>
2821            *
2822            * @param groupId the ID of the scope
2823            * @param force whether to force the rebuild even if the tree is not stale
2824            */
2825            public void rebuildTree(long groupId, boolean force)
2826                    throws com.liferay.portal.kernel.exception.SystemException;
2827    
2828            public void setRebuildTreeEnabled(boolean rebuildTreeEnabled);
2829    }