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.ReferenceRegistry;
019
020
033 public class BlogsStatsUserLocalServiceUtil {
034
039
040
047 public static com.liferay.portlet.blogs.model.BlogsStatsUser addBlogsStatsUser(
048 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
049 throws com.liferay.portal.kernel.exception.SystemException {
050 return getService().addBlogsStatsUser(blogsStatsUser);
051 }
052
053
059 public static com.liferay.portlet.blogs.model.BlogsStatsUser createBlogsStatsUser(
060 long statsUserId) {
061 return getService().createBlogsStatsUser(statsUserId);
062 }
063
064
072 public static com.liferay.portlet.blogs.model.BlogsStatsUser deleteBlogsStatsUser(
073 long statsUserId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 return getService().deleteBlogsStatsUser(statsUserId);
077 }
078
079
086 public static com.liferay.portlet.blogs.model.BlogsStatsUser deleteBlogsStatsUser(
087 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
088 throws com.liferay.portal.kernel.exception.SystemException {
089 return getService().deleteBlogsStatsUser(blogsStatsUser);
090 }
091
092 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
093 return getService().dynamicQuery();
094 }
095
096
103 @SuppressWarnings("rawtypes")
104 public static java.util.List dynamicQuery(
105 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return getService().dynamicQuery(dynamicQuery);
108 }
109
110
123 @SuppressWarnings("rawtypes")
124 public static java.util.List dynamicQuery(
125 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
126 int end) throws com.liferay.portal.kernel.exception.SystemException {
127 return getService().dynamicQuery(dynamicQuery, start, end);
128 }
129
130
144 @SuppressWarnings("rawtypes")
145 public static java.util.List dynamicQuery(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
147 int end,
148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return getService()
151 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
152 }
153
154
161 public static long dynamicQueryCount(
162 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
163 throws com.liferay.portal.kernel.exception.SystemException {
164 return getService().dynamicQueryCount(dynamicQuery);
165 }
166
167 public static com.liferay.portlet.blogs.model.BlogsStatsUser fetchBlogsStatsUser(
168 long statsUserId)
169 throws com.liferay.portal.kernel.exception.SystemException {
170 return getService().fetchBlogsStatsUser(statsUserId);
171 }
172
173
181 public static com.liferay.portlet.blogs.model.BlogsStatsUser getBlogsStatsUser(
182 long statsUserId)
183 throws com.liferay.portal.kernel.exception.PortalException,
184 com.liferay.portal.kernel.exception.SystemException {
185 return getService().getBlogsStatsUser(statsUserId);
186 }
187
188 public static com.liferay.portal.model.PersistedModel getPersistedModel(
189 java.io.Serializable primaryKeyObj)
190 throws com.liferay.portal.kernel.exception.PortalException,
191 com.liferay.portal.kernel.exception.SystemException {
192 return getService().getPersistedModel(primaryKeyObj);
193 }
194
195
207 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getBlogsStatsUsers(
208 int start, int end)
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return getService().getBlogsStatsUsers(start, end);
211 }
212
213
219 public static int getBlogsStatsUsersCount()
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return getService().getBlogsStatsUsersCount();
222 }
223
224
231 public static com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
232 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
233 throws com.liferay.portal.kernel.exception.SystemException {
234 return getService().updateBlogsStatsUser(blogsStatsUser);
235 }
236
237
245 public static com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
246 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
247 boolean merge)
248 throws com.liferay.portal.kernel.exception.SystemException {
249 return getService().updateBlogsStatsUser(blogsStatsUser, merge);
250 }
251
252
257 public static java.lang.String getBeanIdentifier() {
258 return getService().getBeanIdentifier();
259 }
260
261
266 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
267 getService().setBeanIdentifier(beanIdentifier);
268 }
269
270 public static void deleteStatsUser(
271 com.liferay.portlet.blogs.model.BlogsStatsUser statsUsers)
272 throws com.liferay.portal.kernel.exception.SystemException {
273 getService().deleteStatsUser(statsUsers);
274 }
275
276 public static void deleteStatsUser(long statsUserId)
277 throws com.liferay.portal.kernel.exception.PortalException,
278 com.liferay.portal.kernel.exception.SystemException {
279 getService().deleteStatsUser(statsUserId);
280 }
281
282 public static void deleteStatsUserByGroupId(long groupId)
283 throws com.liferay.portal.kernel.exception.SystemException {
284 getService().deleteStatsUserByGroupId(groupId);
285 }
286
287 public static void deleteStatsUserByUserId(long userId)
288 throws com.liferay.portal.kernel.exception.SystemException {
289 getService().deleteStatsUserByUserId(userId);
290 }
291
292 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
293 long companyId, int start, int end)
294 throws com.liferay.portal.kernel.exception.SystemException {
295 return getService().getCompanyStatsUsers(companyId, start, end);
296 }
297
298 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
299 long companyId, int start, int end,
300 com.liferay.portal.kernel.util.OrderByComparator obc)
301 throws com.liferay.portal.kernel.exception.SystemException {
302 return getService().getCompanyStatsUsers(companyId, start, end, obc);
303 }
304
305 public static int getCompanyStatsUsersCount(long companyId)
306 throws com.liferay.portal.kernel.exception.SystemException {
307 return getService().getCompanyStatsUsersCount(companyId);
308 }
309
310 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupsStatsUsers(
311 long companyId, long groupId, int start, int end)
312 throws com.liferay.portal.kernel.exception.SystemException {
313 return getService().getGroupsStatsUsers(companyId, groupId, start, end);
314 }
315
316 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
317 long groupId, int start, int end)
318 throws com.liferay.portal.kernel.exception.SystemException {
319 return getService().getGroupStatsUsers(groupId, start, end);
320 }
321
322 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
323 long groupId, int start, int end,
324 com.liferay.portal.kernel.util.OrderByComparator obc)
325 throws com.liferay.portal.kernel.exception.SystemException {
326 return getService().getGroupStatsUsers(groupId, start, end, obc);
327 }
328
329 public static int getGroupStatsUsersCount(long groupId)
330 throws com.liferay.portal.kernel.exception.SystemException {
331 return getService().getGroupStatsUsersCount(groupId);
332 }
333
334 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
335 long organizationId, int start, int end)
336 throws com.liferay.portal.kernel.exception.SystemException {
337 return getService().getOrganizationStatsUsers(organizationId, start, end);
338 }
339
340 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
341 long organizationId, int start, int end,
342 com.liferay.portal.kernel.util.OrderByComparator obc)
343 throws com.liferay.portal.kernel.exception.SystemException {
344 return getService()
345 .getOrganizationStatsUsers(organizationId, start, end, obc);
346 }
347
348 public static int getOrganizationStatsUsersCount(long organizationId)
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return getService().getOrganizationStatsUsersCount(organizationId);
351 }
352
353 public static com.liferay.portlet.blogs.model.BlogsStatsUser getStatsUser(
354 long groupId, long userId)
355 throws com.liferay.portal.kernel.exception.PortalException,
356 com.liferay.portal.kernel.exception.SystemException {
357 return getService().getStatsUser(groupId, userId);
358 }
359
360 public static void updateStatsUser(long groupId, long userId)
361 throws com.liferay.portal.kernel.exception.PortalException,
362 com.liferay.portal.kernel.exception.SystemException {
363 getService().updateStatsUser(groupId, userId);
364 }
365
366 public static void updateStatsUser(long groupId, long userId,
367 java.util.Date displayDate)
368 throws com.liferay.portal.kernel.exception.PortalException,
369 com.liferay.portal.kernel.exception.SystemException {
370 getService().updateStatsUser(groupId, userId, displayDate);
371 }
372
373 public static BlogsStatsUserLocalService getService() {
374 if (_service == null) {
375 _service = (BlogsStatsUserLocalService)PortalBeanLocatorUtil.locate(BlogsStatsUserLocalService.class.getName());
376
377 ReferenceRegistry.registerReference(BlogsStatsUserLocalServiceUtil.class,
378 "_service");
379 }
380
381 return _service;
382 }
383
384
387 public void setService(BlogsStatsUserLocalService service) {
388 }
389
390 private static BlogsStatsUserLocalService _service;
391 }