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