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