001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.asset.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.asset.model.AssetCategoryProperty;
020    
021    /**
022     * The persistence interface for the asset category property service.
023     *
024     * <p>
025     * Never modify or reference this interface directly. Always use {@link AssetCategoryPropertyUtil} to access the asset category property persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
026     * </p>
027     *
028     * <p>
029     * Caching information and settings can be found in <code>portal.properties</code>
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see AssetCategoryPropertyPersistenceImpl
034     * @see AssetCategoryPropertyUtil
035     * @generated
036     */
037    public interface AssetCategoryPropertyPersistence extends BasePersistence<AssetCategoryProperty> {
038            /**
039            * Caches the asset category property in the entity cache if it is enabled.
040            *
041            * @param assetCategoryProperty the asset category property to cache
042            */
043            public void cacheResult(
044                    com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty);
045    
046            /**
047            * Caches the asset category properties in the entity cache if it is enabled.
048            *
049            * @param assetCategoryProperties the asset category properties to cache
050            */
051            public void cacheResult(
052                    java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> assetCategoryProperties);
053    
054            /**
055            * Creates a new asset category property with the primary key. Does not add the asset category property to the database.
056            *
057            * @param categoryPropertyId the primary key for the new asset category property
058            * @return the new asset category property
059            */
060            public com.liferay.portlet.asset.model.AssetCategoryProperty create(
061                    long categoryPropertyId);
062    
063            /**
064            * Removes the asset category property with the primary key from the database. Also notifies the appropriate model listeners.
065            *
066            * @param categoryPropertyId the primary key of the asset category property to remove
067            * @return the asset category property that was removed
068            * @throws com.liferay.portlet.asset.NoSuchCategoryPropertyException if a asset category property with the primary key could not be found
069            * @throws SystemException if a system exception occurred
070            */
071            public com.liferay.portlet.asset.model.AssetCategoryProperty remove(
072                    long categoryPropertyId)
073                    throws com.liferay.portal.kernel.exception.SystemException,
074                            com.liferay.portlet.asset.NoSuchCategoryPropertyException;
075    
076            public com.liferay.portlet.asset.model.AssetCategoryProperty updateImpl(
077                    com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty,
078                    boolean merge)
079                    throws com.liferay.portal.kernel.exception.SystemException;
080    
081            /**
082            * Finds the asset category property with the primary key or throws a {@link com.liferay.portlet.asset.NoSuchCategoryPropertyException} if it could not be found.
083            *
084            * @param categoryPropertyId the primary key of the asset category property to find
085            * @return the asset category property
086            * @throws com.liferay.portlet.asset.NoSuchCategoryPropertyException if a asset category property with the primary key could not be found
087            * @throws SystemException if a system exception occurred
088            */
089            public com.liferay.portlet.asset.model.AssetCategoryProperty findByPrimaryKey(
090                    long categoryPropertyId)
091                    throws com.liferay.portal.kernel.exception.SystemException,
092                            com.liferay.portlet.asset.NoSuchCategoryPropertyException;
093    
094            /**
095            * Finds the asset category property with the primary key or returns <code>null</code> if it could not be found.
096            *
097            * @param categoryPropertyId the primary key of the asset category property to find
098            * @return the asset category property, or <code>null</code> if a asset category property with the primary key could not be found
099            * @throws SystemException if a system exception occurred
100            */
101            public com.liferay.portlet.asset.model.AssetCategoryProperty fetchByPrimaryKey(
102                    long categoryPropertyId)
103                    throws com.liferay.portal.kernel.exception.SystemException;
104    
105            /**
106            * Finds all the asset category properties where companyId = &#63;.
107            *
108            * @param companyId the company id to search with
109            * @return the matching asset category properties
110            * @throws SystemException if a system exception occurred
111            */
112            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCompanyId(
113                    long companyId)
114                    throws com.liferay.portal.kernel.exception.SystemException;
115    
116            /**
117            * Finds a range of all the asset category properties where companyId = &#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 companyId the company id to search with
124            * @param start the lower bound of the range of asset category properties to return
125            * @param end the upper bound of the range of asset category properties to return (not inclusive)
126            * @return the range of matching asset category properties
127            * @throws SystemException if a system exception occurred
128            */
129            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCompanyId(
130                    long companyId, int start, int end)
131                    throws com.liferay.portal.kernel.exception.SystemException;
132    
133            /**
134            * Finds an ordered range of all the asset category properties where companyId = &#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 companyId the company id to search with
141            * @param start the lower bound of the range of asset category properties to return
142            * @param end the upper bound of the range of asset category properties to return (not inclusive)
143            * @param orderByComparator the comparator to order the results by
144            * @return the ordered range of matching asset category properties
145            * @throws SystemException if a system exception occurred
146            */
147            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCompanyId(
148                    long companyId, int start, int end,
149                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150                    throws com.liferay.portal.kernel.exception.SystemException;
151    
152            /**
153            * Finds the first asset category property in the ordered set where companyId = &#63;.
154            *
155            * <p>
156            * 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.
157            * </p>
158            *
159            * @param companyId the company id to search with
160            * @param orderByComparator the comparator to order the set by
161            * @return the first matching asset category property
162            * @throws com.liferay.portlet.asset.NoSuchCategoryPropertyException if a matching asset category property could not be found
163            * @throws SystemException if a system exception occurred
164            */
165            public com.liferay.portlet.asset.model.AssetCategoryProperty findByCompanyId_First(
166                    long companyId,
167                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
168                    throws com.liferay.portal.kernel.exception.SystemException,
169                            com.liferay.portlet.asset.NoSuchCategoryPropertyException;
170    
171            /**
172            * Finds the last asset category property in the ordered set where companyId = &#63;.
173            *
174            * <p>
175            * 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.
176            * </p>
177            *
178            * @param companyId the company id to search with
179            * @param orderByComparator the comparator to order the set by
180            * @return the last matching asset category property
181            * @throws com.liferay.portlet.asset.NoSuchCategoryPropertyException if a matching asset category property could not be found
182            * @throws SystemException if a system exception occurred
183            */
184            public com.liferay.portlet.asset.model.AssetCategoryProperty findByCompanyId_Last(
185                    long companyId,
186                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
187                    throws com.liferay.portal.kernel.exception.SystemException,
188                            com.liferay.portlet.asset.NoSuchCategoryPropertyException;
189    
190            /**
191            * Finds the asset category properties before and after the current asset category property in the ordered set where companyId = &#63;.
192            *
193            * <p>
194            * 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.
195            * </p>
196            *
197            * @param categoryPropertyId the primary key of the current asset category property
198            * @param companyId the company id to search with
199            * @param orderByComparator the comparator to order the set by
200            * @return the previous, current, and next asset category property
201            * @throws com.liferay.portlet.asset.NoSuchCategoryPropertyException if a asset category property with the primary key could not be found
202            * @throws SystemException if a system exception occurred
203            */
204            public com.liferay.portlet.asset.model.AssetCategoryProperty[] findByCompanyId_PrevAndNext(
205                    long categoryPropertyId, long companyId,
206                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
207                    throws com.liferay.portal.kernel.exception.SystemException,
208                            com.liferay.portlet.asset.NoSuchCategoryPropertyException;
209    
210            /**
211            * Finds all the asset category properties where categoryId = &#63;.
212            *
213            * @param categoryId the category id to search with
214            * @return the matching asset category properties
215            * @throws SystemException if a system exception occurred
216            */
217            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCategoryId(
218                    long categoryId)
219                    throws com.liferay.portal.kernel.exception.SystemException;
220    
221            /**
222            * Finds a range of all the asset category properties where categoryId = &#63;.
223            *
224            * <p>
225            * 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.
226            * </p>
227            *
228            * @param categoryId the category id to search with
229            * @param start the lower bound of the range of asset category properties to return
230            * @param end the upper bound of the range of asset category properties to return (not inclusive)
231            * @return the range of matching asset category properties
232            * @throws SystemException if a system exception occurred
233            */
234            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCategoryId(
235                    long categoryId, int start, int end)
236                    throws com.liferay.portal.kernel.exception.SystemException;
237    
238            /**
239            * Finds an ordered range of all the asset category properties where categoryId = &#63;.
240            *
241            * <p>
242            * 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.
243            * </p>
244            *
245            * @param categoryId the category id to search with
246            * @param start the lower bound of the range of asset category properties to return
247            * @param end the upper bound of the range of asset category properties to return (not inclusive)
248            * @param orderByComparator the comparator to order the results by
249            * @return the ordered range of matching asset category properties
250            * @throws SystemException if a system exception occurred
251            */
252            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCategoryId(
253                    long categoryId, int start, int end,
254                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
255                    throws com.liferay.portal.kernel.exception.SystemException;
256    
257            /**
258            * Finds the first asset category property in the ordered set where categoryId = &#63;.
259            *
260            * <p>
261            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
262            * </p>
263            *
264            * @param categoryId the category id to search with
265            * @param orderByComparator the comparator to order the set by
266            * @return the first matching asset category property
267            * @throws com.liferay.portlet.asset.NoSuchCategoryPropertyException if a matching asset category property could not be found
268            * @throws SystemException if a system exception occurred
269            */
270            public com.liferay.portlet.asset.model.AssetCategoryProperty findByCategoryId_First(
271                    long categoryId,
272                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
273                    throws com.liferay.portal.kernel.exception.SystemException,
274                            com.liferay.portlet.asset.NoSuchCategoryPropertyException;
275    
276            /**
277            * Finds the last asset category property in the ordered set where categoryId = &#63;.
278            *
279            * <p>
280            * 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.
281            * </p>
282            *
283            * @param categoryId the category id to search with
284            * @param orderByComparator the comparator to order the set by
285            * @return the last matching asset category property
286            * @throws com.liferay.portlet.asset.NoSuchCategoryPropertyException if a matching asset category property could not be found
287            * @throws SystemException if a system exception occurred
288            */
289            public com.liferay.portlet.asset.model.AssetCategoryProperty findByCategoryId_Last(
290                    long categoryId,
291                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
292                    throws com.liferay.portal.kernel.exception.SystemException,
293                            com.liferay.portlet.asset.NoSuchCategoryPropertyException;
294    
295            /**
296            * Finds the asset category properties before and after the current asset category property in the ordered set where categoryId = &#63;.
297            *
298            * <p>
299            * 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.
300            * </p>
301            *
302            * @param categoryPropertyId the primary key of the current asset category property
303            * @param categoryId the category id to search with
304            * @param orderByComparator the comparator to order the set by
305            * @return the previous, current, and next asset category property
306            * @throws com.liferay.portlet.asset.NoSuchCategoryPropertyException if a asset category property with the primary key could not be found
307            * @throws SystemException if a system exception occurred
308            */
309            public com.liferay.portlet.asset.model.AssetCategoryProperty[] findByCategoryId_PrevAndNext(
310                    long categoryPropertyId, long categoryId,
311                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
312                    throws com.liferay.portal.kernel.exception.SystemException,
313                            com.liferay.portlet.asset.NoSuchCategoryPropertyException;
314    
315            /**
316            * Finds all the asset category properties where companyId = &#63; and key = &#63;.
317            *
318            * @param companyId the company id to search with
319            * @param key the key to search with
320            * @return the matching asset category properties
321            * @throws SystemException if a system exception occurred
322            */
323            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByC_K(
324                    long companyId, java.lang.String key)
325                    throws com.liferay.portal.kernel.exception.SystemException;
326    
327            /**
328            * Finds a range of all the asset category properties where companyId = &#63; and key = &#63;.
329            *
330            * <p>
331            * 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.
332            * </p>
333            *
334            * @param companyId the company id to search with
335            * @param key the key to search with
336            * @param start the lower bound of the range of asset category properties to return
337            * @param end the upper bound of the range of asset category properties to return (not inclusive)
338            * @return the range of matching asset category properties
339            * @throws SystemException if a system exception occurred
340            */
341            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByC_K(
342                    long companyId, java.lang.String key, int start, int end)
343                    throws com.liferay.portal.kernel.exception.SystemException;
344    
345            /**
346            * Finds an ordered range of all the asset category properties where companyId = &#63; and key = &#63;.
347            *
348            * <p>
349            * 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.
350            * </p>
351            *
352            * @param companyId the company id to search with
353            * @param key the key to search with
354            * @param start the lower bound of the range of asset category properties to return
355            * @param end the upper bound of the range of asset category properties to return (not inclusive)
356            * @param orderByComparator the comparator to order the results by
357            * @return the ordered range of matching asset category properties
358            * @throws SystemException if a system exception occurred
359            */
360            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByC_K(
361                    long companyId, java.lang.String key, int start, int end,
362                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
363                    throws com.liferay.portal.kernel.exception.SystemException;
364    
365            /**
366            * Finds the first asset category property in the ordered set where companyId = &#63; and key = &#63;.
367            *
368            * <p>
369            * 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.
370            * </p>
371            *
372            * @param companyId the company id to search with
373            * @param key the key to search with
374            * @param orderByComparator the comparator to order the set by
375            * @return the first matching asset category property
376            * @throws com.liferay.portlet.asset.NoSuchCategoryPropertyException if a matching asset category property could not be found
377            * @throws SystemException if a system exception occurred
378            */
379            public com.liferay.portlet.asset.model.AssetCategoryProperty findByC_K_First(
380                    long companyId, java.lang.String key,
381                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
382                    throws com.liferay.portal.kernel.exception.SystemException,
383                            com.liferay.portlet.asset.NoSuchCategoryPropertyException;
384    
385            /**
386            * Finds the last asset category property in the ordered set where companyId = &#63; and key = &#63;.
387            *
388            * <p>
389            * 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.
390            * </p>
391            *
392            * @param companyId the company id to search with
393            * @param key the key to search with
394            * @param orderByComparator the comparator to order the set by
395            * @return the last matching asset category property
396            * @throws com.liferay.portlet.asset.NoSuchCategoryPropertyException if a matching asset category property could not be found
397            * @throws SystemException if a system exception occurred
398            */
399            public com.liferay.portlet.asset.model.AssetCategoryProperty findByC_K_Last(
400                    long companyId, java.lang.String key,
401                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
402                    throws com.liferay.portal.kernel.exception.SystemException,
403                            com.liferay.portlet.asset.NoSuchCategoryPropertyException;
404    
405            /**
406            * Finds the asset category properties before and after the current asset category property in the ordered set where companyId = &#63; and key = &#63;.
407            *
408            * <p>
409            * 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.
410            * </p>
411            *
412            * @param categoryPropertyId the primary key of the current asset category property
413            * @param companyId the company id to search with
414            * @param key the key to search with
415            * @param orderByComparator the comparator to order the set by
416            * @return the previous, current, and next asset category property
417            * @throws com.liferay.portlet.asset.NoSuchCategoryPropertyException if a asset category property with the primary key could not be found
418            * @throws SystemException if a system exception occurred
419            */
420            public com.liferay.portlet.asset.model.AssetCategoryProperty[] findByC_K_PrevAndNext(
421                    long categoryPropertyId, long companyId, java.lang.String key,
422                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
423                    throws com.liferay.portal.kernel.exception.SystemException,
424                            com.liferay.portlet.asset.NoSuchCategoryPropertyException;
425    
426            /**
427            * Finds the asset category property where categoryId = &#63; and key = &#63; or throws a {@link com.liferay.portlet.asset.NoSuchCategoryPropertyException} if it could not be found.
428            *
429            * @param categoryId the category id to search with
430            * @param key the key to search with
431            * @return the matching asset category property
432            * @throws com.liferay.portlet.asset.NoSuchCategoryPropertyException if a matching asset category property could not be found
433            * @throws SystemException if a system exception occurred
434            */
435            public com.liferay.portlet.asset.model.AssetCategoryProperty findByCA_K(
436                    long categoryId, java.lang.String key)
437                    throws com.liferay.portal.kernel.exception.SystemException,
438                            com.liferay.portlet.asset.NoSuchCategoryPropertyException;
439    
440            /**
441            * Finds the asset category property where categoryId = &#63; and key = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
442            *
443            * @param categoryId the category id to search with
444            * @param key the key to search with
445            * @return the matching asset category property, or <code>null</code> if a matching asset category property could not be found
446            * @throws SystemException if a system exception occurred
447            */
448            public com.liferay.portlet.asset.model.AssetCategoryProperty fetchByCA_K(
449                    long categoryId, java.lang.String key)
450                    throws com.liferay.portal.kernel.exception.SystemException;
451    
452            /**
453            * Finds the asset category property where categoryId = &#63; and key = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
454            *
455            * @param categoryId the category id to search with
456            * @param key the key to search with
457            * @return the matching asset category property, or <code>null</code> if a matching asset category property could not be found
458            * @throws SystemException if a system exception occurred
459            */
460            public com.liferay.portlet.asset.model.AssetCategoryProperty fetchByCA_K(
461                    long categoryId, java.lang.String key, boolean retrieveFromCache)
462                    throws com.liferay.portal.kernel.exception.SystemException;
463    
464            /**
465            * Finds all the asset category properties.
466            *
467            * @return the asset category properties
468            * @throws SystemException if a system exception occurred
469            */
470            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findAll()
471                    throws com.liferay.portal.kernel.exception.SystemException;
472    
473            /**
474            * Finds a range of all the asset category properties.
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 start the lower bound of the range of asset category properties to return
481            * @param end the upper bound of the range of asset category properties to return (not inclusive)
482            * @return the range of asset category properties
483            * @throws SystemException if a system exception occurred
484            */
485            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findAll(
486                    int start, int end)
487                    throws com.liferay.portal.kernel.exception.SystemException;
488    
489            /**
490            * Finds an ordered range of all the asset category properties.
491            *
492            * <p>
493            * 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.
494            * </p>
495            *
496            * @param start the lower bound of the range of asset category properties to return
497            * @param end the upper bound of the range of asset category properties to return (not inclusive)
498            * @param orderByComparator the comparator to order the results by
499            * @return the ordered range of asset category properties
500            * @throws SystemException if a system exception occurred
501            */
502            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findAll(
503                    int start, int end,
504                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
505                    throws com.liferay.portal.kernel.exception.SystemException;
506    
507            /**
508            * Removes all the asset category properties where companyId = &#63; from the database.
509            *
510            * @param companyId the company id to search with
511            * @throws SystemException if a system exception occurred
512            */
513            public void removeByCompanyId(long companyId)
514                    throws com.liferay.portal.kernel.exception.SystemException;
515    
516            /**
517            * Removes all the asset category properties where categoryId = &#63; from the database.
518            *
519            * @param categoryId the category id to search with
520            * @throws SystemException if a system exception occurred
521            */
522            public void removeByCategoryId(long categoryId)
523                    throws com.liferay.portal.kernel.exception.SystemException;
524    
525            /**
526            * Removes all the asset category properties where companyId = &#63; and key = &#63; from the database.
527            *
528            * @param companyId the company id to search with
529            * @param key the key to search with
530            * @throws SystemException if a system exception occurred
531            */
532            public void removeByC_K(long companyId, java.lang.String key)
533                    throws com.liferay.portal.kernel.exception.SystemException;
534    
535            /**
536            * Removes the asset category property where categoryId = &#63; and key = &#63; from the database.
537            *
538            * @param categoryId the category id to search with
539            * @param key the key to search with
540            * @throws SystemException if a system exception occurred
541            */
542            public void removeByCA_K(long categoryId, java.lang.String key)
543                    throws com.liferay.portal.kernel.exception.SystemException,
544                            com.liferay.portlet.asset.NoSuchCategoryPropertyException;
545    
546            /**
547            * Removes all the asset category properties from the database.
548            *
549            * @throws SystemException if a system exception occurred
550            */
551            public void removeAll()
552                    throws com.liferay.portal.kernel.exception.SystemException;
553    
554            /**
555            * Counts all the asset category properties where companyId = &#63;.
556            *
557            * @param companyId the company id to search with
558            * @return the number of matching asset category properties
559            * @throws SystemException if a system exception occurred
560            */
561            public int countByCompanyId(long companyId)
562                    throws com.liferay.portal.kernel.exception.SystemException;
563    
564            /**
565            * Counts all the asset category properties where categoryId = &#63;.
566            *
567            * @param categoryId the category id to search with
568            * @return the number of matching asset category properties
569            * @throws SystemException if a system exception occurred
570            */
571            public int countByCategoryId(long categoryId)
572                    throws com.liferay.portal.kernel.exception.SystemException;
573    
574            /**
575            * Counts all the asset category properties where companyId = &#63; and key = &#63;.
576            *
577            * @param companyId the company id to search with
578            * @param key the key to search with
579            * @return the number of matching asset category properties
580            * @throws SystemException if a system exception occurred
581            */
582            public int countByC_K(long companyId, java.lang.String key)
583                    throws com.liferay.portal.kernel.exception.SystemException;
584    
585            /**
586            * Counts all the asset category properties where categoryId = &#63; and key = &#63;.
587            *
588            * @param categoryId the category id to search with
589            * @param key the key to search with
590            * @return the number of matching asset category properties
591            * @throws SystemException if a system exception occurred
592            */
593            public int countByCA_K(long categoryId, java.lang.String key)
594                    throws com.liferay.portal.kernel.exception.SystemException;
595    
596            /**
597            * Counts all the asset category properties.
598            *
599            * @return the number of asset category properties
600            * @throws SystemException if a system exception occurred
601            */
602            public int countAll()
603                    throws com.liferay.portal.kernel.exception.SystemException;
604    }