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.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.social.model.SocialEquityLog;
020    
021    /**
022     * @author    Brian Wing Shun Chan
023     * @see       SocialEquityLogPersistenceImpl
024     * @see       SocialEquityLogUtil
025     * @generated
026     */
027    public interface SocialEquityLogPersistence extends BasePersistence<SocialEquityLog> {
028            public void cacheResult(
029                    com.liferay.portlet.social.model.SocialEquityLog socialEquityLog);
030    
031            public void cacheResult(
032                    java.util.List<com.liferay.portlet.social.model.SocialEquityLog> socialEquityLogs);
033    
034            public com.liferay.portlet.social.model.SocialEquityLog create(
035                    long equityLogId);
036    
037            public com.liferay.portlet.social.model.SocialEquityLog remove(
038                    long equityLogId)
039                    throws com.liferay.portal.kernel.exception.SystemException,
040                            com.liferay.portlet.social.NoSuchEquityLogException;
041    
042            public com.liferay.portlet.social.model.SocialEquityLog updateImpl(
043                    com.liferay.portlet.social.model.SocialEquityLog socialEquityLog,
044                    boolean merge)
045                    throws com.liferay.portal.kernel.exception.SystemException;
046    
047            public com.liferay.portlet.social.model.SocialEquityLog findByPrimaryKey(
048                    long equityLogId)
049                    throws com.liferay.portal.kernel.exception.SystemException,
050                            com.liferay.portlet.social.NoSuchEquityLogException;
051    
052            public com.liferay.portlet.social.model.SocialEquityLog fetchByPrimaryKey(
053                    long equityLogId)
054                    throws com.liferay.portal.kernel.exception.SystemException;
055    
056            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A(
057                    long assetEntryId, int type, boolean active)
058                    throws com.liferay.portal.kernel.exception.SystemException;
059    
060            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A(
061                    long assetEntryId, int type, boolean active, int start, int end)
062                    throws com.liferay.portal.kernel.exception.SystemException;
063    
064            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A(
065                    long assetEntryId, int type, boolean active, int start, int end,
066                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
067                    throws com.liferay.portal.kernel.exception.SystemException;
068    
069            public com.liferay.portlet.social.model.SocialEquityLog findByAEI_T_A_First(
070                    long assetEntryId, int type, boolean active,
071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072                    throws com.liferay.portal.kernel.exception.SystemException,
073                            com.liferay.portlet.social.NoSuchEquityLogException;
074    
075            public com.liferay.portlet.social.model.SocialEquityLog findByAEI_T_A_Last(
076                    long assetEntryId, int type, boolean active,
077                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
078                    throws com.liferay.portal.kernel.exception.SystemException,
079                            com.liferay.portlet.social.NoSuchEquityLogException;
080    
081            public com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_T_A_PrevAndNext(
082                    long equityLogId, long assetEntryId, int type, boolean active,
083                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
084                    throws com.liferay.portal.kernel.exception.SystemException,
085                            com.liferay.portlet.social.NoSuchEquityLogException;
086    
087            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_A_T(
088                    long userId, java.lang.String actionId, boolean active, int type)
089                    throws com.liferay.portal.kernel.exception.SystemException;
090    
091            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_A_T(
092                    long userId, java.lang.String actionId, boolean active, int type,
093                    int start, int end)
094                    throws com.liferay.portal.kernel.exception.SystemException;
095    
096            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_A_T(
097                    long userId, java.lang.String actionId, boolean active, int type,
098                    int start, int end,
099                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
100                    throws com.liferay.portal.kernel.exception.SystemException;
101    
102            public com.liferay.portlet.social.model.SocialEquityLog findByU_AID_A_T_First(
103                    long userId, java.lang.String actionId, boolean active, int type,
104                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
105                    throws com.liferay.portal.kernel.exception.SystemException,
106                            com.liferay.portlet.social.NoSuchEquityLogException;
107    
108            public com.liferay.portlet.social.model.SocialEquityLog findByU_AID_A_T_Last(
109                    long userId, java.lang.String actionId, boolean active, int type,
110                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111                    throws com.liferay.portal.kernel.exception.SystemException,
112                            com.liferay.portlet.social.NoSuchEquityLogException;
113    
114            public com.liferay.portlet.social.model.SocialEquityLog[] findByU_AID_A_T_PrevAndNext(
115                    long equityLogId, long userId, java.lang.String actionId,
116                    boolean active, int type,
117                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
118                    throws com.liferay.portal.kernel.exception.SystemException,
119                            com.liferay.portlet.social.NoSuchEquityLogException;
120    
121            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_T(
122                    long assetEntryId, java.lang.String actionId, boolean active, int type)
123                    throws com.liferay.portal.kernel.exception.SystemException;
124    
125            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_T(
126                    long assetEntryId, java.lang.String actionId, boolean active, int type,
127                    int start, int end)
128                    throws com.liferay.portal.kernel.exception.SystemException;
129    
130            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_A_T(
131                    long assetEntryId, java.lang.String actionId, boolean active, int type,
132                    int start, int end,
133                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134                    throws com.liferay.portal.kernel.exception.SystemException;
135    
136            public com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_A_T_First(
137                    long assetEntryId, java.lang.String actionId, boolean active, int type,
138                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
139                    throws com.liferay.portal.kernel.exception.SystemException,
140                            com.liferay.portlet.social.NoSuchEquityLogException;
141    
142            public com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_A_T_Last(
143                    long assetEntryId, java.lang.String actionId, boolean active, int type,
144                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145                    throws com.liferay.portal.kernel.exception.SystemException,
146                            com.liferay.portlet.social.NoSuchEquityLogException;
147    
148            public com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_AID_A_T_PrevAndNext(
149                    long equityLogId, long assetEntryId, java.lang.String actionId,
150                    boolean active, int type,
151                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
152                    throws com.liferay.portal.kernel.exception.SystemException,
153                            com.liferay.portlet.social.NoSuchEquityLogException;
154    
155            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T(
156                    long userId, java.lang.String actionId, int actionDate, boolean active,
157                    int type) throws com.liferay.portal.kernel.exception.SystemException;
158    
159            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T(
160                    long userId, java.lang.String actionId, int actionDate, boolean active,
161                    int type, int start, int end)
162                    throws com.liferay.portal.kernel.exception.SystemException;
163    
164            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AID_AD_A_T(
165                    long userId, java.lang.String actionId, int actionDate, boolean active,
166                    int type, int start, int end,
167                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
168                    throws com.liferay.portal.kernel.exception.SystemException;
169    
170            public com.liferay.portlet.social.model.SocialEquityLog findByU_AID_AD_A_T_First(
171                    long userId, java.lang.String actionId, int actionDate, boolean active,
172                    int type,
173                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
174                    throws com.liferay.portal.kernel.exception.SystemException,
175                            com.liferay.portlet.social.NoSuchEquityLogException;
176    
177            public com.liferay.portlet.social.model.SocialEquityLog findByU_AID_AD_A_T_Last(
178                    long userId, java.lang.String actionId, int actionDate, boolean active,
179                    int type,
180                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
181                    throws com.liferay.portal.kernel.exception.SystemException,
182                            com.liferay.portlet.social.NoSuchEquityLogException;
183    
184            public com.liferay.portlet.social.model.SocialEquityLog[] findByU_AID_AD_A_T_PrevAndNext(
185                    long equityLogId, long userId, java.lang.String actionId,
186                    int actionDate, boolean active, int type,
187                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
188                    throws com.liferay.portal.kernel.exception.SystemException,
189                            com.liferay.portlet.social.NoSuchEquityLogException;
190    
191            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T(
192                    long assetEntryId, java.lang.String actionId, int actionDate,
193                    boolean active, int type)
194                    throws com.liferay.portal.kernel.exception.SystemException;
195    
196            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T(
197                    long assetEntryId, java.lang.String actionId, int actionDate,
198                    boolean active, int type, int start, int end)
199                    throws com.liferay.portal.kernel.exception.SystemException;
200    
201            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_AID_AD_A_T(
202                    long assetEntryId, java.lang.String actionId, int actionDate,
203                    boolean active, int type, int start, int end,
204                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
205                    throws com.liferay.portal.kernel.exception.SystemException;
206    
207            public com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_AD_A_T_First(
208                    long assetEntryId, java.lang.String actionId, int actionDate,
209                    boolean active, int type,
210                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
211                    throws com.liferay.portal.kernel.exception.SystemException,
212                            com.liferay.portlet.social.NoSuchEquityLogException;
213    
214            public com.liferay.portlet.social.model.SocialEquityLog findByAEI_AID_AD_A_T_Last(
215                    long assetEntryId, java.lang.String actionId, int actionDate,
216                    boolean active, int type,
217                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
218                    throws com.liferay.portal.kernel.exception.SystemException,
219                            com.liferay.portlet.social.NoSuchEquityLogException;
220    
221            public com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_AID_AD_A_T_PrevAndNext(
222                    long equityLogId, long assetEntryId, java.lang.String actionId,
223                    int actionDate, boolean active, int type,
224                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
225                    throws com.liferay.portal.kernel.exception.SystemException,
226                            com.liferay.portlet.social.NoSuchEquityLogException;
227    
228            public com.liferay.portlet.social.model.SocialEquityLog findByU_AEI_AID_AD_A_T(
229                    long userId, long assetEntryId, java.lang.String actionId,
230                    int actionDate, boolean active, int type)
231                    throws com.liferay.portal.kernel.exception.SystemException,
232                            com.liferay.portlet.social.NoSuchEquityLogException;
233    
234            public com.liferay.portlet.social.model.SocialEquityLog fetchByU_AEI_AID_AD_A_T(
235                    long userId, long assetEntryId, java.lang.String actionId,
236                    int actionDate, boolean active, int type)
237                    throws com.liferay.portal.kernel.exception.SystemException;
238    
239            public com.liferay.portlet.social.model.SocialEquityLog fetchByU_AEI_AID_AD_A_T(
240                    long userId, long assetEntryId, java.lang.String actionId,
241                    int actionDate, boolean active, int type, boolean retrieveFromCache)
242                    throws com.liferay.portal.kernel.exception.SystemException;
243    
244            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll()
245                    throws com.liferay.portal.kernel.exception.SystemException;
246    
247            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll(
248                    int start, int end)
249                    throws com.liferay.portal.kernel.exception.SystemException;
250    
251            public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll(
252                    int start, int end,
253                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
254                    throws com.liferay.portal.kernel.exception.SystemException;
255    
256            public void removeByAEI_T_A(long assetEntryId, int type, boolean active)
257                    throws com.liferay.portal.kernel.exception.SystemException;
258    
259            public void removeByU_AID_A_T(long userId, java.lang.String actionId,
260                    boolean active, int type)
261                    throws com.liferay.portal.kernel.exception.SystemException;
262    
263            public void removeByAEI_AID_A_T(long assetEntryId,
264                    java.lang.String actionId, boolean active, int type)
265                    throws com.liferay.portal.kernel.exception.SystemException;
266    
267            public void removeByU_AID_AD_A_T(long userId, java.lang.String actionId,
268                    int actionDate, boolean active, int type)
269                    throws com.liferay.portal.kernel.exception.SystemException;
270    
271            public void removeByAEI_AID_AD_A_T(long assetEntryId,
272                    java.lang.String actionId, int actionDate, boolean active, int type)
273                    throws com.liferay.portal.kernel.exception.SystemException;
274    
275            public void removeByU_AEI_AID_AD_A_T(long userId, long assetEntryId,
276                    java.lang.String actionId, int actionDate, boolean active, int type)
277                    throws com.liferay.portal.kernel.exception.SystemException,
278                            com.liferay.portlet.social.NoSuchEquityLogException;
279    
280            public void removeAll()
281                    throws com.liferay.portal.kernel.exception.SystemException;
282    
283            public int countByAEI_T_A(long assetEntryId, int type, boolean active)
284                    throws com.liferay.portal.kernel.exception.SystemException;
285    
286            public int countByU_AID_A_T(long userId, java.lang.String actionId,
287                    boolean active, int type)
288                    throws com.liferay.portal.kernel.exception.SystemException;
289    
290            public int countByAEI_AID_A_T(long assetEntryId, java.lang.String actionId,
291                    boolean active, int type)
292                    throws com.liferay.portal.kernel.exception.SystemException;
293    
294            public int countByU_AID_AD_A_T(long userId, java.lang.String actionId,
295                    int actionDate, boolean active, int type)
296                    throws com.liferay.portal.kernel.exception.SystemException;
297    
298            public int countByAEI_AID_AD_A_T(long assetEntryId,
299                    java.lang.String actionId, int actionDate, boolean active, int type)
300                    throws com.liferay.portal.kernel.exception.SystemException;
301    
302            public int countByU_AEI_AID_AD_A_T(long userId, long assetEntryId,
303                    java.lang.String actionId, int actionDate, boolean active, int type)
304                    throws com.liferay.portal.kernel.exception.SystemException;
305    
306            public int countAll()
307                    throws com.liferay.portal.kernel.exception.SystemException;
308    }