1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.social.service.persistence;
16  
17  import com.liferay.portal.service.persistence.BasePersistence;
18  
19  import com.liferay.portlet.social.model.SocialEquityLog;
20  
21  /**
22   * <a href="SocialEquityLogPersistence.java.html"><b><i>View Source</i></b></a>
23   *
24   * <p>
25   * ServiceBuilder generated this class. Modifications in this class will be
26   * overwritten the next time is generated.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       SocialEquityLogPersistenceImpl
31   * @see       SocialEquityLogUtil
32   * @generated
33   */
34  public interface SocialEquityLogPersistence extends BasePersistence<SocialEquityLog> {
35      public void cacheResult(
36          com.liferay.portlet.social.model.SocialEquityLog socialEquityLog);
37  
38      public void cacheResult(
39          java.util.List<com.liferay.portlet.social.model.SocialEquityLog> socialEquityLogs);
40  
41      public com.liferay.portlet.social.model.SocialEquityLog create(
42          long equityLogId);
43  
44      public com.liferay.portlet.social.model.SocialEquityLog remove(
45          long equityLogId)
46          throws com.liferay.portal.kernel.exception.SystemException,
47              com.liferay.portlet.social.NoSuchEquityLogException;
48  
49      public com.liferay.portlet.social.model.SocialEquityLog updateImpl(
50          com.liferay.portlet.social.model.SocialEquityLog socialEquityLog,
51          boolean merge)
52          throws com.liferay.portal.kernel.exception.SystemException;
53  
54      public com.liferay.portlet.social.model.SocialEquityLog findByPrimaryKey(
55          long equityLogId)
56          throws com.liferay.portal.kernel.exception.SystemException,
57              com.liferay.portlet.social.NoSuchEquityLogException;
58  
59      public com.liferay.portlet.social.model.SocialEquityLog fetchByPrimaryKey(
60          long equityLogId)
61          throws com.liferay.portal.kernel.exception.SystemException;
62  
63      public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A(
64          long assetEntryId, int type, boolean active)
65          throws com.liferay.portal.kernel.exception.SystemException;
66  
67      public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A(
68          long assetEntryId, int type, boolean active, int start, int end)
69          throws com.liferay.portal.kernel.exception.SystemException;
70  
71      public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByAEI_T_A(
72          long assetEntryId, int type, boolean active, int start, int end,
73          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
74          throws com.liferay.portal.kernel.exception.SystemException;
75  
76      public com.liferay.portlet.social.model.SocialEquityLog findByAEI_T_A_First(
77          long assetEntryId, int type, boolean active,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.kernel.exception.SystemException,
80              com.liferay.portlet.social.NoSuchEquityLogException;
81  
82      public com.liferay.portlet.social.model.SocialEquityLog findByAEI_T_A_Last(
83          long assetEntryId, int type, boolean active,
84          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85          throws com.liferay.portal.kernel.exception.SystemException,
86              com.liferay.portlet.social.NoSuchEquityLogException;
87  
88      public com.liferay.portlet.social.model.SocialEquityLog[] findByAEI_T_A_PrevAndNext(
89          long equityLogId, long assetEntryId, int type, boolean active,
90          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
91          throws com.liferay.portal.kernel.exception.SystemException,
92              com.liferay.portlet.social.NoSuchEquityLogException;
93  
94      public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AEI_A_A(
95          long userId, long assetEntryId, java.lang.String actionId,
96          boolean active)
97          throws com.liferay.portal.kernel.exception.SystemException;
98  
99      public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AEI_A_A(
100         long userId, long assetEntryId, java.lang.String actionId,
101         boolean active, int start, int end)
102         throws com.liferay.portal.kernel.exception.SystemException;
103 
104     public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findByU_AEI_A_A(
105         long userId, long assetEntryId, java.lang.String actionId,
106         boolean active, int start, int end,
107         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
108         throws com.liferay.portal.kernel.exception.SystemException;
109 
110     public com.liferay.portlet.social.model.SocialEquityLog findByU_AEI_A_A_First(
111         long userId, long assetEntryId, java.lang.String actionId,
112         boolean active,
113         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
114         throws com.liferay.portal.kernel.exception.SystemException,
115             com.liferay.portlet.social.NoSuchEquityLogException;
116 
117     public com.liferay.portlet.social.model.SocialEquityLog findByU_AEI_A_A_Last(
118         long userId, long assetEntryId, java.lang.String actionId,
119         boolean active,
120         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
121         throws com.liferay.portal.kernel.exception.SystemException,
122             com.liferay.portlet.social.NoSuchEquityLogException;
123 
124     public com.liferay.portlet.social.model.SocialEquityLog[] findByU_AEI_A_A_PrevAndNext(
125         long equityLogId, long userId, long assetEntryId,
126         java.lang.String actionId, boolean active,
127         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
128         throws com.liferay.portal.kernel.exception.SystemException,
129             com.liferay.portlet.social.NoSuchEquityLogException;
130 
131     public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll()
132         throws com.liferay.portal.kernel.exception.SystemException;
133 
134     public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll(
135         int start, int end)
136         throws com.liferay.portal.kernel.exception.SystemException;
137 
138     public java.util.List<com.liferay.portlet.social.model.SocialEquityLog> findAll(
139         int start, int end,
140         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141         throws com.liferay.portal.kernel.exception.SystemException;
142 
143     public void removeByAEI_T_A(long assetEntryId, int type, boolean active)
144         throws com.liferay.portal.kernel.exception.SystemException;
145 
146     public void removeByU_AEI_A_A(long userId, long assetEntryId,
147         java.lang.String actionId, boolean active)
148         throws com.liferay.portal.kernel.exception.SystemException;
149 
150     public void removeAll()
151         throws com.liferay.portal.kernel.exception.SystemException;
152 
153     public int countByAEI_T_A(long assetEntryId, int type, boolean active)
154         throws com.liferay.portal.kernel.exception.SystemException;
155 
156     public int countByU_AEI_A_A(long userId, long assetEntryId,
157         java.lang.String actionId, boolean active)
158         throws com.liferay.portal.kernel.exception.SystemException;
159 
160     public int countAll()
161         throws com.liferay.portal.kernel.exception.SystemException;
162 }