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