001    /**
002     * Copyright (c) 2000-2012 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.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
019    import com.liferay.portal.kernel.exception.SystemException;
020    import com.liferay.portal.kernel.util.OrderByComparator;
021    import com.liferay.portal.kernel.util.ReferenceRegistry;
022    import com.liferay.portal.service.ServiceContext;
023    
024    import com.liferay.portlet.dynamicdatalists.model.DDLRecord;
025    
026    import java.util.List;
027    
028    /**
029     * The persistence utility for the d d l record service. This utility wraps {@link DDLRecordPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
030     *
031     * <p>
032     * Caching information and settings can be found in <code>portal.properties</code>
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see DDLRecordPersistence
037     * @see DDLRecordPersistenceImpl
038     * @generated
039     */
040    public class DDLRecordUtil {
041            /*
042             * NOTE FOR DEVELOPERS:
043             *
044             * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class.
045             */
046    
047            /**
048             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
049             */
050            public static void clearCache() {
051                    getPersistence().clearCache();
052            }
053    
054            /**
055             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
056             */
057            public static void clearCache(DDLRecord ddlRecord) {
058                    getPersistence().clearCache(ddlRecord);
059            }
060    
061            /**
062             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
063             */
064            public long countWithDynamicQuery(DynamicQuery dynamicQuery)
065                    throws SystemException {
066                    return getPersistence().countWithDynamicQuery(dynamicQuery);
067            }
068    
069            /**
070             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
071             */
072            public static List<DDLRecord> findWithDynamicQuery(
073                    DynamicQuery dynamicQuery) throws SystemException {
074                    return getPersistence().findWithDynamicQuery(dynamicQuery);
075            }
076    
077            /**
078             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
079             */
080            public static List<DDLRecord> findWithDynamicQuery(
081                    DynamicQuery dynamicQuery, int start, int end)
082                    throws SystemException {
083                    return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
084            }
085    
086            /**
087             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
088             */
089            public static List<DDLRecord> findWithDynamicQuery(
090                    DynamicQuery dynamicQuery, int start, int end,
091                    OrderByComparator orderByComparator) throws SystemException {
092                    return getPersistence()
093                                       .findWithDynamicQuery(dynamicQuery, start, end,
094                            orderByComparator);
095            }
096    
097            /**
098             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel)
099             */
100            public static DDLRecord update(DDLRecord ddlRecord)
101                    throws SystemException {
102                    return getPersistence().update(ddlRecord);
103            }
104    
105            /**
106             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext)
107             */
108            public static DDLRecord update(DDLRecord ddlRecord,
109                    ServiceContext serviceContext) throws SystemException {
110                    return getPersistence().update(ddlRecord, serviceContext);
111            }
112    
113            /**
114            * Caches the d d l record in the entity cache if it is enabled.
115            *
116            * @param ddlRecord the d d l record
117            */
118            public static void cacheResult(
119                    com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord) {
120                    getPersistence().cacheResult(ddlRecord);
121            }
122    
123            /**
124            * Caches the d d l records in the entity cache if it is enabled.
125            *
126            * @param ddlRecords the d d l records
127            */
128            public static void cacheResult(
129                    java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> ddlRecords) {
130                    getPersistence().cacheResult(ddlRecords);
131            }
132    
133            /**
134            * Creates a new d d l record with the primary key. Does not add the d d l record to the database.
135            *
136            * @param recordId the primary key for the new d d l record
137            * @return the new d d l record
138            */
139            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord create(
140                    long recordId) {
141                    return getPersistence().create(recordId);
142            }
143    
144            /**
145            * Removes the d d l record with the primary key from the database. Also notifies the appropriate model listeners.
146            *
147            * @param recordId the primary key of the d d l record
148            * @return the d d l record that was removed
149            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a d d l record with the primary key could not be found
150            * @throws SystemException if a system exception occurred
151            */
152            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord remove(
153                    long recordId)
154                    throws com.liferay.portal.kernel.exception.SystemException,
155                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
156                    return getPersistence().remove(recordId);
157            }
158    
159            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord updateImpl(
160                    com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord)
161                    throws com.liferay.portal.kernel.exception.SystemException {
162                    return getPersistence().updateImpl(ddlRecord);
163            }
164    
165            /**
166            * Returns the d d l record with the primary key or throws a {@link com.liferay.portlet.dynamicdatalists.NoSuchRecordException} if it could not be found.
167            *
168            * @param recordId the primary key of the d d l record
169            * @return the d d l record
170            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a d d l record with the primary key could not be found
171            * @throws SystemException if a system exception occurred
172            */
173            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord findByPrimaryKey(
174                    long recordId)
175                    throws com.liferay.portal.kernel.exception.SystemException,
176                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
177                    return getPersistence().findByPrimaryKey(recordId);
178            }
179    
180            /**
181            * Returns the d d l record with the primary key or returns <code>null</code> if it could not be found.
182            *
183            * @param recordId the primary key of the d d l record
184            * @return the d d l record, or <code>null</code> if a d d l record with the primary key could not be found
185            * @throws SystemException if a system exception occurred
186            */
187            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchByPrimaryKey(
188                    long recordId)
189                    throws com.liferay.portal.kernel.exception.SystemException {
190                    return getPersistence().fetchByPrimaryKey(recordId);
191            }
192    
193            /**
194            * Returns all the d d l records where uuid = &#63;.
195            *
196            * @param uuid the uuid
197            * @return the matching d d l records
198            * @throws SystemException if a system exception occurred
199            */
200            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByUuid(
201                    java.lang.String uuid)
202                    throws com.liferay.portal.kernel.exception.SystemException {
203                    return getPersistence().findByUuid(uuid);
204            }
205    
206            /**
207            * Returns a range of all the d d l records where uuid = &#63;.
208            *
209            * <p>
210            * 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.
211            * </p>
212            *
213            * @param uuid the uuid
214            * @param start the lower bound of the range of d d l records
215            * @param end the upper bound of the range of d d l records (not inclusive)
216            * @return the range of matching d d l records
217            * @throws SystemException if a system exception occurred
218            */
219            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByUuid(
220                    java.lang.String uuid, int start, int end)
221                    throws com.liferay.portal.kernel.exception.SystemException {
222                    return getPersistence().findByUuid(uuid, start, end);
223            }
224    
225            /**
226            * Returns an ordered range of all the d d l records where uuid = &#63;.
227            *
228            * <p>
229            * 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.
230            * </p>
231            *
232            * @param uuid the uuid
233            * @param start the lower bound of the range of d d l records
234            * @param end the upper bound of the range of d d l records (not inclusive)
235            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
236            * @return the ordered range of matching d d l records
237            * @throws SystemException if a system exception occurred
238            */
239            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByUuid(
240                    java.lang.String uuid, int start, int end,
241                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
242                    throws com.liferay.portal.kernel.exception.SystemException {
243                    return getPersistence().findByUuid(uuid, start, end, orderByComparator);
244            }
245    
246            /**
247            * Returns the first d d l record in the ordered set where uuid = &#63;.
248            *
249            * @param uuid the uuid
250            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
251            * @return the first matching d d l record
252            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a matching d d l record could not be found
253            * @throws SystemException if a system exception occurred
254            */
255            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord findByUuid_First(
256                    java.lang.String uuid,
257                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
258                    throws com.liferay.portal.kernel.exception.SystemException,
259                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
260                    return getPersistence().findByUuid_First(uuid, orderByComparator);
261            }
262    
263            /**
264            * Returns the first d d l record in the ordered set where uuid = &#63;.
265            *
266            * @param uuid the uuid
267            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
268            * @return the first matching d d l record, or <code>null</code> if a matching d d l record could not be found
269            * @throws SystemException if a system exception occurred
270            */
271            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchByUuid_First(
272                    java.lang.String uuid,
273                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
274                    throws com.liferay.portal.kernel.exception.SystemException {
275                    return getPersistence().fetchByUuid_First(uuid, orderByComparator);
276            }
277    
278            /**
279            * Returns the last d d l record in the ordered set where uuid = &#63;.
280            *
281            * @param uuid the uuid
282            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
283            * @return the last matching d d l record
284            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a matching d d l record could not be found
285            * @throws SystemException if a system exception occurred
286            */
287            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord findByUuid_Last(
288                    java.lang.String uuid,
289                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
290                    throws com.liferay.portal.kernel.exception.SystemException,
291                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
292                    return getPersistence().findByUuid_Last(uuid, orderByComparator);
293            }
294    
295            /**
296            * Returns the last d d l record in the ordered set where uuid = &#63;.
297            *
298            * @param uuid the uuid
299            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
300            * @return the last matching d d l record, or <code>null</code> if a matching d d l record could not be found
301            * @throws SystemException if a system exception occurred
302            */
303            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchByUuid_Last(
304                    java.lang.String uuid,
305                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
306                    throws com.liferay.portal.kernel.exception.SystemException {
307                    return getPersistence().fetchByUuid_Last(uuid, orderByComparator);
308            }
309    
310            /**
311            * Returns the d d l records before and after the current d d l record in the ordered set where uuid = &#63;.
312            *
313            * @param recordId the primary key of the current d d l record
314            * @param uuid the uuid
315            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
316            * @return the previous, current, and next d d l record
317            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a d d l record with the primary key could not be found
318            * @throws SystemException if a system exception occurred
319            */
320            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord[] findByUuid_PrevAndNext(
321                    long recordId, java.lang.String uuid,
322                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
323                    throws com.liferay.portal.kernel.exception.SystemException,
324                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
325                    return getPersistence()
326                                       .findByUuid_PrevAndNext(recordId, uuid, orderByComparator);
327            }
328    
329            /**
330            * Returns the d d l record where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.dynamicdatalists.NoSuchRecordException} if it could not be found.
331            *
332            * @param uuid the uuid
333            * @param groupId the group ID
334            * @return the matching d d l record
335            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a matching d d l record could not be found
336            * @throws SystemException if a system exception occurred
337            */
338            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord findByUUID_G(
339                    java.lang.String uuid, long groupId)
340                    throws com.liferay.portal.kernel.exception.SystemException,
341                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
342                    return getPersistence().findByUUID_G(uuid, groupId);
343            }
344    
345            /**
346            * Returns the d d l record where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
347            *
348            * @param uuid the uuid
349            * @param groupId the group ID
350            * @return the matching d d l record, or <code>null</code> if a matching d d l record could not be found
351            * @throws SystemException if a system exception occurred
352            */
353            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchByUUID_G(
354                    java.lang.String uuid, long groupId)
355                    throws com.liferay.portal.kernel.exception.SystemException {
356                    return getPersistence().fetchByUUID_G(uuid, groupId);
357            }
358    
359            /**
360            * Returns the d d l record where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
361            *
362            * @param uuid the uuid
363            * @param groupId the group ID
364            * @param retrieveFromCache whether to use the finder cache
365            * @return the matching d d l record, or <code>null</code> if a matching d d l record could not be found
366            * @throws SystemException if a system exception occurred
367            */
368            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchByUUID_G(
369                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
370                    throws com.liferay.portal.kernel.exception.SystemException {
371                    return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
372            }
373    
374            /**
375            * Returns all the d d l records where uuid = &#63; and companyId = &#63;.
376            *
377            * @param uuid the uuid
378            * @param companyId the company ID
379            * @return the matching d d l records
380            * @throws SystemException if a system exception occurred
381            */
382            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByUuid_C(
383                    java.lang.String uuid, long companyId)
384                    throws com.liferay.portal.kernel.exception.SystemException {
385                    return getPersistence().findByUuid_C(uuid, companyId);
386            }
387    
388            /**
389            * Returns a range of all the d d l records where uuid = &#63; and companyId = &#63;.
390            *
391            * <p>
392            * 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.
393            * </p>
394            *
395            * @param uuid the uuid
396            * @param companyId the company ID
397            * @param start the lower bound of the range of d d l records
398            * @param end the upper bound of the range of d d l records (not inclusive)
399            * @return the range of matching d d l records
400            * @throws SystemException if a system exception occurred
401            */
402            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByUuid_C(
403                    java.lang.String uuid, long companyId, int start, int end)
404                    throws com.liferay.portal.kernel.exception.SystemException {
405                    return getPersistence().findByUuid_C(uuid, companyId, start, end);
406            }
407    
408            /**
409            * Returns an ordered range of all the d d l records where uuid = &#63; and companyId = &#63;.
410            *
411            * <p>
412            * 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.
413            * </p>
414            *
415            * @param uuid the uuid
416            * @param companyId the company ID
417            * @param start the lower bound of the range of d d l records
418            * @param end the upper bound of the range of d d l records (not inclusive)
419            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
420            * @return the ordered range of matching d d l records
421            * @throws SystemException if a system exception occurred
422            */
423            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByUuid_C(
424                    java.lang.String uuid, long companyId, int start, int end,
425                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
426                    throws com.liferay.portal.kernel.exception.SystemException {
427                    return getPersistence()
428                                       .findByUuid_C(uuid, companyId, start, end, orderByComparator);
429            }
430    
431            /**
432            * Returns the first d d l record in the ordered set where uuid = &#63; and companyId = &#63;.
433            *
434            * @param uuid the uuid
435            * @param companyId the company ID
436            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
437            * @return the first matching d d l record
438            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a matching d d l record could not be found
439            * @throws SystemException if a system exception occurred
440            */
441            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord findByUuid_C_First(
442                    java.lang.String uuid, long companyId,
443                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
444                    throws com.liferay.portal.kernel.exception.SystemException,
445                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
446                    return getPersistence()
447                                       .findByUuid_C_First(uuid, companyId, orderByComparator);
448            }
449    
450            /**
451            * Returns the first d d l record in the ordered set where uuid = &#63; and companyId = &#63;.
452            *
453            * @param uuid the uuid
454            * @param companyId the company ID
455            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
456            * @return the first matching d d l record, or <code>null</code> if a matching d d l record could not be found
457            * @throws SystemException if a system exception occurred
458            */
459            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchByUuid_C_First(
460                    java.lang.String uuid, long companyId,
461                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
462                    throws com.liferay.portal.kernel.exception.SystemException {
463                    return getPersistence()
464                                       .fetchByUuid_C_First(uuid, companyId, orderByComparator);
465            }
466    
467            /**
468            * Returns the last d d l record in the ordered set where uuid = &#63; and companyId = &#63;.
469            *
470            * @param uuid the uuid
471            * @param companyId the company ID
472            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
473            * @return the last matching d d l record
474            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a matching d d l record could not be found
475            * @throws SystemException if a system exception occurred
476            */
477            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord findByUuid_C_Last(
478                    java.lang.String uuid, long companyId,
479                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
480                    throws com.liferay.portal.kernel.exception.SystemException,
481                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
482                    return getPersistence()
483                                       .findByUuid_C_Last(uuid, companyId, orderByComparator);
484            }
485    
486            /**
487            * Returns the last d d l record in the ordered set where uuid = &#63; and companyId = &#63;.
488            *
489            * @param uuid the uuid
490            * @param companyId the company ID
491            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
492            * @return the last matching d d l record, or <code>null</code> if a matching d d l record could not be found
493            * @throws SystemException if a system exception occurred
494            */
495            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchByUuid_C_Last(
496                    java.lang.String uuid, long companyId,
497                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
498                    throws com.liferay.portal.kernel.exception.SystemException {
499                    return getPersistence()
500                                       .fetchByUuid_C_Last(uuid, companyId, orderByComparator);
501            }
502    
503            /**
504            * Returns the d d l records before and after the current d d l record in the ordered set where uuid = &#63; and companyId = &#63;.
505            *
506            * @param recordId the primary key of the current d d l record
507            * @param uuid the uuid
508            * @param companyId the company ID
509            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
510            * @return the previous, current, and next d d l record
511            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a d d l record with the primary key could not be found
512            * @throws SystemException if a system exception occurred
513            */
514            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord[] findByUuid_C_PrevAndNext(
515                    long recordId, java.lang.String uuid, long companyId,
516                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
517                    throws com.liferay.portal.kernel.exception.SystemException,
518                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
519                    return getPersistence()
520                                       .findByUuid_C_PrevAndNext(recordId, uuid, companyId,
521                            orderByComparator);
522            }
523    
524            /**
525            * Returns all the d d l records where companyId = &#63;.
526            *
527            * @param companyId the company ID
528            * @return the matching d d l records
529            * @throws SystemException if a system exception occurred
530            */
531            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByCompanyId(
532                    long companyId)
533                    throws com.liferay.portal.kernel.exception.SystemException {
534                    return getPersistence().findByCompanyId(companyId);
535            }
536    
537            /**
538            * Returns a range of all the d d l records where companyId = &#63;.
539            *
540            * <p>
541            * 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.
542            * </p>
543            *
544            * @param companyId the company ID
545            * @param start the lower bound of the range of d d l records
546            * @param end the upper bound of the range of d d l records (not inclusive)
547            * @return the range of matching d d l records
548            * @throws SystemException if a system exception occurred
549            */
550            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByCompanyId(
551                    long companyId, int start, int end)
552                    throws com.liferay.portal.kernel.exception.SystemException {
553                    return getPersistence().findByCompanyId(companyId, start, end);
554            }
555    
556            /**
557            * Returns an ordered range of all the d d l records where companyId = &#63;.
558            *
559            * <p>
560            * 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.
561            * </p>
562            *
563            * @param companyId the company ID
564            * @param start the lower bound of the range of d d l records
565            * @param end the upper bound of the range of d d l records (not inclusive)
566            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
567            * @return the ordered range of matching d d l records
568            * @throws SystemException if a system exception occurred
569            */
570            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByCompanyId(
571                    long companyId, int start, int end,
572                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
573                    throws com.liferay.portal.kernel.exception.SystemException {
574                    return getPersistence()
575                                       .findByCompanyId(companyId, start, end, orderByComparator);
576            }
577    
578            /**
579            * Returns the first d d l record in the ordered set where companyId = &#63;.
580            *
581            * @param companyId the company ID
582            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
583            * @return the first matching d d l record
584            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a matching d d l record could not be found
585            * @throws SystemException if a system exception occurred
586            */
587            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord findByCompanyId_First(
588                    long companyId,
589                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
590                    throws com.liferay.portal.kernel.exception.SystemException,
591                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
592                    return getPersistence()
593                                       .findByCompanyId_First(companyId, orderByComparator);
594            }
595    
596            /**
597            * Returns the first d d l record in the ordered set where companyId = &#63;.
598            *
599            * @param companyId the company ID
600            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
601            * @return the first matching d d l record, or <code>null</code> if a matching d d l record could not be found
602            * @throws SystemException if a system exception occurred
603            */
604            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchByCompanyId_First(
605                    long companyId,
606                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
607                    throws com.liferay.portal.kernel.exception.SystemException {
608                    return getPersistence()
609                                       .fetchByCompanyId_First(companyId, orderByComparator);
610            }
611    
612            /**
613            * Returns the last d d l record in the ordered set where companyId = &#63;.
614            *
615            * @param companyId the company ID
616            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
617            * @return the last matching d d l record
618            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a matching d d l record could not be found
619            * @throws SystemException if a system exception occurred
620            */
621            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord findByCompanyId_Last(
622                    long companyId,
623                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
624                    throws com.liferay.portal.kernel.exception.SystemException,
625                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
626                    return getPersistence()
627                                       .findByCompanyId_Last(companyId, orderByComparator);
628            }
629    
630            /**
631            * Returns the last d d l record in the ordered set where companyId = &#63;.
632            *
633            * @param companyId the company ID
634            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
635            * @return the last matching d d l record, or <code>null</code> if a matching d d l record could not be found
636            * @throws SystemException if a system exception occurred
637            */
638            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchByCompanyId_Last(
639                    long companyId,
640                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
641                    throws com.liferay.portal.kernel.exception.SystemException {
642                    return getPersistence()
643                                       .fetchByCompanyId_Last(companyId, orderByComparator);
644            }
645    
646            /**
647            * Returns the d d l records before and after the current d d l record in the ordered set where companyId = &#63;.
648            *
649            * @param recordId the primary key of the current d d l record
650            * @param companyId the company ID
651            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
652            * @return the previous, current, and next d d l record
653            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a d d l record with the primary key could not be found
654            * @throws SystemException if a system exception occurred
655            */
656            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord[] findByCompanyId_PrevAndNext(
657                    long recordId, long companyId,
658                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
659                    throws com.liferay.portal.kernel.exception.SystemException,
660                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
661                    return getPersistence()
662                                       .findByCompanyId_PrevAndNext(recordId, companyId,
663                            orderByComparator);
664            }
665    
666            /**
667            * Returns all the d d l records where recordSetId = &#63;.
668            *
669            * @param recordSetId the record set ID
670            * @return the matching d d l records
671            * @throws SystemException if a system exception occurred
672            */
673            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByRecordSetId(
674                    long recordSetId)
675                    throws com.liferay.portal.kernel.exception.SystemException {
676                    return getPersistence().findByRecordSetId(recordSetId);
677            }
678    
679            /**
680            * Returns a range of all the d d l records where recordSetId = &#63;.
681            *
682            * <p>
683            * 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.
684            * </p>
685            *
686            * @param recordSetId the record set ID
687            * @param start the lower bound of the range of d d l records
688            * @param end the upper bound of the range of d d l records (not inclusive)
689            * @return the range of matching d d l records
690            * @throws SystemException if a system exception occurred
691            */
692            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByRecordSetId(
693                    long recordSetId, int start, int end)
694                    throws com.liferay.portal.kernel.exception.SystemException {
695                    return getPersistence().findByRecordSetId(recordSetId, start, end);
696            }
697    
698            /**
699            * Returns an ordered range of all the d d l records where recordSetId = &#63;.
700            *
701            * <p>
702            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
703            * </p>
704            *
705            * @param recordSetId the record set ID
706            * @param start the lower bound of the range of d d l records
707            * @param end the upper bound of the range of d d l records (not inclusive)
708            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
709            * @return the ordered range of matching d d l records
710            * @throws SystemException if a system exception occurred
711            */
712            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByRecordSetId(
713                    long recordSetId, int start, int end,
714                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
715                    throws com.liferay.portal.kernel.exception.SystemException {
716                    return getPersistence()
717                                       .findByRecordSetId(recordSetId, start, end, orderByComparator);
718            }
719    
720            /**
721            * Returns the first d d l record in the ordered set where recordSetId = &#63;.
722            *
723            * @param recordSetId the record set ID
724            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
725            * @return the first matching d d l record
726            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a matching d d l record could not be found
727            * @throws SystemException if a system exception occurred
728            */
729            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord findByRecordSetId_First(
730                    long recordSetId,
731                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
732                    throws com.liferay.portal.kernel.exception.SystemException,
733                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
734                    return getPersistence()
735                                       .findByRecordSetId_First(recordSetId, orderByComparator);
736            }
737    
738            /**
739            * Returns the first d d l record in the ordered set where recordSetId = &#63;.
740            *
741            * @param recordSetId the record set ID
742            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
743            * @return the first matching d d l record, or <code>null</code> if a matching d d l record could not be found
744            * @throws SystemException if a system exception occurred
745            */
746            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchByRecordSetId_First(
747                    long recordSetId,
748                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
749                    throws com.liferay.portal.kernel.exception.SystemException {
750                    return getPersistence()
751                                       .fetchByRecordSetId_First(recordSetId, orderByComparator);
752            }
753    
754            /**
755            * Returns the last d d l record in the ordered set where recordSetId = &#63;.
756            *
757            * @param recordSetId the record set ID
758            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
759            * @return the last matching d d l record
760            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a matching d d l record could not be found
761            * @throws SystemException if a system exception occurred
762            */
763            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord findByRecordSetId_Last(
764                    long recordSetId,
765                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
766                    throws com.liferay.portal.kernel.exception.SystemException,
767                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
768                    return getPersistence()
769                                       .findByRecordSetId_Last(recordSetId, orderByComparator);
770            }
771    
772            /**
773            * Returns the last d d l record in the ordered set where recordSetId = &#63;.
774            *
775            * @param recordSetId the record set ID
776            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
777            * @return the last matching d d l record, or <code>null</code> if a matching d d l record could not be found
778            * @throws SystemException if a system exception occurred
779            */
780            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchByRecordSetId_Last(
781                    long recordSetId,
782                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
783                    throws com.liferay.portal.kernel.exception.SystemException {
784                    return getPersistence()
785                                       .fetchByRecordSetId_Last(recordSetId, orderByComparator);
786            }
787    
788            /**
789            * Returns the d d l records before and after the current d d l record in the ordered set where recordSetId = &#63;.
790            *
791            * @param recordId the primary key of the current d d l record
792            * @param recordSetId the record set ID
793            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
794            * @return the previous, current, and next d d l record
795            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a d d l record with the primary key could not be found
796            * @throws SystemException if a system exception occurred
797            */
798            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord[] findByRecordSetId_PrevAndNext(
799                    long recordId, long recordSetId,
800                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
801                    throws com.liferay.portal.kernel.exception.SystemException,
802                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
803                    return getPersistence()
804                                       .findByRecordSetId_PrevAndNext(recordId, recordSetId,
805                            orderByComparator);
806            }
807    
808            /**
809            * Returns all the d d l records where recordSetId = &#63; and userId = &#63;.
810            *
811            * @param recordSetId the record set ID
812            * @param userId the user ID
813            * @return the matching d d l records
814            * @throws SystemException if a system exception occurred
815            */
816            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByR_U(
817                    long recordSetId, long userId)
818                    throws com.liferay.portal.kernel.exception.SystemException {
819                    return getPersistence().findByR_U(recordSetId, userId);
820            }
821    
822            /**
823            * Returns a range of all the d d l records where recordSetId = &#63; and userId = &#63;.
824            *
825            * <p>
826            * 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.
827            * </p>
828            *
829            * @param recordSetId the record set ID
830            * @param userId the user ID
831            * @param start the lower bound of the range of d d l records
832            * @param end the upper bound of the range of d d l records (not inclusive)
833            * @return the range of matching d d l records
834            * @throws SystemException if a system exception occurred
835            */
836            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByR_U(
837                    long recordSetId, long userId, int start, int end)
838                    throws com.liferay.portal.kernel.exception.SystemException {
839                    return getPersistence().findByR_U(recordSetId, userId, start, end);
840            }
841    
842            /**
843            * Returns an ordered range of all the d d l records where recordSetId = &#63; and userId = &#63;.
844            *
845            * <p>
846            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
847            * </p>
848            *
849            * @param recordSetId the record set ID
850            * @param userId the user ID
851            * @param start the lower bound of the range of d d l records
852            * @param end the upper bound of the range of d d l records (not inclusive)
853            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
854            * @return the ordered range of matching d d l records
855            * @throws SystemException if a system exception occurred
856            */
857            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findByR_U(
858                    long recordSetId, long userId, int start, int end,
859                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
860                    throws com.liferay.portal.kernel.exception.SystemException {
861                    return getPersistence()
862                                       .findByR_U(recordSetId, userId, start, end, orderByComparator);
863            }
864    
865            /**
866            * Returns the first d d l record in the ordered set where recordSetId = &#63; and userId = &#63;.
867            *
868            * @param recordSetId the record set ID
869            * @param userId the user ID
870            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
871            * @return the first matching d d l record
872            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a matching d d l record could not be found
873            * @throws SystemException if a system exception occurred
874            */
875            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord findByR_U_First(
876                    long recordSetId, long userId,
877                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
878                    throws com.liferay.portal.kernel.exception.SystemException,
879                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
880                    return getPersistence()
881                                       .findByR_U_First(recordSetId, userId, orderByComparator);
882            }
883    
884            /**
885            * Returns the first d d l record in the ordered set where recordSetId = &#63; and userId = &#63;.
886            *
887            * @param recordSetId the record set ID
888            * @param userId the user ID
889            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
890            * @return the first matching d d l record, or <code>null</code> if a matching d d l record could not be found
891            * @throws SystemException if a system exception occurred
892            */
893            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchByR_U_First(
894                    long recordSetId, long userId,
895                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
896                    throws com.liferay.portal.kernel.exception.SystemException {
897                    return getPersistence()
898                                       .fetchByR_U_First(recordSetId, userId, orderByComparator);
899            }
900    
901            /**
902            * Returns the last d d l record in the ordered set where recordSetId = &#63; and userId = &#63;.
903            *
904            * @param recordSetId the record set ID
905            * @param userId the user ID
906            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
907            * @return the last matching d d l record
908            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a matching d d l record could not be found
909            * @throws SystemException if a system exception occurred
910            */
911            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord findByR_U_Last(
912                    long recordSetId, long userId,
913                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
914                    throws com.liferay.portal.kernel.exception.SystemException,
915                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
916                    return getPersistence()
917                                       .findByR_U_Last(recordSetId, userId, orderByComparator);
918            }
919    
920            /**
921            * Returns the last d d l record in the ordered set where recordSetId = &#63; and userId = &#63;.
922            *
923            * @param recordSetId the record set ID
924            * @param userId the user ID
925            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
926            * @return the last matching d d l record, or <code>null</code> if a matching d d l record could not be found
927            * @throws SystemException if a system exception occurred
928            */
929            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchByR_U_Last(
930                    long recordSetId, long userId,
931                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
932                    throws com.liferay.portal.kernel.exception.SystemException {
933                    return getPersistence()
934                                       .fetchByR_U_Last(recordSetId, userId, orderByComparator);
935            }
936    
937            /**
938            * Returns the d d l records before and after the current d d l record in the ordered set where recordSetId = &#63; and userId = &#63;.
939            *
940            * @param recordId the primary key of the current d d l record
941            * @param recordSetId the record set ID
942            * @param userId the user ID
943            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
944            * @return the previous, current, and next d d l record
945            * @throws com.liferay.portlet.dynamicdatalists.NoSuchRecordException if a d d l record with the primary key could not be found
946            * @throws SystemException if a system exception occurred
947            */
948            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord[] findByR_U_PrevAndNext(
949                    long recordId, long recordSetId, long userId,
950                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
951                    throws com.liferay.portal.kernel.exception.SystemException,
952                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
953                    return getPersistence()
954                                       .findByR_U_PrevAndNext(recordId, recordSetId, userId,
955                            orderByComparator);
956            }
957    
958            /**
959            * Returns all the d d l records.
960            *
961            * @return the d d l records
962            * @throws SystemException if a system exception occurred
963            */
964            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findAll()
965                    throws com.liferay.portal.kernel.exception.SystemException {
966                    return getPersistence().findAll();
967            }
968    
969            /**
970            * Returns a range of all the d d l records.
971            *
972            * <p>
973            * 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.
974            * </p>
975            *
976            * @param start the lower bound of the range of d d l records
977            * @param end the upper bound of the range of d d l records (not inclusive)
978            * @return the range of d d l records
979            * @throws SystemException if a system exception occurred
980            */
981            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findAll(
982                    int start, int end)
983                    throws com.liferay.portal.kernel.exception.SystemException {
984                    return getPersistence().findAll(start, end);
985            }
986    
987            /**
988            * Returns an ordered range of all the d d l records.
989            *
990            * <p>
991            * 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.
992            * </p>
993            *
994            * @param start the lower bound of the range of d d l records
995            * @param end the upper bound of the range of d d l records (not inclusive)
996            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
997            * @return the ordered range of d d l records
998            * @throws SystemException if a system exception occurred
999            */
1000            public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> findAll(
1001                    int start, int end,
1002                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1003                    throws com.liferay.portal.kernel.exception.SystemException {
1004                    return getPersistence().findAll(start, end, orderByComparator);
1005            }
1006    
1007            /**
1008            * Removes all the d d l records where uuid = &#63; from the database.
1009            *
1010            * @param uuid the uuid
1011            * @throws SystemException if a system exception occurred
1012            */
1013            public static void removeByUuid(java.lang.String uuid)
1014                    throws com.liferay.portal.kernel.exception.SystemException {
1015                    getPersistence().removeByUuid(uuid);
1016            }
1017    
1018            /**
1019            * Removes the d d l record where uuid = &#63; and groupId = &#63; from the database.
1020            *
1021            * @param uuid the uuid
1022            * @param groupId the group ID
1023            * @return the d d l record that was removed
1024            * @throws SystemException if a system exception occurred
1025            */
1026            public static com.liferay.portlet.dynamicdatalists.model.DDLRecord removeByUUID_G(
1027                    java.lang.String uuid, long groupId)
1028                    throws com.liferay.portal.kernel.exception.SystemException,
1029                            com.liferay.portlet.dynamicdatalists.NoSuchRecordException {
1030                    return getPersistence().removeByUUID_G(uuid, groupId);
1031            }
1032    
1033            /**
1034            * Removes all the d d l records where uuid = &#63; and companyId = &#63; from the database.
1035            *
1036            * @param uuid the uuid
1037            * @param companyId the company ID
1038            * @throws SystemException if a system exception occurred
1039            */
1040            public static void removeByUuid_C(java.lang.String uuid, long companyId)
1041                    throws com.liferay.portal.kernel.exception.SystemException {
1042                    getPersistence().removeByUuid_C(uuid, companyId);
1043            }
1044    
1045            /**
1046            * Removes all the d d l records where companyId = &#63; from the database.
1047            *
1048            * @param companyId the company ID
1049            * @throws SystemException if a system exception occurred
1050            */
1051            public static void removeByCompanyId(long companyId)
1052                    throws com.liferay.portal.kernel.exception.SystemException {
1053                    getPersistence().removeByCompanyId(companyId);
1054            }
1055    
1056            /**
1057            * Removes all the d d l records where recordSetId = &#63; from the database.
1058            *
1059            * @param recordSetId the record set ID
1060            * @throws SystemException if a system exception occurred
1061            */
1062            public static void removeByRecordSetId(long recordSetId)
1063                    throws com.liferay.portal.kernel.exception.SystemException {
1064                    getPersistence().removeByRecordSetId(recordSetId);
1065            }
1066    
1067            /**
1068            * Removes all the d d l records where recordSetId = &#63; and userId = &#63; from the database.
1069            *
1070            * @param recordSetId the record set ID
1071            * @param userId the user ID
1072            * @throws SystemException if a system exception occurred
1073            */
1074            public static void removeByR_U(long recordSetId, long userId)
1075                    throws com.liferay.portal.kernel.exception.SystemException {
1076                    getPersistence().removeByR_U(recordSetId, userId);
1077            }
1078    
1079            /**
1080            * Removes all the d d l records from the database.
1081            *
1082            * @throws SystemException if a system exception occurred
1083            */
1084            public static void removeAll()
1085                    throws com.liferay.portal.kernel.exception.SystemException {
1086                    getPersistence().removeAll();
1087            }
1088    
1089            /**
1090            * Returns the number of d d l records where uuid = &#63;.
1091            *
1092            * @param uuid the uuid
1093            * @return the number of matching d d l records
1094            * @throws SystemException if a system exception occurred
1095            */
1096            public static int countByUuid(java.lang.String uuid)
1097                    throws com.liferay.portal.kernel.exception.SystemException {
1098                    return getPersistence().countByUuid(uuid);
1099            }
1100    
1101            /**
1102            * Returns the number of d d l records where uuid = &#63; and groupId = &#63;.
1103            *
1104            * @param uuid the uuid
1105            * @param groupId the group ID
1106            * @return the number of matching d d l records
1107            * @throws SystemException if a system exception occurred
1108            */
1109            public static int countByUUID_G(java.lang.String uuid, long groupId)
1110                    throws com.liferay.portal.kernel.exception.SystemException {
1111                    return getPersistence().countByUUID_G(uuid, groupId);
1112            }
1113    
1114            /**
1115            * Returns the number of d d l records where uuid = &#63; and companyId = &#63;.
1116            *
1117            * @param uuid the uuid
1118            * @param companyId the company ID
1119            * @return the number of matching d d l records
1120            * @throws SystemException if a system exception occurred
1121            */
1122            public static int countByUuid_C(java.lang.String uuid, long companyId)
1123                    throws com.liferay.portal.kernel.exception.SystemException {
1124                    return getPersistence().countByUuid_C(uuid, companyId);
1125            }
1126    
1127            /**
1128            * Returns the number of d d l records where companyId = &#63;.
1129            *
1130            * @param companyId the company ID
1131            * @return the number of matching d d l records
1132            * @throws SystemException if a system exception occurred
1133            */
1134            public static int countByCompanyId(long companyId)
1135                    throws com.liferay.portal.kernel.exception.SystemException {
1136                    return getPersistence().countByCompanyId(companyId);
1137            }
1138    
1139            /**
1140            * Returns the number of d d l records where recordSetId = &#63;.
1141            *
1142            * @param recordSetId the record set ID
1143            * @return the number of matching d d l records
1144            * @throws SystemException if a system exception occurred
1145            */
1146            public static int countByRecordSetId(long recordSetId)
1147                    throws com.liferay.portal.kernel.exception.SystemException {
1148                    return getPersistence().countByRecordSetId(recordSetId);
1149            }
1150    
1151            /**
1152            * Returns the number of d d l records where recordSetId = &#63; and userId = &#63;.
1153            *
1154            * @param recordSetId the record set ID
1155            * @param userId the user ID
1156            * @return the number of matching d d l records
1157            * @throws SystemException if a system exception occurred
1158            */
1159            public static int countByR_U(long recordSetId, long userId)
1160                    throws com.liferay.portal.kernel.exception.SystemException {
1161                    return getPersistence().countByR_U(recordSetId, userId);
1162            }
1163    
1164            /**
1165            * Returns the number of d d l records.
1166            *
1167            * @return the number of d d l records
1168            * @throws SystemException if a system exception occurred
1169            */
1170            public static int countAll()
1171                    throws com.liferay.portal.kernel.exception.SystemException {
1172                    return getPersistence().countAll();
1173            }
1174    
1175            public static DDLRecordPersistence getPersistence() {
1176                    if (_persistence == null) {
1177                            _persistence = (DDLRecordPersistence)PortalBeanLocatorUtil.locate(DDLRecordPersistence.class.getName());
1178    
1179                            ReferenceRegistry.registerReference(DDLRecordUtil.class,
1180                                    "_persistence");
1181                    }
1182    
1183                    return _persistence;
1184            }
1185    
1186            /**
1187             * @deprecated
1188             */
1189            public void setPersistence(DDLRecordPersistence persistence) {
1190            }
1191    
1192            private static DDLRecordPersistence _persistence;
1193    }