1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.social.service;
16  
17  
18  /**
19   * <a href="SocialActivityLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link SocialActivityLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       SocialActivityLocalService
32   * @generated
33   */
34  public class SocialActivityLocalServiceWrapper
35      implements SocialActivityLocalService {
36      public SocialActivityLocalServiceWrapper(
37          SocialActivityLocalService socialActivityLocalService) {
38          _socialActivityLocalService = socialActivityLocalService;
39      }
40  
41      public com.liferay.portlet.social.model.SocialActivity addSocialActivity(
42          com.liferay.portlet.social.model.SocialActivity socialActivity)
43          throws com.liferay.portal.kernel.exception.SystemException {
44          return _socialActivityLocalService.addSocialActivity(socialActivity);
45      }
46  
47      public com.liferay.portlet.social.model.SocialActivity createSocialActivity(
48          long activityId) {
49          return _socialActivityLocalService.createSocialActivity(activityId);
50      }
51  
52      public void deleteSocialActivity(long activityId)
53          throws com.liferay.portal.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _socialActivityLocalService.deleteSocialActivity(activityId);
56      }
57  
58      public void deleteSocialActivity(
59          com.liferay.portlet.social.model.SocialActivity socialActivity)
60          throws com.liferay.portal.kernel.exception.SystemException {
61          _socialActivityLocalService.deleteSocialActivity(socialActivity);
62      }
63  
64      @SuppressWarnings("unchecked")
65      public java.util.List dynamicQuery(
66          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67          throws com.liferay.portal.kernel.exception.SystemException {
68          return _socialActivityLocalService.dynamicQuery(dynamicQuery);
69      }
70  
71      @SuppressWarnings("unchecked")
72      public java.util.List dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74          int end) throws com.liferay.portal.kernel.exception.SystemException {
75          return _socialActivityLocalService.dynamicQuery(dynamicQuery, start, end);
76      }
77  
78      @SuppressWarnings("unchecked")
79      public java.util.List dynamicQuery(
80          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
81          int end,
82          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83          throws com.liferay.portal.kernel.exception.SystemException {
84          return _socialActivityLocalService.dynamicQuery(dynamicQuery, start,
85              end, orderByComparator);
86      }
87  
88      public long dynamicQueryCount(
89          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
90          throws com.liferay.portal.kernel.exception.SystemException {
91          return _socialActivityLocalService.dynamicQueryCount(dynamicQuery);
92      }
93  
94      public com.liferay.portlet.social.model.SocialActivity getSocialActivity(
95          long activityId)
96          throws com.liferay.portal.kernel.exception.PortalException,
97              com.liferay.portal.kernel.exception.SystemException {
98          return _socialActivityLocalService.getSocialActivity(activityId);
99      }
100 
101     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getSocialActivities(
102         int start, int end)
103         throws com.liferay.portal.kernel.exception.SystemException {
104         return _socialActivityLocalService.getSocialActivities(start, end);
105     }
106 
107     public int getSocialActivitiesCount()
108         throws com.liferay.portal.kernel.exception.SystemException {
109         return _socialActivityLocalService.getSocialActivitiesCount();
110     }
111 
112     public com.liferay.portlet.social.model.SocialActivity updateSocialActivity(
113         com.liferay.portlet.social.model.SocialActivity socialActivity)
114         throws com.liferay.portal.kernel.exception.SystemException {
115         return _socialActivityLocalService.updateSocialActivity(socialActivity);
116     }
117 
118     public com.liferay.portlet.social.model.SocialActivity updateSocialActivity(
119         com.liferay.portlet.social.model.SocialActivity socialActivity,
120         boolean merge)
121         throws com.liferay.portal.kernel.exception.SystemException {
122         return _socialActivityLocalService.updateSocialActivity(socialActivity,
123             merge);
124     }
125 
126     public com.liferay.portlet.social.model.SocialActivity addActivity(
127         long userId, long groupId, java.util.Date createDate,
128         java.lang.String className, long classPK, int type,
129         java.lang.String extraData, long receiverUserId)
130         throws com.liferay.portal.kernel.exception.PortalException,
131             com.liferay.portal.kernel.exception.SystemException {
132         return _socialActivityLocalService.addActivity(userId, groupId,
133             createDate, className, classPK, type, extraData, receiverUserId);
134     }
135 
136     public com.liferay.portlet.social.model.SocialActivity addActivity(
137         long userId, long groupId, java.lang.String className, long classPK,
138         int type, java.lang.String extraData, long receiverUserId)
139         throws com.liferay.portal.kernel.exception.PortalException,
140             com.liferay.portal.kernel.exception.SystemException {
141         return _socialActivityLocalService.addActivity(userId, groupId,
142             className, classPK, type, extraData, receiverUserId);
143     }
144 
145     public com.liferay.portlet.social.model.SocialActivity addUniqueActivity(
146         long userId, long groupId, java.util.Date createDate,
147         java.lang.String className, long classPK, int type,
148         java.lang.String extraData, long receiverUserId)
149         throws com.liferay.portal.kernel.exception.PortalException,
150             com.liferay.portal.kernel.exception.SystemException {
151         return _socialActivityLocalService.addUniqueActivity(userId, groupId,
152             createDate, className, classPK, type, extraData, receiverUserId);
153     }
154 
155     public com.liferay.portlet.social.model.SocialActivity addUniqueActivity(
156         long userId, long groupId, java.lang.String className, long classPK,
157         int type, java.lang.String extraData, long receiverUserId)
158         throws com.liferay.portal.kernel.exception.PortalException,
159             com.liferay.portal.kernel.exception.SystemException {
160         return _socialActivityLocalService.addUniqueActivity(userId, groupId,
161             className, classPK, type, extraData, receiverUserId);
162     }
163 
164     public void deleteActivities(long classNameId, long classPK)
165         throws com.liferay.portal.kernel.exception.SystemException {
166         _socialActivityLocalService.deleteActivities(classNameId, classPK);
167     }
168 
169     public void deleteActivities(java.lang.String className, long classPK)
170         throws com.liferay.portal.kernel.exception.SystemException {
171         _socialActivityLocalService.deleteActivities(className, classPK);
172     }
173 
174     public void deleteActivity(long activityId)
175         throws com.liferay.portal.kernel.exception.PortalException,
176             com.liferay.portal.kernel.exception.SystemException {
177         _socialActivityLocalService.deleteActivity(activityId);
178     }
179 
180     public void deleteActivity(
181         com.liferay.portlet.social.model.SocialActivity activity)
182         throws com.liferay.portal.kernel.exception.SystemException {
183         _socialActivityLocalService.deleteActivity(activity);
184     }
185 
186     public void deleteUserActivities(long userId)
187         throws com.liferay.portal.kernel.exception.SystemException {
188         _socialActivityLocalService.deleteUserActivities(userId);
189     }
190 
191     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(
192         long classNameId, int start, int end)
193         throws com.liferay.portal.kernel.exception.SystemException {
194         return _socialActivityLocalService.getActivities(classNameId, start, end);
195     }
196 
197     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(
198         long mirrorActivityId, long classNameId, long classPK, int start,
199         int end) throws com.liferay.portal.kernel.exception.SystemException {
200         return _socialActivityLocalService.getActivities(mirrorActivityId,
201             classNameId, classPK, start, end);
202     }
203 
204     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(
205         long mirrorActivityId, java.lang.String className, long classPK,
206         int start, int end)
207         throws com.liferay.portal.kernel.exception.SystemException {
208         return _socialActivityLocalService.getActivities(mirrorActivityId,
209             className, classPK, start, end);
210     }
211 
212     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(
213         java.lang.String className, int start, int end)
214         throws com.liferay.portal.kernel.exception.SystemException {
215         return _socialActivityLocalService.getActivities(className, start, end);
216     }
217 
218     public int getActivitiesCount(long classNameId)
219         throws com.liferay.portal.kernel.exception.SystemException {
220         return _socialActivityLocalService.getActivitiesCount(classNameId);
221     }
222 
223     public int getActivitiesCount(long mirrorActivityId, long classNameId,
224         long classPK)
225         throws com.liferay.portal.kernel.exception.SystemException {
226         return _socialActivityLocalService.getActivitiesCount(mirrorActivityId,
227             classNameId, classPK);
228     }
229 
230     public int getActivitiesCount(long mirrorActivityId,
231         java.lang.String className, long classPK)
232         throws com.liferay.portal.kernel.exception.SystemException {
233         return _socialActivityLocalService.getActivitiesCount(mirrorActivityId,
234             className, classPK);
235     }
236 
237     public int getActivitiesCount(java.lang.String className)
238         throws com.liferay.portal.kernel.exception.SystemException {
239         return _socialActivityLocalService.getActivitiesCount(className);
240     }
241 
242     public com.liferay.portlet.social.model.SocialActivity getActivity(
243         long activityId)
244         throws com.liferay.portal.kernel.exception.PortalException,
245             com.liferay.portal.kernel.exception.SystemException {
246         return _socialActivityLocalService.getActivity(activityId);
247     }
248 
249     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getGroupActivities(
250         long groupId, int start, int end)
251         throws com.liferay.portal.kernel.exception.SystemException {
252         return _socialActivityLocalService.getGroupActivities(groupId, start,
253             end);
254     }
255 
256     public int getGroupActivitiesCount(long groupId)
257         throws com.liferay.portal.kernel.exception.SystemException {
258         return _socialActivityLocalService.getGroupActivitiesCount(groupId);
259     }
260 
261     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getGroupUsersActivities(
262         long groupId, int start, int end)
263         throws com.liferay.portal.kernel.exception.SystemException {
264         return _socialActivityLocalService.getGroupUsersActivities(groupId,
265             start, end);
266     }
267 
268     public int getGroupUsersActivitiesCount(long groupId)
269         throws com.liferay.portal.kernel.exception.SystemException {
270         return _socialActivityLocalService.getGroupUsersActivitiesCount(groupId);
271     }
272 
273     public com.liferay.portlet.social.model.SocialActivity getMirrorActivity(
274         long mirrorActivityId)
275         throws com.liferay.portal.kernel.exception.PortalException,
276             com.liferay.portal.kernel.exception.SystemException {
277         return _socialActivityLocalService.getMirrorActivity(mirrorActivityId);
278     }
279 
280     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getOrganizationActivities(
281         long organizationId, int start, int end)
282         throws com.liferay.portal.kernel.exception.SystemException {
283         return _socialActivityLocalService.getOrganizationActivities(organizationId,
284             start, end);
285     }
286 
287     public int getOrganizationActivitiesCount(long organizationId)
288         throws com.liferay.portal.kernel.exception.SystemException {
289         return _socialActivityLocalService.getOrganizationActivitiesCount(organizationId);
290     }
291 
292     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getOrganizationUsersActivities(
293         long organizationId, int start, int end)
294         throws com.liferay.portal.kernel.exception.SystemException {
295         return _socialActivityLocalService.getOrganizationUsersActivities(organizationId,
296             start, end);
297     }
298 
299     public int getOrganizationUsersActivitiesCount(long organizationId)
300         throws com.liferay.portal.kernel.exception.SystemException {
301         return _socialActivityLocalService.getOrganizationUsersActivitiesCount(organizationId);
302     }
303 
304     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getRelationActivities(
305         long userId, int start, int end)
306         throws com.liferay.portal.kernel.exception.SystemException {
307         return _socialActivityLocalService.getRelationActivities(userId, start,
308             end);
309     }
310 
311     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getRelationActivities(
312         long userId, int type, int start, int end)
313         throws com.liferay.portal.kernel.exception.SystemException {
314         return _socialActivityLocalService.getRelationActivities(userId, type,
315             start, end);
316     }
317 
318     public int getRelationActivitiesCount(long userId)
319         throws com.liferay.portal.kernel.exception.SystemException {
320         return _socialActivityLocalService.getRelationActivitiesCount(userId);
321     }
322 
323     public int getRelationActivitiesCount(long userId, int type)
324         throws com.liferay.portal.kernel.exception.SystemException {
325         return _socialActivityLocalService.getRelationActivitiesCount(userId,
326             type);
327     }
328 
329     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserActivities(
330         long userId, int start, int end)
331         throws com.liferay.portal.kernel.exception.SystemException {
332         return _socialActivityLocalService.getUserActivities(userId, start, end);
333     }
334 
335     public int getUserActivitiesCount(long userId)
336         throws com.liferay.portal.kernel.exception.SystemException {
337         return _socialActivityLocalService.getUserActivitiesCount(userId);
338     }
339 
340     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserGroupsActivities(
341         long userId, int start, int end)
342         throws com.liferay.portal.kernel.exception.SystemException {
343         return _socialActivityLocalService.getUserGroupsActivities(userId,
344             start, end);
345     }
346 
347     public int getUserGroupsActivitiesCount(long userId)
348         throws com.liferay.portal.kernel.exception.SystemException {
349         return _socialActivityLocalService.getUserGroupsActivitiesCount(userId);
350     }
351 
352     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserGroupsAndOrganizationsActivities(
353         long userId, int start, int end)
354         throws com.liferay.portal.kernel.exception.SystemException {
355         return _socialActivityLocalService.getUserGroupsAndOrganizationsActivities(userId,
356             start, end);
357     }
358 
359     public int getUserGroupsAndOrganizationsActivitiesCount(long userId)
360         throws com.liferay.portal.kernel.exception.SystemException {
361         return _socialActivityLocalService.getUserGroupsAndOrganizationsActivitiesCount(userId);
362     }
363 
364     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserOrganizationsActivities(
365         long userId, int start, int end)
366         throws com.liferay.portal.kernel.exception.SystemException {
367         return _socialActivityLocalService.getUserOrganizationsActivities(userId,
368             start, end);
369     }
370 
371     public int getUserOrganizationsActivitiesCount(long userId)
372         throws com.liferay.portal.kernel.exception.SystemException {
373         return _socialActivityLocalService.getUserOrganizationsActivitiesCount(userId);
374     }
375 
376     public SocialActivityLocalService getWrappedSocialActivityLocalService() {
377         return _socialActivityLocalService;
378     }
379 
380     private SocialActivityLocalService _socialActivityLocalService;
381 }