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