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.documentlibrary.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.documentlibrary.model.DLSyncEvent;
025    
026    import java.util.List;
027    
028    /**
029     * The persistence utility for the d l sync event service. This utility wraps {@link DLSyncEventPersistenceImpl} 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 DLSyncEventPersistence
037     * @see DLSyncEventPersistenceImpl
038     * @generated
039     */
040    public class DLSyncEventUtil {
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(DLSyncEvent dlSyncEvent) {
058                    getPersistence().clearCache(dlSyncEvent);
059            }
060    
061            /**
062             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
063             */
064            public static 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<DLSyncEvent> 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<DLSyncEvent> 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<DLSyncEvent> 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 DLSyncEvent update(DLSyncEvent dlSyncEvent)
101                    throws SystemException {
102                    return getPersistence().update(dlSyncEvent);
103            }
104    
105            /**
106             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext)
107             */
108            public static DLSyncEvent update(DLSyncEvent dlSyncEvent,
109                    ServiceContext serviceContext) throws SystemException {
110                    return getPersistence().update(dlSyncEvent, serviceContext);
111            }
112    
113            /**
114            * Returns all the d l sync events where modifiedTime &gt; &#63;.
115            *
116            * @param modifiedTime the modified time
117            * @return the matching d l sync events
118            * @throws SystemException if a system exception occurred
119            */
120            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLSyncEvent> findByModifiedTime(
121                    long modifiedTime)
122                    throws com.liferay.portal.kernel.exception.SystemException {
123                    return getPersistence().findByModifiedTime(modifiedTime);
124            }
125    
126            /**
127            * Returns a range of all the d l sync events where modifiedTime &gt; &#63;.
128            *
129            * <p>
130            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLSyncEventModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
131            * </p>
132            *
133            * @param modifiedTime the modified time
134            * @param start the lower bound of the range of d l sync events
135            * @param end the upper bound of the range of d l sync events (not inclusive)
136            * @return the range of matching d l sync events
137            * @throws SystemException if a system exception occurred
138            */
139            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLSyncEvent> findByModifiedTime(
140                    long modifiedTime, int start, int end)
141                    throws com.liferay.portal.kernel.exception.SystemException {
142                    return getPersistence().findByModifiedTime(modifiedTime, start, end);
143            }
144    
145            /**
146            * Returns an ordered range of all the d l sync events where modifiedTime &gt; &#63;.
147            *
148            * <p>
149            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLSyncEventModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
150            * </p>
151            *
152            * @param modifiedTime the modified time
153            * @param start the lower bound of the range of d l sync events
154            * @param end the upper bound of the range of d l sync events (not inclusive)
155            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
156            * @return the ordered range of matching d l sync events
157            * @throws SystemException if a system exception occurred
158            */
159            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLSyncEvent> findByModifiedTime(
160                    long modifiedTime, int start, int end,
161                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
162                    throws com.liferay.portal.kernel.exception.SystemException {
163                    return getPersistence()
164                                       .findByModifiedTime(modifiedTime, start, end,
165                            orderByComparator);
166            }
167    
168            /**
169            * Returns the first d l sync event in the ordered set where modifiedTime &gt; &#63;.
170            *
171            * @param modifiedTime the modified time
172            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
173            * @return the first matching d l sync event
174            * @throws com.liferay.portlet.documentlibrary.NoSuchSyncEventException if a matching d l sync event could not be found
175            * @throws SystemException if a system exception occurred
176            */
177            public static com.liferay.portlet.documentlibrary.model.DLSyncEvent findByModifiedTime_First(
178                    long modifiedTime,
179                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180                    throws com.liferay.portal.kernel.exception.SystemException,
181                            com.liferay.portlet.documentlibrary.NoSuchSyncEventException {
182                    return getPersistence()
183                                       .findByModifiedTime_First(modifiedTime, orderByComparator);
184            }
185    
186            /**
187            * Returns the first d l sync event in the ordered set where modifiedTime &gt; &#63;.
188            *
189            * @param modifiedTime the modified time
190            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
191            * @return the first matching d l sync event, or <code>null</code> if a matching d l sync event could not be found
192            * @throws SystemException if a system exception occurred
193            */
194            public static com.liferay.portlet.documentlibrary.model.DLSyncEvent fetchByModifiedTime_First(
195                    long modifiedTime,
196                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
197                    throws com.liferay.portal.kernel.exception.SystemException {
198                    return getPersistence()
199                                       .fetchByModifiedTime_First(modifiedTime, orderByComparator);
200            }
201    
202            /**
203            * Returns the last d l sync event in the ordered set where modifiedTime &gt; &#63;.
204            *
205            * @param modifiedTime the modified time
206            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
207            * @return the last matching d l sync event
208            * @throws com.liferay.portlet.documentlibrary.NoSuchSyncEventException if a matching d l sync event could not be found
209            * @throws SystemException if a system exception occurred
210            */
211            public static com.liferay.portlet.documentlibrary.model.DLSyncEvent findByModifiedTime_Last(
212                    long modifiedTime,
213                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
214                    throws com.liferay.portal.kernel.exception.SystemException,
215                            com.liferay.portlet.documentlibrary.NoSuchSyncEventException {
216                    return getPersistence()
217                                       .findByModifiedTime_Last(modifiedTime, orderByComparator);
218            }
219    
220            /**
221            * Returns the last d l sync event in the ordered set where modifiedTime &gt; &#63;.
222            *
223            * @param modifiedTime the modified time
224            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
225            * @return the last matching d l sync event, or <code>null</code> if a matching d l sync event could not be found
226            * @throws SystemException if a system exception occurred
227            */
228            public static com.liferay.portlet.documentlibrary.model.DLSyncEvent fetchByModifiedTime_Last(
229                    long modifiedTime,
230                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
231                    throws com.liferay.portal.kernel.exception.SystemException {
232                    return getPersistence()
233                                       .fetchByModifiedTime_Last(modifiedTime, orderByComparator);
234            }
235    
236            /**
237            * Returns the d l sync events before and after the current d l sync event in the ordered set where modifiedTime &gt; &#63;.
238            *
239            * @param syncEventId the primary key of the current d l sync event
240            * @param modifiedTime the modified time
241            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
242            * @return the previous, current, and next d l sync event
243            * @throws com.liferay.portlet.documentlibrary.NoSuchSyncEventException if a d l sync event with the primary key could not be found
244            * @throws SystemException if a system exception occurred
245            */
246            public static com.liferay.portlet.documentlibrary.model.DLSyncEvent[] findByModifiedTime_PrevAndNext(
247                    long syncEventId, long modifiedTime,
248                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
249                    throws com.liferay.portal.kernel.exception.SystemException,
250                            com.liferay.portlet.documentlibrary.NoSuchSyncEventException {
251                    return getPersistence()
252                                       .findByModifiedTime_PrevAndNext(syncEventId, modifiedTime,
253                            orderByComparator);
254            }
255    
256            /**
257            * Removes all the d l sync events where modifiedTime &gt; &#63; from the database.
258            *
259            * @param modifiedTime the modified time
260            * @throws SystemException if a system exception occurred
261            */
262            public static void removeByModifiedTime(long modifiedTime)
263                    throws com.liferay.portal.kernel.exception.SystemException {
264                    getPersistence().removeByModifiedTime(modifiedTime);
265            }
266    
267            /**
268            * Returns the number of d l sync events where modifiedTime &gt; &#63;.
269            *
270            * @param modifiedTime the modified time
271            * @return the number of matching d l sync events
272            * @throws SystemException if a system exception occurred
273            */
274            public static int countByModifiedTime(long modifiedTime)
275                    throws com.liferay.portal.kernel.exception.SystemException {
276                    return getPersistence().countByModifiedTime(modifiedTime);
277            }
278    
279            /**
280            * Returns the d l sync event where typePK = &#63; or throws a {@link com.liferay.portlet.documentlibrary.NoSuchSyncEventException} if it could not be found.
281            *
282            * @param typePK the type p k
283            * @return the matching d l sync event
284            * @throws com.liferay.portlet.documentlibrary.NoSuchSyncEventException if a matching d l sync event could not be found
285            * @throws SystemException if a system exception occurred
286            */
287            public static com.liferay.portlet.documentlibrary.model.DLSyncEvent findByTypePK(
288                    long typePK)
289                    throws com.liferay.portal.kernel.exception.SystemException,
290                            com.liferay.portlet.documentlibrary.NoSuchSyncEventException {
291                    return getPersistence().findByTypePK(typePK);
292            }
293    
294            /**
295            * Returns the d l sync event where typePK = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
296            *
297            * @param typePK the type p k
298            * @return the matching d l sync event, or <code>null</code> if a matching d l sync event could not be found
299            * @throws SystemException if a system exception occurred
300            */
301            public static com.liferay.portlet.documentlibrary.model.DLSyncEvent fetchByTypePK(
302                    long typePK) throws com.liferay.portal.kernel.exception.SystemException {
303                    return getPersistence().fetchByTypePK(typePK);
304            }
305    
306            /**
307            * Returns the d l sync event where typePK = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
308            *
309            * @param typePK the type p k
310            * @param retrieveFromCache whether to use the finder cache
311            * @return the matching d l sync event, or <code>null</code> if a matching d l sync event could not be found
312            * @throws SystemException if a system exception occurred
313            */
314            public static com.liferay.portlet.documentlibrary.model.DLSyncEvent fetchByTypePK(
315                    long typePK, boolean retrieveFromCache)
316                    throws com.liferay.portal.kernel.exception.SystemException {
317                    return getPersistence().fetchByTypePK(typePK, retrieveFromCache);
318            }
319    
320            /**
321            * Removes the d l sync event where typePK = &#63; from the database.
322            *
323            * @param typePK the type p k
324            * @return the d l sync event that was removed
325            * @throws SystemException if a system exception occurred
326            */
327            public static com.liferay.portlet.documentlibrary.model.DLSyncEvent removeByTypePK(
328                    long typePK)
329                    throws com.liferay.portal.kernel.exception.SystemException,
330                            com.liferay.portlet.documentlibrary.NoSuchSyncEventException {
331                    return getPersistence().removeByTypePK(typePK);
332            }
333    
334            /**
335            * Returns the number of d l sync events where typePK = &#63;.
336            *
337            * @param typePK the type p k
338            * @return the number of matching d l sync events
339            * @throws SystemException if a system exception occurred
340            */
341            public static int countByTypePK(long typePK)
342                    throws com.liferay.portal.kernel.exception.SystemException {
343                    return getPersistence().countByTypePK(typePK);
344            }
345    
346            /**
347            * Caches the d l sync event in the entity cache if it is enabled.
348            *
349            * @param dlSyncEvent the d l sync event
350            */
351            public static void cacheResult(
352                    com.liferay.portlet.documentlibrary.model.DLSyncEvent dlSyncEvent) {
353                    getPersistence().cacheResult(dlSyncEvent);
354            }
355    
356            /**
357            * Caches the d l sync events in the entity cache if it is enabled.
358            *
359            * @param dlSyncEvents the d l sync events
360            */
361            public static void cacheResult(
362                    java.util.List<com.liferay.portlet.documentlibrary.model.DLSyncEvent> dlSyncEvents) {
363                    getPersistence().cacheResult(dlSyncEvents);
364            }
365    
366            /**
367            * Creates a new d l sync event with the primary key. Does not add the d l sync event to the database.
368            *
369            * @param syncEventId the primary key for the new d l sync event
370            * @return the new d l sync event
371            */
372            public static com.liferay.portlet.documentlibrary.model.DLSyncEvent create(
373                    long syncEventId) {
374                    return getPersistence().create(syncEventId);
375            }
376    
377            /**
378            * Removes the d l sync event with the primary key from the database. Also notifies the appropriate model listeners.
379            *
380            * @param syncEventId the primary key of the d l sync event
381            * @return the d l sync event that was removed
382            * @throws com.liferay.portlet.documentlibrary.NoSuchSyncEventException if a d l sync event with the primary key could not be found
383            * @throws SystemException if a system exception occurred
384            */
385            public static com.liferay.portlet.documentlibrary.model.DLSyncEvent remove(
386                    long syncEventId)
387                    throws com.liferay.portal.kernel.exception.SystemException,
388                            com.liferay.portlet.documentlibrary.NoSuchSyncEventException {
389                    return getPersistence().remove(syncEventId);
390            }
391    
392            public static com.liferay.portlet.documentlibrary.model.DLSyncEvent updateImpl(
393                    com.liferay.portlet.documentlibrary.model.DLSyncEvent dlSyncEvent)
394                    throws com.liferay.portal.kernel.exception.SystemException {
395                    return getPersistence().updateImpl(dlSyncEvent);
396            }
397    
398            /**
399            * Returns the d l sync event with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchSyncEventException} if it could not be found.
400            *
401            * @param syncEventId the primary key of the d l sync event
402            * @return the d l sync event
403            * @throws com.liferay.portlet.documentlibrary.NoSuchSyncEventException if a d l sync event with the primary key could not be found
404            * @throws SystemException if a system exception occurred
405            */
406            public static com.liferay.portlet.documentlibrary.model.DLSyncEvent findByPrimaryKey(
407                    long syncEventId)
408                    throws com.liferay.portal.kernel.exception.SystemException,
409                            com.liferay.portlet.documentlibrary.NoSuchSyncEventException {
410                    return getPersistence().findByPrimaryKey(syncEventId);
411            }
412    
413            /**
414            * Returns the d l sync event with the primary key or returns <code>null</code> if it could not be found.
415            *
416            * @param syncEventId the primary key of the d l sync event
417            * @return the d l sync event, or <code>null</code> if a d l sync event with the primary key could not be found
418            * @throws SystemException if a system exception occurred
419            */
420            public static com.liferay.portlet.documentlibrary.model.DLSyncEvent fetchByPrimaryKey(
421                    long syncEventId)
422                    throws com.liferay.portal.kernel.exception.SystemException {
423                    return getPersistence().fetchByPrimaryKey(syncEventId);
424            }
425    
426            /**
427            * Returns all the d l sync events.
428            *
429            * @return the d l sync events
430            * @throws SystemException if a system exception occurred
431            */
432            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLSyncEvent> findAll()
433                    throws com.liferay.portal.kernel.exception.SystemException {
434                    return getPersistence().findAll();
435            }
436    
437            /**
438            * Returns a range of all the d l sync events.
439            *
440            * <p>
441            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLSyncEventModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
442            * </p>
443            *
444            * @param start the lower bound of the range of d l sync events
445            * @param end the upper bound of the range of d l sync events (not inclusive)
446            * @return the range of d l sync events
447            * @throws SystemException if a system exception occurred
448            */
449            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLSyncEvent> findAll(
450                    int start, int end)
451                    throws com.liferay.portal.kernel.exception.SystemException {
452                    return getPersistence().findAll(start, end);
453            }
454    
455            /**
456            * Returns an ordered range of all the d l sync events.
457            *
458            * <p>
459            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLSyncEventModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
460            * </p>
461            *
462            * @param start the lower bound of the range of d l sync events
463            * @param end the upper bound of the range of d l sync events (not inclusive)
464            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
465            * @return the ordered range of d l sync events
466            * @throws SystemException if a system exception occurred
467            */
468            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLSyncEvent> findAll(
469                    int start, int end,
470                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
471                    throws com.liferay.portal.kernel.exception.SystemException {
472                    return getPersistence().findAll(start, end, orderByComparator);
473            }
474    
475            /**
476            * Removes all the d l sync events from the database.
477            *
478            * @throws SystemException if a system exception occurred
479            */
480            public static void removeAll()
481                    throws com.liferay.portal.kernel.exception.SystemException {
482                    getPersistence().removeAll();
483            }
484    
485            /**
486            * Returns the number of d l sync events.
487            *
488            * @return the number of d l sync events
489            * @throws SystemException if a system exception occurred
490            */
491            public static int countAll()
492                    throws com.liferay.portal.kernel.exception.SystemException {
493                    return getPersistence().countAll();
494            }
495    
496            public static DLSyncEventPersistence getPersistence() {
497                    if (_persistence == null) {
498                            _persistence = (DLSyncEventPersistence)PortalBeanLocatorUtil.locate(DLSyncEventPersistence.class.getName());
499    
500                            ReferenceRegistry.registerReference(DLSyncEventUtil.class,
501                                    "_persistence");
502                    }
503    
504                    return _persistence;
505            }
506    
507            /**
508             * @deprecated As of 6.2.0
509             */
510            public void setPersistence(DLSyncEventPersistence persistence) {
511            }
512    
513            private static DLSyncEventPersistence _persistence;
514    }