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 java.util.List<Object> dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.SystemException {
80 return getService()
81 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
82 }
83
84 public static int dynamicQueryCount(
85 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86 throws com.liferay.portal.SystemException {
87 return getService().dynamicQueryCount(dynamicQuery);
88 }
89
90 public static com.liferay.portlet.blogs.model.BlogsStatsUser getBlogsStatsUser(
91 long statsUserId)
92 throws com.liferay.portal.PortalException,
93 com.liferay.portal.SystemException {
94 return getService().getBlogsStatsUser(statsUserId);
95 }
96
97 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getBlogsStatsUsers(
98 int start, int end) throws com.liferay.portal.SystemException {
99 return getService().getBlogsStatsUsers(start, end);
100 }
101
102 public static int getBlogsStatsUsersCount()
103 throws com.liferay.portal.SystemException {
104 return getService().getBlogsStatsUsersCount();
105 }
106
107 public static com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
108 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
109 throws com.liferay.portal.SystemException {
110 return getService().updateBlogsStatsUser(blogsStatsUser);
111 }
112
113 public static com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
114 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
115 boolean merge) throws com.liferay.portal.SystemException {
116 return getService().updateBlogsStatsUser(blogsStatsUser, merge);
117 }
118
119 public static void deleteStatsUserByGroupId(long groupId)
120 throws com.liferay.portal.SystemException {
121 getService().deleteStatsUserByGroupId(groupId);
122 }
123
124 public static void deleteStatsUserByUserId(long userId)
125 throws com.liferay.portal.SystemException {
126 getService().deleteStatsUserByUserId(userId);
127 }
128
129 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
130 long companyId, int start, int end)
131 throws com.liferay.portal.SystemException {
132 return getService().getCompanyStatsUsers(companyId, start, end);
133 }
134
135 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
136 long companyId, int start, int end,
137 com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.SystemException {
139 return getService().getCompanyStatsUsers(companyId, start, end, obc);
140 }
141
142 public static int getCompanyStatsUsersCount(long companyId)
143 throws com.liferay.portal.SystemException {
144 return getService().getCompanyStatsUsersCount(companyId);
145 }
146
147 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupsStatsUsers(
148 long companyId, long groupId, int start, int end)
149 throws com.liferay.portal.SystemException {
150 return getService().getGroupsStatsUsers(companyId, groupId, start, end);
151 }
152
153 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
154 long groupId, int start, int end)
155 throws com.liferay.portal.SystemException {
156 return getService().getGroupStatsUsers(groupId, start, end);
157 }
158
159 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
160 long groupId, int start, int end,
161 com.liferay.portal.kernel.util.OrderByComparator obc)
162 throws com.liferay.portal.SystemException {
163 return getService().getGroupStatsUsers(groupId, start, end, obc);
164 }
165
166 public static int getGroupStatsUsersCount(long groupId)
167 throws com.liferay.portal.SystemException {
168 return getService().getGroupStatsUsersCount(groupId);
169 }
170
171 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
172 long organizationId, int start, int end)
173 throws com.liferay.portal.SystemException {
174 return getService().getOrganizationStatsUsers(organizationId, start, end);
175 }
176
177 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
178 long organizationId, int start, int end,
179 com.liferay.portal.kernel.util.OrderByComparator obc)
180 throws com.liferay.portal.SystemException {
181 return getService()
182 .getOrganizationStatsUsers(organizationId, start, end, obc);
183 }
184
185 public static int getOrganizationStatsUsersCount(long organizationId)
186 throws com.liferay.portal.SystemException {
187 return getService().getOrganizationStatsUsersCount(organizationId);
188 }
189
190 public static com.liferay.portlet.blogs.model.BlogsStatsUser getStatsUser(
191 long groupId, long userId)
192 throws com.liferay.portal.PortalException,
193 com.liferay.portal.SystemException {
194 return getService().getStatsUser(groupId, userId);
195 }
196
197 public static void updateStatsUser(long groupId, long userId)
198 throws com.liferay.portal.PortalException,
199 com.liferay.portal.SystemException {
200 getService().updateStatsUser(groupId, userId);
201 }
202
203 public static void updateStatsUser(long groupId, long userId,
204 java.util.Date displayDate)
205 throws com.liferay.portal.PortalException,
206 com.liferay.portal.SystemException {
207 getService().updateStatsUser(groupId, userId, displayDate);
208 }
209
210 public static BlogsStatsUserLocalService getService() {
211 if (_service == null) {
212 _service = (BlogsStatsUserLocalService)PortalBeanLocatorUtil.locate(BlogsStatsUserLocalService.class.getName());
213 }
214
215 return _service;
216 }
217
218 public void setService(BlogsStatsUserLocalService service) {
219 _service = service;
220 }
221
222 private static BlogsStatsUserLocalService _service;
223 }