001 /** 002 * Copyright (c) 2000-2011 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.exception.SystemException; 018 import com.liferay.portal.service.persistence.BasePersistence; 019 020 import com.liferay.portlet.social.model.SocialEquityLog; 021 022 /** 023 * The persistence interface for the social equity log service. 024 * 025 * <p> 026 * Caching information and settings can be found in <code>portal.properties</code> 027 * </p> 028 * 029 * @author Brian Wing Shun Chan 030 * @see SocialEquityLogPersistenceImpl 031 * @see SocialEquityLogUtil 032 * @generated 033 */ 034 public interface SocialEquityLogPersistence extends BasePersistence<SocialEquityLog> { 035 /* 036 * NOTE FOR DEVELOPERS: 037 * 038 * Never modify or reference this interface directly. Always use {@link SocialEquityLogUtil} to access the social equity log persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 039 */ 040 041 /** 042 * Caches the social equity log in the entity cache if it is enabled. 043 * 044 * @param socialEquityLog the social equity log 045 */ 046 public void cacheResult( 047 com.liferay.portlet.social.model.SocialEquityLog socialEquityLog); 048 049 /** 050 * Caches the social equity logs in the entity cache if it is enabled. 051 * 052 * @param socialEquityLogs the social equity logs 053 */ 054 public void cacheResult( 055 java.util.List<com.liferay.portlet.social.model.SocialEquityLog> socialEquityLogs); 056 057 /** 058 * Creates a new social equity log with the primary key. Does not add the social equity log to the database. 059 * 060 * @param equityLogId the primary key for the new social equity log 061 * @return the new social equity log 062 */ 063 public com.liferay.portlet.social.model.SocialEquityLog create( 064 long equityLogId); 065 066 /** 067 * Removes the social equity log with the primary key from the database. Also notifies the appropriate model listeners. 068 * 069 * @param equityLogId the primary key of the social equity log 070 * @return the social equity log that was removed 071 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 072 * @throws SystemException if a system exception occurred 073 */ 074 public com.liferay.portlet.social.model.SocialEquityLog remove( 075 long equityLogId) 076 throws com.liferay.portal.kernel.exception.SystemException, 077 com.liferay.portlet.social.NoSuchEquityLogException; 078 079 public com.liferay.portlet.social.model.SocialEquityLog updateImpl( 080 com.liferay.portlet.social.model.SocialEquityLog socialEquityLog, 081 boolean merge) 082 throws com.liferay.portal.kernel.exception.SystemException; 083 084 /** 085 * Returns the social equity log with the primary key or throws a {@link com.liferay.portlet.social.NoSuchEquityLogException} if it could not be found. 086 * 087 * @param equityLogId the primary key of the social equity log 088 * @return the social equity log 089 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 090 * @throws SystemException if a system exception occurred 091 */ 092 public com.liferay.portlet.social.model.SocialEquityLog findByPrimaryKey( 093 long equityLogId) 094 throws com.liferay.portal.kernel.exception.SystemException, 095 com.liferay.portlet.social.NoSuchEquityLogException; 096 097 /** 098 * Returns the social equity log with the primary key or returns <code>null</code> if it could not be found. 099 * 100 * @param equityLogId the primary key of the social equity log 101 * @return the social equity log, or <code>null</code> if a social equity log with the primary key could not be found 102 * @throws SystemException if a system exception occurred 103 */ 104 public com.liferay.portlet.social.model.SocialEquityLog fetchByPrimaryKey( 105 long equityLogId) 106 throws com.liferay.portal.kernel.exception.SystemException; 107 108 /** 109 * Returns all the social equity logs where userId = ?. 110 * 111 * @param userId the user ID 112 * @return the matching social equity logs 113 * @throws SystemException if a system exception occurred 114 */ 115 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByUserId( 116 long userId) throws com.liferay.portal.kernel.exception.SystemException; 117 118 /** 119 * Returns a range of all the social equity logs where userId = ?. 120 * 121 * <p> 122 * 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. 123 * </p> 124 * 125 * @param userId the user ID 126 * @param start the lower bound of the range of social equity logs 127 * @param end the upper bound of the range of social equity logs (not inclusive) 128 * @return the range of matching social equity logs 129 * @throws SystemException if a system exception occurred 130 */ 131 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByUserId( 132 long userId, int start, int end) 133 throws com.liferay.portal.kernel.exception.SystemException; 134 135 /** 136 * Returns an ordered range of all the social equity logs where userId = ?. 137 * 138 * <p> 139 * 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. 140 * </p> 141 * 142 * @param userId the user ID 143 * @param start the lower bound of the range of social equity logs 144 * @param end the upper bound of the range of social equity logs (not inclusive) 145 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 146 * @return the ordered range of matching social equity logs 147 * @throws SystemException if a system exception occurred 148 */ 149 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByUserId( 150 long userId, int start, int end, 151 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 152 throws com.liferay.portal.kernel.exception.SystemException; 153 154 /** 155 * Returns the first social equity log in the ordered set where userId = ?. 156 * 157 * <p> 158 * 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. 159 * </p> 160 * 161 * @param userId the user ID 162 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 163 * @return the first matching social equity log 164 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 165 * @throws SystemException if a system exception occurred 166 */ 167 public com.liferay.portlet.social.model.SocialEquityLog findByUserId_First( 168 long userId, 169 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 170 throws com.liferay.portal.kernel.exception.SystemException, 171 com.liferay.portlet.social.NoSuchEquityLogException; 172 173 /** 174 * Returns the last social equity log in the ordered set where userId = ?. 175 * 176 * <p> 177 * 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. 178 * </p> 179 * 180 * @param userId the user ID 181 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 182 * @return the last matching social equity log 183 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 184 * @throws SystemException if a system exception occurred 185 */ 186 public com.liferay.portlet.social.model.SocialEquityLog findByUserId_Last( 187 long userId, 188 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 189 throws com.liferay.portal.kernel.exception.SystemException, 190 com.liferay.portlet.social.NoSuchEquityLogException; 191 192 /** 193 * Returns the social equity logs before and after the current social equity log in the ordered set where userId = ?. 194 * 195 * <p> 196 * 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. 197 * </p> 198 * 199 * @param equityLogId the primary key of the current social equity log 200 * @param userId the user ID 201 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 202 * @return the previous, current, and next social equity log 203 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 204 * @throws SystemException if a system exception occurred 205 */ 206 public com.liferay.portlet.social.model.SocialEquityLog[] findByUserId_PrevAndNext( 207 long equityLogId, long userId, 208 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 209 throws com.liferay.portal.kernel.exception.SystemException, 210 com.liferay.portlet.social.NoSuchEquityLogException; 211 212 /** 213 * Returns all the social equity logs where assetEntryId = ? and type = ? and active = ?. 214 * 215 * @param assetEntryId the asset entry ID 216 * @param type the type 217 * @param active the active 218 * @return the matching social equity logs 219 * @throws SystemException if a system exception occurred 220 */ 221 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A( 222 long assetEntryId, int type, boolean active) 223 throws com.liferay.portal.kernel.exception.SystemException; 224 225 /** 226 * Returns a range of all the social equity logs where assetEntryId = ? and type = ? and active = ?. 227 * 228 * <p> 229 * 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. 230 * </p> 231 * 232 * @param assetEntryId the asset entry ID 233 * @param type the type 234 * @param active the active 235 * @param start the lower bound of the range of social equity logs 236 * @param end the upper bound of the range of social equity logs (not inclusive) 237 * @return the range of matching social equity logs 238 * @throws SystemException if a system exception occurred 239 */ 240 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A( 241 long assetEntryId, int type, boolean active, int start, int end) 242 throws com.liferay.portal.kernel.exception.SystemException; 243 244 /** 245 * Returns an ordered range of all the social equity logs where assetEntryId = ? and type = ? and active = ?. 246 * 247 * <p> 248 * 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. 249 * </p> 250 * 251 * @param assetEntryId the asset entry ID 252 * @param type the type 253 * @param active the active 254 * @param start the lower bound of the range of social equity logs 255 * @param end the upper bound of the range of social equity logs (not inclusive) 256 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 257 * @return the ordered range of matching social equity logs 258 * @throws SystemException if a system exception occurred 259 */ 260 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A( 261 long assetEntryId, int type, boolean active, int start, int end, 262 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 263 throws com.liferay.portal.kernel.exception.SystemException; 264 265 /** 266 * Returns the first social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?. 267 * 268 * <p> 269 * 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. 270 * </p> 271 * 272 * @param assetEntryId the asset entry ID 273 * @param type the type 274 * @param active the active 275 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 276 * @return the first matching social equity log 277 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 278 * @throws SystemException if a system exception occurred 279 */ 280 public com.liferay.portlet.social.model.SocialEquityLog findByAEI_T_A_First( 281 long assetEntryId, int type, boolean active, 282 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 283 throws com.liferay.portal.kernel.exception.SystemException, 284 com.liferay.portlet.social.NoSuchEquityLogException; 285 286 /** 287 * Returns the last social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?. 288 * 289 * <p> 290 * 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. 291 * </p> 292 * 293 * @param assetEntryId the asset entry ID 294 * @param type the type 295 * @param active the active 296 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 297 * @return the last matching social equity log 298 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 299 * @throws SystemException if a system exception occurred 300 */ 301 public com.liferay.portlet.social.model.SocialEquityLog findByAEI_T_A_Last( 302 long assetEntryId, int type, boolean active, 303 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 304 throws com.liferay.portal.kernel.exception.SystemException, 305 com.liferay.portlet.social.NoSuchEquityLogException; 306 307 /** 308 * Returns the social equity logs before and after the current social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?. 309 * 310 * <p> 311 * 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. 312 * </p> 313 * 314 * @param equityLogId the primary key of the current social equity log 315 * @param assetEntryId the asset entry ID 316 * @param type the type 317 * @param active the active 318 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 319 * @return the previous, current, and next social equity log 320 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 321 * @throws SystemException if a system exception occurred 322 */ 323 public com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_T_A_PrevAndNext( 324 long equityLogId, long assetEntryId, int type, boolean active, 325 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 326 throws com.liferay.portal.kernel.exception.SystemException, 327 com.liferay.portlet.social.NoSuchEquityLogException; 328 329 /** 330 * Returns all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 331 * 332 * @param assetEntryId the asset entry ID 333 * @param actionId the action ID 334 * @param active the active 335 * @param extraData the extra data 336 * @return the matching social equity logs 337 * @throws SystemException if a system exception occurred 338 */ 339 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_E( 340 long assetEntryId, java.lang.String actionId, boolean active, 341 java.lang.String extraData) 342 throws com.liferay.portal.kernel.exception.SystemException; 343 344 /** 345 * Returns a range of all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 346 * 347 * <p> 348 * 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. 349 * </p> 350 * 351 * @param assetEntryId the asset entry ID 352 * @param actionId the action ID 353 * @param active the active 354 * @param extraData the extra data 355 * @param start the lower bound of the range of social equity logs 356 * @param end the upper bound of the range of social equity logs (not inclusive) 357 * @return the range of matching social equity logs 358 * @throws SystemException if a system exception occurred 359 */ 360 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_E( 361 long assetEntryId, java.lang.String actionId, boolean active, 362 java.lang.String extraData, int start, int end) 363 throws com.liferay.portal.kernel.exception.SystemException; 364 365 /** 366 * Returns an ordered range of all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 367 * 368 * <p> 369 * 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. 370 * </p> 371 * 372 * @param assetEntryId the asset entry ID 373 * @param actionId the action ID 374 * @param active the active 375 * @param extraData the extra data 376 * @param start the lower bound of the range of social equity logs 377 * @param end the upper bound of the range of social equity logs (not inclusive) 378 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 379 * @return the ordered range of matching social equity logs 380 * @throws SystemException if a system exception occurred 381 */ 382 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_E( 383 long assetEntryId, java.lang.String actionId, boolean active, 384 java.lang.String extraData, int start, int end, 385 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 386 throws com.liferay.portal.kernel.exception.SystemException; 387 388 /** 389 * Returns the first social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 390 * 391 * <p> 392 * 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. 393 * </p> 394 * 395 * @param assetEntryId the asset entry ID 396 * @param actionId the action ID 397 * @param active the active 398 * @param extraData the extra data 399 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 400 * @return the first matching social equity log 401 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 402 * @throws SystemException if a system exception occurred 403 */ 404 public com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_A_E_First( 405 long assetEntryId, java.lang.String actionId, boolean active, 406 java.lang.String extraData, 407 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 408 throws com.liferay.portal.kernel.exception.SystemException, 409 com.liferay.portlet.social.NoSuchEquityLogException; 410 411 /** 412 * Returns the last social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 413 * 414 * <p> 415 * 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. 416 * </p> 417 * 418 * @param assetEntryId the asset entry ID 419 * @param actionId the action ID 420 * @param active the active 421 * @param extraData the extra data 422 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 423 * @return the last matching social equity log 424 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 425 * @throws SystemException if a system exception occurred 426 */ 427 public com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_A_E_Last( 428 long assetEntryId, java.lang.String actionId, boolean active, 429 java.lang.String extraData, 430 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 431 throws com.liferay.portal.kernel.exception.SystemException, 432 com.liferay.portlet.social.NoSuchEquityLogException; 433 434 /** 435 * Returns the social equity logs before and after the current social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 436 * 437 * <p> 438 * 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. 439 * </p> 440 * 441 * @param equityLogId the primary key of the current social equity log 442 * @param assetEntryId the asset entry ID 443 * @param actionId the action ID 444 * @param active the active 445 * @param extraData the extra data 446 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 447 * @return the previous, current, and next social equity log 448 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 449 * @throws SystemException if a system exception occurred 450 */ 451 public com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_AID_A_E_PrevAndNext( 452 long equityLogId, long assetEntryId, java.lang.String actionId, 453 boolean active, java.lang.String extraData, 454 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 455 throws com.liferay.portal.kernel.exception.SystemException, 456 com.liferay.portlet.social.NoSuchEquityLogException; 457 458 /** 459 * Returns all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 460 * 461 * @param userId the user ID 462 * @param assetEntryId the asset entry ID 463 * @param actionId the action ID 464 * @param active the active 465 * @param extraData the extra data 466 * @return the matching social equity logs 467 * @throws SystemException if a system exception occurred 468 */ 469 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AEI_AID_A_E( 470 long userId, long assetEntryId, java.lang.String actionId, 471 boolean active, java.lang.String extraData) 472 throws com.liferay.portal.kernel.exception.SystemException; 473 474 /** 475 * Returns a range of all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 476 * 477 * <p> 478 * 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. 479 * </p> 480 * 481 * @param userId the user ID 482 * @param assetEntryId the asset entry ID 483 * @param actionId the action ID 484 * @param active the active 485 * @param extraData the extra data 486 * @param start the lower bound of the range of social equity logs 487 * @param end the upper bound of the range of social equity logs (not inclusive) 488 * @return the range of matching social equity logs 489 * @throws SystemException if a system exception occurred 490 */ 491 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AEI_AID_A_E( 492 long userId, long assetEntryId, java.lang.String actionId, 493 boolean active, java.lang.String extraData, int start, int end) 494 throws com.liferay.portal.kernel.exception.SystemException; 495 496 /** 497 * Returns an ordered range of all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 498 * 499 * <p> 500 * 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. 501 * </p> 502 * 503 * @param userId the user ID 504 * @param assetEntryId the asset entry ID 505 * @param actionId the action ID 506 * @param active the active 507 * @param extraData the extra data 508 * @param start the lower bound of the range of social equity logs 509 * @param end the upper bound of the range of social equity logs (not inclusive) 510 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 511 * @return the ordered range of matching social equity logs 512 * @throws SystemException if a system exception occurred 513 */ 514 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AEI_AID_A_E( 515 long userId, long assetEntryId, java.lang.String actionId, 516 boolean active, java.lang.String extraData, int start, int end, 517 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 518 throws com.liferay.portal.kernel.exception.SystemException; 519 520 /** 521 * Returns the first social equity log in the ordered set where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 522 * 523 * <p> 524 * 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. 525 * </p> 526 * 527 * @param userId the user ID 528 * @param assetEntryId the asset entry ID 529 * @param actionId the action ID 530 * @param active the active 531 * @param extraData the extra data 532 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 533 * @return the first matching social equity log 534 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 535 * @throws SystemException if a system exception occurred 536 */ 537 public com.liferay.portlet.social.model.SocialEquityLog findByU_AEI_AID_A_E_First( 538 long userId, long assetEntryId, java.lang.String actionId, 539 boolean active, java.lang.String extraData, 540 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 541 throws com.liferay.portal.kernel.exception.SystemException, 542 com.liferay.portlet.social.NoSuchEquityLogException; 543 544 /** 545 * Returns the last social equity log in the ordered set where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 546 * 547 * <p> 548 * 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. 549 * </p> 550 * 551 * @param userId the user ID 552 * @param assetEntryId the asset entry ID 553 * @param actionId the action ID 554 * @param active the active 555 * @param extraData the extra data 556 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 557 * @return the last matching social equity log 558 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 559 * @throws SystemException if a system exception occurred 560 */ 561 public com.liferay.portlet.social.model.SocialEquityLog findByU_AEI_AID_A_E_Last( 562 long userId, long assetEntryId, java.lang.String actionId, 563 boolean active, java.lang.String extraData, 564 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 565 throws com.liferay.portal.kernel.exception.SystemException, 566 com.liferay.portlet.social.NoSuchEquityLogException; 567 568 /** 569 * Returns 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 = ?. 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 equityLogId the primary key of the current social equity log 576 * @param userId the user ID 577 * @param assetEntryId the asset entry ID 578 * @param actionId the action ID 579 * @param active the active 580 * @param extraData the extra data 581 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 582 * @return the previous, current, and next social equity log 583 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 584 * @throws SystemException if a system exception occurred 585 */ 586 public com.liferay.portlet.social.model.SocialEquityLog[] findByU_AEI_AID_A_E_PrevAndNext( 587 long equityLogId, long userId, long assetEntryId, 588 java.lang.String actionId, boolean active, java.lang.String extraData, 589 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 590 throws com.liferay.portal.kernel.exception.SystemException, 591 com.liferay.portlet.social.NoSuchEquityLogException; 592 593 /** 594 * Returns all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 595 * 596 * @param userId the user ID 597 * @param actionId the action ID 598 * @param actionDate the action date 599 * @param active the active 600 * @param type the type 601 * @param extraData the extra data 602 * @return the matching social equity logs 603 * @throws SystemException if a system exception occurred 604 */ 605 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T_E( 606 long userId, java.lang.String actionId, int actionDate, boolean active, 607 int type, java.lang.String extraData) 608 throws com.liferay.portal.kernel.exception.SystemException; 609 610 /** 611 * Returns a range of all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 612 * 613 * <p> 614 * 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. 615 * </p> 616 * 617 * @param userId the user ID 618 * @param actionId the action ID 619 * @param actionDate the action date 620 * @param active the active 621 * @param type the type 622 * @param extraData the extra data 623 * @param start the lower bound of the range of social equity logs 624 * @param end the upper bound of the range of social equity logs (not inclusive) 625 * @return the range of matching social equity logs 626 * @throws SystemException if a system exception occurred 627 */ 628 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T_E( 629 long userId, java.lang.String actionId, int actionDate, boolean active, 630 int type, java.lang.String extraData, int start, int end) 631 throws com.liferay.portal.kernel.exception.SystemException; 632 633 /** 634 * Returns an ordered range of all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 635 * 636 * <p> 637 * 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. 638 * </p> 639 * 640 * @param userId the user ID 641 * @param actionId the action ID 642 * @param actionDate the action date 643 * @param active the active 644 * @param type the type 645 * @param extraData the extra data 646 * @param start the lower bound of the range of social equity logs 647 * @param end the upper bound of the range of social equity logs (not inclusive) 648 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 649 * @return the ordered range of matching social equity logs 650 * @throws SystemException if a system exception occurred 651 */ 652 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T_E( 653 long userId, java.lang.String actionId, int actionDate, boolean active, 654 int type, java.lang.String extraData, int start, int end, 655 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 656 throws com.liferay.portal.kernel.exception.SystemException; 657 658 /** 659 * Returns the first social equity log in the ordered set where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 660 * 661 * <p> 662 * 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. 663 * </p> 664 * 665 * @param userId the user ID 666 * @param actionId the action ID 667 * @param actionDate the action date 668 * @param active the active 669 * @param type the type 670 * @param extraData the extra data 671 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 672 * @return the first matching social equity log 673 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 674 * @throws SystemException if a system exception occurred 675 */ 676 public com.liferay.portlet.social.model.SocialEquityLog findByU_AID_AD_A_T_E_First( 677 long userId, java.lang.String actionId, int actionDate, boolean active, 678 int type, java.lang.String extraData, 679 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 680 throws com.liferay.portal.kernel.exception.SystemException, 681 com.liferay.portlet.social.NoSuchEquityLogException; 682 683 /** 684 * Returns the last social equity log in the ordered set where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 685 * 686 * <p> 687 * 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. 688 * </p> 689 * 690 * @param userId the user ID 691 * @param actionId the action ID 692 * @param actionDate the action date 693 * @param active the active 694 * @param type the type 695 * @param extraData the extra data 696 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 697 * @return the last matching social equity log 698 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 699 * @throws SystemException if a system exception occurred 700 */ 701 public com.liferay.portlet.social.model.SocialEquityLog findByU_AID_AD_A_T_E_Last( 702 long userId, java.lang.String actionId, int actionDate, boolean active, 703 int type, java.lang.String extraData, 704 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 705 throws com.liferay.portal.kernel.exception.SystemException, 706 com.liferay.portlet.social.NoSuchEquityLogException; 707 708 /** 709 * Returns 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 = ?. 710 * 711 * <p> 712 * 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. 713 * </p> 714 * 715 * @param equityLogId the primary key of the current social equity log 716 * @param userId the user ID 717 * @param actionId the action ID 718 * @param actionDate the action date 719 * @param active the active 720 * @param type the type 721 * @param extraData the extra data 722 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 723 * @return the previous, current, and next social equity log 724 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 725 * @throws SystemException if a system exception occurred 726 */ 727 public com.liferay.portlet.social.model.SocialEquityLog[] findByU_AID_AD_A_T_E_PrevAndNext( 728 long equityLogId, long userId, java.lang.String actionId, 729 int actionDate, boolean active, int type, java.lang.String extraData, 730 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 731 throws com.liferay.portal.kernel.exception.SystemException, 732 com.liferay.portlet.social.NoSuchEquityLogException; 733 734 /** 735 * Returns all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 736 * 737 * @param assetEntryId the asset entry ID 738 * @param actionId the action ID 739 * @param actionDate the action date 740 * @param active the active 741 * @param type the type 742 * @param extraData the extra data 743 * @return the matching social equity logs 744 * @throws SystemException if a system exception occurred 745 */ 746 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T_E( 747 long assetEntryId, java.lang.String actionId, int actionDate, 748 boolean active, int type, java.lang.String extraData) 749 throws com.liferay.portal.kernel.exception.SystemException; 750 751 /** 752 * Returns a range of all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 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 assetEntryId the asset entry ID 759 * @param actionId the action ID 760 * @param actionDate the action date 761 * @param active the active 762 * @param type the type 763 * @param extraData the extra data 764 * @param start the lower bound of the range of social equity logs 765 * @param end the upper bound of the range of social equity logs (not inclusive) 766 * @return the range of matching social equity logs 767 * @throws SystemException if a system exception occurred 768 */ 769 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T_E( 770 long assetEntryId, java.lang.String actionId, int actionDate, 771 boolean active, int type, java.lang.String extraData, int start, int end) 772 throws com.liferay.portal.kernel.exception.SystemException; 773 774 /** 775 * Returns an ordered range of all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 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 assetEntryId the asset entry ID 782 * @param actionId the action ID 783 * @param actionDate the action date 784 * @param active the active 785 * @param type the type 786 * @param extraData the extra data 787 * @param start the lower bound of the range of social equity logs 788 * @param end the upper bound of the range of social equity logs (not inclusive) 789 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 790 * @return the ordered range of matching social equity logs 791 * @throws SystemException if a system exception occurred 792 */ 793 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T_E( 794 long assetEntryId, java.lang.String actionId, int actionDate, 795 boolean active, int type, java.lang.String extraData, int start, 796 int end, 797 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 798 throws com.liferay.portal.kernel.exception.SystemException; 799 800 /** 801 * Returns the first social equity log in the ordered set where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 802 * 803 * <p> 804 * 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. 805 * </p> 806 * 807 * @param assetEntryId the asset entry ID 808 * @param actionId the action ID 809 * @param actionDate the action date 810 * @param active the active 811 * @param type the type 812 * @param extraData the extra data 813 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 814 * @return the first matching social equity log 815 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 816 * @throws SystemException if a system exception occurred 817 */ 818 public com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_AD_A_T_E_First( 819 long assetEntryId, java.lang.String actionId, int actionDate, 820 boolean active, int type, java.lang.String extraData, 821 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 822 throws com.liferay.portal.kernel.exception.SystemException, 823 com.liferay.portlet.social.NoSuchEquityLogException; 824 825 /** 826 * Returns the last social equity log in the ordered set where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 827 * 828 * <p> 829 * 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. 830 * </p> 831 * 832 * @param assetEntryId the asset entry ID 833 * @param actionId the action ID 834 * @param actionDate the action date 835 * @param active the active 836 * @param type the type 837 * @param extraData the extra data 838 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 839 * @return the last matching social equity log 840 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 841 * @throws SystemException if a system exception occurred 842 */ 843 public com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_AD_A_T_E_Last( 844 long assetEntryId, java.lang.String actionId, int actionDate, 845 boolean active, int type, java.lang.String extraData, 846 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 847 throws com.liferay.portal.kernel.exception.SystemException, 848 com.liferay.portlet.social.NoSuchEquityLogException; 849 850 /** 851 * Returns 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 = ?. 852 * 853 * <p> 854 * 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. 855 * </p> 856 * 857 * @param equityLogId the primary key of the current social equity log 858 * @param assetEntryId the asset entry ID 859 * @param actionId the action ID 860 * @param actionDate the action date 861 * @param active the active 862 * @param type the type 863 * @param extraData the extra data 864 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 865 * @return the previous, current, and next social equity log 866 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found 867 * @throws SystemException if a system exception occurred 868 */ 869 public com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_AID_AD_A_T_E_PrevAndNext( 870 long equityLogId, long assetEntryId, java.lang.String actionId, 871 int actionDate, boolean active, int type, java.lang.String extraData, 872 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 873 throws com.liferay.portal.kernel.exception.SystemException, 874 com.liferay.portlet.social.NoSuchEquityLogException; 875 876 /** 877 * Returns 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. 878 * 879 * @param userId the user ID 880 * @param assetEntryId the asset entry ID 881 * @param actionId the action ID 882 * @param actionDate the action date 883 * @param active the active 884 * @param type the type 885 * @param extraData the extra data 886 * @return the matching social equity log 887 * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found 888 * @throws SystemException if a system exception occurred 889 */ 890 public com.liferay.portlet.social.model.SocialEquityLog findByU_AEI_AID_AD_A_T_E( 891 long userId, long assetEntryId, java.lang.String actionId, 892 int actionDate, boolean active, int type, java.lang.String extraData) 893 throws com.liferay.portal.kernel.exception.SystemException, 894 com.liferay.portlet.social.NoSuchEquityLogException; 895 896 /** 897 * Returns 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. 898 * 899 * @param userId the user ID 900 * @param assetEntryId the asset entry ID 901 * @param actionId the action ID 902 * @param actionDate the action date 903 * @param active the active 904 * @param type the type 905 * @param extraData the extra data 906 * @return the matching social equity log, or <code>null</code> if a matching social equity log could not be found 907 * @throws SystemException if a system exception occurred 908 */ 909 public com.liferay.portlet.social.model.SocialEquityLog fetchByU_AEI_AID_AD_A_T_E( 910 long userId, long assetEntryId, java.lang.String actionId, 911 int actionDate, boolean active, int type, java.lang.String extraData) 912 throws com.liferay.portal.kernel.exception.SystemException; 913 914 /** 915 * Returns 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. 916 * 917 * @param userId the user ID 918 * @param assetEntryId the asset entry ID 919 * @param actionId the action ID 920 * @param actionDate the action date 921 * @param active the active 922 * @param type the type 923 * @param extraData the extra data 924 * @param retrieveFromCache whether to use the finder cache 925 * @return the matching social equity log, or <code>null</code> if a matching social equity log could not be found 926 * @throws SystemException if a system exception occurred 927 */ 928 public com.liferay.portlet.social.model.SocialEquityLog fetchByU_AEI_AID_AD_A_T_E( 929 long userId, long assetEntryId, java.lang.String actionId, 930 int actionDate, boolean active, int type, java.lang.String extraData, 931 boolean retrieveFromCache) 932 throws com.liferay.portal.kernel.exception.SystemException; 933 934 /** 935 * Returns all the social equity logs. 936 * 937 * @return the social equity logs 938 * @throws SystemException if a system exception occurred 939 */ 940 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll() 941 throws com.liferay.portal.kernel.exception.SystemException; 942 943 /** 944 * Returns a range of all the social equity logs. 945 * 946 * <p> 947 * 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. 948 * </p> 949 * 950 * @param start the lower bound of the range of social equity logs 951 * @param end the upper bound of the range of social equity logs (not inclusive) 952 * @return the range of social equity logs 953 * @throws SystemException if a system exception occurred 954 */ 955 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll( 956 int start, int end) 957 throws com.liferay.portal.kernel.exception.SystemException; 958 959 /** 960 * Returns an ordered range of all the social equity logs. 961 * 962 * <p> 963 * 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. 964 * </p> 965 * 966 * @param start the lower bound of the range of social equity logs 967 * @param end the upper bound of the range of social equity logs (not inclusive) 968 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 969 * @return the ordered range of social equity logs 970 * @throws SystemException if a system exception occurred 971 */ 972 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll( 973 int start, int end, 974 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 975 throws com.liferay.portal.kernel.exception.SystemException; 976 977 /** 978 * Removes all the social equity logs where userId = ? from the database. 979 * 980 * @param userId the user ID 981 * @throws SystemException if a system exception occurred 982 */ 983 public void removeByUserId(long userId) 984 throws com.liferay.portal.kernel.exception.SystemException; 985 986 /** 987 * Removes all the social equity logs where assetEntryId = ? and type = ? and active = ? from the database. 988 * 989 * @param assetEntryId the asset entry ID 990 * @param type the type 991 * @param active the active 992 * @throws SystemException if a system exception occurred 993 */ 994 public void removeByAEI_T_A(long assetEntryId, int type, boolean active) 995 throws com.liferay.portal.kernel.exception.SystemException; 996 997 /** 998 * Removes all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ? from the database. 999 * 1000 * @param assetEntryId the asset entry ID 1001 * @param actionId the action ID 1002 * @param active the active 1003 * @param extraData the extra data 1004 * @throws SystemException if a system exception occurred 1005 */ 1006 public void removeByAEI_AID_A_E(long assetEntryId, 1007 java.lang.String actionId, boolean active, java.lang.String extraData) 1008 throws com.liferay.portal.kernel.exception.SystemException; 1009 1010 /** 1011 * Removes all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ? from the database. 1012 * 1013 * @param userId the user ID 1014 * @param assetEntryId the asset entry ID 1015 * @param actionId the action ID 1016 * @param active the active 1017 * @param extraData the extra data 1018 * @throws SystemException if a system exception occurred 1019 */ 1020 public void removeByU_AEI_AID_A_E(long userId, long assetEntryId, 1021 java.lang.String actionId, boolean active, java.lang.String extraData) 1022 throws com.liferay.portal.kernel.exception.SystemException; 1023 1024 /** 1025 * Removes all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? from the database. 1026 * 1027 * @param userId the user ID 1028 * @param actionId the action ID 1029 * @param actionDate the action date 1030 * @param active the active 1031 * @param type the type 1032 * @param extraData the extra data 1033 * @throws SystemException if a system exception occurred 1034 */ 1035 public void removeByU_AID_AD_A_T_E(long userId, java.lang.String actionId, 1036 int actionDate, boolean active, int type, java.lang.String extraData) 1037 throws com.liferay.portal.kernel.exception.SystemException; 1038 1039 /** 1040 * Removes all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? from the database. 1041 * 1042 * @param assetEntryId the asset entry ID 1043 * @param actionId the action ID 1044 * @param actionDate the action date 1045 * @param active the active 1046 * @param type the type 1047 * @param extraData the extra data 1048 * @throws SystemException if a system exception occurred 1049 */ 1050 public void removeByAEI_AID_AD_A_T_E(long assetEntryId, 1051 java.lang.String actionId, int actionDate, boolean active, int type, 1052 java.lang.String extraData) 1053 throws com.liferay.portal.kernel.exception.SystemException; 1054 1055 /** 1056 * Removes the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? from the database. 1057 * 1058 * @param userId the user ID 1059 * @param assetEntryId the asset entry ID 1060 * @param actionId the action ID 1061 * @param actionDate the action date 1062 * @param active the active 1063 * @param type the type 1064 * @param extraData the extra data 1065 * @throws SystemException if a system exception occurred 1066 */ 1067 public void removeByU_AEI_AID_AD_A_T_E(long userId, long assetEntryId, 1068 java.lang.String actionId, int actionDate, boolean active, int type, 1069 java.lang.String extraData) 1070 throws com.liferay.portal.kernel.exception.SystemException, 1071 com.liferay.portlet.social.NoSuchEquityLogException; 1072 1073 /** 1074 * Removes all the social equity logs from the database. 1075 * 1076 * @throws SystemException if a system exception occurred 1077 */ 1078 public void removeAll() 1079 throws com.liferay.portal.kernel.exception.SystemException; 1080 1081 /** 1082 * Returns the number of social equity logs where userId = ?. 1083 * 1084 * @param userId the user ID 1085 * @return the number of matching social equity logs 1086 * @throws SystemException if a system exception occurred 1087 */ 1088 public int countByUserId(long userId) 1089 throws com.liferay.portal.kernel.exception.SystemException; 1090 1091 /** 1092 * Returns the number of social equity logs where assetEntryId = ? and type = ? and active = ?. 1093 * 1094 * @param assetEntryId the asset entry ID 1095 * @param type the type 1096 * @param active the active 1097 * @return the number of matching social equity logs 1098 * @throws SystemException if a system exception occurred 1099 */ 1100 public int countByAEI_T_A(long assetEntryId, int type, boolean active) 1101 throws com.liferay.portal.kernel.exception.SystemException; 1102 1103 /** 1104 * Returns the number of social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 1105 * 1106 * @param assetEntryId the asset entry ID 1107 * @param actionId the action ID 1108 * @param active the active 1109 * @param extraData the extra data 1110 * @return the number of matching social equity logs 1111 * @throws SystemException if a system exception occurred 1112 */ 1113 public int countByAEI_AID_A_E(long assetEntryId, java.lang.String actionId, 1114 boolean active, java.lang.String extraData) 1115 throws com.liferay.portal.kernel.exception.SystemException; 1116 1117 /** 1118 * Returns the number of social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 1119 * 1120 * @param userId the user ID 1121 * @param assetEntryId the asset entry ID 1122 * @param actionId the action ID 1123 * @param active the active 1124 * @param extraData the extra data 1125 * @return the number of matching social equity logs 1126 * @throws SystemException if a system exception occurred 1127 */ 1128 public int countByU_AEI_AID_A_E(long userId, long assetEntryId, 1129 java.lang.String actionId, boolean active, java.lang.String extraData) 1130 throws com.liferay.portal.kernel.exception.SystemException; 1131 1132 /** 1133 * Returns the number of social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 1134 * 1135 * @param userId the user ID 1136 * @param actionId the action ID 1137 * @param actionDate the action date 1138 * @param active the active 1139 * @param type the type 1140 * @param extraData the extra data 1141 * @return the number of matching social equity logs 1142 * @throws SystemException if a system exception occurred 1143 */ 1144 public int countByU_AID_AD_A_T_E(long userId, java.lang.String actionId, 1145 int actionDate, boolean active, int type, java.lang.String extraData) 1146 throws com.liferay.portal.kernel.exception.SystemException; 1147 1148 /** 1149 * Returns the number of social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 1150 * 1151 * @param assetEntryId the asset entry ID 1152 * @param actionId the action ID 1153 * @param actionDate the action date 1154 * @param active the active 1155 * @param type the type 1156 * @param extraData the extra data 1157 * @return the number of matching social equity logs 1158 * @throws SystemException if a system exception occurred 1159 */ 1160 public int countByAEI_AID_AD_A_T_E(long assetEntryId, 1161 java.lang.String actionId, int actionDate, boolean active, int type, 1162 java.lang.String extraData) 1163 throws com.liferay.portal.kernel.exception.SystemException; 1164 1165 /** 1166 * Returns the number of social equity logs where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 1167 * 1168 * @param userId the user ID 1169 * @param assetEntryId the asset entry ID 1170 * @param actionId the action ID 1171 * @param actionDate the action date 1172 * @param active the active 1173 * @param type the type 1174 * @param extraData the extra data 1175 * @return the number of matching social equity logs 1176 * @throws SystemException if a system exception occurred 1177 */ 1178 public int countByU_AEI_AID_AD_A_T_E(long userId, long assetEntryId, 1179 java.lang.String actionId, int actionDate, boolean active, int type, 1180 java.lang.String extraData) 1181 throws com.liferay.portal.kernel.exception.SystemException; 1182 1183 /** 1184 * Returns the number of social equity logs. 1185 * 1186 * @return the number of social equity logs 1187 * @throws SystemException if a system exception occurred 1188 */ 1189 public int countAll() 1190 throws com.liferay.portal.kernel.exception.SystemException; 1191 1192 public SocialEquityLog remove(SocialEquityLog socialEquityLog) 1193 throws SystemException; 1194 }