001 /** 002 * Copyright (c) 2000-2011 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#remove(com.liferay.portal.model.BaseModel) 099 */ 100 public static SocialActivityLimit remove( 101 SocialActivityLimit socialActivityLimit) throws SystemException { 102 return getPersistence().remove(socialActivityLimit); 103 } 104 105 /** 106 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean) 107 */ 108 public static SocialActivityLimit update( 109 SocialActivityLimit socialActivityLimit, boolean merge) 110 throws SystemException { 111 return getPersistence().update(socialActivityLimit, merge); 112 } 113 114 /** 115 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext) 116 */ 117 public static SocialActivityLimit update( 118 SocialActivityLimit socialActivityLimit, boolean merge, 119 ServiceContext serviceContext) throws SystemException { 120 return getPersistence() 121 .update(socialActivityLimit, merge, serviceContext); 122 } 123 124 /** 125 * Caches the social activity limit in the entity cache if it is enabled. 126 * 127 * @param socialActivityLimit the social activity limit 128 */ 129 public static void cacheResult( 130 com.liferay.portlet.social.model.SocialActivityLimit socialActivityLimit) { 131 getPersistence().cacheResult(socialActivityLimit); 132 } 133 134 /** 135 * Caches the social activity limits in the entity cache if it is enabled. 136 * 137 * @param socialActivityLimits the social activity limits 138 */ 139 public static void cacheResult( 140 java.util.List<com.liferay.portlet.social.model.SocialActivityLimit> socialActivityLimits) { 141 getPersistence().cacheResult(socialActivityLimits); 142 } 143 144 /** 145 * Creates a new social activity limit with the primary key. Does not add the social activity limit to the database. 146 * 147 * @param activityLimitId the primary key for the new social activity limit 148 * @return the new social activity limit 149 */ 150 public static com.liferay.portlet.social.model.SocialActivityLimit create( 151 long activityLimitId) { 152 return getPersistence().create(activityLimitId); 153 } 154 155 /** 156 * Removes the social activity limit with the primary key from the database. Also notifies the appropriate model listeners. 157 * 158 * @param activityLimitId the primary key of the social activity limit 159 * @return the social activity limit that was removed 160 * @throws com.liferay.portlet.social.NoSuchActivityLimitException if a social activity limit with the primary key could not be found 161 * @throws SystemException if a system exception occurred 162 */ 163 public static com.liferay.portlet.social.model.SocialActivityLimit remove( 164 long activityLimitId) 165 throws com.liferay.portal.kernel.exception.SystemException, 166 com.liferay.portlet.social.NoSuchActivityLimitException { 167 return getPersistence().remove(activityLimitId); 168 } 169 170 public static com.liferay.portlet.social.model.SocialActivityLimit updateImpl( 171 com.liferay.portlet.social.model.SocialActivityLimit socialActivityLimit, 172 boolean merge) 173 throws com.liferay.portal.kernel.exception.SystemException { 174 return getPersistence().updateImpl(socialActivityLimit, merge); 175 } 176 177 /** 178 * Returns the social activity limit with the primary key or throws a {@link com.liferay.portlet.social.NoSuchActivityLimitException} if it could not be found. 179 * 180 * @param activityLimitId the primary key of the social activity limit 181 * @return the social activity limit 182 * @throws com.liferay.portlet.social.NoSuchActivityLimitException if a social activity limit with the primary key could not be found 183 * @throws SystemException if a system exception occurred 184 */ 185 public static com.liferay.portlet.social.model.SocialActivityLimit findByPrimaryKey( 186 long activityLimitId) 187 throws com.liferay.portal.kernel.exception.SystemException, 188 com.liferay.portlet.social.NoSuchActivityLimitException { 189 return getPersistence().findByPrimaryKey(activityLimitId); 190 } 191 192 /** 193 * Returns the social activity limit with the primary key or returns <code>null</code> if it could not be found. 194 * 195 * @param activityLimitId the primary key of the social activity limit 196 * @return the social activity limit, or <code>null</code> if a social activity limit with the primary key could not be found 197 * @throws SystemException if a system exception occurred 198 */ 199 public static com.liferay.portlet.social.model.SocialActivityLimit fetchByPrimaryKey( 200 long activityLimitId) 201 throws com.liferay.portal.kernel.exception.SystemException { 202 return getPersistence().fetchByPrimaryKey(activityLimitId); 203 } 204 205 /** 206 * Returns all the social activity limits where classNameId = ? and classPK = ?. 207 * 208 * @param classNameId the class name ID 209 * @param classPK the class p k 210 * @return the matching social activity limits 211 * @throws SystemException if a system exception occurred 212 */ 213 public static java.util.List<com.liferay.portlet.social.model.SocialActivityLimit> findByC_C( 214 long classNameId, long classPK) 215 throws com.liferay.portal.kernel.exception.SystemException { 216 return getPersistence().findByC_C(classNameId, classPK); 217 } 218 219 /** 220 * Returns a range of all the social activity limits where classNameId = ? and classPK = ?. 221 * 222 * <p> 223 * 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. 224 * </p> 225 * 226 * @param classNameId the class name ID 227 * @param classPK the class p k 228 * @param start the lower bound of the range of social activity limits 229 * @param end the upper bound of the range of social activity limits (not inclusive) 230 * @return the range of matching social activity limits 231 * @throws SystemException if a system exception occurred 232 */ 233 public static java.util.List<com.liferay.portlet.social.model.SocialActivityLimit> findByC_C( 234 long classNameId, long classPK, int start, int end) 235 throws com.liferay.portal.kernel.exception.SystemException { 236 return getPersistence().findByC_C(classNameId, classPK, start, end); 237 } 238 239 /** 240 * Returns an ordered range of all the social activity limits where classNameId = ? and classPK = ?. 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 classNameId the class name ID 247 * @param classPK the class p k 248 * @param start the lower bound of the range of social activity limits 249 * @param end the upper bound of the range of social activity limits (not inclusive) 250 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 251 * @return the ordered range of matching social activity limits 252 * @throws SystemException if a system exception occurred 253 */ 254 public static java.util.List<com.liferay.portlet.social.model.SocialActivityLimit> findByC_C( 255 long classNameId, long classPK, int start, int end, 256 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 257 throws com.liferay.portal.kernel.exception.SystemException { 258 return getPersistence() 259 .findByC_C(classNameId, classPK, start, end, 260 orderByComparator); 261 } 262 263 /** 264 * Returns the first social activity limit in the ordered set where classNameId = ? and classPK = ?. 265 * 266 * <p> 267 * 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. 268 * </p> 269 * 270 * @param classNameId the class name ID 271 * @param classPK the class p k 272 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 273 * @return the first matching social activity limit 274 * @throws com.liferay.portlet.social.NoSuchActivityLimitException if a matching social activity limit could not be found 275 * @throws SystemException if a system exception occurred 276 */ 277 public static com.liferay.portlet.social.model.SocialActivityLimit findByC_C_First( 278 long classNameId, long classPK, 279 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 280 throws com.liferay.portal.kernel.exception.SystemException, 281 com.liferay.portlet.social.NoSuchActivityLimitException { 282 return getPersistence() 283 .findByC_C_First(classNameId, classPK, orderByComparator); 284 } 285 286 /** 287 * Returns the last social activity limit in the ordered set where classNameId = ? and classPK = ?. 288 * 289 * <p> 290 * 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. 291 * </p> 292 * 293 * @param classNameId the class name ID 294 * @param classPK the class p k 295 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 296 * @return the last matching social activity limit 297 * @throws com.liferay.portlet.social.NoSuchActivityLimitException if a matching social activity limit could not be found 298 * @throws SystemException if a system exception occurred 299 */ 300 public static com.liferay.portlet.social.model.SocialActivityLimit findByC_C_Last( 301 long classNameId, long classPK, 302 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 303 throws com.liferay.portal.kernel.exception.SystemException, 304 com.liferay.portlet.social.NoSuchActivityLimitException { 305 return getPersistence() 306 .findByC_C_Last(classNameId, classPK, orderByComparator); 307 } 308 309 /** 310 * Returns the social activity limits before and after the current social activity limit in the ordered set where classNameId = ? and classPK = ?. 311 * 312 * <p> 313 * 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. 314 * </p> 315 * 316 * @param activityLimitId the primary key of the current social activity limit 317 * @param classNameId the class name ID 318 * @param classPK the class p k 319 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 320 * @return the previous, current, and next social activity limit 321 * @throws com.liferay.portlet.social.NoSuchActivityLimitException if a social activity limit with the primary key could not be found 322 * @throws SystemException if a system exception occurred 323 */ 324 public static com.liferay.portlet.social.model.SocialActivityLimit[] findByC_C_PrevAndNext( 325 long activityLimitId, long classNameId, long classPK, 326 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 327 throws com.liferay.portal.kernel.exception.SystemException, 328 com.liferay.portlet.social.NoSuchActivityLimitException { 329 return getPersistence() 330 .findByC_C_PrevAndNext(activityLimitId, classNameId, 331 classPK, orderByComparator); 332 } 333 334 /** 335 * Returns the social activity limit where groupId = ? and userId = ? and classNameId = ? and classPK = ? and activityType = ? and activityCounterName = ? or throws a {@link com.liferay.portlet.social.NoSuchActivityLimitException} if it could not be found. 336 * 337 * @param groupId the group ID 338 * @param userId the user ID 339 * @param classNameId the class name ID 340 * @param classPK the class p k 341 * @param activityType the activity type 342 * @param activityCounterName the activity counter name 343 * @return the matching social activity limit 344 * @throws com.liferay.portlet.social.NoSuchActivityLimitException if a matching social activity limit could not be found 345 * @throws SystemException if a system exception occurred 346 */ 347 public static com.liferay.portlet.social.model.SocialActivityLimit findByG_U_C_C_A_A( 348 long groupId, long userId, long classNameId, long classPK, 349 int activityType, java.lang.String activityCounterName) 350 throws com.liferay.portal.kernel.exception.SystemException, 351 com.liferay.portlet.social.NoSuchActivityLimitException { 352 return getPersistence() 353 .findByG_U_C_C_A_A(groupId, userId, classNameId, classPK, 354 activityType, activityCounterName); 355 } 356 357 /** 358 * Returns the social activity limit where groupId = ? and userId = ? and classNameId = ? and classPK = ? and activityType = ? and activityCounterName = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 359 * 360 * @param groupId the group ID 361 * @param userId the user ID 362 * @param classNameId the class name ID 363 * @param classPK the class p k 364 * @param activityType the activity type 365 * @param activityCounterName the activity counter name 366 * @return the matching social activity limit, or <code>null</code> if a matching social activity limit could not be found 367 * @throws SystemException if a system exception occurred 368 */ 369 public static com.liferay.portlet.social.model.SocialActivityLimit fetchByG_U_C_C_A_A( 370 long groupId, long userId, long classNameId, long classPK, 371 int activityType, java.lang.String activityCounterName) 372 throws com.liferay.portal.kernel.exception.SystemException { 373 return getPersistence() 374 .fetchByG_U_C_C_A_A(groupId, userId, classNameId, classPK, 375 activityType, activityCounterName); 376 } 377 378 /** 379 * Returns the social activity limit where groupId = ? and userId = ? and classNameId = ? and classPK = ? and activityType = ? and activityCounterName = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 380 * 381 * @param groupId the group ID 382 * @param userId the user ID 383 * @param classNameId the class name ID 384 * @param classPK the class p k 385 * @param activityType the activity type 386 * @param activityCounterName the activity counter name 387 * @param retrieveFromCache whether to use the finder cache 388 * @return the matching social activity limit, or <code>null</code> if a matching social activity limit could not be found 389 * @throws SystemException if a system exception occurred 390 */ 391 public static com.liferay.portlet.social.model.SocialActivityLimit fetchByG_U_C_C_A_A( 392 long groupId, long userId, long classNameId, long classPK, 393 int activityType, java.lang.String activityCounterName, 394 boolean retrieveFromCache) 395 throws com.liferay.portal.kernel.exception.SystemException { 396 return getPersistence() 397 .fetchByG_U_C_C_A_A(groupId, userId, classNameId, classPK, 398 activityType, activityCounterName, retrieveFromCache); 399 } 400 401 /** 402 * Returns all the social activity limits. 403 * 404 * @return the social activity limits 405 * @throws SystemException if a system exception occurred 406 */ 407 public static java.util.List<com.liferay.portlet.social.model.SocialActivityLimit> findAll() 408 throws com.liferay.portal.kernel.exception.SystemException { 409 return getPersistence().findAll(); 410 } 411 412 /** 413 * Returns a range of all the social activity limits. 414 * 415 * <p> 416 * 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. 417 * </p> 418 * 419 * @param start the lower bound of the range of social activity limits 420 * @param end the upper bound of the range of social activity limits (not inclusive) 421 * @return the range of social activity limits 422 * @throws SystemException if a system exception occurred 423 */ 424 public static java.util.List<com.liferay.portlet.social.model.SocialActivityLimit> findAll( 425 int start, int end) 426 throws com.liferay.portal.kernel.exception.SystemException { 427 return getPersistence().findAll(start, end); 428 } 429 430 /** 431 * Returns an ordered range of all the social activity limits. 432 * 433 * <p> 434 * 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. 435 * </p> 436 * 437 * @param start the lower bound of the range of social activity limits 438 * @param end the upper bound of the range of social activity limits (not inclusive) 439 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 440 * @return the ordered range of social activity limits 441 * @throws SystemException if a system exception occurred 442 */ 443 public static java.util.List<com.liferay.portlet.social.model.SocialActivityLimit> findAll( 444 int start, int end, 445 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 446 throws com.liferay.portal.kernel.exception.SystemException { 447 return getPersistence().findAll(start, end, orderByComparator); 448 } 449 450 /** 451 * Removes all the social activity limits where classNameId = ? and classPK = ? from the database. 452 * 453 * @param classNameId the class name ID 454 * @param classPK the class p k 455 * @throws SystemException if a system exception occurred 456 */ 457 public static void removeByC_C(long classNameId, long classPK) 458 throws com.liferay.portal.kernel.exception.SystemException { 459 getPersistence().removeByC_C(classNameId, classPK); 460 } 461 462 /** 463 * Removes the social activity limit where groupId = ? and userId = ? and classNameId = ? and classPK = ? and activityType = ? and activityCounterName = ? from the database. 464 * 465 * @param groupId the group ID 466 * @param userId the user ID 467 * @param classNameId the class name ID 468 * @param classPK the class p k 469 * @param activityType the activity type 470 * @param activityCounterName the activity counter name 471 * @throws SystemException if a system exception occurred 472 */ 473 public static void removeByG_U_C_C_A_A(long groupId, long userId, 474 long classNameId, long classPK, int activityType, 475 java.lang.String activityCounterName) 476 throws com.liferay.portal.kernel.exception.SystemException, 477 com.liferay.portlet.social.NoSuchActivityLimitException { 478 getPersistence() 479 .removeByG_U_C_C_A_A(groupId, userId, classNameId, classPK, 480 activityType, activityCounterName); 481 } 482 483 /** 484 * Removes all the social activity limits from the database. 485 * 486 * @throws SystemException if a system exception occurred 487 */ 488 public static void removeAll() 489 throws com.liferay.portal.kernel.exception.SystemException { 490 getPersistence().removeAll(); 491 } 492 493 /** 494 * Returns the number of social activity limits where classNameId = ? and classPK = ?. 495 * 496 * @param classNameId the class name ID 497 * @param classPK the class p k 498 * @return the number of matching social activity limits 499 * @throws SystemException if a system exception occurred 500 */ 501 public static int countByC_C(long classNameId, long classPK) 502 throws com.liferay.portal.kernel.exception.SystemException { 503 return getPersistence().countByC_C(classNameId, classPK); 504 } 505 506 /** 507 * Returns the number of social activity limits where groupId = ? and userId = ? and classNameId = ? and classPK = ? and activityType = ? and activityCounterName = ?. 508 * 509 * @param groupId the group ID 510 * @param userId the user ID 511 * @param classNameId the class name ID 512 * @param classPK the class p k 513 * @param activityType the activity type 514 * @param activityCounterName the activity counter name 515 * @return the number of matching social activity limits 516 * @throws SystemException if a system exception occurred 517 */ 518 public static int countByG_U_C_C_A_A(long groupId, long userId, 519 long classNameId, long classPK, int activityType, 520 java.lang.String activityCounterName) 521 throws com.liferay.portal.kernel.exception.SystemException { 522 return getPersistence() 523 .countByG_U_C_C_A_A(groupId, userId, classNameId, classPK, 524 activityType, activityCounterName); 525 } 526 527 /** 528 * Returns the number of social activity limits. 529 * 530 * @return the number of social activity limits 531 * @throws SystemException if a system exception occurred 532 */ 533 public static int countAll() 534 throws com.liferay.portal.kernel.exception.SystemException { 535 return getPersistence().countAll(); 536 } 537 538 public static SocialActivityLimitPersistence getPersistence() { 539 if (_persistence == null) { 540 _persistence = (SocialActivityLimitPersistence)PortalBeanLocatorUtil.locate(SocialActivityLimitPersistence.class.getName()); 541 542 ReferenceRegistry.registerReference(SocialActivityLimitUtil.class, 543 "_persistence"); 544 } 545 546 return _persistence; 547 } 548 549 public void setPersistence(SocialActivityLimitPersistence persistence) { 550 _persistence = persistence; 551 552 ReferenceRegistry.registerReference(SocialActivityLimitUtil.class, 553 "_persistence"); 554 } 555 556 private static SocialActivityLimitPersistence _persistence; 557 }