1
14
15 package com.liferay.portlet.blogs.service;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
39 public class BlogsStatsUserLocalServiceUtil {
40 public static com.liferay.portlet.blogs.model.BlogsStatsUser addBlogsStatsUser(
41 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
42 throws com.liferay.portal.SystemException {
43 return getService().addBlogsStatsUser(blogsStatsUser);
44 }
45
46 public static com.liferay.portlet.blogs.model.BlogsStatsUser createBlogsStatsUser(
47 long statsUserId) {
48 return getService().createBlogsStatsUser(statsUserId);
49 }
50
51 public static void deleteBlogsStatsUser(long statsUserId)
52 throws com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException {
54 getService().deleteBlogsStatsUser(statsUserId);
55 }
56
57 public static void deleteBlogsStatsUser(
58 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
59 throws com.liferay.portal.SystemException {
60 getService().deleteBlogsStatsUser(blogsStatsUser);
61 }
62
63 public static java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.SystemException {
66 return getService().dynamicQuery(dynamicQuery);
67 }
68
69 public static java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.SystemException {
72 return getService().dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public static com.liferay.portlet.blogs.model.BlogsStatsUser getBlogsStatsUser(
76 long statsUserId)
77 throws com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException {
79 return getService().getBlogsStatsUser(statsUserId);
80 }
81
82 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getBlogsStatsUsers(
83 int start, int end) throws com.liferay.portal.SystemException {
84 return getService().getBlogsStatsUsers(start, end);
85 }
86
87 public static int getBlogsStatsUsersCount()
88 throws com.liferay.portal.SystemException {
89 return getService().getBlogsStatsUsersCount();
90 }
91
92 public static com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
93 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
94 throws com.liferay.portal.SystemException {
95 return getService().updateBlogsStatsUser(blogsStatsUser);
96 }
97
98 public static com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
99 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
100 boolean merge) throws com.liferay.portal.SystemException {
101 return getService().updateBlogsStatsUser(blogsStatsUser, merge);
102 }
103
104 public static void deleteStatsUserByGroupId(long groupId)
105 throws com.liferay.portal.SystemException {
106 getService().deleteStatsUserByGroupId(groupId);
107 }
108
109 public static void deleteStatsUserByUserId(long userId)
110 throws com.liferay.portal.SystemException {
111 getService().deleteStatsUserByUserId(userId);
112 }
113
114 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
115 long companyId, int start, int end)
116 throws com.liferay.portal.SystemException {
117 return getService().getCompanyStatsUsers(companyId, start, end);
118 }
119
120 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
121 long companyId, int start, int end,
122 com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException {
124 return getService().getCompanyStatsUsers(companyId, start, end, obc);
125 }
126
127 public static int getCompanyStatsUsersCount(long companyId)
128 throws com.liferay.portal.SystemException {
129 return getService().getCompanyStatsUsersCount(companyId);
130 }
131
132 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
133 long groupId, int start, int end)
134 throws com.liferay.portal.SystemException {
135 return getService().getGroupStatsUsers(groupId, start, end);
136 }
137
138 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
139 long groupId, int start, int end,
140 com.liferay.portal.kernel.util.OrderByComparator obc)
141 throws com.liferay.portal.SystemException {
142 return getService().getGroupStatsUsers(groupId, start, end, obc);
143 }
144
145 public static int getGroupStatsUsersCount(long groupId)
146 throws com.liferay.portal.SystemException {
147 return getService().getGroupStatsUsersCount(groupId);
148 }
149
150 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
151 long organizationId, int start, int end)
152 throws com.liferay.portal.SystemException {
153 return getService().getOrganizationStatsUsers(organizationId, start, end);
154 }
155
156 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
157 long organizationId, int start, int end,
158 com.liferay.portal.kernel.util.OrderByComparator obc)
159 throws com.liferay.portal.SystemException {
160 return getService()
161 .getOrganizationStatsUsers(organizationId, start, end, obc);
162 }
163
164 public static int getOrganizationStatsUsersCount(long organizationId)
165 throws com.liferay.portal.SystemException {
166 return getService().getOrganizationStatsUsersCount(organizationId);
167 }
168
169 public static com.liferay.portlet.blogs.model.BlogsStatsUser getStatsUser(
170 long groupId, long userId)
171 throws com.liferay.portal.PortalException,
172 com.liferay.portal.SystemException {
173 return getService().getStatsUser(groupId, userId);
174 }
175
176 public static void updateStatsUser(long groupId, long userId)
177 throws com.liferay.portal.PortalException,
178 com.liferay.portal.SystemException {
179 getService().updateStatsUser(groupId, userId);
180 }
181
182 public static void updateStatsUser(long groupId, long userId,
183 java.util.Date displayDate)
184 throws com.liferay.portal.PortalException,
185 com.liferay.portal.SystemException {
186 getService().updateStatsUser(groupId, userId, displayDate);
187 }
188
189 public static BlogsStatsUserLocalService getService() {
190 if (_service == null) {
191 _service = (BlogsStatsUserLocalService)PortalBeanLocatorUtil.locate(BlogsStatsUserLocalService.class.getName());
192 }
193
194 return _service;
195 }
196
197 public void setService(BlogsStatsUserLocalService service) {
198 _service = service;
199 }
200
201 private static BlogsStatsUserLocalService _service;
202 }