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