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.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.PortalException,
54              com.liferay.portal.SystemException {
55          _socialActivityLocalService.deleteSocialActivity(activityId);
56      }
57  
58      public void deleteSocialActivity(
59          com.liferay.portlet.social.model.SocialActivity socialActivity)
60          throws com.liferay.portal.SystemException {
61          _socialActivityLocalService.deleteSocialActivity(socialActivity);
62      }
63  
64      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException {
67          return _socialActivityLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _socialActivityLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      public com.liferay.portlet.social.model.SocialActivity getSocialActivity(
77          long activityId)
78          throws com.liferay.portal.PortalException,
79              com.liferay.portal.SystemException {
80          return _socialActivityLocalService.getSocialActivity(activityId);
81      }
82  
83      public java.util.List<com.liferay.portlet.social.model.SocialActivity> getSocialActivities(
84          int start, int end) throws com.liferay.portal.SystemException {
85          return _socialActivityLocalService.getSocialActivities(start, end);
86      }
87  
88      public int getSocialActivitiesCount()
89          throws com.liferay.portal.SystemException {
90          return _socialActivityLocalService.getSocialActivitiesCount();
91      }
92  
93      public com.liferay.portlet.social.model.SocialActivity updateSocialActivity(
94          com.liferay.portlet.social.model.SocialActivity socialActivity)
95          throws com.liferay.portal.SystemException {
96          return _socialActivityLocalService.updateSocialActivity(socialActivity);
97      }
98  
99      public com.liferay.portlet.social.model.SocialActivity updateSocialActivity(
100         com.liferay.portlet.social.model.SocialActivity socialActivity,
101         boolean merge) throws com.liferay.portal.SystemException {
102         return _socialActivityLocalService.updateSocialActivity(socialActivity,
103             merge);
104     }
105 
106     public com.liferay.portlet.social.model.SocialActivity addActivity(
107         long userId, long groupId, java.util.Date createDate,
108         java.lang.String className, long classPK, int type,
109         java.lang.String extraData, long receiverUserId)
110         throws com.liferay.portal.PortalException,
111             com.liferay.portal.SystemException {
112         return _socialActivityLocalService.addActivity(userId, groupId,
113             createDate, className, classPK, type, extraData, receiverUserId);
114     }
115 
116     public com.liferay.portlet.social.model.SocialActivity addActivity(
117         long userId, long groupId, java.lang.String className, long classPK,
118         int type, java.lang.String extraData, long receiverUserId)
119         throws com.liferay.portal.PortalException,
120             com.liferay.portal.SystemException {
121         return _socialActivityLocalService.addActivity(userId, groupId,
122             className, classPK, type, extraData, receiverUserId);
123     }
124 
125     public com.liferay.portlet.social.model.SocialActivity addUniqueActivity(
126         long userId, long groupId, java.util.Date createDate,
127         java.lang.String className, long classPK, int type,
128         java.lang.String extraData, long receiverUserId)
129         throws com.liferay.portal.PortalException,
130             com.liferay.portal.SystemException {
131         return _socialActivityLocalService.addUniqueActivity(userId, groupId,
132             createDate, className, classPK, type, extraData, receiverUserId);
133     }
134 
135     public com.liferay.portlet.social.model.SocialActivity addUniqueActivity(
136         long userId, long groupId, java.lang.String className, long classPK,
137         int type, java.lang.String extraData, long receiverUserId)
138         throws com.liferay.portal.PortalException,
139             com.liferay.portal.SystemException {
140         return _socialActivityLocalService.addUniqueActivity(userId, groupId,
141             className, classPK, type, extraData, receiverUserId);
142     }
143 
144     public void deleteActivities(long classNameId, long classPK)
145         throws com.liferay.portal.SystemException {
146         _socialActivityLocalService.deleteActivities(classNameId, classPK);
147     }
148 
149     public void deleteActivities(java.lang.String className, long classPK)
150         throws com.liferay.portal.SystemException {
151         _socialActivityLocalService.deleteActivities(className, classPK);
152     }
153 
154     public void deleteActivity(long activityId)
155         throws com.liferay.portal.PortalException,
156             com.liferay.portal.SystemException {
157         _socialActivityLocalService.deleteActivity(activityId);
158     }
159 
160     public void deleteActivity(
161         com.liferay.portlet.social.model.SocialActivity activity)
162         throws com.liferay.portal.SystemException {
163         _socialActivityLocalService.deleteActivity(activity);
164     }
165 
166     public void deleteUserActivities(long userId)
167         throws com.liferay.portal.SystemException {
168         _socialActivityLocalService.deleteUserActivities(userId);
169     }
170 
171     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(
172         long classNameId, int start, int end)
173         throws com.liferay.portal.SystemException {
174         return _socialActivityLocalService.getActivities(classNameId, start, end);
175     }
176 
177     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(
178         long mirrorActivityId, long classNameId, long classPK, int start,
179         int end) throws com.liferay.portal.SystemException {
180         return _socialActivityLocalService.getActivities(mirrorActivityId,
181             classNameId, classPK, start, end);
182     }
183 
184     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(
185         long mirrorActivityId, java.lang.String className, long classPK,
186         int start, int end) throws com.liferay.portal.SystemException {
187         return _socialActivityLocalService.getActivities(mirrorActivityId,
188             className, classPK, start, end);
189     }
190 
191     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(
192         java.lang.String className, int start, int end)
193         throws com.liferay.portal.SystemException {
194         return _socialActivityLocalService.getActivities(className, start, end);
195     }
196 
197     public int getActivitiesCount(long classNameId)
198         throws com.liferay.portal.SystemException {
199         return _socialActivityLocalService.getActivitiesCount(classNameId);
200     }
201 
202     public int getActivitiesCount(long mirrorActivityId, long classNameId,
203         long classPK) throws com.liferay.portal.SystemException {
204         return _socialActivityLocalService.getActivitiesCount(mirrorActivityId,
205             classNameId, classPK);
206     }
207 
208     public int getActivitiesCount(long mirrorActivityId,
209         java.lang.String className, long classPK)
210         throws com.liferay.portal.SystemException {
211         return _socialActivityLocalService.getActivitiesCount(mirrorActivityId,
212             className, classPK);
213     }
214 
215     public int getActivitiesCount(java.lang.String className)
216         throws com.liferay.portal.SystemException {
217         return _socialActivityLocalService.getActivitiesCount(className);
218     }
219 
220     public com.liferay.portlet.social.model.SocialActivity getActivity(
221         long activityId)
222         throws com.liferay.portal.PortalException,
223             com.liferay.portal.SystemException {
224         return _socialActivityLocalService.getActivity(activityId);
225     }
226 
227     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getGroupActivities(
228         long groupId, int start, int end)
229         throws com.liferay.portal.SystemException {
230         return _socialActivityLocalService.getGroupActivities(groupId, start,
231             end);
232     }
233 
234     public int getGroupActivitiesCount(long groupId)
235         throws com.liferay.portal.SystemException {
236         return _socialActivityLocalService.getGroupActivitiesCount(groupId);
237     }
238 
239     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getGroupUsersActivities(
240         long groupId, int start, int end)
241         throws com.liferay.portal.SystemException {
242         return _socialActivityLocalService.getGroupUsersActivities(groupId,
243             start, end);
244     }
245 
246     public int getGroupUsersActivitiesCount(long groupId)
247         throws com.liferay.portal.SystemException {
248         return _socialActivityLocalService.getGroupUsersActivitiesCount(groupId);
249     }
250 
251     public com.liferay.portlet.social.model.SocialActivity getMirrorActivity(
252         long mirrorActivityId)
253         throws com.liferay.portal.PortalException,
254             com.liferay.portal.SystemException {
255         return _socialActivityLocalService.getMirrorActivity(mirrorActivityId);
256     }
257 
258     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getOrganizationActivities(
259         long organizationId, int start, int end)
260         throws com.liferay.portal.SystemException {
261         return _socialActivityLocalService.getOrganizationActivities(organizationId,
262             start, end);
263     }
264 
265     public int getOrganizationActivitiesCount(long organizationId)
266         throws com.liferay.portal.SystemException {
267         return _socialActivityLocalService.getOrganizationActivitiesCount(organizationId);
268     }
269 
270     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getOrganizationUsersActivities(
271         long organizationId, int start, int end)
272         throws com.liferay.portal.SystemException {
273         return _socialActivityLocalService.getOrganizationUsersActivities(organizationId,
274             start, end);
275     }
276 
277     public int getOrganizationUsersActivitiesCount(long organizationId)
278         throws com.liferay.portal.SystemException {
279         return _socialActivityLocalService.getOrganizationUsersActivitiesCount(organizationId);
280     }
281 
282     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getRelationActivities(
283         long userId, int start, int end)
284         throws com.liferay.portal.SystemException {
285         return _socialActivityLocalService.getRelationActivities(userId, start,
286             end);
287     }
288 
289     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getRelationActivities(
290         long userId, int type, int start, int end)
291         throws com.liferay.portal.SystemException {
292         return _socialActivityLocalService.getRelationActivities(userId, type,
293             start, end);
294     }
295 
296     public int getRelationActivitiesCount(long userId)
297         throws com.liferay.portal.SystemException {
298         return _socialActivityLocalService.getRelationActivitiesCount(userId);
299     }
300 
301     public int getRelationActivitiesCount(long userId, int type)
302         throws com.liferay.portal.SystemException {
303         return _socialActivityLocalService.getRelationActivitiesCount(userId,
304             type);
305     }
306 
307     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserActivities(
308         long userId, int start, int end)
309         throws com.liferay.portal.SystemException {
310         return _socialActivityLocalService.getUserActivities(userId, start, end);
311     }
312 
313     public int getUserActivitiesCount(long userId)
314         throws com.liferay.portal.SystemException {
315         return _socialActivityLocalService.getUserActivitiesCount(userId);
316     }
317 
318     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserGroupsActivities(
319         long userId, int start, int end)
320         throws com.liferay.portal.SystemException {
321         return _socialActivityLocalService.getUserGroupsActivities(userId,
322             start, end);
323     }
324 
325     public int getUserGroupsActivitiesCount(long userId)
326         throws com.liferay.portal.SystemException {
327         return _socialActivityLocalService.getUserGroupsActivitiesCount(userId);
328     }
329 
330     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserGroupsAndOrganizationsActivities(
331         long userId, int start, int end)
332         throws com.liferay.portal.SystemException {
333         return _socialActivityLocalService.getUserGroupsAndOrganizationsActivities(userId,
334             start, end);
335     }
336 
337     public int getUserGroupsAndOrganizationsActivitiesCount(long userId)
338         throws com.liferay.portal.SystemException {
339         return _socialActivityLocalService.getUserGroupsAndOrganizationsActivitiesCount(userId);
340     }
341 
342     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserOrganizationsActivities(
343         long userId, int start, int end)
344         throws com.liferay.portal.SystemException {
345         return _socialActivityLocalService.getUserOrganizationsActivities(userId,
346             start, end);
347     }
348 
349     public int getUserOrganizationsActivitiesCount(long userId)
350         throws com.liferay.portal.SystemException {
351         return _socialActivityLocalService.getUserOrganizationsActivitiesCount(userId);
352     }
353 
354     public SocialActivityLocalService getWrappedSocialActivityLocalService() {
355         return _socialActivityLocalService;
356     }
357 
358     private SocialActivityLocalService _socialActivityLocalService;
359 }