1
19
20 package com.liferay.portlet.blogs.service.persistence;
21
22 import com.liferay.portal.PortalException;
23 import com.liferay.portal.SystemException;
24 import com.liferay.portal.kernel.annotation.Propagation;
25 import com.liferay.portal.kernel.annotation.Transactional;
26 import com.liferay.portal.service.persistence.BasePersistence;
27
28
34 @Transactional(rollbackFor = {
35 PortalException.class, SystemException.class})
36 public interface BlogsStatsUserPersistence extends BasePersistence {
37 public com.liferay.portlet.blogs.model.BlogsStatsUser create(
38 long statsUserId);
39
40 public com.liferay.portlet.blogs.model.BlogsStatsUser remove(
41 long statsUserId)
42 throws com.liferay.portal.SystemException,
43 com.liferay.portlet.blogs.NoSuchStatsUserException;
44
45 public com.liferay.portlet.blogs.model.BlogsStatsUser remove(
46 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
47 throws com.liferay.portal.SystemException;
48
49
52 public com.liferay.portlet.blogs.model.BlogsStatsUser update(
53 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
54 throws com.liferay.portal.SystemException;
55
56
69 public com.liferay.portlet.blogs.model.BlogsStatsUser update(
70 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
71 boolean merge) throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.blogs.model.BlogsStatsUser updateImpl(
74 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
75 boolean merge) throws com.liferay.portal.SystemException;
76
77 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
78 public com.liferay.portlet.blogs.model.BlogsStatsUser findByPrimaryKey(
79 long statsUserId)
80 throws com.liferay.portal.SystemException,
81 com.liferay.portlet.blogs.NoSuchStatsUserException;
82
83 public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByPrimaryKey(
84 long statsUserId) throws com.liferay.portal.SystemException;
85
86 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
87 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
88 long groupId) throws com.liferay.portal.SystemException;
89
90 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
91 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
92 long groupId, int start, int end)
93 throws com.liferay.portal.SystemException;
94
95 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
96 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
97 long groupId, int start, int end,
98 com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.SystemException;
100
101 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
102 public com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_First(
103 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
104 throws com.liferay.portal.SystemException,
105 com.liferay.portlet.blogs.NoSuchStatsUserException;
106
107 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
108 public com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_Last(
109 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.blogs.NoSuchStatsUserException;
112
113 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
114 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByGroupId_PrevAndNext(
115 long statsUserId, long groupId,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.blogs.NoSuchStatsUserException;
119
120 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
121 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
122 long userId) throws com.liferay.portal.SystemException;
123
124 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
125 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
126 long userId, int start, int end)
127 throws com.liferay.portal.SystemException;
128
129 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
130 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
131 long userId, int start, int end,
132 com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.SystemException;
134
135 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
136 public com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_First(
137 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.SystemException,
139 com.liferay.portlet.blogs.NoSuchStatsUserException;
140
141 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
142 public com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_Last(
143 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException,
145 com.liferay.portlet.blogs.NoSuchStatsUserException;
146
147 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
148 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByUserId_PrevAndNext(
149 long statsUserId, long userId,
150 com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException,
152 com.liferay.portlet.blogs.NoSuchStatsUserException;
153
154 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
155 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_U(
156 long groupId, long userId)
157 throws com.liferay.portal.SystemException,
158 com.liferay.portlet.blogs.NoSuchStatsUserException;
159
160 public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_U(
161 long groupId, long userId) throws com.liferay.portal.SystemException;
162
163 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
164 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
165 long groupId, int entryCount) throws com.liferay.portal.SystemException;
166
167 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
168 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
169 long groupId, int entryCount, int start, int end)
170 throws com.liferay.portal.SystemException;
171
172 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
173 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
174 long groupId, int entryCount, int start, int end,
175 com.liferay.portal.kernel.util.OrderByComparator obc)
176 throws com.liferay.portal.SystemException;
177
178 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
179 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_E_First(
180 long groupId, int entryCount,
181 com.liferay.portal.kernel.util.OrderByComparator obc)
182 throws com.liferay.portal.SystemException,
183 com.liferay.portlet.blogs.NoSuchStatsUserException;
184
185 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
186 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_E_Last(
187 long groupId, int entryCount,
188 com.liferay.portal.kernel.util.OrderByComparator obc)
189 throws com.liferay.portal.SystemException,
190 com.liferay.portlet.blogs.NoSuchStatsUserException;
191
192 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
193 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByG_E_PrevAndNext(
194 long statsUserId, long groupId, int entryCount,
195 com.liferay.portal.kernel.util.OrderByComparator obc)
196 throws com.liferay.portal.SystemException,
197 com.liferay.portlet.blogs.NoSuchStatsUserException;
198
199 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
200 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
201 long companyId, int entryCount)
202 throws com.liferay.portal.SystemException;
203
204 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
205 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
206 long companyId, int entryCount, int start, int end)
207 throws com.liferay.portal.SystemException;
208
209 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
210 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
211 long companyId, int entryCount, int start, int end,
212 com.liferay.portal.kernel.util.OrderByComparator obc)
213 throws com.liferay.portal.SystemException;
214
215 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
216 public com.liferay.portlet.blogs.model.BlogsStatsUser findByC_E_First(
217 long companyId, int entryCount,
218 com.liferay.portal.kernel.util.OrderByComparator obc)
219 throws com.liferay.portal.SystemException,
220 com.liferay.portlet.blogs.NoSuchStatsUserException;
221
222 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
223 public com.liferay.portlet.blogs.model.BlogsStatsUser findByC_E_Last(
224 long companyId, int entryCount,
225 com.liferay.portal.kernel.util.OrderByComparator obc)
226 throws com.liferay.portal.SystemException,
227 com.liferay.portlet.blogs.NoSuchStatsUserException;
228
229 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
230 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByC_E_PrevAndNext(
231 long statsUserId, long companyId, int entryCount,
232 com.liferay.portal.kernel.util.OrderByComparator obc)
233 throws com.liferay.portal.SystemException,
234 com.liferay.portlet.blogs.NoSuchStatsUserException;
235
236 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
237 public java.util.List<Object> findWithDynamicQuery(
238 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
239 throws com.liferay.portal.SystemException;
240
241 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
242 public java.util.List<Object> findWithDynamicQuery(
243 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
244 int end) throws com.liferay.portal.SystemException;
245
246 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
247 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll()
248 throws com.liferay.portal.SystemException;
249
250 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
251 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
252 int start, int end) throws com.liferay.portal.SystemException;
253
254 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
255 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
256 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
257 throws com.liferay.portal.SystemException;
258
259 public void removeByGroupId(long groupId)
260 throws com.liferay.portal.SystemException;
261
262 public void removeByUserId(long userId)
263 throws com.liferay.portal.SystemException;
264
265 public void removeByG_U(long groupId, long userId)
266 throws com.liferay.portal.SystemException,
267 com.liferay.portlet.blogs.NoSuchStatsUserException;
268
269 public void removeByG_E(long groupId, int entryCount)
270 throws com.liferay.portal.SystemException;
271
272 public void removeByC_E(long companyId, int entryCount)
273 throws com.liferay.portal.SystemException;
274
275 public void removeAll() throws com.liferay.portal.SystemException;
276
277 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
278 public int countByGroupId(long groupId)
279 throws com.liferay.portal.SystemException;
280
281 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
282 public int countByUserId(long userId)
283 throws com.liferay.portal.SystemException;
284
285 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
286 public int countByG_U(long groupId, long userId)
287 throws com.liferay.portal.SystemException;
288
289 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
290 public int countByG_E(long groupId, int entryCount)
291 throws com.liferay.portal.SystemException;
292
293 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
294 public int countByC_E(long companyId, int entryCount)
295 throws com.liferay.portal.SystemException;
296
297 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
298 public int countAll() throws com.liferay.portal.SystemException;
299 }