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