1
19
20 package com.liferay.portlet.messageboards.service.persistence;
21
22 import com.liferay.portal.service.persistence.BasePersistence;
23
24
30 public interface MBStatsUserPersistence extends BasePersistence {
31 public void cacheResult(
32 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser);
33
34 public void cacheResult(
35 java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> mbStatsUsers);
36
37 public void clearCache();
38
39 public com.liferay.portlet.messageboards.model.MBStatsUser create(
40 long statsUserId);
41
42 public com.liferay.portlet.messageboards.model.MBStatsUser remove(
43 long statsUserId)
44 throws com.liferay.portal.SystemException,
45 com.liferay.portlet.messageboards.NoSuchStatsUserException;
46
47 public com.liferay.portlet.messageboards.model.MBStatsUser remove(
48 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
49 throws com.liferay.portal.SystemException;
50
51
54 public com.liferay.portlet.messageboards.model.MBStatsUser update(
55 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
56 throws com.liferay.portal.SystemException;
57
58
71 public com.liferay.portlet.messageboards.model.MBStatsUser update(
72 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser,
73 boolean merge) throws com.liferay.portal.SystemException;
74
75 public com.liferay.portlet.messageboards.model.MBStatsUser updateImpl(
76 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser,
77 boolean merge) throws com.liferay.portal.SystemException;
78
79 public com.liferay.portlet.messageboards.model.MBStatsUser findByPrimaryKey(
80 long statsUserId)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.messageboards.NoSuchStatsUserException;
83
84 public com.liferay.portlet.messageboards.model.MBStatsUser fetchByPrimaryKey(
85 long statsUserId) throws com.liferay.portal.SystemException;
86
87 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
88 long groupId) throws com.liferay.portal.SystemException;
89
90 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
91 long groupId, int start, int end)
92 throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
95 long groupId, int start, int end,
96 com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException;
98
99 public com.liferay.portlet.messageboards.model.MBStatsUser findByGroupId_First(
100 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portlet.messageboards.NoSuchStatsUserException;
103
104 public com.liferay.portlet.messageboards.model.MBStatsUser findByGroupId_Last(
105 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException,
107 com.liferay.portlet.messageboards.NoSuchStatsUserException;
108
109 public com.liferay.portlet.messageboards.model.MBStatsUser[] findByGroupId_PrevAndNext(
110 long statsUserId, long groupId,
111 com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.messageboards.NoSuchStatsUserException;
114
115 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
116 long userId) throws com.liferay.portal.SystemException;
117
118 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
119 long userId, int start, int end)
120 throws com.liferay.portal.SystemException;
121
122 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
123 long userId, int start, int end,
124 com.liferay.portal.kernel.util.OrderByComparator obc)
125 throws com.liferay.portal.SystemException;
126
127 public com.liferay.portlet.messageboards.model.MBStatsUser findByUserId_First(
128 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
129 throws com.liferay.portal.SystemException,
130 com.liferay.portlet.messageboards.NoSuchStatsUserException;
131
132 public com.liferay.portlet.messageboards.model.MBStatsUser findByUserId_Last(
133 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.SystemException,
135 com.liferay.portlet.messageboards.NoSuchStatsUserException;
136
137 public com.liferay.portlet.messageboards.model.MBStatsUser[] findByUserId_PrevAndNext(
138 long statsUserId, long userId,
139 com.liferay.portal.kernel.util.OrderByComparator obc)
140 throws com.liferay.portal.SystemException,
141 com.liferay.portlet.messageboards.NoSuchStatsUserException;
142
143 public com.liferay.portlet.messageboards.model.MBStatsUser findByG_U(
144 long groupId, long userId)
145 throws com.liferay.portal.SystemException,
146 com.liferay.portlet.messageboards.NoSuchStatsUserException;
147
148 public com.liferay.portlet.messageboards.model.MBStatsUser fetchByG_U(
149 long groupId, long userId) throws com.liferay.portal.SystemException;
150
151 public com.liferay.portlet.messageboards.model.MBStatsUser fetchByG_U(
152 long groupId, long userId, boolean retrieveFromCache)
153 throws com.liferay.portal.SystemException;
154
155 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
156 long groupId, int messageCount)
157 throws com.liferay.portal.SystemException;
158
159 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
160 long groupId, int messageCount, int start, int end)
161 throws com.liferay.portal.SystemException;
162
163 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
164 long groupId, int messageCount, int start, int end,
165 com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.SystemException;
167
168 public com.liferay.portlet.messageboards.model.MBStatsUser findByG_M_First(
169 long groupId, int messageCount,
170 com.liferay.portal.kernel.util.OrderByComparator obc)
171 throws com.liferay.portal.SystemException,
172 com.liferay.portlet.messageboards.NoSuchStatsUserException;
173
174 public com.liferay.portlet.messageboards.model.MBStatsUser findByG_M_Last(
175 long groupId, int messageCount,
176 com.liferay.portal.kernel.util.OrderByComparator obc)
177 throws com.liferay.portal.SystemException,
178 com.liferay.portlet.messageboards.NoSuchStatsUserException;
179
180 public com.liferay.portlet.messageboards.model.MBStatsUser[] findByG_M_PrevAndNext(
181 long statsUserId, long groupId, int messageCount,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.SystemException,
184 com.liferay.portlet.messageboards.NoSuchStatsUserException;
185
186 public java.util.List<Object> findWithDynamicQuery(
187 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
188 throws com.liferay.portal.SystemException;
189
190 public java.util.List<Object> findWithDynamicQuery(
191 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
192 int end) throws com.liferay.portal.SystemException;
193
194 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll()
195 throws com.liferay.portal.SystemException;
196
197 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll(
198 int start, int end) throws com.liferay.portal.SystemException;
199
200 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll(
201 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
202 throws com.liferay.portal.SystemException;
203
204 public void removeByGroupId(long groupId)
205 throws com.liferay.portal.SystemException;
206
207 public void removeByUserId(long userId)
208 throws com.liferay.portal.SystemException;
209
210 public void removeByG_U(long groupId, long userId)
211 throws com.liferay.portal.SystemException,
212 com.liferay.portlet.messageboards.NoSuchStatsUserException;
213
214 public void removeByG_M(long groupId, int messageCount)
215 throws com.liferay.portal.SystemException;
216
217 public void removeAll() throws com.liferay.portal.SystemException;
218
219 public int countByGroupId(long groupId)
220 throws com.liferay.portal.SystemException;
221
222 public int countByUserId(long userId)
223 throws com.liferay.portal.SystemException;
224
225 public int countByG_U(long groupId, long userId)
226 throws com.liferay.portal.SystemException;
227
228 public int countByG_M(long groupId, int messageCount)
229 throws com.liferay.portal.SystemException;
230
231 public int countAll() throws com.liferay.portal.SystemException;
232 }