001
014
015 package com.liferay.portlet.blogs.service.persistence;
016
017 import com.liferay.portal.service.persistence.BasePersistence;
018
019 import com.liferay.portlet.blogs.model.BlogsStatsUser;
020
021
027 public interface BlogsStatsUserPersistence extends BasePersistence<BlogsStatsUser> {
028 public void cacheResult(
029 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> blogsStatsUsers);
033
034 public com.liferay.portlet.blogs.model.BlogsStatsUser create(
035 long statsUserId);
036
037 public com.liferay.portlet.blogs.model.BlogsStatsUser remove(
038 long statsUserId)
039 throws com.liferay.portal.kernel.exception.SystemException,
040 com.liferay.portlet.blogs.NoSuchStatsUserException;
041
042 public com.liferay.portlet.blogs.model.BlogsStatsUser updateImpl(
043 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
044 boolean merge)
045 throws com.liferay.portal.kernel.exception.SystemException;
046
047 public com.liferay.portlet.blogs.model.BlogsStatsUser findByPrimaryKey(
048 long statsUserId)
049 throws com.liferay.portal.kernel.exception.SystemException,
050 com.liferay.portlet.blogs.NoSuchStatsUserException;
051
052 public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByPrimaryKey(
053 long statsUserId)
054 throws com.liferay.portal.kernel.exception.SystemException;
055
056 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
057 long groupId)
058 throws com.liferay.portal.kernel.exception.SystemException;
059
060 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
061 long groupId, int start, int end)
062 throws com.liferay.portal.kernel.exception.SystemException;
063
064 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
065 long groupId, int start, int end,
066 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
067 throws com.liferay.portal.kernel.exception.SystemException;
068
069 public com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_First(
070 long groupId,
071 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072 throws com.liferay.portal.kernel.exception.SystemException,
073 com.liferay.portlet.blogs.NoSuchStatsUserException;
074
075 public com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_Last(
076 long groupId,
077 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
078 throws com.liferay.portal.kernel.exception.SystemException,
079 com.liferay.portlet.blogs.NoSuchStatsUserException;
080
081 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByGroupId_PrevAndNext(
082 long statsUserId, long groupId,
083 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
084 throws com.liferay.portal.kernel.exception.SystemException,
085 com.liferay.portlet.blogs.NoSuchStatsUserException;
086
087 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
088 long userId) throws com.liferay.portal.kernel.exception.SystemException;
089
090 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
091 long userId, int start, int end)
092 throws com.liferay.portal.kernel.exception.SystemException;
093
094 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
095 long userId, int start, int end,
096 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
097 throws com.liferay.portal.kernel.exception.SystemException;
098
099 public com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_First(
100 long userId,
101 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
102 throws com.liferay.portal.kernel.exception.SystemException,
103 com.liferay.portlet.blogs.NoSuchStatsUserException;
104
105 public com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_Last(
106 long userId,
107 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
108 throws com.liferay.portal.kernel.exception.SystemException,
109 com.liferay.portlet.blogs.NoSuchStatsUserException;
110
111 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByUserId_PrevAndNext(
112 long statsUserId, long userId,
113 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
114 throws com.liferay.portal.kernel.exception.SystemException,
115 com.liferay.portlet.blogs.NoSuchStatsUserException;
116
117 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_U(
118 long groupId, long userId)
119 throws com.liferay.portal.kernel.exception.SystemException,
120 com.liferay.portlet.blogs.NoSuchStatsUserException;
121
122 public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_U(
123 long groupId, long userId)
124 throws com.liferay.portal.kernel.exception.SystemException;
125
126 public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_U(
127 long groupId, long userId, boolean retrieveFromCache)
128 throws com.liferay.portal.kernel.exception.SystemException;
129
130 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_NotE(
131 long groupId, int entryCount)
132 throws com.liferay.portal.kernel.exception.SystemException;
133
134 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_NotE(
135 long groupId, int entryCount, int start, int end)
136 throws com.liferay.portal.kernel.exception.SystemException;
137
138 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_NotE(
139 long groupId, int entryCount, int start, int end,
140 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141 throws com.liferay.portal.kernel.exception.SystemException;
142
143 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_NotE_First(
144 long groupId, int entryCount,
145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
146 throws com.liferay.portal.kernel.exception.SystemException,
147 com.liferay.portlet.blogs.NoSuchStatsUserException;
148
149 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_NotE_Last(
150 long groupId, int entryCount,
151 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
152 throws com.liferay.portal.kernel.exception.SystemException,
153 com.liferay.portlet.blogs.NoSuchStatsUserException;
154
155 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByG_NotE_PrevAndNext(
156 long statsUserId, long groupId, int entryCount,
157 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
158 throws com.liferay.portal.kernel.exception.SystemException,
159 com.liferay.portlet.blogs.NoSuchStatsUserException;
160
161 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_NotE(
162 long companyId, int entryCount)
163 throws com.liferay.portal.kernel.exception.SystemException;
164
165 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_NotE(
166 long companyId, int entryCount, int start, int end)
167 throws com.liferay.portal.kernel.exception.SystemException;
168
169 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_NotE(
170 long companyId, int entryCount, int start, int end,
171 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
172 throws com.liferay.portal.kernel.exception.SystemException;
173
174 public com.liferay.portlet.blogs.model.BlogsStatsUser findByC_NotE_First(
175 long companyId, int entryCount,
176 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
177 throws com.liferay.portal.kernel.exception.SystemException,
178 com.liferay.portlet.blogs.NoSuchStatsUserException;
179
180 public com.liferay.portlet.blogs.model.BlogsStatsUser findByC_NotE_Last(
181 long companyId, int entryCount,
182 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
183 throws com.liferay.portal.kernel.exception.SystemException,
184 com.liferay.portlet.blogs.NoSuchStatsUserException;
185
186 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByC_NotE_PrevAndNext(
187 long statsUserId, long companyId, int entryCount,
188 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
189 throws com.liferay.portal.kernel.exception.SystemException,
190 com.liferay.portlet.blogs.NoSuchStatsUserException;
191
192 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByU_L(
193 long userId, java.util.Date lastPostDate)
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByU_L(
197 long userId, java.util.Date lastPostDate, int start, int end)
198 throws com.liferay.portal.kernel.exception.SystemException;
199
200 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByU_L(
201 long userId, java.util.Date lastPostDate, int start, int end,
202 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
203 throws com.liferay.portal.kernel.exception.SystemException;
204
205 public com.liferay.portlet.blogs.model.BlogsStatsUser findByU_L_First(
206 long userId, java.util.Date lastPostDate,
207 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
208 throws com.liferay.portal.kernel.exception.SystemException,
209 com.liferay.portlet.blogs.NoSuchStatsUserException;
210
211 public com.liferay.portlet.blogs.model.BlogsStatsUser findByU_L_Last(
212 long userId, java.util.Date lastPostDate,
213 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
214 throws com.liferay.portal.kernel.exception.SystemException,
215 com.liferay.portlet.blogs.NoSuchStatsUserException;
216
217 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByU_L_PrevAndNext(
218 long statsUserId, long userId, java.util.Date lastPostDate,
219 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
220 throws com.liferay.portal.kernel.exception.SystemException,
221 com.liferay.portlet.blogs.NoSuchStatsUserException;
222
223 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll()
224 throws com.liferay.portal.kernel.exception.SystemException;
225
226 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
227 int start, int end)
228 throws com.liferay.portal.kernel.exception.SystemException;
229
230 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
231 int start, int end,
232 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
233 throws com.liferay.portal.kernel.exception.SystemException;
234
235 public void removeByGroupId(long groupId)
236 throws com.liferay.portal.kernel.exception.SystemException;
237
238 public void removeByUserId(long userId)
239 throws com.liferay.portal.kernel.exception.SystemException;
240
241 public void removeByG_U(long groupId, long userId)
242 throws com.liferay.portal.kernel.exception.SystemException,
243 com.liferay.portlet.blogs.NoSuchStatsUserException;
244
245 public void removeByG_NotE(long groupId, int entryCount)
246 throws com.liferay.portal.kernel.exception.SystemException;
247
248 public void removeByC_NotE(long companyId, int entryCount)
249 throws com.liferay.portal.kernel.exception.SystemException;
250
251 public void removeByU_L(long userId, java.util.Date lastPostDate)
252 throws com.liferay.portal.kernel.exception.SystemException;
253
254 public void removeAll()
255 throws com.liferay.portal.kernel.exception.SystemException;
256
257 public int countByGroupId(long groupId)
258 throws com.liferay.portal.kernel.exception.SystemException;
259
260 public int countByUserId(long userId)
261 throws com.liferay.portal.kernel.exception.SystemException;
262
263 public int countByG_U(long groupId, long userId)
264 throws com.liferay.portal.kernel.exception.SystemException;
265
266 public int countByG_NotE(long groupId, int entryCount)
267 throws com.liferay.portal.kernel.exception.SystemException;
268
269 public int countByC_NotE(long companyId, int entryCount)
270 throws com.liferay.portal.kernel.exception.SystemException;
271
272 public int countByU_L(long userId, java.util.Date lastPostDate)
273 throws com.liferay.portal.kernel.exception.SystemException;
274
275 public int countAll()
276 throws com.liferay.portal.kernel.exception.SystemException;
277 }