1
14
15 package com.liferay.portlet.blogs.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.blogs.model.BlogsStatsUser;
20
21
34 public interface BlogsStatsUserPersistence extends BasePersistence<BlogsStatsUser> {
35 public void cacheResult(
36 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> blogsStatsUsers);
40
41 public com.liferay.portlet.blogs.model.BlogsStatsUser create(
42 long statsUserId);
43
44 public com.liferay.portlet.blogs.model.BlogsStatsUser remove(
45 long statsUserId)
46 throws com.liferay.portal.SystemException,
47 com.liferay.portlet.blogs.NoSuchStatsUserException;
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 public com.liferay.portlet.blogs.model.BlogsStatsUser updateImpl(
57 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
58 boolean merge) throws com.liferay.portal.SystemException;
59
60 public com.liferay.portlet.blogs.model.BlogsStatsUser findByPrimaryKey(
61 long statsUserId)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portlet.blogs.NoSuchStatsUserException;
64
65 public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByPrimaryKey(
66 long statsUserId) throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
69 long groupId) throws com.liferay.portal.SystemException;
70
71 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
72 long groupId, int start, int end)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
76 long groupId, int start, int end,
77 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_First(
81 long groupId,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.blogs.NoSuchStatsUserException;
85
86 public com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_Last(
87 long groupId,
88 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portlet.blogs.NoSuchStatsUserException;
91
92 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByGroupId_PrevAndNext(
93 long statsUserId, long groupId,
94 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.blogs.NoSuchStatsUserException;
97
98 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
99 long userId) throws com.liferay.portal.SystemException;
100
101 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
102 long userId, int start, int end)
103 throws com.liferay.portal.SystemException;
104
105 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
106 long userId, int start, int end,
107 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
108 throws com.liferay.portal.SystemException;
109
110 public com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_First(
111 long userId,
112 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.blogs.NoSuchStatsUserException;
115
116 public com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_Last(
117 long userId,
118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
119 throws com.liferay.portal.SystemException,
120 com.liferay.portlet.blogs.NoSuchStatsUserException;
121
122 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByUserId_PrevAndNext(
123 long statsUserId, long userId,
124 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.blogs.NoSuchStatsUserException;
127
128 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_U(
129 long groupId, long userId)
130 throws com.liferay.portal.SystemException,
131 com.liferay.portlet.blogs.NoSuchStatsUserException;
132
133 public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_U(
134 long groupId, long userId) throws com.liferay.portal.SystemException;
135
136 public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_U(
137 long groupId, long userId, boolean retrieveFromCache)
138 throws com.liferay.portal.SystemException;
139
140 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
141 long groupId, int entryCount) throws com.liferay.portal.SystemException;
142
143 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
144 long groupId, int entryCount, int start, int end)
145 throws com.liferay.portal.SystemException;
146
147 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
148 long groupId, int entryCount, int start, int end,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.SystemException;
151
152 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_E_First(
153 long groupId, int entryCount,
154 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
155 throws com.liferay.portal.SystemException,
156 com.liferay.portlet.blogs.NoSuchStatsUserException;
157
158 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_E_Last(
159 long groupId, int entryCount,
160 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.blogs.NoSuchStatsUserException;
163
164 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByG_E_PrevAndNext(
165 long statsUserId, long groupId, int entryCount,
166 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
167 throws com.liferay.portal.SystemException,
168 com.liferay.portlet.blogs.NoSuchStatsUserException;
169
170 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
171 long companyId, int entryCount)
172 throws com.liferay.portal.SystemException;
173
174 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
175 long companyId, int entryCount, int start, int end)
176 throws com.liferay.portal.SystemException;
177
178 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
179 long companyId, int entryCount, int start, int end,
180 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
181 throws com.liferay.portal.SystemException;
182
183 public com.liferay.portlet.blogs.model.BlogsStatsUser findByC_E_First(
184 long companyId, int entryCount,
185 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
186 throws com.liferay.portal.SystemException,
187 com.liferay.portlet.blogs.NoSuchStatsUserException;
188
189 public com.liferay.portlet.blogs.model.BlogsStatsUser findByC_E_Last(
190 long companyId, int entryCount,
191 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
192 throws com.liferay.portal.SystemException,
193 com.liferay.portlet.blogs.NoSuchStatsUserException;
194
195 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByC_E_PrevAndNext(
196 long statsUserId, long companyId, int entryCount,
197 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
198 throws com.liferay.portal.SystemException,
199 com.liferay.portlet.blogs.NoSuchStatsUserException;
200
201 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByU_L(
202 long userId, java.util.Date lastPostDate)
203 throws com.liferay.portal.SystemException;
204
205 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByU_L(
206 long userId, java.util.Date lastPostDate, int start, int end)
207 throws com.liferay.portal.SystemException;
208
209 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByU_L(
210 long userId, java.util.Date lastPostDate, int start, int end,
211 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
212 throws com.liferay.portal.SystemException;
213
214 public com.liferay.portlet.blogs.model.BlogsStatsUser findByU_L_First(
215 long userId, java.util.Date lastPostDate,
216 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
217 throws com.liferay.portal.SystemException,
218 com.liferay.portlet.blogs.NoSuchStatsUserException;
219
220 public com.liferay.portlet.blogs.model.BlogsStatsUser findByU_L_Last(
221 long userId, java.util.Date lastPostDate,
222 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
223 throws com.liferay.portal.SystemException,
224 com.liferay.portlet.blogs.NoSuchStatsUserException;
225
226 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByU_L_PrevAndNext(
227 long statsUserId, long userId, java.util.Date lastPostDate,
228 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
229 throws com.liferay.portal.SystemException,
230 com.liferay.portlet.blogs.NoSuchStatsUserException;
231
232 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll()
233 throws com.liferay.portal.SystemException;
234
235 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
236 int start, int end) throws com.liferay.portal.SystemException;
237
238 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
239 int start, int end,
240 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
241 throws com.liferay.portal.SystemException;
242
243 public void removeByGroupId(long groupId)
244 throws com.liferay.portal.SystemException;
245
246 public void removeByUserId(long userId)
247 throws com.liferay.portal.SystemException;
248
249 public void removeByG_U(long groupId, long userId)
250 throws com.liferay.portal.SystemException,
251 com.liferay.portlet.blogs.NoSuchStatsUserException;
252
253 public void removeByG_E(long groupId, int entryCount)
254 throws com.liferay.portal.SystemException;
255
256 public void removeByC_E(long companyId, int entryCount)
257 throws com.liferay.portal.SystemException;
258
259 public void removeByU_L(long userId, java.util.Date lastPostDate)
260 throws com.liferay.portal.SystemException;
261
262 public void removeAll() throws com.liferay.portal.SystemException;
263
264 public int countByGroupId(long groupId)
265 throws com.liferay.portal.SystemException;
266
267 public int countByUserId(long userId)
268 throws com.liferay.portal.SystemException;
269
270 public int countByG_U(long groupId, long userId)
271 throws com.liferay.portal.SystemException;
272
273 public int countByG_E(long groupId, int entryCount)
274 throws com.liferay.portal.SystemException;
275
276 public int countByC_E(long companyId, int entryCount)
277 throws com.liferay.portal.SystemException;
278
279 public int countByU_L(long userId, java.util.Date lastPostDate)
280 throws com.liferay.portal.SystemException;
281
282 public int countAll() throws com.liferay.portal.SystemException;
283 }