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.dynamicdatalists.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.dynamicdatalists.model.DDLRecordSet;
020    
021    /**
022     * The persistence interface for the d d l record set 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 DDLRecordSetPersistenceImpl
030     * @see DDLRecordSetUtil
031     * @generated
032     */
033    public interface DDLRecordSetPersistence extends BasePersistence<DDLRecordSet> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify or reference this interface directly. Always use {@link DDLRecordSetUtil} to access the d d l record set persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
038             */
039    
040            /**
041            * Caches the d d l record set in the entity cache if it is enabled.
042            *
043            * @param ddlRecordSet the d d l record set
044            */
045            public void cacheResult(
046                    com.liferay.portlet.dynamicdatalists.model.DDLRecordSet ddlRecordSet);
047    
048            /**
049            * Caches the d d l record sets in the entity cache if it is enabled.
050            *
051            * @param ddlRecordSets the d d l record sets
052            */
053            public void cacheResult(
054                    java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> ddlRecordSets);
055    
056            /**
057            * Creates a new d d l record set with the primary key. Does not add the d d l record set to the database.
058            *
059            * @param recordSetId the primary key for the new d d l record set
060            * @return the new d d l record set
061            */
062            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet create(
063                    long recordSetId);
064    
065            /**
066            * Removes the d d l record set with the primary key from the database. Also notifies the appropriate model listeners.
067            *
068            * @param recordSetId the primary key of the d d l record set
069            * @return the d d l record set that was removed
070            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException if a d d l record set with the primary key could not be found
071            * @throws SystemException if a system exception occurred
072            */
073            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet remove(
074                    long recordSetId)
075                    throws com.liferay.portal.kernel.exception.SystemException,
076                            com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException;
077    
078            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateImpl(
079                    com.liferay.portlet.dynamicdatalists.model.DDLRecordSet ddlRecordSet,
080                    boolean merge)
081                    throws com.liferay.portal.kernel.exception.SystemException;
082    
083            /**
084            * Returns the d d l record set with the primary key or throws a {@link com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException} if it could not be found.
085            *
086            * @param recordSetId the primary key of the d d l record set
087            * @return the d d l record set
088            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException if a d d l record set with the primary key could not be found
089            * @throws SystemException if a system exception occurred
090            */
091            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet findByPrimaryKey(
092                    long recordSetId)
093                    throws com.liferay.portal.kernel.exception.SystemException,
094                            com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException;
095    
096            /**
097            * Returns the d d l record set with the primary key or returns <code>null</code> if it could not be found.
098            *
099            * @param recordSetId the primary key of the d d l record set
100            * @return the d d l record set, or <code>null</code> if a d d l record set with the primary key could not be found
101            * @throws SystemException if a system exception occurred
102            */
103            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet fetchByPrimaryKey(
104                    long recordSetId)
105                    throws com.liferay.portal.kernel.exception.SystemException;
106    
107            /**
108            * Returns all the d d l record sets where uuid = &#63;.
109            *
110            * @param uuid the uuid
111            * @return the matching d d l record sets
112            * @throws SystemException if a system exception occurred
113            */
114            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findByUuid(
115                    java.lang.String uuid)
116                    throws com.liferay.portal.kernel.exception.SystemException;
117    
118            /**
119            * Returns a range of all the d d l record sets where uuid = &#63;.
120            *
121            * <p>
122            * 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.
123            * </p>
124            *
125            * @param uuid the uuid
126            * @param start the lower bound of the range of d d l record sets
127            * @param end the upper bound of the range of d d l record sets (not inclusive)
128            * @return the range of matching d d l record sets
129            * @throws SystemException if a system exception occurred
130            */
131            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findByUuid(
132                    java.lang.String uuid, int start, int end)
133                    throws com.liferay.portal.kernel.exception.SystemException;
134    
135            /**
136            * Returns an ordered range of all the d d l record sets where uuid = &#63;.
137            *
138            * <p>
139            * 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.
140            * </p>
141            *
142            * @param uuid the uuid
143            * @param start the lower bound of the range of d d l record sets
144            * @param end the upper bound of the range of d d l record sets (not inclusive)
145            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
146            * @return the ordered range of matching d d l record sets
147            * @throws SystemException if a system exception occurred
148            */
149            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findByUuid(
150                    java.lang.String uuid, int start, int end,
151                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
152                    throws com.liferay.portal.kernel.exception.SystemException;
153    
154            /**
155            * Returns the first d d l record set in the ordered set where uuid = &#63;.
156            *
157            * @param uuid the uuid
158            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
159            * @return the first matching d d l record set
160            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException if a matching d d l record set could not be found
161            * @throws SystemException if a system exception occurred
162            */
163            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet findByUuid_First(
164                    java.lang.String uuid,
165                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166                    throws com.liferay.portal.kernel.exception.SystemException,
167                            com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException;
168    
169            /**
170            * Returns the first d d l record set in the ordered set where uuid = &#63;.
171            *
172            * @param uuid the uuid
173            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
174            * @return the first matching d d l record set, or <code>null</code> if a matching d d l record set could not be found
175            * @throws SystemException if a system exception occurred
176            */
177            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet fetchByUuid_First(
178                    java.lang.String uuid,
179                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180                    throws com.liferay.portal.kernel.exception.SystemException;
181    
182            /**
183            * Returns the last d d l record set in the ordered set where uuid = &#63;.
184            *
185            * @param uuid the uuid
186            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
187            * @return the last matching d d l record set
188            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException if a matching d d l record set could not be found
189            * @throws SystemException if a system exception occurred
190            */
191            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet findByUuid_Last(
192                    java.lang.String uuid,
193                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
194                    throws com.liferay.portal.kernel.exception.SystemException,
195                            com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException;
196    
197            /**
198            * Returns the last d d l record set in the ordered set where uuid = &#63;.
199            *
200            * @param uuid the uuid
201            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
202            * @return the last matching d d l record set, or <code>null</code> if a matching d d l record set could not be found
203            * @throws SystemException if a system exception occurred
204            */
205            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet fetchByUuid_Last(
206                    java.lang.String uuid,
207                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
208                    throws com.liferay.portal.kernel.exception.SystemException;
209    
210            /**
211            * Returns the d d l record sets before and after the current d d l record set in the ordered set where uuid = &#63;.
212            *
213            * @param recordSetId the primary key of the current d d l record set
214            * @param uuid the uuid
215            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
216            * @return the previous, current, and next d d l record set
217            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException if a d d l record set with the primary key could not be found
218            * @throws SystemException if a system exception occurred
219            */
220            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet[] findByUuid_PrevAndNext(
221                    long recordSetId, java.lang.String uuid,
222                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
223                    throws com.liferay.portal.kernel.exception.SystemException,
224                            com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException;
225    
226            /**
227            * Returns the d d l record set where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException} if it could not be found.
228            *
229            * @param uuid the uuid
230            * @param groupId the group ID
231            * @return the matching d d l record set
232            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException if a matching d d l record set could not be found
233            * @throws SystemException if a system exception occurred
234            */
235            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet findByUUID_G(
236                    java.lang.String uuid, long groupId)
237                    throws com.liferay.portal.kernel.exception.SystemException,
238                            com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException;
239    
240            /**
241            * Returns the d d l record set where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
242            *
243            * @param uuid the uuid
244            * @param groupId the group ID
245            * @return the matching d d l record set, or <code>null</code> if a matching d d l record set could not be found
246            * @throws SystemException if a system exception occurred
247            */
248            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet fetchByUUID_G(
249                    java.lang.String uuid, long groupId)
250                    throws com.liferay.portal.kernel.exception.SystemException;
251    
252            /**
253            * Returns the d d l record set where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
254            *
255            * @param uuid the uuid
256            * @param groupId the group ID
257            * @param retrieveFromCache whether to use the finder cache
258            * @return the matching d d l record set, or <code>null</code> if a matching d d l record set could not be found
259            * @throws SystemException if a system exception occurred
260            */
261            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet fetchByUUID_G(
262                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
263                    throws com.liferay.portal.kernel.exception.SystemException;
264    
265            /**
266            * Returns all the d d l record sets where groupId = &#63;.
267            *
268            * @param groupId the group ID
269            * @return the matching d d l record sets
270            * @throws SystemException if a system exception occurred
271            */
272            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findByGroupId(
273                    long groupId)
274                    throws com.liferay.portal.kernel.exception.SystemException;
275    
276            /**
277            * Returns a range of all the d d l record sets where groupId = &#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 groupId the group ID
284            * @param start the lower bound of the range of d d l record sets
285            * @param end the upper bound of the range of d d l record sets (not inclusive)
286            * @return the range of matching d d l record sets
287            * @throws SystemException if a system exception occurred
288            */
289            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findByGroupId(
290                    long groupId, int start, int end)
291                    throws com.liferay.portal.kernel.exception.SystemException;
292    
293            /**
294            * Returns an ordered range of all the d d l record sets where groupId = &#63;.
295            *
296            * <p>
297            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
298            * </p>
299            *
300            * @param groupId the group ID
301            * @param start the lower bound of the range of d d l record sets
302            * @param end the upper bound of the range of d d l record sets (not inclusive)
303            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
304            * @return the ordered range of matching d d l record sets
305            * @throws SystemException if a system exception occurred
306            */
307            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findByGroupId(
308                    long groupId, int start, int end,
309                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
310                    throws com.liferay.portal.kernel.exception.SystemException;
311    
312            /**
313            * Returns the first d d l record set in the ordered set where groupId = &#63;.
314            *
315            * @param groupId the group ID
316            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
317            * @return the first matching d d l record set
318            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException if a matching d d l record set could not be found
319            * @throws SystemException if a system exception occurred
320            */
321            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet findByGroupId_First(
322                    long groupId,
323                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
324                    throws com.liferay.portal.kernel.exception.SystemException,
325                            com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException;
326    
327            /**
328            * Returns the first d d l record set in the ordered set where groupId = &#63;.
329            *
330            * @param groupId the group ID
331            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
332            * @return the first matching d d l record set, or <code>null</code> if a matching d d l record set could not be found
333            * @throws SystemException if a system exception occurred
334            */
335            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet fetchByGroupId_First(
336                    long groupId,
337                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
338                    throws com.liferay.portal.kernel.exception.SystemException;
339    
340            /**
341            * Returns the last d d l record set in the ordered set where groupId = &#63;.
342            *
343            * @param groupId the group ID
344            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
345            * @return the last matching d d l record set
346            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException if a matching d d l record set could not be found
347            * @throws SystemException if a system exception occurred
348            */
349            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet findByGroupId_Last(
350                    long groupId,
351                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
352                    throws com.liferay.portal.kernel.exception.SystemException,
353                            com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException;
354    
355            /**
356            * Returns the last d d l record set in the ordered set where groupId = &#63;.
357            *
358            * @param groupId the group ID
359            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
360            * @return the last matching d d l record set, or <code>null</code> if a matching d d l record set could not be found
361            * @throws SystemException if a system exception occurred
362            */
363            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet fetchByGroupId_Last(
364                    long groupId,
365                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
366                    throws com.liferay.portal.kernel.exception.SystemException;
367    
368            /**
369            * Returns the d d l record sets before and after the current d d l record set in the ordered set where groupId = &#63;.
370            *
371            * @param recordSetId the primary key of the current d d l record set
372            * @param groupId the group ID
373            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
374            * @return the previous, current, and next d d l record set
375            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException if a d d l record set with the primary key could not be found
376            * @throws SystemException if a system exception occurred
377            */
378            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet[] findByGroupId_PrevAndNext(
379                    long recordSetId, long groupId,
380                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
381                    throws com.liferay.portal.kernel.exception.SystemException,
382                            com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException;
383    
384            /**
385            * Returns all the d d l record sets that the user has permission to view where groupId = &#63;.
386            *
387            * @param groupId the group ID
388            * @return the matching d d l record sets that the user has permission to view
389            * @throws SystemException if a system exception occurred
390            */
391            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> filterFindByGroupId(
392                    long groupId)
393                    throws com.liferay.portal.kernel.exception.SystemException;
394    
395            /**
396            * Returns a range of all the d d l record sets that the user has permission to view where groupId = &#63;.
397            *
398            * <p>
399            * 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.
400            * </p>
401            *
402            * @param groupId the group ID
403            * @param start the lower bound of the range of d d l record sets
404            * @param end the upper bound of the range of d d l record sets (not inclusive)
405            * @return the range of matching d d l record sets that the user has permission to view
406            * @throws SystemException if a system exception occurred
407            */
408            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> filterFindByGroupId(
409                    long groupId, int start, int end)
410                    throws com.liferay.portal.kernel.exception.SystemException;
411    
412            /**
413            * Returns an ordered range of all the d d l record sets that the user has permissions to view where groupId = &#63;.
414            *
415            * <p>
416            * 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.
417            * </p>
418            *
419            * @param groupId the group ID
420            * @param start the lower bound of the range of d d l record sets
421            * @param end the upper bound of the range of d d l record sets (not inclusive)
422            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
423            * @return the ordered range of matching d d l record sets that the user has permission to view
424            * @throws SystemException if a system exception occurred
425            */
426            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> filterFindByGroupId(
427                    long groupId, int start, int end,
428                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
429                    throws com.liferay.portal.kernel.exception.SystemException;
430    
431            /**
432            * Returns the d d l record sets before and after the current d d l record set in the ordered set of d d l record sets that the user has permission to view where groupId = &#63;.
433            *
434            * @param recordSetId the primary key of the current d d l record set
435            * @param groupId the group ID
436            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
437            * @return the previous, current, and next d d l record set
438            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException if a d d l record set with the primary key could not be found
439            * @throws SystemException if a system exception occurred
440            */
441            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet[] filterFindByGroupId_PrevAndNext(
442                    long recordSetId, long groupId,
443                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
444                    throws com.liferay.portal.kernel.exception.SystemException,
445                            com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException;
446    
447            /**
448            * Returns the d d l record set where groupId = &#63; and recordSetKey = &#63; or throws a {@link com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException} if it could not be found.
449            *
450            * @param groupId the group ID
451            * @param recordSetKey the record set key
452            * @return the matching d d l record set
453            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException if a matching d d l record set could not be found
454            * @throws SystemException if a system exception occurred
455            */
456            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet findByG_R(
457                    long groupId, java.lang.String recordSetKey)
458                    throws com.liferay.portal.kernel.exception.SystemException,
459                            com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException;
460    
461            /**
462            * Returns the d d l record set where groupId = &#63; and recordSetKey = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
463            *
464            * @param groupId the group ID
465            * @param recordSetKey the record set key
466            * @return the matching d d l record set, or <code>null</code> if a matching d d l record set could not be found
467            * @throws SystemException if a system exception occurred
468            */
469            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet fetchByG_R(
470                    long groupId, java.lang.String recordSetKey)
471                    throws com.liferay.portal.kernel.exception.SystemException;
472    
473            /**
474            * Returns the d d l record set where groupId = &#63; and recordSetKey = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
475            *
476            * @param groupId the group ID
477            * @param recordSetKey the record set key
478            * @param retrieveFromCache whether to use the finder cache
479            * @return the matching d d l record set, or <code>null</code> if a matching d d l record set could not be found
480            * @throws SystemException if a system exception occurred
481            */
482            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet fetchByG_R(
483                    long groupId, java.lang.String recordSetKey, boolean retrieveFromCache)
484                    throws com.liferay.portal.kernel.exception.SystemException;
485    
486            /**
487            * Returns all the d d l record sets.
488            *
489            * @return the d d l record sets
490            * @throws SystemException if a system exception occurred
491            */
492            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findAll()
493                    throws com.liferay.portal.kernel.exception.SystemException;
494    
495            /**
496            * Returns a range of all the d d l record sets.
497            *
498            * <p>
499            * 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.
500            * </p>
501            *
502            * @param start the lower bound of the range of d d l record sets
503            * @param end the upper bound of the range of d d l record sets (not inclusive)
504            * @return the range of d d l record sets
505            * @throws SystemException if a system exception occurred
506            */
507            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findAll(
508                    int start, int end)
509                    throws com.liferay.portal.kernel.exception.SystemException;
510    
511            /**
512            * Returns an ordered range of all the d d l record sets.
513            *
514            * <p>
515            * 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.
516            * </p>
517            *
518            * @param start the lower bound of the range of d d l record sets
519            * @param end the upper bound of the range of d d l record sets (not inclusive)
520            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
521            * @return the ordered range of d d l record sets
522            * @throws SystemException if a system exception occurred
523            */
524            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findAll(
525                    int start, int end,
526                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
527                    throws com.liferay.portal.kernel.exception.SystemException;
528    
529            /**
530            * Removes all the d d l record sets where uuid = &#63; from the database.
531            *
532            * @param uuid the uuid
533            * @throws SystemException if a system exception occurred
534            */
535            public void removeByUuid(java.lang.String uuid)
536                    throws com.liferay.portal.kernel.exception.SystemException;
537    
538            /**
539            * Removes the d d l record set where uuid = &#63; and groupId = &#63; from the database.
540            *
541            * @param uuid the uuid
542            * @param groupId the group ID
543            * @return the d d l record set that was removed
544            * @throws SystemException if a system exception occurred
545            */
546            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet removeByUUID_G(
547                    java.lang.String uuid, long groupId)
548                    throws com.liferay.portal.kernel.exception.SystemException,
549                            com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException;
550    
551            /**
552            * Removes all the d d l record sets where groupId = &#63; from the database.
553            *
554            * @param groupId the group ID
555            * @throws SystemException if a system exception occurred
556            */
557            public void removeByGroupId(long groupId)
558                    throws com.liferay.portal.kernel.exception.SystemException;
559    
560            /**
561            * Removes the d d l record set where groupId = &#63; and recordSetKey = &#63; from the database.
562            *
563            * @param groupId the group ID
564            * @param recordSetKey the record set key
565            * @return the d d l record set that was removed
566            * @throws SystemException if a system exception occurred
567            */
568            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet removeByG_R(
569                    long groupId, java.lang.String recordSetKey)
570                    throws com.liferay.portal.kernel.exception.SystemException,
571                            com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException;
572    
573            /**
574            * Removes all the d d l record sets from the database.
575            *
576            * @throws SystemException if a system exception occurred
577            */
578            public void removeAll()
579                    throws com.liferay.portal.kernel.exception.SystemException;
580    
581            /**
582            * Returns the number of d d l record sets where uuid = &#63;.
583            *
584            * @param uuid the uuid
585            * @return the number of matching d d l record sets
586            * @throws SystemException if a system exception occurred
587            */
588            public int countByUuid(java.lang.String uuid)
589                    throws com.liferay.portal.kernel.exception.SystemException;
590    
591            /**
592            * Returns the number of d d l record sets where uuid = &#63; and groupId = &#63;.
593            *
594            * @param uuid the uuid
595            * @param groupId the group ID
596            * @return the number of matching d d l record sets
597            * @throws SystemException if a system exception occurred
598            */
599            public int countByUUID_G(java.lang.String uuid, long groupId)
600                    throws com.liferay.portal.kernel.exception.SystemException;
601    
602            /**
603            * Returns the number of d d l record sets where groupId = &#63;.
604            *
605            * @param groupId the group ID
606            * @return the number of matching d d l record sets
607            * @throws SystemException if a system exception occurred
608            */
609            public int countByGroupId(long groupId)
610                    throws com.liferay.portal.kernel.exception.SystemException;
611    
612            /**
613            * Returns the number of d d l record sets that the user has permission to view where groupId = &#63;.
614            *
615            * @param groupId the group ID
616            * @return the number of matching d d l record sets that the user has permission to view
617            * @throws SystemException if a system exception occurred
618            */
619            public int filterCountByGroupId(long groupId)
620                    throws com.liferay.portal.kernel.exception.SystemException;
621    
622            /**
623            * Returns the number of d d l record sets where groupId = &#63; and recordSetKey = &#63;.
624            *
625            * @param groupId the group ID
626            * @param recordSetKey the record set key
627            * @return the number of matching d d l record sets
628            * @throws SystemException if a system exception occurred
629            */
630            public int countByG_R(long groupId, java.lang.String recordSetKey)
631                    throws com.liferay.portal.kernel.exception.SystemException;
632    
633            /**
634            * Returns the number of d d l record sets.
635            *
636            * @return the number of d d l record sets
637            * @throws SystemException if a system exception occurred
638            */
639            public int countAll()
640                    throws com.liferay.portal.kernel.exception.SystemException;
641    }