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