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
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
073 public static com.liferay.portlet.blogs.model.BlogsStatsUser deleteBlogsStatsUser(
074 long statsUserId)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 return getService().deleteBlogsStatsUser(statsUserId);
078 }
079
080
087 public static com.liferay.portlet.blogs.model.BlogsStatsUser deleteBlogsStatsUser(
088 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
089 throws com.liferay.portal.kernel.exception.SystemException {
090 return getService().deleteBlogsStatsUser(blogsStatsUser);
091 }
092
093 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094 return getService().dynamicQuery();
095 }
096
097
104 @SuppressWarnings("rawtypes")
105 public static java.util.List dynamicQuery(
106 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
107 throws com.liferay.portal.kernel.exception.SystemException {
108 return getService().dynamicQuery(dynamicQuery);
109 }
110
111
124 @SuppressWarnings("rawtypes")
125 public static java.util.List dynamicQuery(
126 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127 int end) throws com.liferay.portal.kernel.exception.SystemException {
128 return getService().dynamicQuery(dynamicQuery, start, end);
129 }
130
131
145 @SuppressWarnings("rawtypes")
146 public static java.util.List dynamicQuery(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148 int end,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return getService()
152 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
153 }
154
155
162 public static long dynamicQueryCount(
163 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return getService().dynamicQueryCount(dynamicQuery);
166 }
167
168
176 public static long dynamicQueryCount(
177 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
178 com.liferay.portal.kernel.dao.orm.Projection projection)
179 throws com.liferay.portal.kernel.exception.SystemException {
180 return getService().dynamicQueryCount(dynamicQuery, projection);
181 }
182
183 public static com.liferay.portlet.blogs.model.BlogsStatsUser fetchBlogsStatsUser(
184 long statsUserId)
185 throws com.liferay.portal.kernel.exception.SystemException {
186 return getService().fetchBlogsStatsUser(statsUserId);
187 }
188
189
197 public static com.liferay.portlet.blogs.model.BlogsStatsUser getBlogsStatsUser(
198 long statsUserId)
199 throws com.liferay.portal.kernel.exception.PortalException,
200 com.liferay.portal.kernel.exception.SystemException {
201 return getService().getBlogsStatsUser(statsUserId);
202 }
203
204 public static com.liferay.portal.model.PersistedModel getPersistedModel(
205 java.io.Serializable primaryKeyObj)
206 throws com.liferay.portal.kernel.exception.PortalException,
207 com.liferay.portal.kernel.exception.SystemException {
208 return getService().getPersistedModel(primaryKeyObj);
209 }
210
211
223 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getBlogsStatsUsers(
224 int start, int end)
225 throws com.liferay.portal.kernel.exception.SystemException {
226 return getService().getBlogsStatsUsers(start, end);
227 }
228
229
235 public static int getBlogsStatsUsersCount()
236 throws com.liferay.portal.kernel.exception.SystemException {
237 return getService().getBlogsStatsUsersCount();
238 }
239
240
247 public static com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
248 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
249 throws com.liferay.portal.kernel.exception.SystemException {
250 return getService().updateBlogsStatsUser(blogsStatsUser);
251 }
252
253
258 public static java.lang.String getBeanIdentifier() {
259 return getService().getBeanIdentifier();
260 }
261
262
267 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
268 getService().setBeanIdentifier(beanIdentifier);
269 }
270
271 public static void deleteStatsUser(
272 com.liferay.portlet.blogs.model.BlogsStatsUser statsUsers)
273 throws com.liferay.portal.kernel.exception.SystemException {
274 getService().deleteStatsUser(statsUsers);
275 }
276
277 public static void deleteStatsUser(long statsUserId)
278 throws com.liferay.portal.kernel.exception.PortalException,
279 com.liferay.portal.kernel.exception.SystemException {
280 getService().deleteStatsUser(statsUserId);
281 }
282
283 public static void deleteStatsUserByGroupId(long groupId)
284 throws com.liferay.portal.kernel.exception.SystemException {
285 getService().deleteStatsUserByGroupId(groupId);
286 }
287
288 public static void deleteStatsUserByUserId(long userId)
289 throws com.liferay.portal.kernel.exception.SystemException {
290 getService().deleteStatsUserByUserId(userId);
291 }
292
293 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
294 long companyId, int start, int end)
295 throws com.liferay.portal.kernel.exception.SystemException {
296 return getService().getCompanyStatsUsers(companyId, start, end);
297 }
298
299 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
300 long companyId, int start, int end,
301 com.liferay.portal.kernel.util.OrderByComparator obc)
302 throws com.liferay.portal.kernel.exception.SystemException {
303 return getService().getCompanyStatsUsers(companyId, start, end, obc);
304 }
305
306 public static int getCompanyStatsUsersCount(long companyId)
307 throws com.liferay.portal.kernel.exception.SystemException {
308 return getService().getCompanyStatsUsersCount(companyId);
309 }
310
311 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupsStatsUsers(
312 long companyId, long groupId, int start, int end)
313 throws com.liferay.portal.kernel.exception.SystemException {
314 return getService().getGroupsStatsUsers(companyId, groupId, start, end);
315 }
316
317 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
318 long groupId, int start, int end)
319 throws com.liferay.portal.kernel.exception.SystemException {
320 return getService().getGroupStatsUsers(groupId, start, end);
321 }
322
323 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
324 long groupId, int start, int end,
325 com.liferay.portal.kernel.util.OrderByComparator obc)
326 throws com.liferay.portal.kernel.exception.SystemException {
327 return getService().getGroupStatsUsers(groupId, start, end, obc);
328 }
329
330 public static int getGroupStatsUsersCount(long groupId)
331 throws com.liferay.portal.kernel.exception.SystemException {
332 return getService().getGroupStatsUsersCount(groupId);
333 }
334
335 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
336 long organizationId, int start, int end)
337 throws com.liferay.portal.kernel.exception.SystemException {
338 return getService().getOrganizationStatsUsers(organizationId, start, end);
339 }
340
341 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
342 long organizationId, int start, int end,
343 com.liferay.portal.kernel.util.OrderByComparator obc)
344 throws com.liferay.portal.kernel.exception.SystemException {
345 return getService()
346 .getOrganizationStatsUsers(organizationId, start, end, obc);
347 }
348
349 public static int getOrganizationStatsUsersCount(long organizationId)
350 throws com.liferay.portal.kernel.exception.SystemException {
351 return getService().getOrganizationStatsUsersCount(organizationId);
352 }
353
354 public static com.liferay.portlet.blogs.model.BlogsStatsUser getStatsUser(
355 long groupId, long userId)
356 throws com.liferay.portal.kernel.exception.PortalException,
357 com.liferay.portal.kernel.exception.SystemException {
358 return getService().getStatsUser(groupId, userId);
359 }
360
361 public static void updateStatsUser(long groupId, long userId)
362 throws com.liferay.portal.kernel.exception.PortalException,
363 com.liferay.portal.kernel.exception.SystemException {
364 getService().updateStatsUser(groupId, userId);
365 }
366
367 public static void updateStatsUser(long groupId, long userId,
368 java.util.Date displayDate)
369 throws com.liferay.portal.kernel.exception.PortalException,
370 com.liferay.portal.kernel.exception.SystemException {
371 getService().updateStatsUser(groupId, userId, displayDate);
372 }
373
374 public static BlogsStatsUserLocalService getService() {
375 if (_service == null) {
376 _service = (BlogsStatsUserLocalService)PortalBeanLocatorUtil.locate(BlogsStatsUserLocalService.class.getName());
377
378 ReferenceRegistry.registerReference(BlogsStatsUserLocalServiceUtil.class,
379 "_service");
380 }
381
382 return _service;
383 }
384
385
388 public void setService(BlogsStatsUserLocalService service) {
389 }
390
391 private static BlogsStatsUserLocalService _service;
392 }