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