001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.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 = ? and classPK = ?. 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 = ? and classPK = ?. 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 = ? and classPK = ?. 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 = ? and classPK = ?. 257 * 258 * @param classNameId the class name ID 259 * @param classPK the class p k 260 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 261 * @return the first matching social activity limit 262 * @throws com.liferay.portlet.social.NoSuchActivityLimitException if a matching social activity limit could not be found 263 * @throws SystemException if a system exception occurred 264 */ 265 public static com.liferay.portlet.social.model.SocialActivityLimit findByC_C_First( 266 long classNameId, long classPK, 267 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 268 throws com.liferay.portal.kernel.exception.SystemException, 269 com.liferay.portlet.social.NoSuchActivityLimitException { 270 return getPersistence() 271 .findByC_C_First(classNameId, classPK, orderByComparator); 272 } 273 274 /** 275 * Returns the first social activity limit in the ordered set where classNameId = ? and classPK = ?. 276 * 277 * @param classNameId the class name ID 278 * @param classPK the class p k 279 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 280 * @return the first matching social activity limit, or <code>null</code> if a matching social activity limit could not be found 281 * @throws SystemException if a system exception occurred 282 */ 283 public static com.liferay.portlet.social.model.SocialActivityLimit fetchByC_C_First( 284 long classNameId, long classPK, 285 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 286 throws com.liferay.portal.kernel.exception.SystemException { 287 return getPersistence() 288 .fetchByC_C_First(classNameId, classPK, orderByComparator); 289 } 290 291 /** 292 * Returns the last social activity limit in the ordered set where classNameId = ? and classPK = ?. 293 * 294 * @param classNameId the class name ID 295 * @param classPK the class p k 296 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 297 * @return the last matching social activity limit 298 * @throws com.liferay.portlet.social.NoSuchActivityLimitException if a matching social activity limit could not be found 299 * @throws SystemException if a system exception occurred 300 */ 301 public static com.liferay.portlet.social.model.SocialActivityLimit findByC_C_Last( 302 long classNameId, long classPK, 303 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 304 throws com.liferay.portal.kernel.exception.SystemException, 305 com.liferay.portlet.social.NoSuchActivityLimitException { 306 return getPersistence() 307 .findByC_C_Last(classNameId, classPK, orderByComparator); 308 } 309 310 /** 311 * Returns the last social activity limit in the ordered set where classNameId = ? and classPK = ?. 312 * 313 * @param classNameId the class name ID 314 * @param classPK the class p k 315 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 316 * @return the last matching social activity limit, or <code>null</code> if a matching social activity limit could not be found 317 * @throws SystemException if a system exception occurred 318 */ 319 public static com.liferay.portlet.social.model.SocialActivityLimit fetchByC_C_Last( 320 long classNameId, long classPK, 321 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 322 throws com.liferay.portal.kernel.exception.SystemException { 323 return getPersistence() 324 .fetchByC_C_Last(classNameId, classPK, orderByComparator); 325 } 326 327 /** 328 * Returns the social activity limits before and after the current social activity limit in the ordered set where classNameId = ? and classPK = ?. 329 * 330 * @param activityLimitId the primary key of the current social activity limit 331 * @param classNameId the class name ID 332 * @param classPK the class p k 333 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 334 * @return the previous, current, and next social activity limit 335 * @throws com.liferay.portlet.social.NoSuchActivityLimitException if a social activity limit with the primary key could not be found 336 * @throws SystemException if a system exception occurred 337 */ 338 public static com.liferay.portlet.social.model.SocialActivityLimit[] findByC_C_PrevAndNext( 339 long activityLimitId, long classNameId, long classPK, 340 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 341 throws com.liferay.portal.kernel.exception.SystemException, 342 com.liferay.portlet.social.NoSuchActivityLimitException { 343 return getPersistence() 344 .findByC_C_PrevAndNext(activityLimitId, classNameId, 345 classPK, orderByComparator); 346 } 347 348 /** 349 * 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. 350 * 351 * @param groupId the group ID 352 * @param userId the user ID 353 * @param classNameId the class name ID 354 * @param classPK the class p k 355 * @param activityType the activity type 356 * @param activityCounterName the activity counter name 357 * @return the matching social activity limit 358 * @throws com.liferay.portlet.social.NoSuchActivityLimitException 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 findByG_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 com.liferay.portlet.social.NoSuchActivityLimitException { 366 return getPersistence() 367 .findByG_U_C_C_A_A(groupId, userId, classNameId, classPK, 368 activityType, activityCounterName); 369 } 370 371 /** 372 * 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. 373 * 374 * @param groupId the group ID 375 * @param userId the user ID 376 * @param classNameId the class name ID 377 * @param classPK the class p k 378 * @param activityType the activity type 379 * @param activityCounterName the activity counter name 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 throws com.liferay.portal.kernel.exception.SystemException { 387 return getPersistence() 388 .fetchByG_U_C_C_A_A(groupId, userId, classNameId, classPK, 389 activityType, activityCounterName); 390 } 391 392 /** 393 * 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. 394 * 395 * @param groupId the group ID 396 * @param userId the user ID 397 * @param classNameId the class name ID 398 * @param classPK the class p k 399 * @param activityType the activity type 400 * @param activityCounterName the activity counter name 401 * @param retrieveFromCache whether to use the finder cache 402 * @return the matching social activity limit, or <code>null</code> if a matching social activity limit could not be found 403 * @throws SystemException if a system exception occurred 404 */ 405 public static com.liferay.portlet.social.model.SocialActivityLimit fetchByG_U_C_C_A_A( 406 long groupId, long userId, long classNameId, long classPK, 407 int activityType, java.lang.String activityCounterName, 408 boolean retrieveFromCache) 409 throws com.liferay.portal.kernel.exception.SystemException { 410 return getPersistence() 411 .fetchByG_U_C_C_A_A(groupId, userId, classNameId, classPK, 412 activityType, activityCounterName, retrieveFromCache); 413 } 414 415 /** 416 * Returns all the social activity limits. 417 * 418 * @return the social activity limits 419 * @throws SystemException if a system exception occurred 420 */ 421 public static java.util.List<com.liferay.portlet.social.model.SocialActivityLimit> findAll() 422 throws com.liferay.portal.kernel.exception.SystemException { 423 return getPersistence().findAll(); 424 } 425 426 /** 427 * Returns a range of all the social activity limits. 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 activity limits 434 * @param end the upper bound of the range of social activity limits (not inclusive) 435 * @return the range of social activity limits 436 * @throws SystemException if a system exception occurred 437 */ 438 public static java.util.List<com.liferay.portlet.social.model.SocialActivityLimit> findAll( 439 int start, int end) 440 throws com.liferay.portal.kernel.exception.SystemException { 441 return getPersistence().findAll(start, end); 442 } 443 444 /** 445 * Returns an ordered range of all the social activity limits. 446 * 447 * <p> 448 * 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. 449 * </p> 450 * 451 * @param start the lower bound of the range of social activity limits 452 * @param end the upper bound of the range of social activity limits (not inclusive) 453 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 454 * @return the ordered range of social activity limits 455 * @throws SystemException if a system exception occurred 456 */ 457 public static java.util.List<com.liferay.portlet.social.model.SocialActivityLimit> findAll( 458 int start, int end, 459 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 460 throws com.liferay.portal.kernel.exception.SystemException { 461 return getPersistence().findAll(start, end, orderByComparator); 462 } 463 464 /** 465 * Removes all the social activity limits where classNameId = ? and classPK = ? from the database. 466 * 467 * @param classNameId the class name ID 468 * @param classPK the class p k 469 * @throws SystemException if a system exception occurred 470 */ 471 public static void removeByC_C(long classNameId, long classPK) 472 throws com.liferay.portal.kernel.exception.SystemException { 473 getPersistence().removeByC_C(classNameId, classPK); 474 } 475 476 /** 477 * Removes the social activity limit where groupId = ? and userId = ? and classNameId = ? and classPK = ? and activityType = ? and activityCounterName = ? from the database. 478 * 479 * @param groupId the group ID 480 * @param userId the user ID 481 * @param classNameId the class name ID 482 * @param classPK the class p k 483 * @param activityType the activity type 484 * @param activityCounterName the activity counter name 485 * @return the social activity limit that was removed 486 * @throws SystemException if a system exception occurred 487 */ 488 public static com.liferay.portlet.social.model.SocialActivityLimit removeByG_U_C_C_A_A( 489 long groupId, long userId, long classNameId, long classPK, 490 int activityType, java.lang.String activityCounterName) 491 throws com.liferay.portal.kernel.exception.SystemException, 492 com.liferay.portlet.social.NoSuchActivityLimitException { 493 return getPersistence() 494 .removeByG_U_C_C_A_A(groupId, userId, classNameId, classPK, 495 activityType, activityCounterName); 496 } 497 498 /** 499 * Removes all the social activity limits from the database. 500 * 501 * @throws SystemException if a system exception occurred 502 */ 503 public static void removeAll() 504 throws com.liferay.portal.kernel.exception.SystemException { 505 getPersistence().removeAll(); 506 } 507 508 /** 509 * Returns the number of social activity limits where classNameId = ? and classPK = ?. 510 * 511 * @param classNameId the class name ID 512 * @param classPK the class p k 513 * @return the number of matching social activity limits 514 * @throws SystemException if a system exception occurred 515 */ 516 public static int countByC_C(long classNameId, long classPK) 517 throws com.liferay.portal.kernel.exception.SystemException { 518 return getPersistence().countByC_C(classNameId, classPK); 519 } 520 521 /** 522 * Returns the number of social activity limits where groupId = ? and userId = ? and classNameId = ? and classPK = ? and activityType = ? and activityCounterName = ?. 523 * 524 * @param groupId the group ID 525 * @param userId the user ID 526 * @param classNameId the class name ID 527 * @param classPK the class p k 528 * @param activityType the activity type 529 * @param activityCounterName the activity counter name 530 * @return the number of matching social activity limits 531 * @throws SystemException if a system exception occurred 532 */ 533 public static int countByG_U_C_C_A_A(long groupId, long userId, 534 long classNameId, long classPK, int activityType, 535 java.lang.String activityCounterName) 536 throws com.liferay.portal.kernel.exception.SystemException { 537 return getPersistence() 538 .countByG_U_C_C_A_A(groupId, userId, classNameId, classPK, 539 activityType, activityCounterName); 540 } 541 542 /** 543 * Returns the number of social activity limits. 544 * 545 * @return the number of social activity limits 546 * @throws SystemException if a system exception occurred 547 */ 548 public static int countAll() 549 throws com.liferay.portal.kernel.exception.SystemException { 550 return getPersistence().countAll(); 551 } 552 553 public static SocialActivityLimitPersistence getPersistence() { 554 if (_persistence == null) { 555 _persistence = (SocialActivityLimitPersistence)PortalBeanLocatorUtil.locate(SocialActivityLimitPersistence.class.getName()); 556 557 ReferenceRegistry.registerReference(SocialActivityLimitUtil.class, 558 "_persistence"); 559 } 560 561 return _persistence; 562 } 563 564 /** 565 * @deprecated 566 */ 567 public void setPersistence(SocialActivityLimitPersistence persistence) { 568 } 569 570 private static SocialActivityLimitPersistence _persistence; 571 }