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