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