001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.social.service.persistence;
016    
017    import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
019    import com.liferay.portal.kernel.exception.SystemException;
020    import com.liferay.portal.kernel.util.OrderByComparator;
021    import com.liferay.portal.service.ServiceContext;
022    
023    import com.liferay.portlet.social.model.SocialEquityLog;
024    
025    import java.util.List;
026    
027    /**
028     * @author    Brian Wing Shun Chan
029     * @see       SocialEquityLogPersistence
030     * @see       SocialEquityLogPersistenceImpl
031     * @generated
032     */
033    public class SocialEquityLogUtil {
034            /**
035             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
036             */
037            public static void clearCache() {
038                    getPersistence().clearCache();
039            }
040    
041            /**
042             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
043             */
044            public static void clearCache(SocialEquityLog socialEquityLog) {
045                    getPersistence().clearCache(socialEquityLog);
046            }
047    
048            /**
049             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
050             */
051            public long countWithDynamicQuery(DynamicQuery dynamicQuery)
052                    throws SystemException {
053                    return getPersistence().countWithDynamicQuery(dynamicQuery);
054            }
055    
056            /**
057             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
058             */
059            public static List<SocialEquityLog> findWithDynamicQuery(
060                    DynamicQuery dynamicQuery) throws SystemException {
061                    return getPersistence().findWithDynamicQuery(dynamicQuery);
062            }
063    
064            /**
065             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
066             */
067            public static List<SocialEquityLog> findWithDynamicQuery(
068                    DynamicQuery dynamicQuery, int start, int end)
069                    throws SystemException {
070                    return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
071            }
072    
073            /**
074             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
075             */
076            public static List<SocialEquityLog> findWithDynamicQuery(
077                    DynamicQuery dynamicQuery, int start, int end,
078                    OrderByComparator orderByComparator) throws SystemException {
079                    return getPersistence()
080                                       .findWithDynamicQuery(dynamicQuery, start, end,
081                            orderByComparator);
082            }
083    
084            /**
085             * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
086             */
087            public static SocialEquityLog remove(SocialEquityLog socialEquityLog)
088                    throws SystemException {
089                    return getPersistence().remove(socialEquityLog);
090            }
091    
092            /**
093             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
094             */
095            public static SocialEquityLog update(SocialEquityLog socialEquityLog,
096                    boolean merge) throws SystemException {
097                    return getPersistence().update(socialEquityLog, merge);
098            }
099    
100            /**
101             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
102             */
103            public static SocialEquityLog update(SocialEquityLog socialEquityLog,
104                    boolean merge, ServiceContext serviceContext) throws SystemException {
105                    return getPersistence().update(socialEquityLog, merge, serviceContext);
106            }
107    
108            public static void cacheResult(
109                    com.liferay.portlet.social.model.SocialEquityLog socialEquityLog) {
110                    getPersistence().cacheResult(socialEquityLog);
111            }
112    
113            public static void cacheResult(
114                    java.util.List<com.liferay.portlet.social.model.SocialEquityLog> socialEquityLogs) {
115                    getPersistence().cacheResult(socialEquityLogs);
116            }
117    
118            public static com.liferay.portlet.social.model.SocialEquityLog create(
119                    long equityLogId) {
120                    return getPersistence().create(equityLogId);
121            }
122    
123            public static com.liferay.portlet.social.model.SocialEquityLog remove(
124                    long equityLogId)
125                    throws com.liferay.portal.kernel.exception.SystemException,
126                            com.liferay.portlet.social.NoSuchEquityLogException {
127                    return getPersistence().remove(equityLogId);
128            }
129    
130            public static com.liferay.portlet.social.model.SocialEquityLog updateImpl(
131                    com.liferay.portlet.social.model.SocialEquityLog socialEquityLog,
132                    boolean merge)
133                    throws com.liferay.portal.kernel.exception.SystemException {
134                    return getPersistence().updateImpl(socialEquityLog, merge);
135            }
136    
137            public static com.liferay.portlet.social.model.SocialEquityLog findByPrimaryKey(
138                    long equityLogId)
139                    throws com.liferay.portal.kernel.exception.SystemException,
140                            com.liferay.portlet.social.NoSuchEquityLogException {
141                    return getPersistence().findByPrimaryKey(equityLogId);
142            }
143    
144            public static com.liferay.portlet.social.model.SocialEquityLog fetchByPrimaryKey(
145                    long equityLogId)
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return getPersistence().fetchByPrimaryKey(equityLogId);
148            }
149    
150            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A(
151                    long assetEntryId, int type, boolean active)
152                    throws com.liferay.portal.kernel.exception.SystemException {
153                    return getPersistence().findByAEI_T_A(assetEntryId, type, active);
154            }
155    
156            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A(
157                    long assetEntryId, int type, boolean active, int start, int end)
158                    throws com.liferay.portal.kernel.exception.SystemException {
159                    return getPersistence()
160                                       .findByAEI_T_A(assetEntryId, type, active, start, end);
161            }
162    
163            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A(
164                    long assetEntryId, int type, boolean active, int start, int end,
165                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166                    throws com.liferay.portal.kernel.exception.SystemException {
167                    return getPersistence()
168                                       .findByAEI_T_A(assetEntryId, type, active, start, end,
169                            orderByComparator);
170            }
171    
172            public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_T_A_First(
173                    long assetEntryId, int type, boolean active,
174                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
175                    throws com.liferay.portal.kernel.exception.SystemException,
176                            com.liferay.portlet.social.NoSuchEquityLogException {
177                    return getPersistence()
178                                       .findByAEI_T_A_First(assetEntryId, type, active,
179                            orderByComparator);
180            }
181    
182            public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_T_A_Last(
183                    long assetEntryId, int type, boolean active,
184                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
185                    throws com.liferay.portal.kernel.exception.SystemException,
186                            com.liferay.portlet.social.NoSuchEquityLogException {
187                    return getPersistence()
188                                       .findByAEI_T_A_Last(assetEntryId, type, active,
189                            orderByComparator);
190            }
191    
192            public static com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_T_A_PrevAndNext(
193                    long equityLogId, long assetEntryId, int type, boolean active,
194                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
195                    throws com.liferay.portal.kernel.exception.SystemException,
196                            com.liferay.portlet.social.NoSuchEquityLogException {
197                    return getPersistence()
198                                       .findByAEI_T_A_PrevAndNext(equityLogId, assetEntryId, type,
199                            active, orderByComparator);
200            }
201    
202            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_A_T(
203                    long userId, java.lang.String actionId, boolean active, int type)
204                    throws com.liferay.portal.kernel.exception.SystemException {
205                    return getPersistence().findByU_AID_A_T(userId, actionId, active, type);
206            }
207    
208            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_A_T(
209                    long userId, java.lang.String actionId, boolean active, int type,
210                    int start, int end)
211                    throws com.liferay.portal.kernel.exception.SystemException {
212                    return getPersistence()
213                                       .findByU_AID_A_T(userId, actionId, active, type, start, end);
214            }
215    
216            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_A_T(
217                    long userId, java.lang.String actionId, boolean active, int type,
218                    int start, int end,
219                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
220                    throws com.liferay.portal.kernel.exception.SystemException {
221                    return getPersistence()
222                                       .findByU_AID_A_T(userId, actionId, active, type, start, end,
223                            orderByComparator);
224            }
225    
226            public static com.liferay.portlet.social.model.SocialEquityLog findByU_AID_A_T_First(
227                    long userId, java.lang.String actionId, boolean active, int type,
228                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
229                    throws com.liferay.portal.kernel.exception.SystemException,
230                            com.liferay.portlet.social.NoSuchEquityLogException {
231                    return getPersistence()
232                                       .findByU_AID_A_T_First(userId, actionId, active, type,
233                            orderByComparator);
234            }
235    
236            public static com.liferay.portlet.social.model.SocialEquityLog findByU_AID_A_T_Last(
237                    long userId, java.lang.String actionId, boolean active, int type,
238                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
239                    throws com.liferay.portal.kernel.exception.SystemException,
240                            com.liferay.portlet.social.NoSuchEquityLogException {
241                    return getPersistence()
242                                       .findByU_AID_A_T_Last(userId, actionId, active, type,
243                            orderByComparator);
244            }
245    
246            public static com.liferay.portlet.social.model.SocialEquityLog[] findByU_AID_A_T_PrevAndNext(
247                    long equityLogId, long userId, java.lang.String actionId,
248                    boolean active, int type,
249                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
250                    throws com.liferay.portal.kernel.exception.SystemException,
251                            com.liferay.portlet.social.NoSuchEquityLogException {
252                    return getPersistence()
253                                       .findByU_AID_A_T_PrevAndNext(equityLogId, userId, actionId,
254                            active, type, orderByComparator);
255            }
256    
257            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_T(
258                    long assetEntryId, java.lang.String actionId, boolean active, int type)
259                    throws com.liferay.portal.kernel.exception.SystemException {
260                    return getPersistence()
261                                       .findByAEI_AID_A_T(assetEntryId, actionId, active, type);
262            }
263    
264            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_T(
265                    long assetEntryId, java.lang.String actionId, boolean active, int type,
266                    int start, int end)
267                    throws com.liferay.portal.kernel.exception.SystemException {
268                    return getPersistence()
269                                       .findByAEI_AID_A_T(assetEntryId, actionId, active, type,
270                            start, end);
271            }
272    
273            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_T(
274                    long assetEntryId, java.lang.String actionId, boolean active, int type,
275                    int start, int end,
276                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
277                    throws com.liferay.portal.kernel.exception.SystemException {
278                    return getPersistence()
279                                       .findByAEI_AID_A_T(assetEntryId, actionId, active, type,
280                            start, end, orderByComparator);
281            }
282    
283            public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_A_T_First(
284                    long assetEntryId, java.lang.String actionId, boolean active, int type,
285                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
286                    throws com.liferay.portal.kernel.exception.SystemException,
287                            com.liferay.portlet.social.NoSuchEquityLogException {
288                    return getPersistence()
289                                       .findByAEI_AID_A_T_First(assetEntryId, actionId, active,
290                            type, orderByComparator);
291            }
292    
293            public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_A_T_Last(
294                    long assetEntryId, java.lang.String actionId, boolean active, int type,
295                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
296                    throws com.liferay.portal.kernel.exception.SystemException,
297                            com.liferay.portlet.social.NoSuchEquityLogException {
298                    return getPersistence()
299                                       .findByAEI_AID_A_T_Last(assetEntryId, actionId, active,
300                            type, orderByComparator);
301            }
302    
303            public static com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_AID_A_T_PrevAndNext(
304                    long equityLogId, long assetEntryId, java.lang.String actionId,
305                    boolean active, int type,
306                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
307                    throws com.liferay.portal.kernel.exception.SystemException,
308                            com.liferay.portlet.social.NoSuchEquityLogException {
309                    return getPersistence()
310                                       .findByAEI_AID_A_T_PrevAndNext(equityLogId, assetEntryId,
311                            actionId, active, type, orderByComparator);
312            }
313    
314            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T(
315                    long userId, java.lang.String actionId, int actionDate, boolean active,
316                    int type) throws com.liferay.portal.kernel.exception.SystemException {
317                    return getPersistence()
318                                       .findByU_AID_AD_A_T(userId, actionId, actionDate, active,
319                            type);
320            }
321    
322            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T(
323                    long userId, java.lang.String actionId, int actionDate, boolean active,
324                    int type, int start, int end)
325                    throws com.liferay.portal.kernel.exception.SystemException {
326                    return getPersistence()
327                                       .findByU_AID_AD_A_T(userId, actionId, actionDate, active,
328                            type, start, end);
329            }
330    
331            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T(
332                    long userId, java.lang.String actionId, int actionDate, boolean active,
333                    int type, int start, int end,
334                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
335                    throws com.liferay.portal.kernel.exception.SystemException {
336                    return getPersistence()
337                                       .findByU_AID_AD_A_T(userId, actionId, actionDate, active,
338                            type, start, end, orderByComparator);
339            }
340    
341            public static com.liferay.portlet.social.model.SocialEquityLog findByU_AID_AD_A_T_First(
342                    long userId, java.lang.String actionId, int actionDate, boolean active,
343                    int type,
344                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
345                    throws com.liferay.portal.kernel.exception.SystemException,
346                            com.liferay.portlet.social.NoSuchEquityLogException {
347                    return getPersistence()
348                                       .findByU_AID_AD_A_T_First(userId, actionId, actionDate,
349                            active, type, orderByComparator);
350            }
351    
352            public static com.liferay.portlet.social.model.SocialEquityLog findByU_AID_AD_A_T_Last(
353                    long userId, java.lang.String actionId, int actionDate, boolean active,
354                    int type,
355                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
356                    throws com.liferay.portal.kernel.exception.SystemException,
357                            com.liferay.portlet.social.NoSuchEquityLogException {
358                    return getPersistence()
359                                       .findByU_AID_AD_A_T_Last(userId, actionId, actionDate,
360                            active, type, orderByComparator);
361            }
362    
363            public static com.liferay.portlet.social.model.SocialEquityLog[] findByU_AID_AD_A_T_PrevAndNext(
364                    long equityLogId, long userId, java.lang.String actionId,
365                    int actionDate, boolean active, int type,
366                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
367                    throws com.liferay.portal.kernel.exception.SystemException,
368                            com.liferay.portlet.social.NoSuchEquityLogException {
369                    return getPersistence()
370                                       .findByU_AID_AD_A_T_PrevAndNext(equityLogId, userId,
371                            actionId, actionDate, active, type, orderByComparator);
372            }
373    
374            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T(
375                    long assetEntryId, java.lang.String actionId, int actionDate,
376                    boolean active, int type)
377                    throws com.liferay.portal.kernel.exception.SystemException {
378                    return getPersistence()
379                                       .findByAEI_AID_AD_A_T(assetEntryId, actionId, actionDate,
380                            active, type);
381            }
382    
383            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T(
384                    long assetEntryId, java.lang.String actionId, int actionDate,
385                    boolean active, int type, int start, int end)
386                    throws com.liferay.portal.kernel.exception.SystemException {
387                    return getPersistence()
388                                       .findByAEI_AID_AD_A_T(assetEntryId, actionId, actionDate,
389                            active, type, start, end);
390            }
391    
392            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T(
393                    long assetEntryId, java.lang.String actionId, int actionDate,
394                    boolean active, int type, int start, int end,
395                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
396                    throws com.liferay.portal.kernel.exception.SystemException {
397                    return getPersistence()
398                                       .findByAEI_AID_AD_A_T(assetEntryId, actionId, actionDate,
399                            active, type, start, end, orderByComparator);
400            }
401    
402            public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_AD_A_T_First(
403                    long assetEntryId, java.lang.String actionId, int actionDate,
404                    boolean active, int type,
405                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
406                    throws com.liferay.portal.kernel.exception.SystemException,
407                            com.liferay.portlet.social.NoSuchEquityLogException {
408                    return getPersistence()
409                                       .findByAEI_AID_AD_A_T_First(assetEntryId, actionId,
410                            actionDate, active, type, orderByComparator);
411            }
412    
413            public static com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_AD_A_T_Last(
414                    long assetEntryId, java.lang.String actionId, int actionDate,
415                    boolean active, int type,
416                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
417                    throws com.liferay.portal.kernel.exception.SystemException,
418                            com.liferay.portlet.social.NoSuchEquityLogException {
419                    return getPersistence()
420                                       .findByAEI_AID_AD_A_T_Last(assetEntryId, actionId,
421                            actionDate, active, type, orderByComparator);
422            }
423    
424            public static com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_AID_AD_A_T_PrevAndNext(
425                    long equityLogId, long assetEntryId, java.lang.String actionId,
426                    int actionDate, boolean active, int type,
427                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
428                    throws com.liferay.portal.kernel.exception.SystemException,
429                            com.liferay.portlet.social.NoSuchEquityLogException {
430                    return getPersistence()
431                                       .findByAEI_AID_AD_A_T_PrevAndNext(equityLogId, assetEntryId,
432                            actionId, actionDate, active, type, orderByComparator);
433            }
434    
435            public static com.liferay.portlet.social.model.SocialEquityLog findByU_AEI_AID_AD_A_T(
436                    long userId, long assetEntryId, java.lang.String actionId,
437                    int actionDate, boolean active, int type)
438                    throws com.liferay.portal.kernel.exception.SystemException,
439                            com.liferay.portlet.social.NoSuchEquityLogException {
440                    return getPersistence()
441                                       .findByU_AEI_AID_AD_A_T(userId, assetEntryId, actionId,
442                            actionDate, active, type);
443            }
444    
445            public static com.liferay.portlet.social.model.SocialEquityLog fetchByU_AEI_AID_AD_A_T(
446                    long userId, long assetEntryId, java.lang.String actionId,
447                    int actionDate, boolean active, int type)
448                    throws com.liferay.portal.kernel.exception.SystemException {
449                    return getPersistence()
450                                       .fetchByU_AEI_AID_AD_A_T(userId, assetEntryId, actionId,
451                            actionDate, active, type);
452            }
453    
454            public static com.liferay.portlet.social.model.SocialEquityLog fetchByU_AEI_AID_AD_A_T(
455                    long userId, long assetEntryId, java.lang.String actionId,
456                    int actionDate, boolean active, int type, boolean retrieveFromCache)
457                    throws com.liferay.portal.kernel.exception.SystemException {
458                    return getPersistence()
459                                       .fetchByU_AEI_AID_AD_A_T(userId, assetEntryId, actionId,
460                            actionDate, active, type, retrieveFromCache);
461            }
462    
463            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll()
464                    throws com.liferay.portal.kernel.exception.SystemException {
465                    return getPersistence().findAll();
466            }
467    
468            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll(
469                    int start, int end)
470                    throws com.liferay.portal.kernel.exception.SystemException {
471                    return getPersistence().findAll(start, end);
472            }
473    
474            public static java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll(
475                    int start, int end,
476                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
477                    throws com.liferay.portal.kernel.exception.SystemException {
478                    return getPersistence().findAll(start, end, orderByComparator);
479            }
480    
481            public static void removeByAEI_T_A(long assetEntryId, int type,
482                    boolean active)
483                    throws com.liferay.portal.kernel.exception.SystemException {
484                    getPersistence().removeByAEI_T_A(assetEntryId, type, active);
485            }
486    
487            public static void removeByU_AID_A_T(long userId,
488                    java.lang.String actionId, boolean active, int type)
489                    throws com.liferay.portal.kernel.exception.SystemException {
490                    getPersistence().removeByU_AID_A_T(userId, actionId, active, type);
491            }
492    
493            public static void removeByAEI_AID_A_T(long assetEntryId,
494                    java.lang.String actionId, boolean active, int type)
495                    throws com.liferay.portal.kernel.exception.SystemException {
496                    getPersistence()
497                            .removeByAEI_AID_A_T(assetEntryId, actionId, active, type);
498            }
499    
500            public static void removeByU_AID_AD_A_T(long userId,
501                    java.lang.String actionId, int actionDate, boolean active, int type)
502                    throws com.liferay.portal.kernel.exception.SystemException {
503                    getPersistence()
504                            .removeByU_AID_AD_A_T(userId, actionId, actionDate, active, type);
505            }
506    
507            public static void removeByAEI_AID_AD_A_T(long assetEntryId,
508                    java.lang.String actionId, int actionDate, boolean active, int type)
509                    throws com.liferay.portal.kernel.exception.SystemException {
510                    getPersistence()
511                            .removeByAEI_AID_AD_A_T(assetEntryId, actionId, actionDate, active,
512                            type);
513            }
514    
515            public static void removeByU_AEI_AID_AD_A_T(long userId, long assetEntryId,
516                    java.lang.String actionId, int actionDate, boolean active, int type)
517                    throws com.liferay.portal.kernel.exception.SystemException,
518                            com.liferay.portlet.social.NoSuchEquityLogException {
519                    getPersistence()
520                            .removeByU_AEI_AID_AD_A_T(userId, assetEntryId, actionId,
521                            actionDate, active, type);
522            }
523    
524            public static void removeAll()
525                    throws com.liferay.portal.kernel.exception.SystemException {
526                    getPersistence().removeAll();
527            }
528    
529            public static int countByAEI_T_A(long assetEntryId, int type, boolean active)
530                    throws com.liferay.portal.kernel.exception.SystemException {
531                    return getPersistence().countByAEI_T_A(assetEntryId, type, active);
532            }
533    
534            public static int countByU_AID_A_T(long userId, java.lang.String actionId,
535                    boolean active, int type)
536                    throws com.liferay.portal.kernel.exception.SystemException {
537                    return getPersistence().countByU_AID_A_T(userId, actionId, active, type);
538            }
539    
540            public static int countByAEI_AID_A_T(long assetEntryId,
541                    java.lang.String actionId, boolean active, int type)
542                    throws com.liferay.portal.kernel.exception.SystemException {
543                    return getPersistence()
544                                       .countByAEI_AID_A_T(assetEntryId, actionId, active, type);
545            }
546    
547            public static int countByU_AID_AD_A_T(long userId,
548                    java.lang.String actionId, int actionDate, boolean active, int type)
549                    throws com.liferay.portal.kernel.exception.SystemException {
550                    return getPersistence()
551                                       .countByU_AID_AD_A_T(userId, actionId, actionDate, active,
552                            type);
553            }
554    
555            public static int countByAEI_AID_AD_A_T(long assetEntryId,
556                    java.lang.String actionId, int actionDate, boolean active, int type)
557                    throws com.liferay.portal.kernel.exception.SystemException {
558                    return getPersistence()
559                                       .countByAEI_AID_AD_A_T(assetEntryId, actionId, actionDate,
560                            active, type);
561            }
562    
563            public static int countByU_AEI_AID_AD_A_T(long userId, long assetEntryId,
564                    java.lang.String actionId, int actionDate, boolean active, int type)
565                    throws com.liferay.portal.kernel.exception.SystemException {
566                    return getPersistence()
567                                       .countByU_AEI_AID_AD_A_T(userId, assetEntryId, actionId,
568                            actionDate, active, type);
569            }
570    
571            public static int countAll()
572                    throws com.liferay.portal.kernel.exception.SystemException {
573                    return getPersistence().countAll();
574            }
575    
576            public static SocialEquityLogPersistence getPersistence() {
577                    if (_persistence == null) {
578                            _persistence = (SocialEquityLogPersistence)PortalBeanLocatorUtil.locate(SocialEquityLogPersistence.class.getName());
579                    }
580    
581                    return _persistence;
582            }
583    
584            public void setPersistence(SocialEquityLogPersistence persistence) {
585                    _persistence = persistence;
586            }
587    
588            private static SocialEquityLogPersistence _persistence;
589    }