001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.social.service.persistence;
016    
017    import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
019    import com.liferay.portal.kernel.exception.SystemException;
020    import com.liferay.portal.kernel.util.OrderByComparator;
021    import com.liferay.portal.service.ServiceContext;
022    
023    import com.liferay.portlet.social.model.SocialEquityLog;
024    
025    import java.util.List;
026    
027    /**
028     * The persistence utility for the social equity log service. This utility wraps {@link SocialEquityLogPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
029     *
030     * <p>
031     * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class.
032     * </p>
033     *
034     * <p>
035     * Caching information and settings can be found in <code>portal.properties</code>
036     * </p>
037     *
038     * @author Brian Wing Shun Chan
039     * @see SocialEquityLogPersistence
040     * @see SocialEquityLogPersistenceImpl
041     * @generated
042     */
043    public class SocialEquityLogUtil {
044            /**
045             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
046             */
047            public static void clearCache() {
048                    getPersistence().clearCache();
049            }
050    
051            /**
052             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
053             */
054            public static void clearCache(SocialEquityLog socialEquityLog) {
055                    getPersistence().clearCache(socialEquityLog);
056            }
057    
058            /**
059             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
060             */
061            public long countWithDynamicQuery(DynamicQuery dynamicQuery)
062                    throws SystemException {
063                    return getPersistence().countWithDynamicQuery(dynamicQuery);
064            }
065    
066            /**
067             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
068             */
069            public static List<SocialEquityLog> findWithDynamicQuery(
070                    DynamicQuery dynamicQuery) throws SystemException {
071                    return getPersistence().findWithDynamicQuery(dynamicQuery);
072            }
073    
074            /**
075             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
076             */
077            public static List<SocialEquityLog> findWithDynamicQuery(
078                    DynamicQuery dynamicQuery, int start, int end)
079                    throws SystemException {
080                    return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
081            }
082    
083            /**
084             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
085             */
086            public static List<SocialEquityLog> findWithDynamicQuery(
087                    DynamicQuery dynamicQuery, int start, int end,
088                    OrderByComparator orderByComparator) throws SystemException {
089                    return getPersistence()
090                                       .findWithDynamicQuery(dynamicQuery, start, end,
091                            orderByComparator);
092            }
093    
094            /**
095             * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
096             */
097            public static SocialEquityLog remove(SocialEquityLog socialEquityLog)
098                    throws SystemException {
099                    return getPersistence().remove(socialEquityLog);
100            }
101    
102            /**
103             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
104             */
105            public static SocialEquityLog update(SocialEquityLog socialEquityLog,
106                    boolean merge) throws SystemException {
107                    return getPersistence().update(socialEquityLog, merge);
108            }
109    
110            /**
111             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
112             */
113            public static SocialEquityLog update(SocialEquityLog socialEquityLog,
114                    boolean merge, ServiceContext serviceContext) throws SystemException {
115                    return getPersistence().update(socialEquityLog, merge, serviceContext);
116            }
117    
118            /**
119            * Caches the social equity log in the entity cache if it is enabled.
120            *
121            * @param socialEquityLog the social equity log to cache
122            */
123            public static void cacheResult(
124                    com.liferay.portlet.social.model.SocialEquityLog socialEquityLog) {
125                    getPersistence().cacheResult(socialEquityLog);
126            }
127    
128            /**
129            * Caches the social equity logs in the entity cache if it is enabled.
130            *
131            * @param socialEquityLogs the social equity logs to cache
132            */
133            public static void cacheResult(
134                    java.util.List<com.liferay.portlet.social.model.SocialEquityLog> socialEquityLogs) {
135                    getPersistence().cacheResult(socialEquityLogs);
136            }
137    
138            /**
139            * Creates a new social equity log with the primary key. Does not add the social equity log to the database.
140            *
141            * @param equityLogId the primary key for the new social equity log
142            * @return the new social equity log
143            */
144            public static com.liferay.portlet.social.model.SocialEquityLog create(
145                    long equityLogId) {
146                    return getPersistence().create(equityLogId);
147            }
148    
149            /**
150            * Removes the social equity log with the primary key from the database. Also notifies the appropriate model listeners.
151            *
152            * @param equityLogId the primary key of the social equity log to remove
153            * @return the social equity log that was removed
154            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found
155            * @throws SystemException if a system exception occurred
156            */
157            public static com.liferay.portlet.social.model.SocialEquityLog remove(
158                    long equityLogId)
159                    throws com.liferay.portal.kernel.exception.SystemException,
160                            com.liferay.portlet.social.NoSuchEquityLogException {
161                    return getPersistence().remove(equityLogId);
162            }
163    
164            public static com.liferay.portlet.social.model.SocialEquityLog updateImpl(
165                    com.liferay.portlet.social.model.SocialEquityLog socialEquityLog,
166                    boolean merge)
167                    throws com.liferay.portal.kernel.exception.SystemException {
168                    return getPersistence().updateImpl(socialEquityLog, merge);
169            }
170    
171            /**
172            * Finds the social equity log with the primary key or throws a {@link com.liferay.portlet.social.NoSuchEquityLogException} if it could not be found.
173            *
174            * @param equityLogId the primary key of the social equity log to find
175            * @return the social equity log
176            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found
177            * @throws SystemException if a system exception occurred
178            */
179            public static com.liferay.portlet.social.model.SocialEquityLog findByPrimaryKey(
180                    long equityLogId)
181                    throws com.liferay.portal.kernel.exception.SystemException,
182                            com.liferay.portlet.social.NoSuchEquityLogException {
183                    return getPersistence().findByPrimaryKey(equityLogId);
184            }
185    
186            /**
187            * Finds the social equity log with the primary key or returns <code>null</code> if it could not be found.
188            *
189            * @param equityLogId the primary key of the social equity log to find
190            * @return the social equity log, or <code>null</code> if a social equity log with the primary key could not be found
191            * @throws SystemException if a system exception occurred
192            */
193            public static com.liferay.portlet.social.model.SocialEquityLog fetchByPrimaryKey(
194                    long equityLogId)
195                    throws com.liferay.portal.kernel.exception.SystemException {
196                    return getPersistence().fetchByPrimaryKey(equityLogId);
197            }
198    
199            /**
200            * Finds all the social equity logs where assetEntryId = &#63; and type = &#63; and active = &#63;.
201            *
202            * @param assetEntryId the asset entry id to search with
203            * @param type the type to search with
204            * @param active the active to search with
205            * @return the matching social equity logs
206            * @throws SystemException if a system exception occurred
207            */
208            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A(
209                    long assetEntryId, int type, boolean active)
210                    throws com.liferay.portal.kernel.exception.SystemException {
211                    return getPersistence().findByAEI_T_A(assetEntryId, type, active);
212            }
213    
214            /**
215            * Finds a range of all the social equity logs where assetEntryId = &#63; and type = &#63; and active = &#63;.
216            *
217            * <p>
218            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
219            * </p>
220            *
221            * @param assetEntryId the asset entry id to search with
222            * @param type the type to search with
223            * @param active the active to search with
224            * @param start the lower bound of the range of social equity logs to return
225            * @param end the upper bound of the range of social equity logs to return (not inclusive)
226            * @return the range of matching social equity logs
227            * @throws SystemException if a system exception occurred
228            */
229            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A(
230                    long assetEntryId, int type, boolean active, int start, int end)
231                    throws com.liferay.portal.kernel.exception.SystemException {
232                    return getPersistence()
233                                       .findByAEI_T_A(assetEntryId, type, active, start, end);
234            }
235    
236            /**
237            * Finds an ordered range of all the social equity logs where assetEntryId = &#63; and type = &#63; and active = &#63;.
238            *
239            * <p>
240            * 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.
241            * </p>
242            *
243            * @param assetEntryId the asset entry id to search with
244            * @param type the type to search with
245            * @param active the active to search with
246            * @param start the lower bound of the range of social equity logs to return
247            * @param end the upper bound of the range of social equity logs to return (not inclusive)
248            * @param orderByComparator the comparator to order the results by
249            * @return the ordered range of matching social equity logs
250            * @throws SystemException if a system exception occurred
251            */
252            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A(
253                    long assetEntryId, int type, boolean active, int start, int end,
254                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
255                    throws com.liferay.portal.kernel.exception.SystemException {
256                    return getPersistence()
257                                       .findByAEI_T_A(assetEntryId, type, active, start, end,
258                            orderByComparator);
259            }
260    
261            /**
262            * Finds the first social equity log in the ordered set where assetEntryId = &#63; and type = &#63; and active = &#63;.
263            *
264            * <p>
265            * 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.
266            * </p>
267            *
268            * @param assetEntryId the asset entry id to search with
269            * @param type the type to search with
270            * @param active the active to search with
271            * @param orderByComparator the comparator to order the set by
272            * @return the first matching social equity log
273            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found
274            * @throws SystemException if a system exception occurred
275            */
276            public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_T_A_First(
277                    long assetEntryId, int type, boolean active,
278                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
279                    throws com.liferay.portal.kernel.exception.SystemException,
280                            com.liferay.portlet.social.NoSuchEquityLogException {
281                    return getPersistence()
282                                       .findByAEI_T_A_First(assetEntryId, type, active,
283                            orderByComparator);
284            }
285    
286            /**
287            * Finds the last social equity log in the ordered set where assetEntryId = &#63; and type = &#63; and active = &#63;.
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 static 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                    return getPersistence()
307                                       .findByAEI_T_A_Last(assetEntryId, type, active,
308                            orderByComparator);
309            }
310    
311            /**
312            * Finds the social equity logs before and after the current social equity log in the ordered set where assetEntryId = &#63; and type = &#63; and active = &#63;.
313            *
314            * <p>
315            * 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.
316            * </p>
317            *
318            * @param equityLogId the primary key of the current social equity log
319            * @param assetEntryId the asset entry id to search with
320            * @param type the type to search with
321            * @param active the active to search with
322            * @param orderByComparator the comparator to order the set by
323            * @return the previous, current, and next social equity log
324            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found
325            * @throws SystemException if a system exception occurred
326            */
327            public static com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_T_A_PrevAndNext(
328                    long equityLogId, long assetEntryId, int type, boolean active,
329                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
330                    throws com.liferay.portal.kernel.exception.SystemException,
331                            com.liferay.portlet.social.NoSuchEquityLogException {
332                    return getPersistence()
333                                       .findByAEI_T_A_PrevAndNext(equityLogId, assetEntryId, type,
334                            active, orderByComparator);
335            }
336    
337            /**
338            * Finds all the social equity logs where userId = &#63; and actionId = &#63; and active = &#63; and type = &#63;.
339            *
340            * @param userId the user id to search with
341            * @param actionId the action id to search with
342            * @param active the active to search with
343            * @param type the type to search with
344            * @return the matching social equity logs
345            * @throws SystemException if a system exception occurred
346            */
347            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_A_T(
348                    long userId, java.lang.String actionId, boolean active, int type)
349                    throws com.liferay.portal.kernel.exception.SystemException {
350                    return getPersistence().findByU_AID_A_T(userId, actionId, active, type);
351            }
352    
353            /**
354            * Finds a range of all the social equity logs where userId = &#63; and actionId = &#63; and active = &#63; and type = &#63;.
355            *
356            * <p>
357            * 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.
358            * </p>
359            *
360            * @param userId the user id to search with
361            * @param actionId the action id to search with
362            * @param active the active to search with
363            * @param type the type to search with
364            * @param start the lower bound of the range of social equity logs to return
365            * @param end the upper bound of the range of social equity logs to return (not inclusive)
366            * @return the range of matching social equity logs
367            * @throws SystemException if a system exception occurred
368            */
369            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_A_T(
370                    long userId, java.lang.String actionId, boolean active, int type,
371                    int start, int end)
372                    throws com.liferay.portal.kernel.exception.SystemException {
373                    return getPersistence()
374                                       .findByU_AID_A_T(userId, actionId, active, type, start, end);
375            }
376    
377            /**
378            * Finds an ordered range of all the social equity logs where userId = &#63; and actionId = &#63; and active = &#63; and type = &#63;.
379            *
380            * <p>
381            * 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.
382            * </p>
383            *
384            * @param userId the user id to search with
385            * @param actionId the action id to search with
386            * @param active the active to search with
387            * @param type the type to search with
388            * @param start the lower bound of the range of social equity logs to return
389            * @param end the upper bound of the range of social equity logs to return (not inclusive)
390            * @param orderByComparator the comparator to order the results by
391            * @return the ordered range of matching social equity logs
392            * @throws SystemException if a system exception occurred
393            */
394            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_A_T(
395                    long userId, java.lang.String actionId, boolean active, int type,
396                    int start, int end,
397                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
398                    throws com.liferay.portal.kernel.exception.SystemException {
399                    return getPersistence()
400                                       .findByU_AID_A_T(userId, actionId, active, type, start, end,
401                            orderByComparator);
402            }
403    
404            /**
405            * Finds the first social equity log in the ordered set where userId = &#63; and actionId = &#63; and active = &#63; and type = &#63;.
406            *
407            * <p>
408            * 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.
409            * </p>
410            *
411            * @param userId the user id to search with
412            * @param actionId the action id to search with
413            * @param active the active to search with
414            * @param type the type to search with
415            * @param orderByComparator the comparator to order the set by
416            * @return the first matching social equity log
417            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found
418            * @throws SystemException if a system exception occurred
419            */
420            public static com.liferay.portlet.social.model.SocialEquityLog findByU_AID_A_T_First(
421                    long userId, java.lang.String actionId, boolean active, int type,
422                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
423                    throws com.liferay.portal.kernel.exception.SystemException,
424                            com.liferay.portlet.social.NoSuchEquityLogException {
425                    return getPersistence()
426                                       .findByU_AID_A_T_First(userId, actionId, active, type,
427                            orderByComparator);
428            }
429    
430            /**
431            * Finds the last social equity log in the ordered set where userId = &#63; and actionId = &#63; and active = &#63; and type = &#63;.
432            *
433            * <p>
434            * 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.
435            * </p>
436            *
437            * @param userId the user id to search with
438            * @param actionId the action id to search with
439            * @param active the active to search with
440            * @param type the type to search with
441            * @param orderByComparator the comparator to order the set by
442            * @return the last matching social equity log
443            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found
444            * @throws SystemException if a system exception occurred
445            */
446            public static com.liferay.portlet.social.model.SocialEquityLog findByU_AID_A_T_Last(
447                    long userId, java.lang.String actionId, boolean active, int type,
448                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
449                    throws com.liferay.portal.kernel.exception.SystemException,
450                            com.liferay.portlet.social.NoSuchEquityLogException {
451                    return getPersistence()
452                                       .findByU_AID_A_T_Last(userId, actionId, active, type,
453                            orderByComparator);
454            }
455    
456            /**
457            * Finds the social equity logs before and after the current social equity log in the ordered set where userId = &#63; and actionId = &#63; and active = &#63; and type = &#63;.
458            *
459            * <p>
460            * 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.
461            * </p>
462            *
463            * @param equityLogId the primary key of the current social equity log
464            * @param userId the user id to search with
465            * @param actionId the action id to search with
466            * @param active the active to search with
467            * @param type the type to search with
468            * @param orderByComparator the comparator to order the set by
469            * @return the previous, current, and next social equity log
470            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found
471            * @throws SystemException if a system exception occurred
472            */
473            public static com.liferay.portlet.social.model.SocialEquityLog[] findByU_AID_A_T_PrevAndNext(
474                    long equityLogId, long userId, java.lang.String actionId,
475                    boolean active, int type,
476                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
477                    throws com.liferay.portal.kernel.exception.SystemException,
478                            com.liferay.portlet.social.NoSuchEquityLogException {
479                    return getPersistence()
480                                       .findByU_AID_A_T_PrevAndNext(equityLogId, userId, actionId,
481                            active, type, orderByComparator);
482            }
483    
484            /**
485            * Finds all the social equity logs where assetEntryId = &#63; and actionId = &#63; and active = &#63; and type = &#63;.
486            *
487            * @param assetEntryId the asset entry id to search with
488            * @param actionId the action id to search with
489            * @param active the active to search with
490            * @param type the type to search with
491            * @return the matching social equity logs
492            * @throws SystemException if a system exception occurred
493            */
494            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_T(
495                    long assetEntryId, java.lang.String actionId, boolean active, int type)
496                    throws com.liferay.portal.kernel.exception.SystemException {
497                    return getPersistence()
498                                       .findByAEI_AID_A_T(assetEntryId, actionId, active, type);
499            }
500    
501            /**
502            * Finds a range of all the social equity logs where assetEntryId = &#63; and actionId = &#63; and active = &#63; and type = &#63;.
503            *
504            * <p>
505            * 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.
506            * </p>
507            *
508            * @param assetEntryId the asset entry id to search with
509            * @param actionId the action id to search with
510            * @param active the active to search with
511            * @param type the type to search with
512            * @param start the lower bound of the range of social equity logs to return
513            * @param end the upper bound of the range of social equity logs to return (not inclusive)
514            * @return the range of matching social equity logs
515            * @throws SystemException if a system exception occurred
516            */
517            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_T(
518                    long assetEntryId, java.lang.String actionId, boolean active, int type,
519                    int start, int end)
520                    throws com.liferay.portal.kernel.exception.SystemException {
521                    return getPersistence()
522                                       .findByAEI_AID_A_T(assetEntryId, actionId, active, type,
523                            start, end);
524            }
525    
526            /**
527            * Finds an ordered range of all the social equity logs where assetEntryId = &#63; and actionId = &#63; and active = &#63; and type = &#63;.
528            *
529            * <p>
530            * 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.
531            * </p>
532            *
533            * @param assetEntryId the asset entry id to search with
534            * @param actionId the action id to search with
535            * @param active the active to search with
536            * @param type the type to search with
537            * @param start the lower bound of the range of social equity logs to return
538            * @param end the upper bound of the range of social equity logs to return (not inclusive)
539            * @param orderByComparator the comparator to order the results by
540            * @return the ordered range of matching social equity logs
541            * @throws SystemException if a system exception occurred
542            */
543            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_T(
544                    long assetEntryId, java.lang.String actionId, boolean active, int type,
545                    int start, int end,
546                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
547                    throws com.liferay.portal.kernel.exception.SystemException {
548                    return getPersistence()
549                                       .findByAEI_AID_A_T(assetEntryId, actionId, active, type,
550                            start, end, orderByComparator);
551            }
552    
553            /**
554            * Finds the first social equity log in the ordered set where assetEntryId = &#63; and actionId = &#63; and active = &#63; and type = &#63;.
555            *
556            * <p>
557            * 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.
558            * </p>
559            *
560            * @param assetEntryId the asset entry id to search with
561            * @param actionId the action id to search with
562            * @param active the active to search with
563            * @param type the type to search with
564            * @param orderByComparator the comparator to order the set by
565            * @return the first matching social equity log
566            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found
567            * @throws SystemException if a system exception occurred
568            */
569            public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_A_T_First(
570                    long assetEntryId, java.lang.String actionId, boolean active, int type,
571                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
572                    throws com.liferay.portal.kernel.exception.SystemException,
573                            com.liferay.portlet.social.NoSuchEquityLogException {
574                    return getPersistence()
575                                       .findByAEI_AID_A_T_First(assetEntryId, actionId, active,
576                            type, orderByComparator);
577            }
578    
579            /**
580            * Finds the last social equity log in the ordered set where assetEntryId = &#63; and actionId = &#63; and active = &#63; and type = &#63;.
581            *
582            * <p>
583            * 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.
584            * </p>
585            *
586            * @param assetEntryId the asset entry id to search with
587            * @param actionId the action id to search with
588            * @param active the active to search with
589            * @param type the type to search with
590            * @param orderByComparator the comparator to order the set by
591            * @return the last matching social equity log
592            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found
593            * @throws SystemException if a system exception occurred
594            */
595            public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_A_T_Last(
596                    long assetEntryId, java.lang.String actionId, boolean active, int type,
597                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
598                    throws com.liferay.portal.kernel.exception.SystemException,
599                            com.liferay.portlet.social.NoSuchEquityLogException {
600                    return getPersistence()
601                                       .findByAEI_AID_A_T_Last(assetEntryId, actionId, active,
602                            type, orderByComparator);
603            }
604    
605            /**
606            * Finds the social equity logs before and after the current social equity log in the ordered set where assetEntryId = &#63; and actionId = &#63; and active = &#63; and type = &#63;.
607            *
608            * <p>
609            * 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.
610            * </p>
611            *
612            * @param equityLogId the primary key of the current social equity log
613            * @param assetEntryId the asset entry id to search with
614            * @param actionId the action id to search with
615            * @param active the active to search with
616            * @param type the type to search with
617            * @param orderByComparator the comparator to order the set by
618            * @return the previous, current, and next social equity log
619            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found
620            * @throws SystemException if a system exception occurred
621            */
622            public static com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_AID_A_T_PrevAndNext(
623                    long equityLogId, long assetEntryId, java.lang.String actionId,
624                    boolean active, int type,
625                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
626                    throws com.liferay.portal.kernel.exception.SystemException,
627                            com.liferay.portlet.social.NoSuchEquityLogException {
628                    return getPersistence()
629                                       .findByAEI_AID_A_T_PrevAndNext(equityLogId, assetEntryId,
630                            actionId, active, type, orderByComparator);
631            }
632    
633            /**
634            * Finds all the social equity logs where userId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
635            *
636            * @param userId the user id to search with
637            * @param actionId the action id to search with
638            * @param actionDate the action date to search with
639            * @param active the active to search with
640            * @param type the type to search with
641            * @return the matching social equity logs
642            * @throws SystemException if a system exception occurred
643            */
644            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T(
645                    long userId, java.lang.String actionId, int actionDate, boolean active,
646                    int type) throws com.liferay.portal.kernel.exception.SystemException {
647                    return getPersistence()
648                                       .findByU_AID_AD_A_T(userId, actionId, actionDate, active,
649                            type);
650            }
651    
652            /**
653            * Finds a range of all the social equity logs where userId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
654            *
655            * <p>
656            * 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.
657            * </p>
658            *
659            * @param userId the user id to search with
660            * @param actionId the action id to search with
661            * @param actionDate the action date to search with
662            * @param active the active to search with
663            * @param type the type to search with
664            * @param start the lower bound of the range of social equity logs to return
665            * @param end the upper bound of the range of social equity logs to return (not inclusive)
666            * @return the range of matching social equity logs
667            * @throws SystemException if a system exception occurred
668            */
669            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T(
670                    long userId, java.lang.String actionId, int actionDate, boolean active,
671                    int type, int start, int end)
672                    throws com.liferay.portal.kernel.exception.SystemException {
673                    return getPersistence()
674                                       .findByU_AID_AD_A_T(userId, actionId, actionDate, active,
675                            type, start, end);
676            }
677    
678            /**
679            * Finds an ordered range of all the social equity logs where userId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
680            *
681            * <p>
682            * 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.
683            * </p>
684            *
685            * @param userId the user id to search with
686            * @param actionId the action id to search with
687            * @param actionDate the action date to search with
688            * @param active the active to search with
689            * @param type the type to search with
690            * @param start the lower bound of the range of social equity logs to return
691            * @param end the upper bound of the range of social equity logs to return (not inclusive)
692            * @param orderByComparator the comparator to order the results by
693            * @return the ordered range of matching social equity logs
694            * @throws SystemException if a system exception occurred
695            */
696            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T(
697                    long userId, java.lang.String actionId, int actionDate, boolean active,
698                    int type, int start, int end,
699                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
700                    throws com.liferay.portal.kernel.exception.SystemException {
701                    return getPersistence()
702                                       .findByU_AID_AD_A_T(userId, actionId, actionDate, active,
703                            type, start, end, orderByComparator);
704            }
705    
706            /**
707            * Finds the first social equity log in the ordered set where userId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
708            *
709            * <p>
710            * 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.
711            * </p>
712            *
713            * @param userId the user id to search with
714            * @param actionId the action id to search with
715            * @param actionDate the action date to search with
716            * @param active the active to search with
717            * @param type the type to search with
718            * @param orderByComparator the comparator to order the set by
719            * @return the first matching social equity log
720            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found
721            * @throws SystemException if a system exception occurred
722            */
723            public static com.liferay.portlet.social.model.SocialEquityLog findByU_AID_AD_A_T_First(
724                    long userId, java.lang.String actionId, int actionDate, boolean active,
725                    int type,
726                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
727                    throws com.liferay.portal.kernel.exception.SystemException,
728                            com.liferay.portlet.social.NoSuchEquityLogException {
729                    return getPersistence()
730                                       .findByU_AID_AD_A_T_First(userId, actionId, actionDate,
731                            active, type, orderByComparator);
732            }
733    
734            /**
735            * Finds the last social equity log in the ordered set where userId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
736            *
737            * <p>
738            * 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.
739            * </p>
740            *
741            * @param userId the user id to search with
742            * @param actionId the action id to search with
743            * @param actionDate the action date to search with
744            * @param active the active to search with
745            * @param type the type to search with
746            * @param orderByComparator the comparator to order the set by
747            * @return the last matching social equity log
748            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found
749            * @throws SystemException if a system exception occurred
750            */
751            public static com.liferay.portlet.social.model.SocialEquityLog findByU_AID_AD_A_T_Last(
752                    long userId, java.lang.String actionId, int actionDate, boolean active,
753                    int type,
754                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
755                    throws com.liferay.portal.kernel.exception.SystemException,
756                            com.liferay.portlet.social.NoSuchEquityLogException {
757                    return getPersistence()
758                                       .findByU_AID_AD_A_T_Last(userId, actionId, actionDate,
759                            active, type, orderByComparator);
760            }
761    
762            /**
763            * Finds the social equity logs before and after the current social equity log in the ordered set where userId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
764            *
765            * <p>
766            * 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.
767            * </p>
768            *
769            * @param equityLogId the primary key of the current social equity log
770            * @param userId the user id to search with
771            * @param actionId the action id to search with
772            * @param actionDate the action date to search with
773            * @param active the active to search with
774            * @param type the type to search with
775            * @param orderByComparator the comparator to order the set by
776            * @return the previous, current, and next social equity log
777            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found
778            * @throws SystemException if a system exception occurred
779            */
780            public static com.liferay.portlet.social.model.SocialEquityLog[] findByU_AID_AD_A_T_PrevAndNext(
781                    long equityLogId, long userId, java.lang.String actionId,
782                    int actionDate, boolean active, int type,
783                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
784                    throws com.liferay.portal.kernel.exception.SystemException,
785                            com.liferay.portlet.social.NoSuchEquityLogException {
786                    return getPersistence()
787                                       .findByU_AID_AD_A_T_PrevAndNext(equityLogId, userId,
788                            actionId, actionDate, active, type, orderByComparator);
789            }
790    
791            /**
792            * Finds all the social equity logs where assetEntryId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
793            *
794            * @param assetEntryId the asset entry id to search with
795            * @param actionId the action id to search with
796            * @param actionDate the action date to search with
797            * @param active the active to search with
798            * @param type the type to search with
799            * @return the matching social equity logs
800            * @throws SystemException if a system exception occurred
801            */
802            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T(
803                    long assetEntryId, java.lang.String actionId, int actionDate,
804                    boolean active, int type)
805                    throws com.liferay.portal.kernel.exception.SystemException {
806                    return getPersistence()
807                                       .findByAEI_AID_AD_A_T(assetEntryId, actionId, actionDate,
808                            active, type);
809            }
810    
811            /**
812            * Finds a range of all the social equity logs where assetEntryId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
813            *
814            * <p>
815            * 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.
816            * </p>
817            *
818            * @param assetEntryId the asset entry id to search with
819            * @param actionId the action id to search with
820            * @param actionDate the action date to search with
821            * @param active the active to search with
822            * @param type the type to search with
823            * @param start the lower bound of the range of social equity logs to return
824            * @param end the upper bound of the range of social equity logs to return (not inclusive)
825            * @return the range of matching social equity logs
826            * @throws SystemException if a system exception occurred
827            */
828            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T(
829                    long assetEntryId, java.lang.String actionId, int actionDate,
830                    boolean active, int type, int start, int end)
831                    throws com.liferay.portal.kernel.exception.SystemException {
832                    return getPersistence()
833                                       .findByAEI_AID_AD_A_T(assetEntryId, actionId, actionDate,
834                            active, type, start, end);
835            }
836    
837            /**
838            * Finds an ordered range of all the social equity logs where assetEntryId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
839            *
840            * <p>
841            * 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.
842            * </p>
843            *
844            * @param assetEntryId the asset entry id to search with
845            * @param actionId the action id to search with
846            * @param actionDate the action date to search with
847            * @param active the active to search with
848            * @param type the type to search with
849            * @param start the lower bound of the range of social equity logs to return
850            * @param end the upper bound of the range of social equity logs to return (not inclusive)
851            * @param orderByComparator the comparator to order the results by
852            * @return the ordered range of matching social equity logs
853            * @throws SystemException if a system exception occurred
854            */
855            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T(
856                    long assetEntryId, java.lang.String actionId, int actionDate,
857                    boolean active, int type, int start, int end,
858                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
859                    throws com.liferay.portal.kernel.exception.SystemException {
860                    return getPersistence()
861                                       .findByAEI_AID_AD_A_T(assetEntryId, actionId, actionDate,
862                            active, type, start, end, orderByComparator);
863            }
864    
865            /**
866            * Finds the first social equity log in the ordered set where assetEntryId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
867            *
868            * <p>
869            * 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.
870            * </p>
871            *
872            * @param assetEntryId the asset entry id to search with
873            * @param actionId the action id to search with
874            * @param actionDate the action date to search with
875            * @param active the active to search with
876            * @param type the type to search with
877            * @param orderByComparator the comparator to order the set by
878            * @return the first matching social equity log
879            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found
880            * @throws SystemException if a system exception occurred
881            */
882            public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_AD_A_T_First(
883                    long assetEntryId, java.lang.String actionId, int actionDate,
884                    boolean active, int type,
885                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
886                    throws com.liferay.portal.kernel.exception.SystemException,
887                            com.liferay.portlet.social.NoSuchEquityLogException {
888                    return getPersistence()
889                                       .findByAEI_AID_AD_A_T_First(assetEntryId, actionId,
890                            actionDate, active, type, orderByComparator);
891            }
892    
893            /**
894            * Finds the last social equity log in the ordered set where assetEntryId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
895            *
896            * <p>
897            * 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.
898            * </p>
899            *
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 orderByComparator the comparator to order the set by
906            * @return the last matching social equity log
907            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found
908            * @throws SystemException if a system exception occurred
909            */
910            public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_AD_A_T_Last(
911                    long assetEntryId, java.lang.String actionId, int actionDate,
912                    boolean active, int type,
913                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
914                    throws com.liferay.portal.kernel.exception.SystemException,
915                            com.liferay.portlet.social.NoSuchEquityLogException {
916                    return getPersistence()
917                                       .findByAEI_AID_AD_A_T_Last(assetEntryId, actionId,
918                            actionDate, active, type, orderByComparator);
919            }
920    
921            /**
922            * Finds the social equity logs before and after the current social equity log in the ordered set where assetEntryId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
923            *
924            * <p>
925            * 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.
926            * </p>
927            *
928            * @param equityLogId the primary key of the current social equity log
929            * @param assetEntryId the asset entry id to search with
930            * @param actionId the action id to search with
931            * @param actionDate the action date to search with
932            * @param active the active to search with
933            * @param type the type to search with
934            * @param orderByComparator the comparator to order the set by
935            * @return the previous, current, and next social equity log
936            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a social equity log with the primary key could not be found
937            * @throws SystemException if a system exception occurred
938            */
939            public static com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_AID_AD_A_T_PrevAndNext(
940                    long equityLogId, long assetEntryId, java.lang.String actionId,
941                    int actionDate, boolean active, int type,
942                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
943                    throws com.liferay.portal.kernel.exception.SystemException,
944                            com.liferay.portlet.social.NoSuchEquityLogException {
945                    return getPersistence()
946                                       .findByAEI_AID_AD_A_T_PrevAndNext(equityLogId, assetEntryId,
947                            actionId, actionDate, active, type, orderByComparator);
948            }
949    
950            /**
951            * Finds the social equity log where userId = &#63; and assetEntryId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63; or throws a {@link com.liferay.portlet.social.NoSuchEquityLogException} if it could not be found.
952            *
953            * @param userId the user id to search with
954            * @param assetEntryId the asset entry id to search with
955            * @param actionId the action id to search with
956            * @param actionDate the action date to search with
957            * @param active the active to search with
958            * @param type the type to search with
959            * @return the matching social equity log
960            * @throws com.liferay.portlet.social.NoSuchEquityLogException if a matching social equity log could not be found
961            * @throws SystemException if a system exception occurred
962            */
963            public static com.liferay.portlet.social.model.SocialEquityLog findByU_AEI_AID_AD_A_T(
964                    long userId, long assetEntryId, java.lang.String actionId,
965                    int actionDate, boolean active, int type)
966                    throws com.liferay.portal.kernel.exception.SystemException,
967                            com.liferay.portlet.social.NoSuchEquityLogException {
968                    return getPersistence()
969                                       .findByU_AEI_AID_AD_A_T(userId, assetEntryId, actionId,
970                            actionDate, active, type);
971            }
972    
973            /**
974            * Finds the social equity log where userId = &#63; and assetEntryId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
975            *
976            * @param userId the user id to search with
977            * @param assetEntryId the asset entry id to search with
978            * @param actionId the action id to search with
979            * @param actionDate the action date to search with
980            * @param active the active to search with
981            * @param type the type to search with
982            * @return the matching social equity log, or <code>null</code> if a matching social equity log could not be found
983            * @throws SystemException if a system exception occurred
984            */
985            public static com.liferay.portlet.social.model.SocialEquityLog fetchByU_AEI_AID_AD_A_T(
986                    long userId, long assetEntryId, java.lang.String actionId,
987                    int actionDate, boolean active, int type)
988                    throws com.liferay.portal.kernel.exception.SystemException {
989                    return getPersistence()
990                                       .fetchByU_AEI_AID_AD_A_T(userId, assetEntryId, actionId,
991                            actionDate, active, type);
992            }
993    
994            /**
995            * Finds the social equity log where userId = &#63; and assetEntryId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
996            *
997            * @param userId the user id to search with
998            * @param assetEntryId the asset entry id to search with
999            * @param actionId the action id to search with
1000            * @param actionDate the action date to search with
1001            * @param active the active to search with
1002            * @param type the type to search with
1003            * @return the matching social equity log, or <code>null</code> if a matching social equity log could not be found
1004            * @throws SystemException if a system exception occurred
1005            */
1006            public static com.liferay.portlet.social.model.SocialEquityLog fetchByU_AEI_AID_AD_A_T(
1007                    long userId, long assetEntryId, java.lang.String actionId,
1008                    int actionDate, boolean active, int type, boolean retrieveFromCache)
1009                    throws com.liferay.portal.kernel.exception.SystemException {
1010                    return getPersistence()
1011                                       .fetchByU_AEI_AID_AD_A_T(userId, assetEntryId, actionId,
1012                            actionDate, active, type, retrieveFromCache);
1013            }
1014    
1015            /**
1016            * Finds all the social equity logs.
1017            *
1018            * @return the social equity logs
1019            * @throws SystemException if a system exception occurred
1020            */
1021            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll()
1022                    throws com.liferay.portal.kernel.exception.SystemException {
1023                    return getPersistence().findAll();
1024            }
1025    
1026            /**
1027            * Finds a range of all the social equity logs.
1028            *
1029            * <p>
1030            * 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.
1031            * </p>
1032            *
1033            * @param start the lower bound of the range of social equity logs to return
1034            * @param end the upper bound of the range of social equity logs to return (not inclusive)
1035            * @return the range of social equity logs
1036            * @throws SystemException if a system exception occurred
1037            */
1038            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll(
1039                    int start, int end)
1040                    throws com.liferay.portal.kernel.exception.SystemException {
1041                    return getPersistence().findAll(start, end);
1042            }
1043    
1044            /**
1045            * Finds an ordered range of all the social equity logs.
1046            *
1047            * <p>
1048            * 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.
1049            * </p>
1050            *
1051            * @param start the lower bound of the range of social equity logs to return
1052            * @param end the upper bound of the range of social equity logs to return (not inclusive)
1053            * @param orderByComparator the comparator to order the results by
1054            * @return the ordered range of social equity logs
1055            * @throws SystemException if a system exception occurred
1056            */
1057            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll(
1058                    int start, int end,
1059                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1060                    throws com.liferay.portal.kernel.exception.SystemException {
1061                    return getPersistence().findAll(start, end, orderByComparator);
1062            }
1063    
1064            /**
1065            * Removes all the social equity logs where assetEntryId = &#63; and type = &#63; and active = &#63; from the database.
1066            *
1067            * @param assetEntryId the asset entry id to search with
1068            * @param type the type to search with
1069            * @param active the active to search with
1070            * @throws SystemException if a system exception occurred
1071            */
1072            public static void removeByAEI_T_A(long assetEntryId, int type,
1073                    boolean active)
1074                    throws com.liferay.portal.kernel.exception.SystemException {
1075                    getPersistence().removeByAEI_T_A(assetEntryId, type, active);
1076            }
1077    
1078            /**
1079            * Removes all the social equity logs where userId = &#63; and actionId = &#63; and active = &#63; and type = &#63; from the database.
1080            *
1081            * @param userId the user id to search with
1082            * @param actionId the action id to search with
1083            * @param active the active to search with
1084            * @param type the type to search with
1085            * @throws SystemException if a system exception occurred
1086            */
1087            public static void removeByU_AID_A_T(long userId,
1088                    java.lang.String actionId, boolean active, int type)
1089                    throws com.liferay.portal.kernel.exception.SystemException {
1090                    getPersistence().removeByU_AID_A_T(userId, actionId, active, type);
1091            }
1092    
1093            /**
1094            * Removes all the social equity logs where assetEntryId = &#63; and actionId = &#63; and active = &#63; and type = &#63; from the database.
1095            *
1096            * @param assetEntryId the asset entry id to search with
1097            * @param actionId the action id to search with
1098            * @param active the active to search with
1099            * @param type the type to search with
1100            * @throws SystemException if a system exception occurred
1101            */
1102            public static void removeByAEI_AID_A_T(long assetEntryId,
1103                    java.lang.String actionId, boolean active, int type)
1104                    throws com.liferay.portal.kernel.exception.SystemException {
1105                    getPersistence()
1106                            .removeByAEI_AID_A_T(assetEntryId, actionId, active, type);
1107            }
1108    
1109            /**
1110            * Removes all the social equity logs where userId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63; from the database.
1111            *
1112            * @param userId the user id to search with
1113            * @param actionId the action id to search with
1114            * @param actionDate the action date to search with
1115            * @param active the active to search with
1116            * @param type the type to search with
1117            * @throws SystemException if a system exception occurred
1118            */
1119            public static void removeByU_AID_AD_A_T(long userId,
1120                    java.lang.String actionId, int actionDate, boolean active, int type)
1121                    throws com.liferay.portal.kernel.exception.SystemException {
1122                    getPersistence()
1123                            .removeByU_AID_AD_A_T(userId, actionId, actionDate, active, type);
1124            }
1125    
1126            /**
1127            * Removes all the social equity logs where assetEntryId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63; from the database.
1128            *
1129            * @param assetEntryId the asset entry id to search with
1130            * @param actionId the action id to search with
1131            * @param actionDate the action date to search with
1132            * @param active the active to search with
1133            * @param type the type to search with
1134            * @throws SystemException if a system exception occurred
1135            */
1136            public static void removeByAEI_AID_AD_A_T(long assetEntryId,
1137                    java.lang.String actionId, int actionDate, boolean active, int type)
1138                    throws com.liferay.portal.kernel.exception.SystemException {
1139                    getPersistence()
1140                            .removeByAEI_AID_AD_A_T(assetEntryId, actionId, actionDate, active,
1141                            type);
1142            }
1143    
1144            /**
1145            * Removes the social equity log where userId = &#63; and assetEntryId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63; from the database.
1146            *
1147            * @param userId the user id to search with
1148            * @param assetEntryId the asset entry id to search with
1149            * @param actionId the action id to search with
1150            * @param actionDate the action date to search with
1151            * @param active the active to search with
1152            * @param type the type to search with
1153            * @throws SystemException if a system exception occurred
1154            */
1155            public static void removeByU_AEI_AID_AD_A_T(long userId, long assetEntryId,
1156                    java.lang.String actionId, int actionDate, boolean active, int type)
1157                    throws com.liferay.portal.kernel.exception.SystemException,
1158                            com.liferay.portlet.social.NoSuchEquityLogException {
1159                    getPersistence()
1160                            .removeByU_AEI_AID_AD_A_T(userId, assetEntryId, actionId,
1161                            actionDate, active, type);
1162            }
1163    
1164            /**
1165            * Removes all the social equity logs from the database.
1166            *
1167            * @throws SystemException if a system exception occurred
1168            */
1169            public static void removeAll()
1170                    throws com.liferay.portal.kernel.exception.SystemException {
1171                    getPersistence().removeAll();
1172            }
1173    
1174            /**
1175            * Counts all the social equity logs where assetEntryId = &#63; and type = &#63; and active = &#63;.
1176            *
1177            * @param assetEntryId the asset entry id to search with
1178            * @param type the type to search with
1179            * @param active the active to search with
1180            * @return the number of matching social equity logs
1181            * @throws SystemException if a system exception occurred
1182            */
1183            public static int countByAEI_T_A(long assetEntryId, int type, boolean active)
1184                    throws com.liferay.portal.kernel.exception.SystemException {
1185                    return getPersistence().countByAEI_T_A(assetEntryId, type, active);
1186            }
1187    
1188            /**
1189            * Counts all the social equity logs where userId = &#63; and actionId = &#63; and active = &#63; and type = &#63;.
1190            *
1191            * @param userId the user id to search with
1192            * @param actionId the action id to search with
1193            * @param active the active to search with
1194            * @param type the type to search with
1195            * @return the number of matching social equity logs
1196            * @throws SystemException if a system exception occurred
1197            */
1198            public static int countByU_AID_A_T(long userId, java.lang.String actionId,
1199                    boolean active, int type)
1200                    throws com.liferay.portal.kernel.exception.SystemException {
1201                    return getPersistence().countByU_AID_A_T(userId, actionId, active, type);
1202            }
1203    
1204            /**
1205            * Counts all the social equity logs where assetEntryId = &#63; and actionId = &#63; and active = &#63; and type = &#63;.
1206            *
1207            * @param assetEntryId the asset entry id to search with
1208            * @param actionId the action id to search with
1209            * @param active the active to search with
1210            * @param type the type to search with
1211            * @return the number of matching social equity logs
1212            * @throws SystemException if a system exception occurred
1213            */
1214            public static int countByAEI_AID_A_T(long assetEntryId,
1215                    java.lang.String actionId, boolean active, int type)
1216                    throws com.liferay.portal.kernel.exception.SystemException {
1217                    return getPersistence()
1218                                       .countByAEI_AID_A_T(assetEntryId, actionId, active, type);
1219            }
1220    
1221            /**
1222            * Counts all the social equity logs where userId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
1223            *
1224            * @param userId the user id to search with
1225            * @param actionId the action id to search with
1226            * @param actionDate the action date to search with
1227            * @param active the active to search with
1228            * @param type the type to search with
1229            * @return the number of matching social equity logs
1230            * @throws SystemException if a system exception occurred
1231            */
1232            public static int countByU_AID_AD_A_T(long userId,
1233                    java.lang.String actionId, int actionDate, boolean active, int type)
1234                    throws com.liferay.portal.kernel.exception.SystemException {
1235                    return getPersistence()
1236                                       .countByU_AID_AD_A_T(userId, actionId, actionDate, active,
1237                            type);
1238            }
1239    
1240            /**
1241            * Counts all the social equity logs where assetEntryId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
1242            *
1243            * @param assetEntryId the asset entry id to search with
1244            * @param actionId the action id to search with
1245            * @param actionDate the action date to search with
1246            * @param active the active to search with
1247            * @param type the type to search with
1248            * @return the number of matching social equity logs
1249            * @throws SystemException if a system exception occurred
1250            */
1251            public static int countByAEI_AID_AD_A_T(long assetEntryId,
1252                    java.lang.String actionId, int actionDate, boolean active, int type)
1253                    throws com.liferay.portal.kernel.exception.SystemException {
1254                    return getPersistence()
1255                                       .countByAEI_AID_AD_A_T(assetEntryId, actionId, actionDate,
1256                            active, type);
1257            }
1258    
1259            /**
1260            * Counts all the social equity logs where userId = &#63; and assetEntryId = &#63; and actionId = &#63; and actionDate = &#63; and active = &#63; and type = &#63;.
1261            *
1262            * @param userId the user id to search with
1263            * @param assetEntryId the asset entry id to search with
1264            * @param actionId the action id to search with
1265            * @param actionDate the action date to search with
1266            * @param active the active to search with
1267            * @param type the type to search with
1268            * @return the number of matching social equity logs
1269            * @throws SystemException if a system exception occurred
1270            */
1271            public static int countByU_AEI_AID_AD_A_T(long userId, long assetEntryId,
1272                    java.lang.String actionId, int actionDate, boolean active, int type)
1273                    throws com.liferay.portal.kernel.exception.SystemException {
1274                    return getPersistence()
1275                                       .countByU_AEI_AID_AD_A_T(userId, assetEntryId, actionId,
1276                            actionDate, active, type);
1277            }
1278    
1279            /**
1280            * Counts all the social equity logs.
1281            *
1282            * @return the number of social equity logs
1283            * @throws SystemException if a system exception occurred
1284            */
1285            public static int countAll()
1286                    throws com.liferay.portal.kernel.exception.SystemException {
1287                    return getPersistence().countAll();
1288            }
1289    
1290            public static SocialEquityLogPersistence getPersistence() {
1291                    if (_persistence == null) {
1292                            _persistence = (SocialEquityLogPersistence)PortalBeanLocatorUtil.locate(SocialEquityLogPersistence.class.getName());
1293                    }
1294    
1295                    return _persistence;
1296            }
1297    
1298            public void setPersistence(SocialEquityLogPersistence persistence) {
1299                    _persistence = persistence;
1300            }
1301    
1302            private static SocialEquityLogPersistence _persistence;
1303    }