001
014
015 package com.liferay.portlet.blogs.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.MethodCache;
019 import com.liferay.portal.kernel.util.ReferenceRegistry;
020
021
034 public class BlogsStatsUserLocalServiceUtil {
035
040
041
048 public static com.liferay.portlet.blogs.model.BlogsStatsUser addBlogsStatsUser(
049 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
050 throws com.liferay.portal.kernel.exception.SystemException {
051 return getService().addBlogsStatsUser(blogsStatsUser);
052 }
053
054
060 public static com.liferay.portlet.blogs.model.BlogsStatsUser createBlogsStatsUser(
061 long statsUserId) {
062 return getService().createBlogsStatsUser(statsUserId);
063 }
064
065
072 public static void deleteBlogsStatsUser(long statsUserId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 getService().deleteBlogsStatsUser(statsUserId);
076 }
077
078
084 public static void deleteBlogsStatsUser(
085 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
086 throws com.liferay.portal.kernel.exception.SystemException {
087 getService().deleteBlogsStatsUser(blogsStatsUser);
088 }
089
090
097 @SuppressWarnings("rawtypes")
098 public static java.util.List dynamicQuery(
099 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return getService().dynamicQuery(dynamicQuery);
102 }
103
104
117 @SuppressWarnings("rawtypes")
118 public static java.util.List dynamicQuery(
119 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
120 int end) throws com.liferay.portal.kernel.exception.SystemException {
121 return getService().dynamicQuery(dynamicQuery, start, end);
122 }
123
124
138 @SuppressWarnings("rawtypes")
139 public static java.util.List dynamicQuery(
140 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
141 int end,
142 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143 throws com.liferay.portal.kernel.exception.SystemException {
144 return getService()
145 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
146 }
147
148
155 public static long dynamicQueryCount(
156 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return getService().dynamicQueryCount(dynamicQuery);
159 }
160
161
169 public static com.liferay.portlet.blogs.model.BlogsStatsUser getBlogsStatsUser(
170 long statsUserId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return getService().getBlogsStatsUser(statsUserId);
174 }
175
176 public static com.liferay.portal.model.PersistedModel getPersistedModel(
177 java.io.Serializable primaryKeyObj)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return getService().getPersistedModel(primaryKeyObj);
181 }
182
183
195 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getBlogsStatsUsers(
196 int start, int end)
197 throws com.liferay.portal.kernel.exception.SystemException {
198 return getService().getBlogsStatsUsers(start, end);
199 }
200
201
207 public static int getBlogsStatsUsersCount()
208 throws com.liferay.portal.kernel.exception.SystemException {
209 return getService().getBlogsStatsUsersCount();
210 }
211
212
219 public static com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
220 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return getService().updateBlogsStatsUser(blogsStatsUser);
223 }
224
225
233 public static com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
234 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
235 boolean merge)
236 throws com.liferay.portal.kernel.exception.SystemException {
237 return getService().updateBlogsStatsUser(blogsStatsUser, merge);
238 }
239
240
245 public static java.lang.String getBeanIdentifier() {
246 return getService().getBeanIdentifier();
247 }
248
249
254 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
255 getService().setBeanIdentifier(beanIdentifier);
256 }
257
258 public static void deleteStatsUser(
259 com.liferay.portlet.blogs.model.BlogsStatsUser statsUsers)
260 throws com.liferay.portal.kernel.exception.SystemException {
261 getService().deleteStatsUser(statsUsers);
262 }
263
264 public static void deleteStatsUser(long statsUserId)
265 throws com.liferay.portal.kernel.exception.PortalException,
266 com.liferay.portal.kernel.exception.SystemException {
267 getService().deleteStatsUser(statsUserId);
268 }
269
270 public static void deleteStatsUserByGroupId(long groupId)
271 throws com.liferay.portal.kernel.exception.SystemException {
272 getService().deleteStatsUserByGroupId(groupId);
273 }
274
275 public static void deleteStatsUserByUserId(long userId)
276 throws com.liferay.portal.kernel.exception.SystemException {
277 getService().deleteStatsUserByUserId(userId);
278 }
279
280 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
281 long companyId, int start, int end)
282 throws com.liferay.portal.kernel.exception.SystemException {
283 return getService().getCompanyStatsUsers(companyId, start, end);
284 }
285
286 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
287 long companyId, int start, int end,
288 com.liferay.portal.kernel.util.OrderByComparator obc)
289 throws com.liferay.portal.kernel.exception.SystemException {
290 return getService().getCompanyStatsUsers(companyId, start, end, obc);
291 }
292
293 public static int getCompanyStatsUsersCount(long companyId)
294 throws com.liferay.portal.kernel.exception.SystemException {
295 return getService().getCompanyStatsUsersCount(companyId);
296 }
297
298 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupsStatsUsers(
299 long companyId, long groupId, int start, int end)
300 throws com.liferay.portal.kernel.exception.SystemException {
301 return getService().getGroupsStatsUsers(companyId, groupId, start, end);
302 }
303
304 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
305 long groupId, int start, int end)
306 throws com.liferay.portal.kernel.exception.SystemException {
307 return getService().getGroupStatsUsers(groupId, start, end);
308 }
309
310 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
311 long groupId, int start, int end,
312 com.liferay.portal.kernel.util.OrderByComparator obc)
313 throws com.liferay.portal.kernel.exception.SystemException {
314 return getService().getGroupStatsUsers(groupId, start, end, obc);
315 }
316
317 public static int getGroupStatsUsersCount(long groupId)
318 throws com.liferay.portal.kernel.exception.SystemException {
319 return getService().getGroupStatsUsersCount(groupId);
320 }
321
322 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
323 long organizationId, int start, int end)
324 throws com.liferay.portal.kernel.exception.SystemException {
325 return getService().getOrganizationStatsUsers(organizationId, start, end);
326 }
327
328 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
329 long organizationId, int start, int end,
330 com.liferay.portal.kernel.util.OrderByComparator obc)
331 throws com.liferay.portal.kernel.exception.SystemException {
332 return getService()
333 .getOrganizationStatsUsers(organizationId, start, end, obc);
334 }
335
336 public static int getOrganizationStatsUsersCount(long organizationId)
337 throws com.liferay.portal.kernel.exception.SystemException {
338 return getService().getOrganizationStatsUsersCount(organizationId);
339 }
340
341 public static com.liferay.portlet.blogs.model.BlogsStatsUser getStatsUser(
342 long groupId, long userId)
343 throws com.liferay.portal.kernel.exception.PortalException,
344 com.liferay.portal.kernel.exception.SystemException {
345 return getService().getStatsUser(groupId, userId);
346 }
347
348 public static void updateStatsUser(long groupId, long userId)
349 throws com.liferay.portal.kernel.exception.PortalException,
350 com.liferay.portal.kernel.exception.SystemException {
351 getService().updateStatsUser(groupId, userId);
352 }
353
354 public static void updateStatsUser(long groupId, long userId,
355 java.util.Date displayDate)
356 throws com.liferay.portal.kernel.exception.PortalException,
357 com.liferay.portal.kernel.exception.SystemException {
358 getService().updateStatsUser(groupId, userId, displayDate);
359 }
360
361 public static BlogsStatsUserLocalService getService() {
362 if (_service == null) {
363 _service = (BlogsStatsUserLocalService)PortalBeanLocatorUtil.locate(BlogsStatsUserLocalService.class.getName());
364
365 ReferenceRegistry.registerReference(BlogsStatsUserLocalServiceUtil.class,
366 "_service");
367 MethodCache.remove(BlogsStatsUserLocalService.class);
368 }
369
370 return _service;
371 }
372
373 public void setService(BlogsStatsUserLocalService service) {
374 MethodCache.remove(BlogsStatsUserLocalService.class);
375
376 _service = service;
377
378 ReferenceRegistry.registerReference(BlogsStatsUserLocalServiceUtil.class,
379 "_service");
380 MethodCache.remove(BlogsStatsUserLocalService.class);
381 }
382
383 private static BlogsStatsUserLocalService _service;
384 }