001 /** 002 * Copyright (c) 2000-2010 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.service.ServiceContext; 022 023 import com.liferay.portlet.social.model.SocialEquityUser; 024 025 import java.util.List; 026 027 /** 028 * The persistence utility for the social equity user service. 029 * 030 * <p> 031 * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regnerate this class. 032 * </p> 033 * 034 * @author Brian Wing Shun Chan 035 * @see SocialEquityUserPersistence 036 * @see SocialEquityUserPersistenceImpl 037 * @generated 038 */ 039 public class SocialEquityUserUtil { 040 /** 041 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() 042 */ 043 public static void clearCache() { 044 getPersistence().clearCache(); 045 } 046 047 /** 048 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) 049 */ 050 public static void clearCache(SocialEquityUser socialEquityUser) { 051 getPersistence().clearCache(socialEquityUser); 052 } 053 054 /** 055 * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) 056 */ 057 public long countWithDynamicQuery(DynamicQuery dynamicQuery) 058 throws SystemException { 059 return getPersistence().countWithDynamicQuery(dynamicQuery); 060 } 061 062 /** 063 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) 064 */ 065 public static List<SocialEquityUser> findWithDynamicQuery( 066 DynamicQuery dynamicQuery) throws SystemException { 067 return getPersistence().findWithDynamicQuery(dynamicQuery); 068 } 069 070 /** 071 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) 072 */ 073 public static List<SocialEquityUser> findWithDynamicQuery( 074 DynamicQuery dynamicQuery, int start, int end) 075 throws SystemException { 076 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); 077 } 078 079 /** 080 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) 081 */ 082 public static List<SocialEquityUser> findWithDynamicQuery( 083 DynamicQuery dynamicQuery, int start, int end, 084 OrderByComparator orderByComparator) throws SystemException { 085 return getPersistence() 086 .findWithDynamicQuery(dynamicQuery, start, end, 087 orderByComparator); 088 } 089 090 /** 091 * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel) 092 */ 093 public static SocialEquityUser remove(SocialEquityUser socialEquityUser) 094 throws SystemException { 095 return getPersistence().remove(socialEquityUser); 096 } 097 098 /** 099 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean) 100 */ 101 public static SocialEquityUser update(SocialEquityUser socialEquityUser, 102 boolean merge) throws SystemException { 103 return getPersistence().update(socialEquityUser, merge); 104 } 105 106 /** 107 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext) 108 */ 109 public static SocialEquityUser update(SocialEquityUser socialEquityUser, 110 boolean merge, ServiceContext serviceContext) throws SystemException { 111 return getPersistence().update(socialEquityUser, merge, serviceContext); 112 } 113 114 /** 115 * Caches the social equity user in the entity cache if it is enabled. 116 * 117 * @param socialEquityUser the social equity user to cache 118 */ 119 public static void cacheResult( 120 com.liferay.portlet.social.model.SocialEquityUser socialEquityUser) { 121 getPersistence().cacheResult(socialEquityUser); 122 } 123 124 /** 125 * Caches the social equity users in the entity cache if it is enabled. 126 * 127 * @param socialEquityUsers the social equity users to cache 128 */ 129 public static void cacheResult( 130 java.util.List<com.liferay.portlet.social.model.SocialEquityUser> socialEquityUsers) { 131 getPersistence().cacheResult(socialEquityUsers); 132 } 133 134 /** 135 * Creates a new social equity user with the primary key. 136 * 137 * @param equityUserId the primary key for the new social equity user 138 * @return the new social equity user 139 */ 140 public static com.liferay.portlet.social.model.SocialEquityUser create( 141 long equityUserId) { 142 return getPersistence().create(equityUserId); 143 } 144 145 /** 146 * Removes the social equity user with the primary key from the database. Also notifies the appropriate model listeners. 147 * 148 * @param equityUserId the primary key of the social equity user to remove 149 * @return the social equity user that was removed 150 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a social equity user with the primary key could not be found 151 * @throws SystemException if a system exception occurred 152 */ 153 public static com.liferay.portlet.social.model.SocialEquityUser remove( 154 long equityUserId) 155 throws com.liferay.portal.kernel.exception.SystemException, 156 com.liferay.portlet.social.NoSuchEquityUserException { 157 return getPersistence().remove(equityUserId); 158 } 159 160 public static com.liferay.portlet.social.model.SocialEquityUser updateImpl( 161 com.liferay.portlet.social.model.SocialEquityUser socialEquityUser, 162 boolean merge) 163 throws com.liferay.portal.kernel.exception.SystemException { 164 return getPersistence().updateImpl(socialEquityUser, merge); 165 } 166 167 /** 168 * Finds the social equity user with the primary key or throws a {@link com.liferay.portlet.social.NoSuchEquityUserException} if it could not be found. 169 * 170 * @param equityUserId the primary key of the social equity user to find 171 * @return the social equity user 172 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a social equity user with the primary key could not be found 173 * @throws SystemException if a system exception occurred 174 */ 175 public static com.liferay.portlet.social.model.SocialEquityUser findByPrimaryKey( 176 long equityUserId) 177 throws com.liferay.portal.kernel.exception.SystemException, 178 com.liferay.portlet.social.NoSuchEquityUserException { 179 return getPersistence().findByPrimaryKey(equityUserId); 180 } 181 182 /** 183 * Finds the social equity user with the primary key or returns <code>null</code> if it could not be found. 184 * 185 * @param equityUserId the primary key of the social equity user to find 186 * @return the social equity user, or <code>null</code> if a social equity user with the primary key could not be found 187 * @throws SystemException if a system exception occurred 188 */ 189 public static com.liferay.portlet.social.model.SocialEquityUser fetchByPrimaryKey( 190 long equityUserId) 191 throws com.liferay.portal.kernel.exception.SystemException { 192 return getPersistence().fetchByPrimaryKey(equityUserId); 193 } 194 195 /** 196 * Finds all the social equity users where groupId = ?. 197 * 198 * @param groupId the group id to search with 199 * @return the matching social equity users 200 * @throws SystemException if a system exception occurred 201 */ 202 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByGroupId( 203 long groupId) 204 throws com.liferay.portal.kernel.exception.SystemException { 205 return getPersistence().findByGroupId(groupId); 206 } 207 208 /** 209 * Finds a range of all the social equity users where groupId = ?. 210 * 211 * <p> 212 * 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. 213 * </p> 214 * 215 * @param groupId the group id to search with 216 * @param start the lower bound of the range of social equity users to return 217 * @param end the upper bound of the range of social equity users to return (not inclusive) 218 * @return the range of matching social equity users 219 * @throws SystemException if a system exception occurred 220 */ 221 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByGroupId( 222 long groupId, int start, int end) 223 throws com.liferay.portal.kernel.exception.SystemException { 224 return getPersistence().findByGroupId(groupId, start, end); 225 } 226 227 /** 228 * Finds an ordered range of all the social equity users where groupId = ?. 229 * 230 * <p> 231 * 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. 232 * </p> 233 * 234 * @param groupId the group id to search with 235 * @param start the lower bound of the range of social equity users to return 236 * @param end the upper bound of the range of social equity users to return (not inclusive) 237 * @param orderByComparator the comparator to order the results by 238 * @return the ordered range of matching social equity users 239 * @throws SystemException if a system exception occurred 240 */ 241 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByGroupId( 242 long groupId, int start, int end, 243 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 244 throws com.liferay.portal.kernel.exception.SystemException { 245 return getPersistence() 246 .findByGroupId(groupId, start, end, orderByComparator); 247 } 248 249 /** 250 * Finds the first social equity user in the ordered set where groupId = ?. 251 * 252 * <p> 253 * 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. 254 * </p> 255 * 256 * @param groupId the group id to search with 257 * @param orderByComparator the comparator to order the set by 258 * @return the first matching social equity user 259 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a matching social equity user could not be found 260 * @throws SystemException if a system exception occurred 261 */ 262 public static com.liferay.portlet.social.model.SocialEquityUser findByGroupId_First( 263 long groupId, 264 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 265 throws com.liferay.portal.kernel.exception.SystemException, 266 com.liferay.portlet.social.NoSuchEquityUserException { 267 return getPersistence().findByGroupId_First(groupId, orderByComparator); 268 } 269 270 /** 271 * Finds the last social equity user in the ordered set where groupId = ?. 272 * 273 * <p> 274 * 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. 275 * </p> 276 * 277 * @param groupId the group id to search with 278 * @param orderByComparator the comparator to order the set by 279 * @return the last matching social equity user 280 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a matching social equity user could not be found 281 * @throws SystemException if a system exception occurred 282 */ 283 public static com.liferay.portlet.social.model.SocialEquityUser findByGroupId_Last( 284 long groupId, 285 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 286 throws com.liferay.portal.kernel.exception.SystemException, 287 com.liferay.portlet.social.NoSuchEquityUserException { 288 return getPersistence().findByGroupId_Last(groupId, orderByComparator); 289 } 290 291 /** 292 * Finds the social equity users before and after the current social equity user in the ordered set where groupId = ?. 293 * 294 * <p> 295 * 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. 296 * </p> 297 * 298 * @param equityUserId the primary key of the current social equity user 299 * @param groupId the group id to search with 300 * @param orderByComparator the comparator to order the set by 301 * @return the previous, current, and next social equity user 302 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a social equity user with the primary key could not be found 303 * @throws SystemException if a system exception occurred 304 */ 305 public static com.liferay.portlet.social.model.SocialEquityUser[] findByGroupId_PrevAndNext( 306 long equityUserId, long groupId, 307 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 308 throws com.liferay.portal.kernel.exception.SystemException, 309 com.liferay.portlet.social.NoSuchEquityUserException { 310 return getPersistence() 311 .findByGroupId_PrevAndNext(equityUserId, groupId, 312 orderByComparator); 313 } 314 315 /** 316 * Finds all the social equity users where groupId = ?. 317 * 318 * @param groupId the group id to search with 319 * @return the matching social equity users 320 * @throws SystemException if a system exception occurred 321 */ 322 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByGroupRanked( 323 long groupId) 324 throws com.liferay.portal.kernel.exception.SystemException { 325 return getPersistence().findByGroupRanked(groupId); 326 } 327 328 /** 329 * Finds a range of all the social equity users where groupId = ?. 330 * 331 * <p> 332 * 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. 333 * </p> 334 * 335 * @param groupId the group id to search with 336 * @param start the lower bound of the range of social equity users to return 337 * @param end the upper bound of the range of social equity users to return (not inclusive) 338 * @return the range of matching social equity users 339 * @throws SystemException if a system exception occurred 340 */ 341 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByGroupRanked( 342 long groupId, int start, int end) 343 throws com.liferay.portal.kernel.exception.SystemException { 344 return getPersistence().findByGroupRanked(groupId, start, end); 345 } 346 347 /** 348 * Finds an ordered range of all the social equity users where groupId = ?. 349 * 350 * <p> 351 * 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. 352 * </p> 353 * 354 * @param groupId the group id to search with 355 * @param start the lower bound of the range of social equity users to return 356 * @param end the upper bound of the range of social equity users to return (not inclusive) 357 * @param orderByComparator the comparator to order the results by 358 * @return the ordered range of matching social equity users 359 * @throws SystemException if a system exception occurred 360 */ 361 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByGroupRanked( 362 long groupId, int start, int end, 363 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 364 throws com.liferay.portal.kernel.exception.SystemException { 365 return getPersistence() 366 .findByGroupRanked(groupId, start, end, orderByComparator); 367 } 368 369 /** 370 * Finds the first social equity user in the ordered set where groupId = ?. 371 * 372 * <p> 373 * 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. 374 * </p> 375 * 376 * @param groupId the group id to search with 377 * @param orderByComparator the comparator to order the set by 378 * @return the first matching social equity user 379 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a matching social equity user could not be found 380 * @throws SystemException if a system exception occurred 381 */ 382 public static com.liferay.portlet.social.model.SocialEquityUser findByGroupRanked_First( 383 long groupId, 384 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 385 throws com.liferay.portal.kernel.exception.SystemException, 386 com.liferay.portlet.social.NoSuchEquityUserException { 387 return getPersistence() 388 .findByGroupRanked_First(groupId, orderByComparator); 389 } 390 391 /** 392 * Finds the last social equity user in the ordered set where groupId = ?. 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 groupId the group id to search with 399 * @param orderByComparator the comparator to order the set by 400 * @return the last matching social equity user 401 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a matching social equity user could not be found 402 * @throws SystemException if a system exception occurred 403 */ 404 public static com.liferay.portlet.social.model.SocialEquityUser findByGroupRanked_Last( 405 long groupId, 406 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 407 throws com.liferay.portal.kernel.exception.SystemException, 408 com.liferay.portlet.social.NoSuchEquityUserException { 409 return getPersistence() 410 .findByGroupRanked_Last(groupId, orderByComparator); 411 } 412 413 /** 414 * Finds the social equity users before and after the current social equity user in the ordered set where groupId = ?. 415 * 416 * <p> 417 * 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. 418 * </p> 419 * 420 * @param equityUserId the primary key of the current social equity user 421 * @param groupId the group id to search with 422 * @param orderByComparator the comparator to order the set by 423 * @return the previous, current, and next social equity user 424 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a social equity user with the primary key could not be found 425 * @throws SystemException if a system exception occurred 426 */ 427 public static com.liferay.portlet.social.model.SocialEquityUser[] findByGroupRanked_PrevAndNext( 428 long equityUserId, long groupId, 429 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 430 throws com.liferay.portal.kernel.exception.SystemException, 431 com.liferay.portlet.social.NoSuchEquityUserException { 432 return getPersistence() 433 .findByGroupRanked_PrevAndNext(equityUserId, groupId, 434 orderByComparator); 435 } 436 437 /** 438 * Finds all the social equity users where userId = ?. 439 * 440 * @param userId the user id to search with 441 * @return the matching social equity users 442 * @throws SystemException if a system exception occurred 443 */ 444 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByUserId( 445 long userId) throws com.liferay.portal.kernel.exception.SystemException { 446 return getPersistence().findByUserId(userId); 447 } 448 449 /** 450 * Finds a range of all the social equity users where userId = ?. 451 * 452 * <p> 453 * 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. 454 * </p> 455 * 456 * @param userId the user id to search with 457 * @param start the lower bound of the range of social equity users to return 458 * @param end the upper bound of the range of social equity users to return (not inclusive) 459 * @return the range of matching social equity users 460 * @throws SystemException if a system exception occurred 461 */ 462 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByUserId( 463 long userId, int start, int end) 464 throws com.liferay.portal.kernel.exception.SystemException { 465 return getPersistence().findByUserId(userId, start, end); 466 } 467 468 /** 469 * Finds an ordered range of all the social equity users where userId = ?. 470 * 471 * <p> 472 * 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. 473 * </p> 474 * 475 * @param userId the user id to search with 476 * @param start the lower bound of the range of social equity users to return 477 * @param end the upper bound of the range of social equity users to return (not inclusive) 478 * @param orderByComparator the comparator to order the results by 479 * @return the ordered range of matching social equity users 480 * @throws SystemException if a system exception occurred 481 */ 482 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByUserId( 483 long userId, int start, int end, 484 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 485 throws com.liferay.portal.kernel.exception.SystemException { 486 return getPersistence() 487 .findByUserId(userId, start, end, orderByComparator); 488 } 489 490 /** 491 * Finds the first social equity user in the ordered set where userId = ?. 492 * 493 * <p> 494 * 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. 495 * </p> 496 * 497 * @param userId the user id to search with 498 * @param orderByComparator the comparator to order the set by 499 * @return the first matching social equity user 500 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a matching social equity user could not be found 501 * @throws SystemException if a system exception occurred 502 */ 503 public static com.liferay.portlet.social.model.SocialEquityUser findByUserId_First( 504 long userId, 505 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 506 throws com.liferay.portal.kernel.exception.SystemException, 507 com.liferay.portlet.social.NoSuchEquityUserException { 508 return getPersistence().findByUserId_First(userId, orderByComparator); 509 } 510 511 /** 512 * Finds the last social equity user in the ordered set where userId = ?. 513 * 514 * <p> 515 * 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. 516 * </p> 517 * 518 * @param userId the user id to search with 519 * @param orderByComparator the comparator to order the set by 520 * @return the last matching social equity user 521 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a matching social equity user could not be found 522 * @throws SystemException if a system exception occurred 523 */ 524 public static com.liferay.portlet.social.model.SocialEquityUser findByUserId_Last( 525 long userId, 526 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 527 throws com.liferay.portal.kernel.exception.SystemException, 528 com.liferay.portlet.social.NoSuchEquityUserException { 529 return getPersistence().findByUserId_Last(userId, orderByComparator); 530 } 531 532 /** 533 * Finds the social equity users before and after the current social equity user in the ordered set where userId = ?. 534 * 535 * <p> 536 * 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. 537 * </p> 538 * 539 * @param equityUserId the primary key of the current social equity user 540 * @param userId the user id to search with 541 * @param orderByComparator the comparator to order the set by 542 * @return the previous, current, and next social equity user 543 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a social equity user with the primary key could not be found 544 * @throws SystemException if a system exception occurred 545 */ 546 public static com.liferay.portlet.social.model.SocialEquityUser[] findByUserId_PrevAndNext( 547 long equityUserId, long userId, 548 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 549 throws com.liferay.portal.kernel.exception.SystemException, 550 com.liferay.portlet.social.NoSuchEquityUserException { 551 return getPersistence() 552 .findByUserId_PrevAndNext(equityUserId, userId, 553 orderByComparator); 554 } 555 556 /** 557 * Finds all the social equity users where rank = ?. 558 * 559 * @param rank the rank to search with 560 * @return the matching social equity users 561 * @throws SystemException if a system exception occurred 562 */ 563 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByRank( 564 int rank) throws com.liferay.portal.kernel.exception.SystemException { 565 return getPersistence().findByRank(rank); 566 } 567 568 /** 569 * Finds a range of all the social equity users where rank = ?. 570 * 571 * <p> 572 * 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. 573 * </p> 574 * 575 * @param rank the rank to search with 576 * @param start the lower bound of the range of social equity users to return 577 * @param end the upper bound of the range of social equity users to return (not inclusive) 578 * @return the range of matching social equity users 579 * @throws SystemException if a system exception occurred 580 */ 581 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByRank( 582 int rank, int start, int end) 583 throws com.liferay.portal.kernel.exception.SystemException { 584 return getPersistence().findByRank(rank, start, end); 585 } 586 587 /** 588 * Finds an ordered range of all the social equity users where rank = ?. 589 * 590 * <p> 591 * 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. 592 * </p> 593 * 594 * @param rank the rank to search with 595 * @param start the lower bound of the range of social equity users to return 596 * @param end the upper bound of the range of social equity users to return (not inclusive) 597 * @param orderByComparator the comparator to order the results by 598 * @return the ordered range of matching social equity users 599 * @throws SystemException if a system exception occurred 600 */ 601 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByRank( 602 int rank, int start, int end, 603 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 604 throws com.liferay.portal.kernel.exception.SystemException { 605 return getPersistence().findByRank(rank, start, end, orderByComparator); 606 } 607 608 /** 609 * Finds the first social equity user in the ordered set where rank = ?. 610 * 611 * <p> 612 * 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. 613 * </p> 614 * 615 * @param rank the rank to search with 616 * @param orderByComparator the comparator to order the set by 617 * @return the first matching social equity user 618 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a matching social equity user could not be found 619 * @throws SystemException if a system exception occurred 620 */ 621 public static com.liferay.portlet.social.model.SocialEquityUser findByRank_First( 622 int rank, 623 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 624 throws com.liferay.portal.kernel.exception.SystemException, 625 com.liferay.portlet.social.NoSuchEquityUserException { 626 return getPersistence().findByRank_First(rank, orderByComparator); 627 } 628 629 /** 630 * Finds the last social equity user in the ordered set where rank = ?. 631 * 632 * <p> 633 * 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. 634 * </p> 635 * 636 * @param rank the rank to search with 637 * @param orderByComparator the comparator to order the set by 638 * @return the last matching social equity user 639 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a matching social equity user could not be found 640 * @throws SystemException if a system exception occurred 641 */ 642 public static com.liferay.portlet.social.model.SocialEquityUser findByRank_Last( 643 int rank, 644 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 645 throws com.liferay.portal.kernel.exception.SystemException, 646 com.liferay.portlet.social.NoSuchEquityUserException { 647 return getPersistence().findByRank_Last(rank, orderByComparator); 648 } 649 650 /** 651 * Finds the social equity users before and after the current social equity user in the ordered set where rank = ?. 652 * 653 * <p> 654 * 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. 655 * </p> 656 * 657 * @param equityUserId the primary key of the current social equity user 658 * @param rank the rank to search with 659 * @param orderByComparator the comparator to order the set by 660 * @return the previous, current, and next social equity user 661 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a social equity user with the primary key could not be found 662 * @throws SystemException if a system exception occurred 663 */ 664 public static com.liferay.portlet.social.model.SocialEquityUser[] findByRank_PrevAndNext( 665 long equityUserId, int rank, 666 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 667 throws com.liferay.portal.kernel.exception.SystemException, 668 com.liferay.portlet.social.NoSuchEquityUserException { 669 return getPersistence() 670 .findByRank_PrevAndNext(equityUserId, rank, orderByComparator); 671 } 672 673 /** 674 * Finds the social equity user where groupId = ? and userId = ? or throws a {@link com.liferay.portlet.social.NoSuchEquityUserException} if it could not be found. 675 * 676 * @param groupId the group id to search with 677 * @param userId the user id to search with 678 * @return the matching social equity user 679 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a matching social equity user could not be found 680 * @throws SystemException if a system exception occurred 681 */ 682 public static com.liferay.portlet.social.model.SocialEquityUser findByG_U( 683 long groupId, long userId) 684 throws com.liferay.portal.kernel.exception.SystemException, 685 com.liferay.portlet.social.NoSuchEquityUserException { 686 return getPersistence().findByG_U(groupId, userId); 687 } 688 689 /** 690 * Finds the social equity user where groupId = ? and userId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 691 * 692 * @param groupId the group id to search with 693 * @param userId the user id to search with 694 * @return the matching social equity user, or <code>null</code> if a matching social equity user could not be found 695 * @throws SystemException if a system exception occurred 696 */ 697 public static com.liferay.portlet.social.model.SocialEquityUser fetchByG_U( 698 long groupId, long userId) 699 throws com.liferay.portal.kernel.exception.SystemException { 700 return getPersistence().fetchByG_U(groupId, userId); 701 } 702 703 /** 704 * Finds the social equity user where groupId = ? and userId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 705 * 706 * @param groupId the group id to search with 707 * @param userId the user id to search with 708 * @return the matching social equity user, or <code>null</code> if a matching social equity user could not be found 709 * @throws SystemException if a system exception occurred 710 */ 711 public static com.liferay.portlet.social.model.SocialEquityUser fetchByG_U( 712 long groupId, long userId, boolean retrieveFromCache) 713 throws com.liferay.portal.kernel.exception.SystemException { 714 return getPersistence().fetchByG_U(groupId, userId, retrieveFromCache); 715 } 716 717 /** 718 * Finds all the social equity users where groupId = ? and rank = ?. 719 * 720 * @param groupId the group id to search with 721 * @param rank the rank to search with 722 * @return the matching social equity users 723 * @throws SystemException if a system exception occurred 724 */ 725 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByG_R( 726 long groupId, int rank) 727 throws com.liferay.portal.kernel.exception.SystemException { 728 return getPersistence().findByG_R(groupId, rank); 729 } 730 731 /** 732 * Finds a range of all the social equity users where groupId = ? and rank = ?. 733 * 734 * <p> 735 * 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. 736 * </p> 737 * 738 * @param groupId the group id to search with 739 * @param rank the rank to search with 740 * @param start the lower bound of the range of social equity users to return 741 * @param end the upper bound of the range of social equity users to return (not inclusive) 742 * @return the range of matching social equity users 743 * @throws SystemException if a system exception occurred 744 */ 745 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByG_R( 746 long groupId, int rank, int start, int end) 747 throws com.liferay.portal.kernel.exception.SystemException { 748 return getPersistence().findByG_R(groupId, rank, start, end); 749 } 750 751 /** 752 * Finds an ordered range of all the social equity users where groupId = ? and rank = ?. 753 * 754 * <p> 755 * 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. 756 * </p> 757 * 758 * @param groupId the group id to search with 759 * @param rank the rank to search with 760 * @param start the lower bound of the range of social equity users to return 761 * @param end the upper bound of the range of social equity users to return (not inclusive) 762 * @param orderByComparator the comparator to order the results by 763 * @return the ordered range of matching social equity users 764 * @throws SystemException if a system exception occurred 765 */ 766 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByG_R( 767 long groupId, int rank, int start, int end, 768 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 769 throws com.liferay.portal.kernel.exception.SystemException { 770 return getPersistence() 771 .findByG_R(groupId, rank, start, end, orderByComparator); 772 } 773 774 /** 775 * Finds the first social equity user in the ordered set where groupId = ? and rank = ?. 776 * 777 * <p> 778 * 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. 779 * </p> 780 * 781 * @param groupId the group id to search with 782 * @param rank the rank to search with 783 * @param orderByComparator the comparator to order the set by 784 * @return the first matching social equity user 785 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a matching social equity user could not be found 786 * @throws SystemException if a system exception occurred 787 */ 788 public static com.liferay.portlet.social.model.SocialEquityUser findByG_R_First( 789 long groupId, int rank, 790 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 791 throws com.liferay.portal.kernel.exception.SystemException, 792 com.liferay.portlet.social.NoSuchEquityUserException { 793 return getPersistence().findByG_R_First(groupId, rank, orderByComparator); 794 } 795 796 /** 797 * Finds the last social equity user in the ordered set where groupId = ? and rank = ?. 798 * 799 * <p> 800 * 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. 801 * </p> 802 * 803 * @param groupId the group id to search with 804 * @param rank the rank to search with 805 * @param orderByComparator the comparator to order the set by 806 * @return the last matching social equity user 807 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a matching social equity user could not be found 808 * @throws SystemException if a system exception occurred 809 */ 810 public static com.liferay.portlet.social.model.SocialEquityUser findByG_R_Last( 811 long groupId, int rank, 812 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 813 throws com.liferay.portal.kernel.exception.SystemException, 814 com.liferay.portlet.social.NoSuchEquityUserException { 815 return getPersistence().findByG_R_Last(groupId, rank, orderByComparator); 816 } 817 818 /** 819 * Finds the social equity users before and after the current social equity user in the ordered set where groupId = ? and rank = ?. 820 * 821 * <p> 822 * 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. 823 * </p> 824 * 825 * @param equityUserId the primary key of the current social equity user 826 * @param groupId the group id to search with 827 * @param rank the rank to search with 828 * @param orderByComparator the comparator to order the set by 829 * @return the previous, current, and next social equity user 830 * @throws com.liferay.portlet.social.NoSuchEquityUserException if a social equity user with the primary key could not be found 831 * @throws SystemException if a system exception occurred 832 */ 833 public static com.liferay.portlet.social.model.SocialEquityUser[] findByG_R_PrevAndNext( 834 long equityUserId, long groupId, int rank, 835 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 836 throws com.liferay.portal.kernel.exception.SystemException, 837 com.liferay.portlet.social.NoSuchEquityUserException { 838 return getPersistence() 839 .findByG_R_PrevAndNext(equityUserId, groupId, rank, 840 orderByComparator); 841 } 842 843 /** 844 * Finds all the social equity users. 845 * 846 * @return the social equity users 847 * @throws SystemException if a system exception occurred 848 */ 849 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findAll() 850 throws com.liferay.portal.kernel.exception.SystemException { 851 return getPersistence().findAll(); 852 } 853 854 /** 855 * Finds a range of all the social equity users. 856 * 857 * <p> 858 * 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. 859 * </p> 860 * 861 * @param start the lower bound of the range of social equity users to return 862 * @param end the upper bound of the range of social equity users to return (not inclusive) 863 * @return the range of social equity users 864 * @throws SystemException if a system exception occurred 865 */ 866 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findAll( 867 int start, int end) 868 throws com.liferay.portal.kernel.exception.SystemException { 869 return getPersistence().findAll(start, end); 870 } 871 872 /** 873 * Finds an ordered range of all the social equity users. 874 * 875 * <p> 876 * 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. 877 * </p> 878 * 879 * @param start the lower bound of the range of social equity users to return 880 * @param end the upper bound of the range of social equity users to return (not inclusive) 881 * @param orderByComparator the comparator to order the results by 882 * @return the ordered range of social equity users 883 * @throws SystemException if a system exception occurred 884 */ 885 public static java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findAll( 886 int start, int end, 887 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 888 throws com.liferay.portal.kernel.exception.SystemException { 889 return getPersistence().findAll(start, end, orderByComparator); 890 } 891 892 /** 893 * Removes all the social equity users where groupId = ? from the database. 894 * 895 * @param groupId the group id to search with 896 * @throws SystemException if a system exception occurred 897 */ 898 public static void removeByGroupId(long groupId) 899 throws com.liferay.portal.kernel.exception.SystemException { 900 getPersistence().removeByGroupId(groupId); 901 } 902 903 /** 904 * Removes all the social equity users where groupId = ? from the database. 905 * 906 * @param groupId the group id to search with 907 * @throws SystemException if a system exception occurred 908 */ 909 public static void removeByGroupRanked(long groupId) 910 throws com.liferay.portal.kernel.exception.SystemException { 911 getPersistence().removeByGroupRanked(groupId); 912 } 913 914 /** 915 * Removes all the social equity users where userId = ? from the database. 916 * 917 * @param userId the user id to search with 918 * @throws SystemException if a system exception occurred 919 */ 920 public static void removeByUserId(long userId) 921 throws com.liferay.portal.kernel.exception.SystemException { 922 getPersistence().removeByUserId(userId); 923 } 924 925 /** 926 * Removes all the social equity users where rank = ? from the database. 927 * 928 * @param rank the rank to search with 929 * @throws SystemException if a system exception occurred 930 */ 931 public static void removeByRank(int rank) 932 throws com.liferay.portal.kernel.exception.SystemException { 933 getPersistence().removeByRank(rank); 934 } 935 936 /** 937 * Removes the social equity user where groupId = ? and userId = ? from the database. 938 * 939 * @param groupId the group id to search with 940 * @param userId the user id to search with 941 * @throws SystemException if a system exception occurred 942 */ 943 public static void removeByG_U(long groupId, long userId) 944 throws com.liferay.portal.kernel.exception.SystemException, 945 com.liferay.portlet.social.NoSuchEquityUserException { 946 getPersistence().removeByG_U(groupId, userId); 947 } 948 949 /** 950 * Removes all the social equity users where groupId = ? and rank = ? from the database. 951 * 952 * @param groupId the group id to search with 953 * @param rank the rank to search with 954 * @throws SystemException if a system exception occurred 955 */ 956 public static void removeByG_R(long groupId, int rank) 957 throws com.liferay.portal.kernel.exception.SystemException { 958 getPersistence().removeByG_R(groupId, rank); 959 } 960 961 /** 962 * Removes all the social equity users from the database. 963 * 964 * @throws SystemException if a system exception occurred 965 */ 966 public static void removeAll() 967 throws com.liferay.portal.kernel.exception.SystemException { 968 getPersistence().removeAll(); 969 } 970 971 /** 972 * Counts all the social equity users where groupId = ?. 973 * 974 * @param groupId the group id to search with 975 * @return the number of matching social equity users 976 * @throws SystemException if a system exception occurred 977 */ 978 public static int countByGroupId(long groupId) 979 throws com.liferay.portal.kernel.exception.SystemException { 980 return getPersistence().countByGroupId(groupId); 981 } 982 983 /** 984 * Counts all the social equity users where groupId = ?. 985 * 986 * @param groupId the group id to search with 987 * @return the number of matching social equity users 988 * @throws SystemException if a system exception occurred 989 */ 990 public static int countByGroupRanked(long groupId) 991 throws com.liferay.portal.kernel.exception.SystemException { 992 return getPersistence().countByGroupRanked(groupId); 993 } 994 995 /** 996 * Counts all the social equity users where userId = ?. 997 * 998 * @param userId the user id to search with 999 * @return the number of matching social equity users 1000 * @throws SystemException if a system exception occurred 1001 */ 1002 public static int countByUserId(long userId) 1003 throws com.liferay.portal.kernel.exception.SystemException { 1004 return getPersistence().countByUserId(userId); 1005 } 1006 1007 /** 1008 * Counts all the social equity users where rank = ?. 1009 * 1010 * @param rank the rank to search with 1011 * @return the number of matching social equity users 1012 * @throws SystemException if a system exception occurred 1013 */ 1014 public static int countByRank(int rank) 1015 throws com.liferay.portal.kernel.exception.SystemException { 1016 return getPersistence().countByRank(rank); 1017 } 1018 1019 /** 1020 * Counts all the social equity users where groupId = ? and userId = ?. 1021 * 1022 * @param groupId the group id to search with 1023 * @param userId the user id to search with 1024 * @return the number of matching social equity users 1025 * @throws SystemException if a system exception occurred 1026 */ 1027 public static int countByG_U(long groupId, long userId) 1028 throws com.liferay.portal.kernel.exception.SystemException { 1029 return getPersistence().countByG_U(groupId, userId); 1030 } 1031 1032 /** 1033 * Counts all the social equity users where groupId = ? and rank = ?. 1034 * 1035 * @param groupId the group id to search with 1036 * @param rank the rank to search with 1037 * @return the number of matching social equity users 1038 * @throws SystemException if a system exception occurred 1039 */ 1040 public static int countByG_R(long groupId, int rank) 1041 throws com.liferay.portal.kernel.exception.SystemException { 1042 return getPersistence().countByG_R(groupId, rank); 1043 } 1044 1045 /** 1046 * Counts all the social equity users. 1047 * 1048 * @return the number of social equity users 1049 * @throws SystemException if a system exception occurred 1050 */ 1051 public static int countAll() 1052 throws com.liferay.portal.kernel.exception.SystemException { 1053 return getPersistence().countAll(); 1054 } 1055 1056 public static SocialEquityUserPersistence getPersistence() { 1057 if (_persistence == null) { 1058 _persistence = (SocialEquityUserPersistence)PortalBeanLocatorUtil.locate(SocialEquityUserPersistence.class.getName()); 1059 } 1060 1061 return _persistence; 1062 } 1063 1064 public void setPersistence(SocialEquityUserPersistence persistence) { 1065 _persistence = persistence; 1066 } 1067 1068 private static SocialEquityUserPersistence _persistence; 1069 }