001 /** 002 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 013 */ 014 015 package com.liferay.portlet.social.service.persistence; 016 017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; 018 import com.liferay.portal.kernel.dao.orm.DynamicQuery; 019 import com.liferay.portal.kernel.exception.SystemException; 020 import com.liferay.portal.kernel.util.OrderByComparator; 021 import com.liferay.portal.kernel.util.ReferenceRegistry; 022 import com.liferay.portal.service.ServiceContext; 023 024 import com.liferay.portlet.social.model.SocialEquityLog; 025 026 import java.util.List; 027 028 /** 029 * The persistence utility for the social equity log service. This utility wraps {@link SocialEquityLogPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. 030 * 031 * <p> 032 * Caching information and settings can be found in <code>portal.properties</code> 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see SocialEquityLogPersistence 037 * @see SocialEquityLogPersistenceImpl 038 * @generated 039 */ 040 public class SocialEquityLogUtil { 041 /* 042 * NOTE FOR DEVELOPERS: 043 * 044 * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class. 045 */ 046 047 /** 048 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() 049 */ 050 public static void clearCache() { 051 getPersistence().clearCache(); 052 } 053 054 /** 055 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) 056 */ 057 public static void clearCache(SocialEquityLog socialEquityLog) { 058 getPersistence().clearCache(socialEquityLog); 059 } 060 061 /** 062 * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) 063 */ 064 public long countWithDynamicQuery(DynamicQuery dynamicQuery) 065 throws SystemException { 066 return getPersistence().countWithDynamicQuery(dynamicQuery); 067 } 068 069 /** 070 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) 071 */ 072 public static List<SocialEquityLog> findWithDynamicQuery( 073 DynamicQuery dynamicQuery) throws SystemException { 074 return getPersistence().findWithDynamicQuery(dynamicQuery); 075 } 076 077 /** 078 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) 079 */ 080 public static List<SocialEquityLog> findWithDynamicQuery( 081 DynamicQuery dynamicQuery, int start, int end) 082 throws SystemException { 083 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); 084 } 085 086 /** 087 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) 088 */ 089 public static List<SocialEquityLog> findWithDynamicQuery( 090 DynamicQuery dynamicQuery, int start, int end, 091 OrderByComparator orderByComparator) throws SystemException { 092 return getPersistence() 093 .findWithDynamicQuery(dynamicQuery, start, end, 094 orderByComparator); 095 } 096 097 /** 098 * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel) 099 */ 100 public static SocialEquityLog remove(SocialEquityLog socialEquityLog) 101 throws SystemException { 102 return getPersistence().remove(socialEquityLog); 103 } 104 105 /** 106 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean) 107 */ 108 public static SocialEquityLog update(SocialEquityLog socialEquityLog, 109 boolean merge) throws SystemException { 110 return getPersistence().update(socialEquityLog, merge); 111 } 112 113 /** 114 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext) 115 */ 116 public static SocialEquityLog update(SocialEquityLog socialEquityLog, 117 boolean merge, ServiceContext serviceContext) throws SystemException { 118 return getPersistence().update(socialEquityLog, merge, serviceContext); 119 } 120 121 /** 122 * Caches the social equity log in the entity cache if it is enabled. 123 * 124 * @param socialEquityLog the social equity log to cache 125 */ 126 public static void cacheResult( 127 com.liferay.portlet.social.model.SocialEquityLog socialEquityLog) { 128 getPersistence().cacheResult(socialEquityLog); 129 } 130 131 /** 132 * Caches the social equity logs in the entity cache if it is enabled. 133 * 134 * @param socialEquityLogs the social equity logs to cache 135 */ 136 public static void cacheResult( 137 java.util.List<com.liferay.portlet.social.model.SocialEquityLog> socialEquityLogs) { 138 getPersistence().cacheResult(socialEquityLogs); 139 } 140 141 /** 142 * Creates a new social equity log with the primary key. Does not add the social equity log to the database. 143 * 144 * @param equityLogId the primary key for the new social equity log 145 * @return the new social equity log 146 */ 147 public static com.liferay.portlet.social.model.SocialEquityLog create( 148 long equityLogId) { 149 return getPersistence().create(equityLogId); 150 } 151 152 /** 153 * Removes the social equity log with the primary key from the database. Also notifies the appropriate model listeners. 154 * 155 * @param equityLogId the primary key of the social equity log to remove 156 * @return the social equity log that was removed 157 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 158 * @throws SystemException if a system exception occurred 159 */ 160 public static com.liferay.portlet.social.model.SocialEquityLog remove( 161 long equityLogId) 162 throws com.liferay.portal.kernel.exception.SystemException, 163 com.liferay.portlet.social.NoSuchEquityLogException { 164 return getPersistence().remove(equityLogId); 165 } 166 167 public static com.liferay.portlet.social.model.SocialEquityLog updateImpl( 168 com.liferay.portlet.social.model.SocialEquityLog socialEquityLog, 169 boolean merge) 170 throws com.liferay.portal.kernel.exception.SystemException { 171 return getPersistence().updateImpl(socialEquityLog, merge); 172 } 173 174 /** 175 * Finds the social equity log with the primary key or throws a {@link com.liferay.portlet.social.NoSuchEquityLogException} if it could not be found. 176 * 177 * @param equityLogId the primary key of the social equity log to find 178 * @return the social equity log 179 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 180 * @throws SystemException if a system exception occurred 181 */ 182 public static com.liferay.portlet.social.model.SocialEquityLog findByPrimaryKey( 183 long equityLogId) 184 throws com.liferay.portal.kernel.exception.SystemException, 185 com.liferay.portlet.social.NoSuchEquityLogException { 186 return getPersistence().findByPrimaryKey(equityLogId); 187 } 188 189 /** 190 * Finds the social equity log with the primary key or returns <code>null</code> if it could not be found. 191 * 192 * @param equityLogId the primary key of the social equity log to find 193 * @return the social equity log, or <code>null</code> if a social equity log with the primary key could not be found 194 * @throws SystemException if a system exception occurred 195 */ 196 public static com.liferay.portlet.social.model.SocialEquityLog fetchByPrimaryKey( 197 long equityLogId) 198 throws com.liferay.portal.kernel.exception.SystemException { 199 return getPersistence().fetchByPrimaryKey(equityLogId); 200 } 201 202 /** 203 * Finds all the social equity logs where userId = ?. 204 * 205 * @param userId the user ID to search with 206 * @return the matching social equity logs 207 * @throws SystemException if a system exception occurred 208 */ 209 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByUserId( 210 long userId) throws com.liferay.portal.kernel.exception.SystemException { 211 return getPersistence().findByUserId(userId); 212 } 213 214 /** 215 * Finds a range of all the social equity logs where userId = ?. 216 * 217 * <p> 218 * 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. 219 * </p> 220 * 221 * @param userId the user ID to search with 222 * @param start the lower bound of the range of social equity logs to return 223 * @param end the upper bound of the range of social equity logs to return (not inclusive) 224 * @return the range of matching social equity logs 225 * @throws SystemException if a system exception occurred 226 */ 227 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByUserId( 228 long userId, int start, int end) 229 throws com.liferay.portal.kernel.exception.SystemException { 230 return getPersistence().findByUserId(userId, start, end); 231 } 232 233 /** 234 * Finds an ordered range of all the social equity logs where userId = ?. 235 * 236 * <p> 237 * 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. 238 * </p> 239 * 240 * @param userId the user ID to search with 241 * @param start the lower bound of the range of social equity logs to return 242 * @param end the upper bound of the range of social equity logs to return (not inclusive) 243 * @param orderByComparator the comparator to order the results by 244 * @return the ordered range of matching social equity logs 245 * @throws SystemException if a system exception occurred 246 */ 247 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByUserId( 248 long userId, int start, int end, 249 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 250 throws com.liferay.portal.kernel.exception.SystemException { 251 return getPersistence() 252 .findByUserId(userId, start, end, orderByComparator); 253 } 254 255 /** 256 * Finds the first social equity log in the ordered set where userId = ?. 257 * 258 * <p> 259 * 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. 260 * </p> 261 * 262 * @param userId the user ID to search with 263 * @param orderByComparator the comparator to order the set by 264 * @return the first matching social equity log 265 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 266 * @throws SystemException if a system exception occurred 267 */ 268 public static com.liferay.portlet.social.model.SocialEquityLog findByUserId_First( 269 long userId, 270 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 271 throws com.liferay.portal.kernel.exception.SystemException, 272 com.liferay.portlet.social.NoSuchEquityLogException { 273 return getPersistence().findByUserId_First(userId, orderByComparator); 274 } 275 276 /** 277 * Finds the last social equity log in the ordered set where userId = ?. 278 * 279 * <p> 280 * 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. 281 * </p> 282 * 283 * @param userId the user ID to search with 284 * @param orderByComparator the comparator to order the set by 285 * @return the last matching social equity log 286 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 287 * @throws SystemException if a system exception occurred 288 */ 289 public static com.liferay.portlet.social.model.SocialEquityLog findByUserId_Last( 290 long userId, 291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 292 throws com.liferay.portal.kernel.exception.SystemException, 293 com.liferay.portlet.social.NoSuchEquityLogException { 294 return getPersistence().findByUserId_Last(userId, orderByComparator); 295 } 296 297 /** 298 * Finds the social equity logs before and after the current social equity log in the ordered set where userId = ?. 299 * 300 * <p> 301 * 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. 302 * </p> 303 * 304 * @param equityLogId the primary key of the current social equity log 305 * @param userId the user ID to search with 306 * @param orderByComparator the comparator to order the set by 307 * @return the previous, current, and next social equity log 308 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 309 * @throws SystemException if a system exception occurred 310 */ 311 public static com.liferay.portlet.social.model.SocialEquityLog[] findByUserId_PrevAndNext( 312 long equityLogId, long userId, 313 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 314 throws com.liferay.portal.kernel.exception.SystemException, 315 com.liferay.portlet.social.NoSuchEquityLogException { 316 return getPersistence() 317 .findByUserId_PrevAndNext(equityLogId, userId, 318 orderByComparator); 319 } 320 321 /** 322 * Finds all the social equity logs where assetEntryId = ? and type = ? and active = ?. 323 * 324 * @param assetEntryId the asset entry ID to search with 325 * @param type the type to search with 326 * @param active the active to search with 327 * @return the matching social equity logs 328 * @throws SystemException if a system exception occurred 329 */ 330 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A( 331 long assetEntryId, int type, boolean active) 332 throws com.liferay.portal.kernel.exception.SystemException { 333 return getPersistence().findByAEI_T_A(assetEntryId, type, active); 334 } 335 336 /** 337 * Finds a range of all the social equity logs where assetEntryId = ? and type = ? and active = ?. 338 * 339 * <p> 340 * 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. 341 * </p> 342 * 343 * @param assetEntryId the asset entry ID to search with 344 * @param type the type to search with 345 * @param active the active to search with 346 * @param start the lower bound of the range of social equity logs to return 347 * @param end the upper bound of the range of social equity logs to return (not inclusive) 348 * @return the range of matching social equity logs 349 * @throws SystemException if a system exception occurred 350 */ 351 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A( 352 long assetEntryId, int type, boolean active, int start, int end) 353 throws com.liferay.portal.kernel.exception.SystemException { 354 return getPersistence() 355 .findByAEI_T_A(assetEntryId, type, active, start, end); 356 } 357 358 /** 359 * Finds an ordered range of all the social equity logs where assetEntryId = ? and type = ? and active = ?. 360 * 361 * <p> 362 * 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. 363 * </p> 364 * 365 * @param assetEntryId the asset entry ID to search with 366 * @param type the type to search with 367 * @param active the active to search with 368 * @param start the lower bound of the range of social equity logs to return 369 * @param end the upper bound of the range of social equity logs to return (not inclusive) 370 * @param orderByComparator the comparator to order the results by 371 * @return the ordered range of matching social equity logs 372 * @throws SystemException if a system exception occurred 373 */ 374 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A( 375 long assetEntryId, int type, boolean active, int start, int end, 376 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 377 throws com.liferay.portal.kernel.exception.SystemException { 378 return getPersistence() 379 .findByAEI_T_A(assetEntryId, type, active, start, end, 380 orderByComparator); 381 } 382 383 /** 384 * Finds the first social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?. 385 * 386 * <p> 387 * 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. 388 * </p> 389 * 390 * @param assetEntryId the asset entry ID to search with 391 * @param type the type to search with 392 * @param active the active to search with 393 * @param orderByComparator the comparator to order the set by 394 * @return the first matching social equity log 395 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 396 * @throws SystemException if a system exception occurred 397 */ 398 public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_T_A_First( 399 long assetEntryId, int type, boolean active, 400 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 401 throws com.liferay.portal.kernel.exception.SystemException, 402 com.liferay.portlet.social.NoSuchEquityLogException { 403 return getPersistence() 404 .findByAEI_T_A_First(assetEntryId, type, active, 405 orderByComparator); 406 } 407 408 /** 409 * Finds the last social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?. 410 * 411 * <p> 412 * 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. 413 * </p> 414 * 415 * @param assetEntryId the asset entry ID to search with 416 * @param type the type to search with 417 * @param active the active to search with 418 * @param orderByComparator the comparator to order the set by 419 * @return the last matching social equity log 420 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 421 * @throws SystemException if a system exception occurred 422 */ 423 public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_T_A_Last( 424 long assetEntryId, int type, boolean active, 425 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 426 throws com.liferay.portal.kernel.exception.SystemException, 427 com.liferay.portlet.social.NoSuchEquityLogException { 428 return getPersistence() 429 .findByAEI_T_A_Last(assetEntryId, type, active, 430 orderByComparator); 431 } 432 433 /** 434 * Finds the social equity logs before and after the current social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?. 435 * 436 * <p> 437 * 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. 438 * </p> 439 * 440 * @param equityLogId the primary key of the current social equity log 441 * @param assetEntryId the asset entry ID to search with 442 * @param type the type to search with 443 * @param active the active to search with 444 * @param orderByComparator the comparator to order the set by 445 * @return the previous, current, and next social equity log 446 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 447 * @throws SystemException if a system exception occurred 448 */ 449 public static com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_T_A_PrevAndNext( 450 long equityLogId, long assetEntryId, int type, boolean active, 451 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 452 throws com.liferay.portal.kernel.exception.SystemException, 453 com.liferay.portlet.social.NoSuchEquityLogException { 454 return getPersistence() 455 .findByAEI_T_A_PrevAndNext(equityLogId, assetEntryId, type, 456 active, orderByComparator); 457 } 458 459 /** 460 * Finds all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 461 * 462 * @param assetEntryId the asset entry ID to search with 463 * @param actionId the action ID to search with 464 * @param active the active to search with 465 * @param extraData the extra data to search with 466 * @return the matching social equity logs 467 * @throws SystemException if a system exception occurred 468 */ 469 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_E( 470 long assetEntryId, java.lang.String actionId, boolean active, 471 java.lang.String extraData) 472 throws com.liferay.portal.kernel.exception.SystemException { 473 return getPersistence() 474 .findByAEI_AID_A_E(assetEntryId, actionId, active, extraData); 475 } 476 477 /** 478 * Finds a range of all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 479 * 480 * <p> 481 * 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. 482 * </p> 483 * 484 * @param assetEntryId the asset entry ID to search with 485 * @param actionId the action ID to search with 486 * @param active the active to search with 487 * @param extraData the extra data to search with 488 * @param start the lower bound of the range of social equity logs to return 489 * @param end the upper bound of the range of social equity logs to return (not inclusive) 490 * @return the range of matching social equity logs 491 * @throws SystemException if a system exception occurred 492 */ 493 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_E( 494 long assetEntryId, java.lang.String actionId, boolean active, 495 java.lang.String extraData, int start, int end) 496 throws com.liferay.portal.kernel.exception.SystemException { 497 return getPersistence() 498 .findByAEI_AID_A_E(assetEntryId, actionId, active, 499 extraData, start, end); 500 } 501 502 /** 503 * Finds an ordered range of all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 504 * 505 * <p> 506 * 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. 507 * </p> 508 * 509 * @param assetEntryId the asset entry ID to search with 510 * @param actionId the action ID to search with 511 * @param active the active to search with 512 * @param extraData the extra data to search with 513 * @param start the lower bound of the range of social equity logs to return 514 * @param end the upper bound of the range of social equity logs to return (not inclusive) 515 * @param orderByComparator the comparator to order the results by 516 * @return the ordered range of matching social equity logs 517 * @throws SystemException if a system exception occurred 518 */ 519 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_E( 520 long assetEntryId, java.lang.String actionId, boolean active, 521 java.lang.String extraData, int start, int end, 522 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 523 throws com.liferay.portal.kernel.exception.SystemException { 524 return getPersistence() 525 .findByAEI_AID_A_E(assetEntryId, actionId, active, 526 extraData, start, end, orderByComparator); 527 } 528 529 /** 530 * Finds the first social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 531 * 532 * <p> 533 * 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. 534 * </p> 535 * 536 * @param assetEntryId the asset entry ID to search with 537 * @param actionId the action ID to search with 538 * @param active the active to search with 539 * @param extraData the extra data to search with 540 * @param orderByComparator the comparator to order the set by 541 * @return the first matching social equity log 542 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 543 * @throws SystemException if a system exception occurred 544 */ 545 public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_A_E_First( 546 long assetEntryId, java.lang.String actionId, boolean active, 547 java.lang.String extraData, 548 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 549 throws com.liferay.portal.kernel.exception.SystemException, 550 com.liferay.portlet.social.NoSuchEquityLogException { 551 return getPersistence() 552 .findByAEI_AID_A_E_First(assetEntryId, actionId, active, 553 extraData, orderByComparator); 554 } 555 556 /** 557 * Finds the last social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 558 * 559 * <p> 560 * 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. 561 * </p> 562 * 563 * @param assetEntryId the asset entry ID to search with 564 * @param actionId the action ID to search with 565 * @param active the active to search with 566 * @param extraData the extra data to search with 567 * @param orderByComparator the comparator to order the set by 568 * @return the last matching social equity log 569 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 570 * @throws SystemException if a system exception occurred 571 */ 572 public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_A_E_Last( 573 long assetEntryId, java.lang.String actionId, boolean active, 574 java.lang.String extraData, 575 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 576 throws com.liferay.portal.kernel.exception.SystemException, 577 com.liferay.portlet.social.NoSuchEquityLogException { 578 return getPersistence() 579 .findByAEI_AID_A_E_Last(assetEntryId, actionId, active, 580 extraData, orderByComparator); 581 } 582 583 /** 584 * Finds the social equity logs before and after the current social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 585 * 586 * <p> 587 * 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. 588 * </p> 589 * 590 * @param equityLogId the primary key of the current social equity log 591 * @param assetEntryId the asset entry ID to search with 592 * @param actionId the action ID to search with 593 * @param active the active to search with 594 * @param extraData the extra data to search with 595 * @param orderByComparator the comparator to order the set by 596 * @return the previous, current, and next social equity log 597 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 598 * @throws SystemException if a system exception occurred 599 */ 600 public static com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_AID_A_E_PrevAndNext( 601 long equityLogId, long assetEntryId, java.lang.String actionId, 602 boolean active, java.lang.String extraData, 603 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 604 throws com.liferay.portal.kernel.exception.SystemException, 605 com.liferay.portlet.social.NoSuchEquityLogException { 606 return getPersistence() 607 .findByAEI_AID_A_E_PrevAndNext(equityLogId, assetEntryId, 608 actionId, active, extraData, orderByComparator); 609 } 610 611 /** 612 * Finds all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 613 * 614 * @param userId the user ID to search with 615 * @param assetEntryId the asset entry ID to search with 616 * @param actionId the action ID to search with 617 * @param active the active to search with 618 * @param extraData the extra data to search with 619 * @return the matching social equity logs 620 * @throws SystemException if a system exception occurred 621 */ 622 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AEI_AID_A_E( 623 long userId, long assetEntryId, java.lang.String actionId, 624 boolean active, java.lang.String extraData) 625 throws com.liferay.portal.kernel.exception.SystemException { 626 return getPersistence() 627 .findByU_AEI_AID_A_E(userId, assetEntryId, actionId, active, 628 extraData); 629 } 630 631 /** 632 * Finds a range of all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 633 * 634 * <p> 635 * 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. 636 * </p> 637 * 638 * @param userId the user ID to search with 639 * @param assetEntryId the asset entry ID to search with 640 * @param actionId the action ID to search with 641 * @param active the active to search with 642 * @param extraData the extra data to search with 643 * @param start the lower bound of the range of social equity logs to return 644 * @param end the upper bound of the range of social equity logs to return (not inclusive) 645 * @return the range of matching social equity logs 646 * @throws SystemException if a system exception occurred 647 */ 648 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AEI_AID_A_E( 649 long userId, long assetEntryId, java.lang.String actionId, 650 boolean active, java.lang.String extraData, int start, int end) 651 throws com.liferay.portal.kernel.exception.SystemException { 652 return getPersistence() 653 .findByU_AEI_AID_A_E(userId, assetEntryId, actionId, active, 654 extraData, start, end); 655 } 656 657 /** 658 * Finds an ordered range of all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 659 * 660 * <p> 661 * 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. 662 * </p> 663 * 664 * @param userId the user ID to search with 665 * @param assetEntryId the asset entry ID to search with 666 * @param actionId the action ID to search with 667 * @param active the active to search with 668 * @param extraData the extra data to search with 669 * @param start the lower bound of the range of social equity logs to return 670 * @param end the upper bound of the range of social equity logs to return (not inclusive) 671 * @param orderByComparator the comparator to order the results by 672 * @return the ordered range of matching social equity logs 673 * @throws SystemException if a system exception occurred 674 */ 675 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AEI_AID_A_E( 676 long userId, long assetEntryId, java.lang.String actionId, 677 boolean active, java.lang.String extraData, int start, int end, 678 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 679 throws com.liferay.portal.kernel.exception.SystemException { 680 return getPersistence() 681 .findByU_AEI_AID_A_E(userId, assetEntryId, actionId, active, 682 extraData, start, end, orderByComparator); 683 } 684 685 /** 686 * Finds the first social equity log in the ordered set where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 687 * 688 * <p> 689 * 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. 690 * </p> 691 * 692 * @param userId the user ID to search with 693 * @param assetEntryId the asset entry ID to search with 694 * @param actionId the action ID to search with 695 * @param active the active to search with 696 * @param extraData the extra data to search with 697 * @param orderByComparator the comparator to order the set by 698 * @return the first matching social equity log 699 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 700 * @throws SystemException if a system exception occurred 701 */ 702 public static com.liferay.portlet.social.model.SocialEquityLog findByU_AEI_AID_A_E_First( 703 long userId, long assetEntryId, java.lang.String actionId, 704 boolean active, java.lang.String extraData, 705 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 706 throws com.liferay.portal.kernel.exception.SystemException, 707 com.liferay.portlet.social.NoSuchEquityLogException { 708 return getPersistence() 709 .findByU_AEI_AID_A_E_First(userId, assetEntryId, actionId, 710 active, extraData, orderByComparator); 711 } 712 713 /** 714 * Finds the last social equity log in the ordered set where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 715 * 716 * <p> 717 * 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. 718 * </p> 719 * 720 * @param userId the user ID to search with 721 * @param assetEntryId the asset entry ID to search with 722 * @param actionId the action ID to search with 723 * @param active the active to search with 724 * @param extraData the extra data to search with 725 * @param orderByComparator the comparator to order the set by 726 * @return the last matching social equity log 727 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 728 * @throws SystemException if a system exception occurred 729 */ 730 public static com.liferay.portlet.social.model.SocialEquityLog findByU_AEI_AID_A_E_Last( 731 long userId, long assetEntryId, java.lang.String actionId, 732 boolean active, java.lang.String extraData, 733 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 734 throws com.liferay.portal.kernel.exception.SystemException, 735 com.liferay.portlet.social.NoSuchEquityLogException { 736 return getPersistence() 737 .findByU_AEI_AID_A_E_Last(userId, assetEntryId, actionId, 738 active, extraData, orderByComparator); 739 } 740 741 /** 742 * Finds the social equity logs before and after the current social equity log in the ordered set where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 743 * 744 * <p> 745 * 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. 746 * </p> 747 * 748 * @param equityLogId the primary key of the current social equity log 749 * @param userId the user ID to search with 750 * @param assetEntryId the asset entry ID to search with 751 * @param actionId the action ID to search with 752 * @param active the active to search with 753 * @param extraData the extra data to search with 754 * @param orderByComparator the comparator to order the set by 755 * @return the previous, current, and next social equity log 756 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 757 * @throws SystemException if a system exception occurred 758 */ 759 public static com.liferay.portlet.social.model.SocialEquityLog[] findByU_AEI_AID_A_E_PrevAndNext( 760 long equityLogId, long userId, long assetEntryId, 761 java.lang.String actionId, boolean active, java.lang.String extraData, 762 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 763 throws com.liferay.portal.kernel.exception.SystemException, 764 com.liferay.portlet.social.NoSuchEquityLogException { 765 return getPersistence() 766 .findByU_AEI_AID_A_E_PrevAndNext(equityLogId, userId, 767 assetEntryId, actionId, active, extraData, orderByComparator); 768 } 769 770 /** 771 * Finds all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 772 * 773 * @param userId the user ID to search with 774 * @param actionId the action ID to search with 775 * @param actionDate the action date to search with 776 * @param active the active to search with 777 * @param type the type to search with 778 * @param extraData the extra data to search with 779 * @return the matching social equity logs 780 * @throws SystemException if a system exception occurred 781 */ 782 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T_E( 783 long userId, java.lang.String actionId, int actionDate, boolean active, 784 int type, java.lang.String extraData) 785 throws com.liferay.portal.kernel.exception.SystemException { 786 return getPersistence() 787 .findByU_AID_AD_A_T_E(userId, actionId, actionDate, active, 788 type, extraData); 789 } 790 791 /** 792 * Finds a range of all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 793 * 794 * <p> 795 * 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. 796 * </p> 797 * 798 * @param userId the user ID to search with 799 * @param actionId the action ID to search with 800 * @param actionDate the action date to search with 801 * @param active the active to search with 802 * @param type the type to search with 803 * @param extraData the extra data to search with 804 * @param start the lower bound of the range of social equity logs to return 805 * @param end the upper bound of the range of social equity logs to return (not inclusive) 806 * @return the range of matching social equity logs 807 * @throws SystemException if a system exception occurred 808 */ 809 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T_E( 810 long userId, java.lang.String actionId, int actionDate, boolean active, 811 int type, java.lang.String extraData, int start, int end) 812 throws com.liferay.portal.kernel.exception.SystemException { 813 return getPersistence() 814 .findByU_AID_AD_A_T_E(userId, actionId, actionDate, active, 815 type, extraData, start, end); 816 } 817 818 /** 819 * Finds an ordered range of all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 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 userId the user ID to search with 826 * @param actionId the action ID to search with 827 * @param actionDate the action date to search with 828 * @param active the active to search with 829 * @param type the type to search with 830 * @param extraData the extra data to search with 831 * @param start the lower bound of the range of social equity logs to return 832 * @param end the upper bound of the range of social equity logs to return (not inclusive) 833 * @param orderByComparator the comparator to order the results by 834 * @return the ordered range of matching social equity logs 835 * @throws SystemException if a system exception occurred 836 */ 837 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T_E( 838 long userId, java.lang.String actionId, int actionDate, boolean active, 839 int type, java.lang.String extraData, int start, int end, 840 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 841 throws com.liferay.portal.kernel.exception.SystemException { 842 return getPersistence() 843 .findByU_AID_AD_A_T_E(userId, actionId, actionDate, active, 844 type, extraData, start, end, orderByComparator); 845 } 846 847 /** 848 * Finds the first social equity log in the ordered set where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 849 * 850 * <p> 851 * 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. 852 * </p> 853 * 854 * @param userId the user ID to search with 855 * @param actionId the action ID to search with 856 * @param actionDate the action date to search with 857 * @param active the active to search with 858 * @param type the type to search with 859 * @param extraData the extra data to search with 860 * @param orderByComparator the comparator to order the set by 861 * @return the first matching social equity log 862 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 863 * @throws SystemException if a system exception occurred 864 */ 865 public static com.liferay.portlet.social.model.SocialEquityLog findByU_AID_AD_A_T_E_First( 866 long userId, java.lang.String actionId, int actionDate, boolean active, 867 int type, java.lang.String extraData, 868 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 869 throws com.liferay.portal.kernel.exception.SystemException, 870 com.liferay.portlet.social.NoSuchEquityLogException { 871 return getPersistence() 872 .findByU_AID_AD_A_T_E_First(userId, actionId, actionDate, 873 active, type, extraData, orderByComparator); 874 } 875 876 /** 877 * Finds the last social equity log in the ordered set where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 878 * 879 * <p> 880 * 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. 881 * </p> 882 * 883 * @param userId the user ID to search with 884 * @param actionId the action ID to search with 885 * @param actionDate the action date to search with 886 * @param active the active to search with 887 * @param type the type to search with 888 * @param extraData the extra data to search with 889 * @param orderByComparator the comparator to order the set by 890 * @return the last matching social equity log 891 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 892 * @throws SystemException if a system exception occurred 893 */ 894 public static com.liferay.portlet.social.model.SocialEquityLog findByU_AID_AD_A_T_E_Last( 895 long userId, java.lang.String actionId, int actionDate, boolean active, 896 int type, java.lang.String extraData, 897 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 898 throws com.liferay.portal.kernel.exception.SystemException, 899 com.liferay.portlet.social.NoSuchEquityLogException { 900 return getPersistence() 901 .findByU_AID_AD_A_T_E_Last(userId, actionId, actionDate, 902 active, type, extraData, orderByComparator); 903 } 904 905 /** 906 * Finds the social equity logs before and after the current social equity log in the ordered set where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 907 * 908 * <p> 909 * 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. 910 * </p> 911 * 912 * @param equityLogId the primary key of the current social equity log 913 * @param userId the user ID to search with 914 * @param actionId the action ID to search with 915 * @param actionDate the action date to search with 916 * @param active the active to search with 917 * @param type the type to search with 918 * @param extraData the extra data to search with 919 * @param orderByComparator the comparator to order the set by 920 * @return the previous, current, and next social equity log 921 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 922 * @throws SystemException if a system exception occurred 923 */ 924 public static com.liferay.portlet.social.model.SocialEquityLog[] findByU_AID_AD_A_T_E_PrevAndNext( 925 long equityLogId, long userId, java.lang.String actionId, 926 int actionDate, boolean active, int type, java.lang.String extraData, 927 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 928 throws com.liferay.portal.kernel.exception.SystemException, 929 com.liferay.portlet.social.NoSuchEquityLogException { 930 return getPersistence() 931 .findByU_AID_AD_A_T_E_PrevAndNext(equityLogId, userId, 932 actionId, actionDate, active, type, extraData, orderByComparator); 933 } 934 935 /** 936 * Finds all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 937 * 938 * @param assetEntryId the asset entry ID to search with 939 * @param actionId the action ID to search with 940 * @param actionDate the action date to search with 941 * @param active the active to search with 942 * @param type the type to search with 943 * @param extraData the extra data to search with 944 * @return the matching social equity logs 945 * @throws SystemException if a system exception occurred 946 */ 947 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T_E( 948 long assetEntryId, java.lang.String actionId, int actionDate, 949 boolean active, int type, java.lang.String extraData) 950 throws com.liferay.portal.kernel.exception.SystemException { 951 return getPersistence() 952 .findByAEI_AID_AD_A_T_E(assetEntryId, actionId, actionDate, 953 active, type, extraData); 954 } 955 956 /** 957 * Finds a range of all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 958 * 959 * <p> 960 * 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. 961 * </p> 962 * 963 * @param assetEntryId the asset entry ID to search with 964 * @param actionId the action ID to search with 965 * @param actionDate the action date to search with 966 * @param active the active to search with 967 * @param type the type to search with 968 * @param extraData the extra data to search with 969 * @param start the lower bound of the range of social equity logs to return 970 * @param end the upper bound of the range of social equity logs to return (not inclusive) 971 * @return the range of matching social equity logs 972 * @throws SystemException if a system exception occurred 973 */ 974 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T_E( 975 long assetEntryId, java.lang.String actionId, int actionDate, 976 boolean active, int type, java.lang.String extraData, int start, int end) 977 throws com.liferay.portal.kernel.exception.SystemException { 978 return getPersistence() 979 .findByAEI_AID_AD_A_T_E(assetEntryId, actionId, actionDate, 980 active, type, extraData, start, end); 981 } 982 983 /** 984 * Finds an ordered range of all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 985 * 986 * <p> 987 * 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. 988 * </p> 989 * 990 * @param assetEntryId the asset entry ID to search with 991 * @param actionId the action ID to search with 992 * @param actionDate the action date to search with 993 * @param active the active to search with 994 * @param type the type to search with 995 * @param extraData the extra data to search with 996 * @param start the lower bound of the range of social equity logs to return 997 * @param end the upper bound of the range of social equity logs to return (not inclusive) 998 * @param orderByComparator the comparator to order the results by 999 * @return the ordered range of matching social equity logs 1000 * @throws SystemException if a system exception occurred 1001 */ 1002 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T_E( 1003 long assetEntryId, java.lang.String actionId, int actionDate, 1004 boolean active, int type, java.lang.String extraData, int start, 1005 int end, 1006 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1007 throws com.liferay.portal.kernel.exception.SystemException { 1008 return getPersistence() 1009 .findByAEI_AID_AD_A_T_E(assetEntryId, actionId, actionDate, 1010 active, type, extraData, start, end, orderByComparator); 1011 } 1012 1013 /** 1014 * Finds the first social equity log in the ordered set where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 1015 * 1016 * <p> 1017 * 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. 1018 * </p> 1019 * 1020 * @param assetEntryId the asset entry ID to search with 1021 * @param actionId the action ID to search with 1022 * @param actionDate the action date to search with 1023 * @param active the active to search with 1024 * @param type the type to search with 1025 * @param extraData the extra data to search with 1026 * @param orderByComparator the comparator to order the set by 1027 * @return the first matching social equity log 1028 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 1029 * @throws SystemException if a system exception occurred 1030 */ 1031 public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_AD_A_T_E_First( 1032 long assetEntryId, java.lang.String actionId, int actionDate, 1033 boolean active, int type, java.lang.String extraData, 1034 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1035 throws com.liferay.portal.kernel.exception.SystemException, 1036 com.liferay.portlet.social.NoSuchEquityLogException { 1037 return getPersistence() 1038 .findByAEI_AID_AD_A_T_E_First(assetEntryId, actionId, 1039 actionDate, active, type, extraData, orderByComparator); 1040 } 1041 1042 /** 1043 * Finds the last social equity log in the ordered set where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 1044 * 1045 * <p> 1046 * 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. 1047 * </p> 1048 * 1049 * @param assetEntryId the asset entry ID to search with 1050 * @param actionId the action ID to search with 1051 * @param actionDate the action date to search with 1052 * @param active the active to search with 1053 * @param type the type to search with 1054 * @param extraData the extra data to search with 1055 * @param orderByComparator the comparator to order the set by 1056 * @return the last matching social equity log 1057 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 1058 * @throws SystemException if a system exception occurred 1059 */ 1060 public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_AD_A_T_E_Last( 1061 long assetEntryId, java.lang.String actionId, int actionDate, 1062 boolean active, int type, java.lang.String extraData, 1063 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1064 throws com.liferay.portal.kernel.exception.SystemException, 1065 com.liferay.portlet.social.NoSuchEquityLogException { 1066 return getPersistence() 1067 .findByAEI_AID_AD_A_T_E_Last(assetEntryId, actionId, 1068 actionDate, active, type, extraData, orderByComparator); 1069 } 1070 1071 /** 1072 * Finds the social equity logs before and after the current social equity log in the ordered set where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 1073 * 1074 * <p> 1075 * 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. 1076 * </p> 1077 * 1078 * @param equityLogId the primary key of the current social equity log 1079 * @param assetEntryId the asset entry ID to search with 1080 * @param actionId the action ID to search with 1081 * @param actionDate the action date to search with 1082 * @param active the active to search with 1083 * @param type the type to search with 1084 * @param extraData the extra data to search with 1085 * @param orderByComparator the comparator to order the set by 1086 * @return the previous, current, and next social equity log 1087 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 1088 * @throws SystemException if a system exception occurred 1089 */ 1090 public static com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_AID_AD_A_T_E_PrevAndNext( 1091 long equityLogId, long assetEntryId, java.lang.String actionId, 1092 int actionDate, boolean active, int type, java.lang.String extraData, 1093 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1094 throws com.liferay.portal.kernel.exception.SystemException, 1095 com.liferay.portlet.social.NoSuchEquityLogException { 1096 return getPersistence() 1097 .findByAEI_AID_AD_A_T_E_PrevAndNext(equityLogId, 1098 assetEntryId, actionId, actionDate, active, type, extraData, 1099 orderByComparator); 1100 } 1101 1102 /** 1103 * Finds the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? or throws a {@link com.liferay.portlet.social.NoSuchEquityLogException} if it could not be found. 1104 * 1105 * @param userId the user ID to search with 1106 * @param assetEntryId the asset entry ID to search with 1107 * @param actionId the action ID to search with 1108 * @param actionDate the action date to search with 1109 * @param active the active to search with 1110 * @param type the type to search with 1111 * @param extraData the extra data to search with 1112 * @return the matching social equity log 1113 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 1114 * @throws SystemException if a system exception occurred 1115 */ 1116 public static com.liferay.portlet.social.model.SocialEquityLog findByU_AEI_AID_AD_A_T_E( 1117 long userId, long assetEntryId, java.lang.String actionId, 1118 int actionDate, boolean active, int type, java.lang.String extraData) 1119 throws com.liferay.portal.kernel.exception.SystemException, 1120 com.liferay.portlet.social.NoSuchEquityLogException { 1121 return getPersistence() 1122 .findByU_AEI_AID_AD_A_T_E(userId, assetEntryId, actionId, 1123 actionDate, active, type, extraData); 1124 } 1125 1126 /** 1127 * Finds the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1128 * 1129 * @param userId the user ID to search with 1130 * @param assetEntryId the asset entry ID to search with 1131 * @param actionId the action ID to search with 1132 * @param actionDate the action date to search with 1133 * @param active the active to search with 1134 * @param type the type to search with 1135 * @param extraData the extra data to search with 1136 * @return the matching social equity log, or <code>null</code> if a matching social equity log could not be found 1137 * @throws SystemException if a system exception occurred 1138 */ 1139 public static com.liferay.portlet.social.model.SocialEquityLog fetchByU_AEI_AID_AD_A_T_E( 1140 long userId, long assetEntryId, java.lang.String actionId, 1141 int actionDate, boolean active, int type, java.lang.String extraData) 1142 throws com.liferay.portal.kernel.exception.SystemException { 1143 return getPersistence() 1144 .fetchByU_AEI_AID_AD_A_T_E(userId, assetEntryId, actionId, 1145 actionDate, active, type, extraData); 1146 } 1147 1148 /** 1149 * Finds the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1150 * 1151 * @param userId the user ID to search with 1152 * @param assetEntryId the asset entry ID to search with 1153 * @param actionId the action ID to search with 1154 * @param actionDate the action date to search with 1155 * @param active the active to search with 1156 * @param type the type to search with 1157 * @param extraData the extra data to search with 1158 * @return the matching social equity log, or <code>null</code> if a matching social equity log could not be found 1159 * @throws SystemException if a system exception occurred 1160 */ 1161 public static com.liferay.portlet.social.model.SocialEquityLog fetchByU_AEI_AID_AD_A_T_E( 1162 long userId, long assetEntryId, java.lang.String actionId, 1163 int actionDate, boolean active, int type, java.lang.String extraData, 1164 boolean retrieveFromCache) 1165 throws com.liferay.portal.kernel.exception.SystemException { 1166 return getPersistence() 1167 .fetchByU_AEI_AID_AD_A_T_E(userId, assetEntryId, actionId, 1168 actionDate, active, type, extraData, retrieveFromCache); 1169 } 1170 1171 /** 1172 * Finds all the social equity logs. 1173 * 1174 * @return the social equity logs 1175 * @throws SystemException if a system exception occurred 1176 */ 1177 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll() 1178 throws com.liferay.portal.kernel.exception.SystemException { 1179 return getPersistence().findAll(); 1180 } 1181 1182 /** 1183 * Finds a range of all the social equity logs. 1184 * 1185 * <p> 1186 * 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. 1187 * </p> 1188 * 1189 * @param start the lower bound of the range of social equity logs to return 1190 * @param end the upper bound of the range of social equity logs to return (not inclusive) 1191 * @return the range of social equity logs 1192 * @throws SystemException if a system exception occurred 1193 */ 1194 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll( 1195 int start, int end) 1196 throws com.liferay.portal.kernel.exception.SystemException { 1197 return getPersistence().findAll(start, end); 1198 } 1199 1200 /** 1201 * Finds an ordered range of all the social equity logs. 1202 * 1203 * <p> 1204 * 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. 1205 * </p> 1206 * 1207 * @param start the lower bound of the range of social equity logs to return 1208 * @param end the upper bound of the range of social equity logs to return (not inclusive) 1209 * @param orderByComparator the comparator to order the results by 1210 * @return the ordered range of social equity logs 1211 * @throws SystemException if a system exception occurred 1212 */ 1213 public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll( 1214 int start, int end, 1215 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1216 throws com.liferay.portal.kernel.exception.SystemException { 1217 return getPersistence().findAll(start, end, orderByComparator); 1218 } 1219 1220 /** 1221 * Removes all the social equity logs where userId = ? from the database. 1222 * 1223 * @param userId the user ID to search with 1224 * @throws SystemException if a system exception occurred 1225 */ 1226 public static void removeByUserId(long userId) 1227 throws com.liferay.portal.kernel.exception.SystemException { 1228 getPersistence().removeByUserId(userId); 1229 } 1230 1231 /** 1232 * Removes all the social equity logs where assetEntryId = ? and type = ? and active = ? from the database. 1233 * 1234 * @param assetEntryId the asset entry ID to search with 1235 * @param type the type to search with 1236 * @param active the active to search with 1237 * @throws SystemException if a system exception occurred 1238 */ 1239 public static void removeByAEI_T_A(long assetEntryId, int type, 1240 boolean active) 1241 throws com.liferay.portal.kernel.exception.SystemException { 1242 getPersistence().removeByAEI_T_A(assetEntryId, type, active); 1243 } 1244 1245 /** 1246 * Removes all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ? from the database. 1247 * 1248 * @param assetEntryId the asset entry ID to search with 1249 * @param actionId the action ID to search with 1250 * @param active the active to search with 1251 * @param extraData the extra data to search with 1252 * @throws SystemException if a system exception occurred 1253 */ 1254 public static void removeByAEI_AID_A_E(long assetEntryId, 1255 java.lang.String actionId, boolean active, java.lang.String extraData) 1256 throws com.liferay.portal.kernel.exception.SystemException { 1257 getPersistence() 1258 .removeByAEI_AID_A_E(assetEntryId, actionId, active, extraData); 1259 } 1260 1261 /** 1262 * Removes all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ? from the database. 1263 * 1264 * @param userId the user ID to search with 1265 * @param assetEntryId the asset entry ID to search with 1266 * @param actionId the action ID to search with 1267 * @param active the active to search with 1268 * @param extraData the extra data to search with 1269 * @throws SystemException if a system exception occurred 1270 */ 1271 public static void removeByU_AEI_AID_A_E(long userId, long assetEntryId, 1272 java.lang.String actionId, boolean active, java.lang.String extraData) 1273 throws com.liferay.portal.kernel.exception.SystemException { 1274 getPersistence() 1275 .removeByU_AEI_AID_A_E(userId, assetEntryId, actionId, active, 1276 extraData); 1277 } 1278 1279 /** 1280 * Removes all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? from the database. 1281 * 1282 * @param userId the user ID to search with 1283 * @param actionId the action ID to search with 1284 * @param actionDate the action date to search with 1285 * @param active the active to search with 1286 * @param type the type to search with 1287 * @param extraData the extra data to search with 1288 * @throws SystemException if a system exception occurred 1289 */ 1290 public static void removeByU_AID_AD_A_T_E(long userId, 1291 java.lang.String actionId, int actionDate, boolean active, int type, 1292 java.lang.String extraData) 1293 throws com.liferay.portal.kernel.exception.SystemException { 1294 getPersistence() 1295 .removeByU_AID_AD_A_T_E(userId, actionId, actionDate, active, type, 1296 extraData); 1297 } 1298 1299 /** 1300 * Removes all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? from the database. 1301 * 1302 * @param assetEntryId the asset entry ID to search with 1303 * @param actionId the action ID to search with 1304 * @param actionDate the action date to search with 1305 * @param active the active to search with 1306 * @param type the type to search with 1307 * @param extraData the extra data to search with 1308 * @throws SystemException if a system exception occurred 1309 */ 1310 public static void removeByAEI_AID_AD_A_T_E(long assetEntryId, 1311 java.lang.String actionId, int actionDate, boolean active, int type, 1312 java.lang.String extraData) 1313 throws com.liferay.portal.kernel.exception.SystemException { 1314 getPersistence() 1315 .removeByAEI_AID_AD_A_T_E(assetEntryId, actionId, actionDate, 1316 active, type, extraData); 1317 } 1318 1319 /** 1320 * Removes the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? from the database. 1321 * 1322 * @param userId the user ID to search with 1323 * @param assetEntryId the asset entry ID to search with 1324 * @param actionId the action ID to search with 1325 * @param actionDate the action date to search with 1326 * @param active the active to search with 1327 * @param type the type to search with 1328 * @param extraData the extra data to search with 1329 * @throws SystemException if a system exception occurred 1330 */ 1331 public static void removeByU_AEI_AID_AD_A_T_E(long userId, 1332 long assetEntryId, java.lang.String actionId, int actionDate, 1333 boolean active, int type, java.lang.String extraData) 1334 throws com.liferay.portal.kernel.exception.SystemException, 1335 com.liferay.portlet.social.NoSuchEquityLogException { 1336 getPersistence() 1337 .removeByU_AEI_AID_AD_A_T_E(userId, assetEntryId, actionId, 1338 actionDate, active, type, extraData); 1339 } 1340 1341 /** 1342 * Removes all the social equity logs from the database. 1343 * 1344 * @throws SystemException if a system exception occurred 1345 */ 1346 public static void removeAll() 1347 throws com.liferay.portal.kernel.exception.SystemException { 1348 getPersistence().removeAll(); 1349 } 1350 1351 /** 1352 * Counts all the social equity logs where userId = ?. 1353 * 1354 * @param userId the user ID to search with 1355 * @return the number of matching social equity logs 1356 * @throws SystemException if a system exception occurred 1357 */ 1358 public static int countByUserId(long userId) 1359 throws com.liferay.portal.kernel.exception.SystemException { 1360 return getPersistence().countByUserId(userId); 1361 } 1362 1363 /** 1364 * Counts all the social equity logs where assetEntryId = ? and type = ? and active = ?. 1365 * 1366 * @param assetEntryId the asset entry ID to search with 1367 * @param type the type to search with 1368 * @param active the active to search with 1369 * @return the number of matching social equity logs 1370 * @throws SystemException if a system exception occurred 1371 */ 1372 public static int countByAEI_T_A(long assetEntryId, int type, boolean active) 1373 throws com.liferay.portal.kernel.exception.SystemException { 1374 return getPersistence().countByAEI_T_A(assetEntryId, type, active); 1375 } 1376 1377 /** 1378 * Counts all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 1379 * 1380 * @param assetEntryId the asset entry ID to search with 1381 * @param actionId the action ID to search with 1382 * @param active the active to search with 1383 * @param extraData the extra data to search with 1384 * @return the number of matching social equity logs 1385 * @throws SystemException if a system exception occurred 1386 */ 1387 public static int countByAEI_AID_A_E(long assetEntryId, 1388 java.lang.String actionId, boolean active, java.lang.String extraData) 1389 throws com.liferay.portal.kernel.exception.SystemException { 1390 return getPersistence() 1391 .countByAEI_AID_A_E(assetEntryId, actionId, active, extraData); 1392 } 1393 1394 /** 1395 * Counts all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 1396 * 1397 * @param userId the user ID to search with 1398 * @param assetEntryId the asset entry ID to search with 1399 * @param actionId the action ID to search with 1400 * @param active the active to search with 1401 * @param extraData the extra data to search with 1402 * @return the number of matching social equity logs 1403 * @throws SystemException if a system exception occurred 1404 */ 1405 public static int countByU_AEI_AID_A_E(long userId, long assetEntryId, 1406 java.lang.String actionId, boolean active, java.lang.String extraData) 1407 throws com.liferay.portal.kernel.exception.SystemException { 1408 return getPersistence() 1409 .countByU_AEI_AID_A_E(userId, assetEntryId, actionId, 1410 active, extraData); 1411 } 1412 1413 /** 1414 * Counts all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 1415 * 1416 * @param userId the user ID to search with 1417 * @param actionId the action ID to search with 1418 * @param actionDate the action date to search with 1419 * @param active the active to search with 1420 * @param type the type to search with 1421 * @param extraData the extra data to search with 1422 * @return the number of matching social equity logs 1423 * @throws SystemException if a system exception occurred 1424 */ 1425 public static int countByU_AID_AD_A_T_E(long userId, 1426 java.lang.String actionId, int actionDate, boolean active, int type, 1427 java.lang.String extraData) 1428 throws com.liferay.portal.kernel.exception.SystemException { 1429 return getPersistence() 1430 .countByU_AID_AD_A_T_E(userId, actionId, actionDate, active, 1431 type, extraData); 1432 } 1433 1434 /** 1435 * Counts all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 1436 * 1437 * @param assetEntryId the asset entry ID to search with 1438 * @param actionId the action ID to search with 1439 * @param actionDate the action date to search with 1440 * @param active the active to search with 1441 * @param type the type to search with 1442 * @param extraData the extra data to search with 1443 * @return the number of matching social equity logs 1444 * @throws SystemException if a system exception occurred 1445 */ 1446 public static int countByAEI_AID_AD_A_T_E(long assetEntryId, 1447 java.lang.String actionId, int actionDate, boolean active, int type, 1448 java.lang.String extraData) 1449 throws com.liferay.portal.kernel.exception.SystemException { 1450 return getPersistence() 1451 .countByAEI_AID_AD_A_T_E(assetEntryId, actionId, actionDate, 1452 active, type, extraData); 1453 } 1454 1455 /** 1456 * Counts all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 1457 * 1458 * @param userId the user ID to search with 1459 * @param assetEntryId the asset entry ID to search with 1460 * @param actionId the action ID to search with 1461 * @param actionDate the action date to search with 1462 * @param active the active to search with 1463 * @param type the type to search with 1464 * @param extraData the extra data to search with 1465 * @return the number of matching social equity logs 1466 * @throws SystemException if a system exception occurred 1467 */ 1468 public static int countByU_AEI_AID_AD_A_T_E(long userId, long assetEntryId, 1469 java.lang.String actionId, int actionDate, boolean active, int type, 1470 java.lang.String extraData) 1471 throws com.liferay.portal.kernel.exception.SystemException { 1472 return getPersistence() 1473 .countByU_AEI_AID_AD_A_T_E(userId, assetEntryId, actionId, 1474 actionDate, active, type, extraData); 1475 } 1476 1477 /** 1478 * Counts all the social equity logs. 1479 * 1480 * @return the number of social equity logs 1481 * @throws SystemException if a system exception occurred 1482 */ 1483 public static int countAll() 1484 throws com.liferay.portal.kernel.exception.SystemException { 1485 return getPersistence().countAll(); 1486 } 1487 1488 public static SocialEquityLogPersistence getPersistence() { 1489 if (_persistence == null) { 1490 _persistence = (SocialEquityLogPersistence)PortalBeanLocatorUtil.locate(SocialEquityLogPersistence.class.getName()); 1491 1492 ReferenceRegistry.registerReference(SocialEquityLogUtil.class, 1493 "_persistence"); 1494 } 1495 1496 return _persistence; 1497 } 1498 1499 public void setPersistence(SocialEquityLogPersistence persistence) { 1500 _persistence = persistence; 1501 1502 ReferenceRegistry.registerReference(SocialEquityLogUtil.class, 1503 "_persistence"); 1504 } 1505 1506 private static SocialEquityLogPersistence _persistence; 1507 }