001
014
015 package com.liferay.portlet.blogs.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.transaction.Isolation;
020 import com.liferay.portal.kernel.transaction.Propagation;
021 import com.liferay.portal.kernel.transaction.Transactional;
022 import com.liferay.portal.service.PersistedModelLocalService;
023
024
037 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
038 PortalException.class, SystemException.class})
039 public interface BlogsStatsUserLocalService extends PersistedModelLocalService {
040
045
046
053 public com.liferay.portlet.blogs.model.BlogsStatsUser addBlogsStatsUser(
054 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
055 throws com.liferay.portal.kernel.exception.SystemException;
056
057
063 public com.liferay.portlet.blogs.model.BlogsStatsUser createBlogsStatsUser(
064 long statsUserId);
065
066
073 public void deleteBlogsStatsUser(long statsUserId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException;
076
077
083 public void deleteBlogsStatsUser(
084 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
085 throws com.liferay.portal.kernel.exception.SystemException;
086
087
094 @SuppressWarnings("rawtypes")
095 public java.util.List dynamicQuery(
096 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
097 throws com.liferay.portal.kernel.exception.SystemException;
098
099
112 @SuppressWarnings("rawtypes")
113 public java.util.List dynamicQuery(
114 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
115 int end) throws com.liferay.portal.kernel.exception.SystemException;
116
117
131 @SuppressWarnings("rawtypes")
132 public java.util.List dynamicQuery(
133 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
134 int end,
135 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
136 throws com.liferay.portal.kernel.exception.SystemException;
137
138
145 public long dynamicQueryCount(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
147 throws com.liferay.portal.kernel.exception.SystemException;
148
149
157 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
158 public com.liferay.portlet.blogs.model.BlogsStatsUser getBlogsStatsUser(
159 long statsUserId)
160 throws com.liferay.portal.kernel.exception.PortalException,
161 com.liferay.portal.kernel.exception.SystemException;
162
163 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
164 public com.liferay.portal.model.PersistedModel getPersistedModel(
165 java.io.Serializable primaryKeyObj)
166 throws com.liferay.portal.kernel.exception.PortalException,
167 com.liferay.portal.kernel.exception.SystemException;
168
169
181 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
182 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getBlogsStatsUsers(
183 int start, int end)
184 throws com.liferay.portal.kernel.exception.SystemException;
185
186
192 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
193 public int getBlogsStatsUsersCount()
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196
203 public com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
204 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
205 throws com.liferay.portal.kernel.exception.SystemException;
206
207
215 public com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
216 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
217 boolean merge)
218 throws com.liferay.portal.kernel.exception.SystemException;
219
220
225 public java.lang.String getBeanIdentifier();
226
227
232 public void setBeanIdentifier(java.lang.String beanIdentifier);
233
234 public void deleteStatsUser(
235 com.liferay.portlet.blogs.model.BlogsStatsUser statsUsers)
236 throws com.liferay.portal.kernel.exception.SystemException;
237
238 public void deleteStatsUser(long statsUserId)
239 throws com.liferay.portal.kernel.exception.PortalException,
240 com.liferay.portal.kernel.exception.SystemException;
241
242 public void deleteStatsUserByGroupId(long groupId)
243 throws com.liferay.portal.kernel.exception.SystemException;
244
245 public void deleteStatsUserByUserId(long userId)
246 throws com.liferay.portal.kernel.exception.SystemException;
247
248 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
249 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
250 long companyId, int start, int end)
251 throws com.liferay.portal.kernel.exception.SystemException;
252
253 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
254 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
255 long companyId, int start, int end,
256 com.liferay.portal.kernel.util.OrderByComparator obc)
257 throws com.liferay.portal.kernel.exception.SystemException;
258
259 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
260 public int getCompanyStatsUsersCount(long companyId)
261 throws com.liferay.portal.kernel.exception.SystemException;
262
263 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
264 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupsStatsUsers(
265 long companyId, long groupId, int start, int end)
266 throws com.liferay.portal.kernel.exception.SystemException;
267
268 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
269 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
270 long groupId, int start, int end)
271 throws com.liferay.portal.kernel.exception.SystemException;
272
273 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
274 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
275 long groupId, int start, int end,
276 com.liferay.portal.kernel.util.OrderByComparator obc)
277 throws com.liferay.portal.kernel.exception.SystemException;
278
279 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
280 public int getGroupStatsUsersCount(long groupId)
281 throws com.liferay.portal.kernel.exception.SystemException;
282
283 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
284 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
285 long organizationId, int start, int end)
286 throws com.liferay.portal.kernel.exception.SystemException;
287
288 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
289 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
290 long organizationId, int start, int end,
291 com.liferay.portal.kernel.util.OrderByComparator obc)
292 throws com.liferay.portal.kernel.exception.SystemException;
293
294 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
295 public int getOrganizationStatsUsersCount(long organizationId)
296 throws com.liferay.portal.kernel.exception.SystemException;
297
298 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
299 public com.liferay.portlet.blogs.model.BlogsStatsUser getStatsUser(
300 long groupId, long userId)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException;
303
304 public void updateStatsUser(long groupId, long userId)
305 throws com.liferay.portal.kernel.exception.PortalException,
306 com.liferay.portal.kernel.exception.SystemException;
307
308 public void updateStatsUser(long groupId, long userId,
309 java.util.Date displayDate)
310 throws com.liferay.portal.kernel.exception.PortalException,
311 com.liferay.portal.kernel.exception.SystemException;
312 }