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.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 to cache 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 to cache 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 to remove 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 * Finds 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 to find 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 * Finds 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 to find 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 * Finds all the social equity logs where userId = ?. 110 * 111 * @param userId the user ID to search with 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 * Finds 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 to search with 126 * @param start the lower bound of the range of social equity logs to return 127 * @param end the upper bound of the range of social equity logs to return (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 * Finds 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 to search with 143 * @param start the lower bound of the range of social equity logs to return 144 * @param end the upper bound of the range of social equity logs to return (not inclusive) 145 * @param orderByComparator the comparator to order the results by 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 * Finds 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 to search with 162 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 181 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 201 * @param orderByComparator the comparator to order the set by 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 * Finds all the social equity logs where assetEntryId = ? and type = ? and active = ?. 214 * 215 * @param assetEntryId the asset entry ID to search with 216 * @param type the type to search with 217 * @param active the active to search with 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 * Finds 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 to search with 233 * @param type the type to search with 234 * @param active the active to search with 235 * @param start the lower bound of the range of social equity logs to return 236 * @param end the upper bound of the range of social equity logs to return (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 * Finds 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 to search with 252 * @param type the type to search with 253 * @param active the active to search with 254 * @param start the lower bound of the range of social equity logs to return 255 * @param end the upper bound of the range of social equity logs to return (not inclusive) 256 * @param orderByComparator the comparator to order the results by 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 * Finds 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 to search with 273 * @param type the type to search with 274 * @param active the active to search with 275 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 294 * @param type the type to search with 295 * @param active the active to search with 296 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 316 * @param type the type to search with 317 * @param active the active to search with 318 * @param orderByComparator the comparator to order the set by 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 * Finds all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 331 * 332 * @param assetEntryId the asset entry ID to search with 333 * @param actionId the action ID to search with 334 * @param active the active to search with 335 * @param extraData the extra data to search with 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 * Finds 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 to search with 352 * @param actionId the action ID to search with 353 * @param active the active to search with 354 * @param extraData the extra data to search with 355 * @param start the lower bound of the range of social equity logs to return 356 * @param end the upper bound of the range of social equity logs to return (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 * Finds 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 to search with 373 * @param actionId the action ID to search with 374 * @param active the active to search with 375 * @param extraData the extra data to search with 376 * @param start the lower bound of the range of social equity logs to return 377 * @param end the upper bound of the range of social equity logs to return (not inclusive) 378 * @param orderByComparator the comparator to order the results by 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 * Finds 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 to search with 396 * @param actionId the action ID to search with 397 * @param active the active to search with 398 * @param extraData the extra data to search with 399 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 419 * @param actionId the action ID to search with 420 * @param active the active to search with 421 * @param extraData the extra data to search with 422 * @param orderByComparator the comparator to order the set by 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 * 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 = ?. 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 to search with 443 * @param actionId the action ID to search with 444 * @param active the active to search with 445 * @param extraData the extra data to search with 446 * @param orderByComparator the comparator to order the set by 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 * Finds all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 460 * 461 * @param userId the user ID to search with 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 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 * Finds 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 to search with 482 * @param assetEntryId the asset entry ID to search with 483 * @param actionId the action ID to search with 484 * @param active the active to search with 485 * @param extraData the extra data to search with 486 * @param start the lower bound of the range of social equity logs to return 487 * @param end the upper bound of the range of social equity logs to return (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 * Finds 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 to search with 504 * @param assetEntryId the asset entry ID to search with 505 * @param actionId the action ID to search with 506 * @param active the active to search with 507 * @param extraData the extra data to search with 508 * @param start the lower bound of the range of social equity logs to return 509 * @param end the upper bound of the range of social equity logs to return (not inclusive) 510 * @param orderByComparator the comparator to order the results by 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 * Finds 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 to search with 528 * @param assetEntryId the asset entry ID to search with 529 * @param actionId the action ID to search with 530 * @param active the active to search with 531 * @param extraData the extra data to search with 532 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 552 * @param assetEntryId the asset entry ID to search with 553 * @param actionId the action ID to search with 554 * @param active the active to search with 555 * @param extraData the extra data to search with 556 * @param orderByComparator the comparator to order the set by 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 * 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 = ?. 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 to search with 577 * @param assetEntryId the asset entry ID to search with 578 * @param actionId the action ID to search with 579 * @param active the active to search with 580 * @param extraData the extra data to search with 581 * @param orderByComparator the comparator to order the set by 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 * Finds all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 595 * 596 * @param userId the user ID to search with 597 * @param actionId the action ID to search with 598 * @param actionDate the action date to search with 599 * @param active the active to search with 600 * @param type the type to search with 601 * @param extraData the extra data to search with 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 * Finds 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 to search with 618 * @param actionId the action ID to search with 619 * @param actionDate the action date to search with 620 * @param active the active to search with 621 * @param type the type to search with 622 * @param extraData the extra data to search with 623 * @param start the lower bound of the range of social equity logs to return 624 * @param end the upper bound of the range of social equity logs to return (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 * Finds 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 to search with 641 * @param actionId the action ID to search with 642 * @param actionDate the action date to search with 643 * @param active the active to search with 644 * @param type the type to search with 645 * @param extraData the extra data to search with 646 * @param start the lower bound of the range of social equity logs to return 647 * @param end the upper bound of the range of social equity logs to return (not inclusive) 648 * @param orderByComparator the comparator to order the results by 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 * Finds 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 to search with 666 * @param actionId the action ID to search with 667 * @param actionDate the action date to search with 668 * @param active the active to search with 669 * @param type the type to search with 670 * @param extraData the extra data to search with 671 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 691 * @param actionId the action ID to search with 692 * @param actionDate the action date to search with 693 * @param active the active to search with 694 * @param type the type to search with 695 * @param extraData the extra data to search with 696 * @param orderByComparator the comparator to order the set by 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 * 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 = ?. 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 to search with 717 * @param actionId the action ID to search with 718 * @param actionDate the action date to search with 719 * @param active the active to search with 720 * @param type the type to search with 721 * @param extraData the extra data to search with 722 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 738 * @param actionId the action ID to search with 739 * @param actionDate the action date to search with 740 * @param active the active to search with 741 * @param type the type to search with 742 * @param extraData the extra data to search with 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 * Finds 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 to search with 759 * @param actionId the action ID to search with 760 * @param actionDate the action date to search with 761 * @param active the active to search with 762 * @param type the type to search with 763 * @param extraData the extra data to search with 764 * @param start the lower bound of the range of social equity logs to return 765 * @param end the upper bound of the range of social equity logs to return (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 * Finds 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 to search with 782 * @param actionId the action ID to search with 783 * @param actionDate the action date to search with 784 * @param active the active to search with 785 * @param type the type to search with 786 * @param extraData the extra data to search with 787 * @param start the lower bound of the range of social equity logs to return 788 * @param end the upper bound of the range of social equity logs to return (not inclusive) 789 * @param orderByComparator the comparator to order the results by 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 * Finds 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 to search with 808 * @param actionId the action ID to search with 809 * @param actionDate the action date to search with 810 * @param active the active to search with 811 * @param type the type to search with 812 * @param extraData the extra data to search with 813 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 833 * @param actionId the action ID to search with 834 * @param actionDate the action date to search with 835 * @param active the active to search with 836 * @param type the type to search with 837 * @param extraData the extra data to search with 838 * @param orderByComparator the comparator to order the set by 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 * 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 = ?. 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 to search with 859 * @param actionId the action ID to search with 860 * @param actionDate the action date to search with 861 * @param active the active to search with 862 * @param type the type to search with 863 * @param extraData the extra data to search with 864 * @param orderByComparator the comparator to order the set by 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 * 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. 878 * 879 * @param userId the user ID to search with 880 * @param assetEntryId the asset entry ID to search with 881 * @param actionId the action ID to search with 882 * @param actionDate the action date to search with 883 * @param active the active to search with 884 * @param type the type to search with 885 * @param extraData the extra data to search with 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 * 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. 898 * 899 * @param userId the user ID to search with 900 * @param assetEntryId the asset entry ID to search with 901 * @param actionId the action ID to search with 902 * @param actionDate the action date to search with 903 * @param active the active to search with 904 * @param type the type to search with 905 * @param extraData the extra data to search with 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 * 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. 916 * 917 * @param userId the user ID to search with 918 * @param assetEntryId the asset entry ID to search with 919 * @param actionId the action ID to search with 920 * @param actionDate the action date to search with 921 * @param active the active to search with 922 * @param type the type to search with 923 * @param extraData the extra data to search with 924 * @return the matching social equity log, or <code>null</code> if a matching social equity log could not be found 925 * @throws SystemException if a system exception occurred 926 */ 927 public com.liferay.portlet.social.model.SocialEquityLog fetchByU_AEI_AID_AD_A_T_E( 928 long userId, long assetEntryId, java.lang.String actionId, 929 int actionDate, boolean active, int type, java.lang.String extraData, 930 boolean retrieveFromCache) 931 throws com.liferay.portal.kernel.exception.SystemException; 932 933 /** 934 * Finds all the social equity logs. 935 * 936 * @return the social equity logs 937 * @throws SystemException if a system exception occurred 938 */ 939 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll() 940 throws com.liferay.portal.kernel.exception.SystemException; 941 942 /** 943 * Finds a range of all the social equity logs. 944 * 945 * <p> 946 * 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. 947 * </p> 948 * 949 * @param start the lower bound of the range of social equity logs to return 950 * @param end the upper bound of the range of social equity logs to return (not inclusive) 951 * @return the range of social equity logs 952 * @throws SystemException if a system exception occurred 953 */ 954 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll( 955 int start, int end) 956 throws com.liferay.portal.kernel.exception.SystemException; 957 958 /** 959 * Finds an ordered range of all the social equity logs. 960 * 961 * <p> 962 * 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. 963 * </p> 964 * 965 * @param start the lower bound of the range of social equity logs to return 966 * @param end the upper bound of the range of social equity logs to return (not inclusive) 967 * @param orderByComparator the comparator to order the results by 968 * @return the ordered range of social equity logs 969 * @throws SystemException if a system exception occurred 970 */ 971 public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll( 972 int start, int end, 973 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 974 throws com.liferay.portal.kernel.exception.SystemException; 975 976 /** 977 * Removes all the social equity logs where userId = ? from the database. 978 * 979 * @param userId the user ID to search with 980 * @throws SystemException if a system exception occurred 981 */ 982 public void removeByUserId(long userId) 983 throws com.liferay.portal.kernel.exception.SystemException; 984 985 /** 986 * Removes all the social equity logs where assetEntryId = ? and type = ? and active = ? from the database. 987 * 988 * @param assetEntryId the asset entry ID to search with 989 * @param type the type to search with 990 * @param active the active to search with 991 * @throws SystemException if a system exception occurred 992 */ 993 public void removeByAEI_T_A(long assetEntryId, int type, boolean active) 994 throws com.liferay.portal.kernel.exception.SystemException; 995 996 /** 997 * Removes all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ? from the database. 998 * 999 * @param assetEntryId the asset entry ID to search with 1000 * @param actionId the action ID to search with 1001 * @param active the active to search with 1002 * @param extraData the extra data to search with 1003 * @throws SystemException if a system exception occurred 1004 */ 1005 public void removeByAEI_AID_A_E(long assetEntryId, 1006 java.lang.String actionId, boolean active, java.lang.String extraData) 1007 throws com.liferay.portal.kernel.exception.SystemException; 1008 1009 /** 1010 * Removes all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ? from the database. 1011 * 1012 * @param userId the user ID to search with 1013 * @param assetEntryId the asset entry ID to search with 1014 * @param actionId the action ID to search with 1015 * @param active the active to search with 1016 * @param extraData the extra data to search with 1017 * @throws SystemException if a system exception occurred 1018 */ 1019 public void removeByU_AEI_AID_A_E(long userId, long assetEntryId, 1020 java.lang.String actionId, boolean active, java.lang.String extraData) 1021 throws com.liferay.portal.kernel.exception.SystemException; 1022 1023 /** 1024 * Removes all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? from the database. 1025 * 1026 * @param userId the user ID to search with 1027 * @param actionId the action ID to search with 1028 * @param actionDate the action date to search with 1029 * @param active the active to search with 1030 * @param type the type to search with 1031 * @param extraData the extra data to search with 1032 * @throws SystemException if a system exception occurred 1033 */ 1034 public void removeByU_AID_AD_A_T_E(long userId, java.lang.String actionId, 1035 int actionDate, boolean active, int type, java.lang.String extraData) 1036 throws com.liferay.portal.kernel.exception.SystemException; 1037 1038 /** 1039 * Removes all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? from the database. 1040 * 1041 * @param assetEntryId the asset entry ID to search with 1042 * @param actionId the action ID to search with 1043 * @param actionDate the action date to search with 1044 * @param active the active to search with 1045 * @param type the type to search with 1046 * @param extraData the extra data to search with 1047 * @throws SystemException if a system exception occurred 1048 */ 1049 public void removeByAEI_AID_AD_A_T_E(long assetEntryId, 1050 java.lang.String actionId, int actionDate, boolean active, int type, 1051 java.lang.String extraData) 1052 throws com.liferay.portal.kernel.exception.SystemException; 1053 1054 /** 1055 * Removes the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? from the database. 1056 * 1057 * @param userId the user ID to search with 1058 * @param assetEntryId the asset entry ID to search with 1059 * @param actionId the action ID to search with 1060 * @param actionDate the action date to search with 1061 * @param active the active to search with 1062 * @param type the type to search with 1063 * @param extraData the extra data to search with 1064 * @throws SystemException if a system exception occurred 1065 */ 1066 public void removeByU_AEI_AID_AD_A_T_E(long userId, long assetEntryId, 1067 java.lang.String actionId, int actionDate, boolean active, int type, 1068 java.lang.String extraData) 1069 throws com.liferay.portal.kernel.exception.SystemException, 1070 com.liferay.portlet.social.NoSuchEquityLogException; 1071 1072 /** 1073 * Removes all the social equity logs from the database. 1074 * 1075 * @throws SystemException if a system exception occurred 1076 */ 1077 public void removeAll() 1078 throws com.liferay.portal.kernel.exception.SystemException; 1079 1080 /** 1081 * Counts all the social equity logs where userId = ?. 1082 * 1083 * @param userId the user ID to search with 1084 * @return the number of matching social equity logs 1085 * @throws SystemException if a system exception occurred 1086 */ 1087 public int countByUserId(long userId) 1088 throws com.liferay.portal.kernel.exception.SystemException; 1089 1090 /** 1091 * Counts all the social equity logs where assetEntryId = ? and type = ? and active = ?. 1092 * 1093 * @param assetEntryId the asset entry ID to search with 1094 * @param type the type to search with 1095 * @param active the active to search with 1096 * @return the number of matching social equity logs 1097 * @throws SystemException if a system exception occurred 1098 */ 1099 public int countByAEI_T_A(long assetEntryId, int type, boolean active) 1100 throws com.liferay.portal.kernel.exception.SystemException; 1101 1102 /** 1103 * Counts all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 1104 * 1105 * @param assetEntryId the asset entry ID to search with 1106 * @param actionId the action ID to search with 1107 * @param active the active to search with 1108 * @param extraData the extra data to search with 1109 * @return the number of matching social equity logs 1110 * @throws SystemException if a system exception occurred 1111 */ 1112 public int countByAEI_AID_A_E(long assetEntryId, java.lang.String actionId, 1113 boolean active, java.lang.String extraData) 1114 throws com.liferay.portal.kernel.exception.SystemException; 1115 1116 /** 1117 * Counts all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. 1118 * 1119 * @param userId the user ID to search with 1120 * @param assetEntryId the asset entry ID to search with 1121 * @param actionId the action ID to search with 1122 * @param active the active to search with 1123 * @param extraData the extra data to search with 1124 * @return the number of matching social equity logs 1125 * @throws SystemException if a system exception occurred 1126 */ 1127 public int countByU_AEI_AID_A_E(long userId, long assetEntryId, 1128 java.lang.String actionId, boolean active, java.lang.String extraData) 1129 throws com.liferay.portal.kernel.exception.SystemException; 1130 1131 /** 1132 * Counts all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 1133 * 1134 * @param userId the user ID to search with 1135 * @param actionId the action ID to search with 1136 * @param actionDate the action date to search with 1137 * @param active the active to search with 1138 * @param type the type to search with 1139 * @param extraData the extra data to search with 1140 * @return the number of matching social equity logs 1141 * @throws SystemException if a system exception occurred 1142 */ 1143 public int countByU_AID_AD_A_T_E(long userId, java.lang.String actionId, 1144 int actionDate, boolean active, int type, java.lang.String extraData) 1145 throws com.liferay.portal.kernel.exception.SystemException; 1146 1147 /** 1148 * Counts all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 1149 * 1150 * @param assetEntryId the asset entry ID to search with 1151 * @param actionId the action ID to search with 1152 * @param actionDate the action date to search with 1153 * @param active the active to search with 1154 * @param type the type to search with 1155 * @param extraData the extra data to search with 1156 * @return the number of matching social equity logs 1157 * @throws SystemException if a system exception occurred 1158 */ 1159 public int countByAEI_AID_AD_A_T_E(long assetEntryId, 1160 java.lang.String actionId, int actionDate, boolean active, int type, 1161 java.lang.String extraData) 1162 throws com.liferay.portal.kernel.exception.SystemException; 1163 1164 /** 1165 * Counts all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. 1166 * 1167 * @param userId the user ID to search with 1168 * @param assetEntryId the asset entry ID to search with 1169 * @param actionId the action ID to search with 1170 * @param actionDate the action date to search with 1171 * @param active the active to search with 1172 * @param type the type to search with 1173 * @param extraData the extra data to search with 1174 * @return the number of matching social equity logs 1175 * @throws SystemException if a system exception occurred 1176 */ 1177 public int countByU_AEI_AID_AD_A_T_E(long userId, long assetEntryId, 1178 java.lang.String actionId, int actionDate, boolean active, int type, 1179 java.lang.String extraData) 1180 throws com.liferay.portal.kernel.exception.SystemException; 1181 1182 /** 1183 * Counts all the social equity logs. 1184 * 1185 * @return the number of social equity logs 1186 * @throws SystemException if a system exception occurred 1187 */ 1188 public int countAll() 1189 throws com.liferay.portal.kernel.exception.SystemException; 1190 1191 public SocialEquityLog remove(SocialEquityLog socialEquityLog) 1192 throws SystemException; 1193 }