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
242 public static java.lang.String getBeanIdentifier() {
243 return getService().getBeanIdentifier();
244 }
245
246
251 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
252 getService().setBeanIdentifier(beanIdentifier);
253 }
254
255 public static void deleteStatsUser(
256 com.liferay.portlet.blogs.model.BlogsStatsUser statsUsers)
257 throws com.liferay.portal.kernel.exception.SystemException {
258 getService().deleteStatsUser(statsUsers);
259 }
260
261 public static void deleteStatsUser(long statsUserId)
262 throws com.liferay.portal.kernel.exception.PortalException,
263 com.liferay.portal.kernel.exception.SystemException {
264 getService().deleteStatsUser(statsUserId);
265 }
266
267 public static void deleteStatsUserByGroupId(long groupId)
268 throws com.liferay.portal.kernel.exception.SystemException {
269 getService().deleteStatsUserByGroupId(groupId);
270 }
271
272 public static void deleteStatsUserByUserId(long userId)
273 throws com.liferay.portal.kernel.exception.SystemException {
274 getService().deleteStatsUserByUserId(userId);
275 }
276
277 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
278 long companyId, int start, int end)
279 throws com.liferay.portal.kernel.exception.SystemException {
280 return getService().getCompanyStatsUsers(companyId, start, end);
281 }
282
283 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
284 long companyId, int start, int end,
285 com.liferay.portal.kernel.util.OrderByComparator obc)
286 throws com.liferay.portal.kernel.exception.SystemException {
287 return getService().getCompanyStatsUsers(companyId, start, end, obc);
288 }
289
290 public static int getCompanyStatsUsersCount(long companyId)
291 throws com.liferay.portal.kernel.exception.SystemException {
292 return getService().getCompanyStatsUsersCount(companyId);
293 }
294
295 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupsStatsUsers(
296 long companyId, long groupId, int start, int end)
297 throws com.liferay.portal.kernel.exception.SystemException {
298 return getService().getGroupsStatsUsers(companyId, groupId, start, end);
299 }
300
301 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
302 long groupId, int start, int end)
303 throws com.liferay.portal.kernel.exception.SystemException {
304 return getService().getGroupStatsUsers(groupId, start, end);
305 }
306
307 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
308 long groupId, int start, int end,
309 com.liferay.portal.kernel.util.OrderByComparator obc)
310 throws com.liferay.portal.kernel.exception.SystemException {
311 return getService().getGroupStatsUsers(groupId, start, end, obc);
312 }
313
314 public static int getGroupStatsUsersCount(long groupId)
315 throws com.liferay.portal.kernel.exception.SystemException {
316 return getService().getGroupStatsUsersCount(groupId);
317 }
318
319 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
320 long organizationId, int start, int end)
321 throws com.liferay.portal.kernel.exception.SystemException {
322 return getService().getOrganizationStatsUsers(organizationId, start, end);
323 }
324
325 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
326 long organizationId, int start, int end,
327 com.liferay.portal.kernel.util.OrderByComparator obc)
328 throws com.liferay.portal.kernel.exception.SystemException {
329 return getService()
330 .getOrganizationStatsUsers(organizationId, start, end, obc);
331 }
332
333 public static int getOrganizationStatsUsersCount(long organizationId)
334 throws com.liferay.portal.kernel.exception.SystemException {
335 return getService().getOrganizationStatsUsersCount(organizationId);
336 }
337
338 public static com.liferay.portlet.blogs.model.BlogsStatsUser getStatsUser(
339 long groupId, long userId)
340 throws com.liferay.portal.kernel.exception.PortalException,
341 com.liferay.portal.kernel.exception.SystemException {
342 return getService().getStatsUser(groupId, userId);
343 }
344
345 public static void updateStatsUser(long groupId, long userId)
346 throws com.liferay.portal.kernel.exception.PortalException,
347 com.liferay.portal.kernel.exception.SystemException {
348 getService().updateStatsUser(groupId, userId);
349 }
350
351 public static void updateStatsUser(long groupId, long userId,
352 java.util.Date displayDate)
353 throws com.liferay.portal.kernel.exception.PortalException,
354 com.liferay.portal.kernel.exception.SystemException {
355 getService().updateStatsUser(groupId, userId, displayDate);
356 }
357
358 public static BlogsStatsUserLocalService getService() {
359 if (_service == null) {
360 _service = (BlogsStatsUserLocalService)PortalBeanLocatorUtil.locate(BlogsStatsUserLocalService.class.getName());
361
362 ReferenceRegistry.registerReference(BlogsStatsUserLocalServiceUtil.class,
363 "_service");
364 }
365
366 return _service;
367 }
368
369
372 public void setService(BlogsStatsUserLocalService service) {
373 }
374
375 private static BlogsStatsUserLocalService _service;
376 }