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