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