1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.social.service;
24  
25  
26  /**
27   * <a href="SocialActivityLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link SocialActivityLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       SocialActivityLocalService
40   * @generated
41   */
42  public class SocialActivityLocalServiceWrapper
43      implements SocialActivityLocalService {
44      public SocialActivityLocalServiceWrapper(
45          SocialActivityLocalService socialActivityLocalService) {
46          _socialActivityLocalService = socialActivityLocalService;
47      }
48  
49      public com.liferay.portlet.social.model.SocialActivity addSocialActivity(
50          com.liferay.portlet.social.model.SocialActivity socialActivity)
51          throws com.liferay.portal.SystemException {
52          return _socialActivityLocalService.addSocialActivity(socialActivity);
53      }
54  
55      public com.liferay.portlet.social.model.SocialActivity createSocialActivity(
56          long activityId) {
57          return _socialActivityLocalService.createSocialActivity(activityId);
58      }
59  
60      public void deleteSocialActivity(long activityId)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          _socialActivityLocalService.deleteSocialActivity(activityId);
64      }
65  
66      public void deleteSocialActivity(
67          com.liferay.portlet.social.model.SocialActivity socialActivity)
68          throws com.liferay.portal.SystemException {
69          _socialActivityLocalService.deleteSocialActivity(socialActivity);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74          throws com.liferay.portal.SystemException {
75          return _socialActivityLocalService.dynamicQuery(dynamicQuery);
76      }
77  
78      public java.util.List<Object> dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end) throws com.liferay.portal.SystemException {
81          return _socialActivityLocalService.dynamicQuery(dynamicQuery, start, end);
82      }
83  
84      public com.liferay.portlet.social.model.SocialActivity getSocialActivity(
85          long activityId)
86          throws com.liferay.portal.PortalException,
87              com.liferay.portal.SystemException {
88          return _socialActivityLocalService.getSocialActivity(activityId);
89      }
90  
91      public java.util.List<com.liferay.portlet.social.model.SocialActivity> getSocialActivities(
92          int start, int end) throws com.liferay.portal.SystemException {
93          return _socialActivityLocalService.getSocialActivities(start, end);
94      }
95  
96      public int getSocialActivitiesCount()
97          throws com.liferay.portal.SystemException {
98          return _socialActivityLocalService.getSocialActivitiesCount();
99      }
100 
101     public com.liferay.portlet.social.model.SocialActivity updateSocialActivity(
102         com.liferay.portlet.social.model.SocialActivity socialActivity)
103         throws com.liferay.portal.SystemException {
104         return _socialActivityLocalService.updateSocialActivity(socialActivity);
105     }
106 
107     public com.liferay.portlet.social.model.SocialActivity updateSocialActivity(
108         com.liferay.portlet.social.model.SocialActivity socialActivity,
109         boolean merge) throws com.liferay.portal.SystemException {
110         return _socialActivityLocalService.updateSocialActivity(socialActivity,
111             merge);
112     }
113 
114     public com.liferay.portlet.social.model.SocialActivity addActivity(
115         long userId, long groupId, java.util.Date createDate,
116         java.lang.String className, long classPK, int type,
117         java.lang.String extraData, long receiverUserId)
118         throws com.liferay.portal.PortalException,
119             com.liferay.portal.SystemException {
120         return _socialActivityLocalService.addActivity(userId, groupId,
121             createDate, className, classPK, type, extraData, receiverUserId);
122     }
123 
124     public com.liferay.portlet.social.model.SocialActivity addActivity(
125         long userId, long groupId, java.lang.String className, long classPK,
126         int type, java.lang.String extraData, long receiverUserId)
127         throws com.liferay.portal.PortalException,
128             com.liferay.portal.SystemException {
129         return _socialActivityLocalService.addActivity(userId, groupId,
130             className, classPK, type, extraData, receiverUserId);
131     }
132 
133     public com.liferay.portlet.social.model.SocialActivity addUniqueActivity(
134         long userId, long groupId, java.util.Date createDate,
135         java.lang.String className, long classPK, int type,
136         java.lang.String extraData, long receiverUserId)
137         throws com.liferay.portal.PortalException,
138             com.liferay.portal.SystemException {
139         return _socialActivityLocalService.addUniqueActivity(userId, groupId,
140             createDate, className, classPK, type, extraData, receiverUserId);
141     }
142 
143     public com.liferay.portlet.social.model.SocialActivity addUniqueActivity(
144         long userId, long groupId, java.lang.String className, long classPK,
145         int type, java.lang.String extraData, long receiverUserId)
146         throws com.liferay.portal.PortalException,
147             com.liferay.portal.SystemException {
148         return _socialActivityLocalService.addUniqueActivity(userId, groupId,
149             className, classPK, type, extraData, receiverUserId);
150     }
151 
152     public void deleteActivities(long classNameId, long classPK)
153         throws com.liferay.portal.SystemException {
154         _socialActivityLocalService.deleteActivities(classNameId, classPK);
155     }
156 
157     public void deleteActivities(java.lang.String className, long classPK)
158         throws com.liferay.portal.SystemException {
159         _socialActivityLocalService.deleteActivities(className, classPK);
160     }
161 
162     public void deleteActivity(long activityId)
163         throws com.liferay.portal.PortalException,
164             com.liferay.portal.SystemException {
165         _socialActivityLocalService.deleteActivity(activityId);
166     }
167 
168     public void deleteActivity(
169         com.liferay.portlet.social.model.SocialActivity activity)
170         throws com.liferay.portal.SystemException {
171         _socialActivityLocalService.deleteActivity(activity);
172     }
173 
174     public void deleteUserActivities(long userId)
175         throws com.liferay.portal.SystemException {
176         _socialActivityLocalService.deleteUserActivities(userId);
177     }
178 
179     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(
180         long classNameId, int start, int end)
181         throws com.liferay.portal.SystemException {
182         return _socialActivityLocalService.getActivities(classNameId, start, end);
183     }
184 
185     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(
186         long mirrorActivityId, long classNameId, long classPK, int start,
187         int end) throws com.liferay.portal.SystemException {
188         return _socialActivityLocalService.getActivities(mirrorActivityId,
189             classNameId, classPK, start, end);
190     }
191 
192     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(
193         long mirrorActivityId, java.lang.String className, long classPK,
194         int start, int end) throws com.liferay.portal.SystemException {
195         return _socialActivityLocalService.getActivities(mirrorActivityId,
196             className, classPK, start, end);
197     }
198 
199     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(
200         java.lang.String className, int start, int end)
201         throws com.liferay.portal.SystemException {
202         return _socialActivityLocalService.getActivities(className, start, end);
203     }
204 
205     public int getActivitiesCount(long classNameId)
206         throws com.liferay.portal.SystemException {
207         return _socialActivityLocalService.getActivitiesCount(classNameId);
208     }
209 
210     public int getActivitiesCount(long mirrorActivityId, long classNameId,
211         long classPK) throws com.liferay.portal.SystemException {
212         return _socialActivityLocalService.getActivitiesCount(mirrorActivityId,
213             classNameId, classPK);
214     }
215 
216     public int getActivitiesCount(long mirrorActivityId,
217         java.lang.String className, long classPK)
218         throws com.liferay.portal.SystemException {
219         return _socialActivityLocalService.getActivitiesCount(mirrorActivityId,
220             className, classPK);
221     }
222 
223     public int getActivitiesCount(java.lang.String className)
224         throws com.liferay.portal.SystemException {
225         return _socialActivityLocalService.getActivitiesCount(className);
226     }
227 
228     public com.liferay.portlet.social.model.SocialActivity getActivity(
229         long activityId)
230         throws com.liferay.portal.PortalException,
231             com.liferay.portal.SystemException {
232         return _socialActivityLocalService.getActivity(activityId);
233     }
234 
235     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getGroupActivities(
236         long groupId, int start, int end)
237         throws com.liferay.portal.SystemException {
238         return _socialActivityLocalService.getGroupActivities(groupId, start,
239             end);
240     }
241 
242     public int getGroupActivitiesCount(long groupId)
243         throws com.liferay.portal.SystemException {
244         return _socialActivityLocalService.getGroupActivitiesCount(groupId);
245     }
246 
247     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getGroupUsersActivities(
248         long groupId, int start, int end)
249         throws com.liferay.portal.SystemException {
250         return _socialActivityLocalService.getGroupUsersActivities(groupId,
251             start, end);
252     }
253 
254     public int getGroupUsersActivitiesCount(long groupId)
255         throws com.liferay.portal.SystemException {
256         return _socialActivityLocalService.getGroupUsersActivitiesCount(groupId);
257     }
258 
259     public com.liferay.portlet.social.model.SocialActivity getMirrorActivity(
260         long mirrorActivityId)
261         throws com.liferay.portal.PortalException,
262             com.liferay.portal.SystemException {
263         return _socialActivityLocalService.getMirrorActivity(mirrorActivityId);
264     }
265 
266     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getOrganizationActivities(
267         long organizationId, int start, int end)
268         throws com.liferay.portal.SystemException {
269         return _socialActivityLocalService.getOrganizationActivities(organizationId,
270             start, end);
271     }
272 
273     public int getOrganizationActivitiesCount(long organizationId)
274         throws com.liferay.portal.SystemException {
275         return _socialActivityLocalService.getOrganizationActivitiesCount(organizationId);
276     }
277 
278     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getOrganizationUsersActivities(
279         long organizationId, int start, int end)
280         throws com.liferay.portal.SystemException {
281         return _socialActivityLocalService.getOrganizationUsersActivities(organizationId,
282             start, end);
283     }
284 
285     public int getOrganizationUsersActivitiesCount(long organizationId)
286         throws com.liferay.portal.SystemException {
287         return _socialActivityLocalService.getOrganizationUsersActivitiesCount(organizationId);
288     }
289 
290     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getRelationActivities(
291         long userId, int start, int end)
292         throws com.liferay.portal.SystemException {
293         return _socialActivityLocalService.getRelationActivities(userId, start,
294             end);
295     }
296 
297     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getRelationActivities(
298         long userId, int type, int start, int end)
299         throws com.liferay.portal.SystemException {
300         return _socialActivityLocalService.getRelationActivities(userId, type,
301             start, end);
302     }
303 
304     public int getRelationActivitiesCount(long userId)
305         throws com.liferay.portal.SystemException {
306         return _socialActivityLocalService.getRelationActivitiesCount(userId);
307     }
308 
309     public int getRelationActivitiesCount(long userId, int type)
310         throws com.liferay.portal.SystemException {
311         return _socialActivityLocalService.getRelationActivitiesCount(userId,
312             type);
313     }
314 
315     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserActivities(
316         long userId, int start, int end)
317         throws com.liferay.portal.SystemException {
318         return _socialActivityLocalService.getUserActivities(userId, start, end);
319     }
320 
321     public int getUserActivitiesCount(long userId)
322         throws com.liferay.portal.SystemException {
323         return _socialActivityLocalService.getUserActivitiesCount(userId);
324     }
325 
326     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserGroupsActivities(
327         long userId, int start, int end)
328         throws com.liferay.portal.SystemException {
329         return _socialActivityLocalService.getUserGroupsActivities(userId,
330             start, end);
331     }
332 
333     public int getUserGroupsActivitiesCount(long userId)
334         throws com.liferay.portal.SystemException {
335         return _socialActivityLocalService.getUserGroupsActivitiesCount(userId);
336     }
337 
338     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserGroupsAndOrganizationsActivities(
339         long userId, int start, int end)
340         throws com.liferay.portal.SystemException {
341         return _socialActivityLocalService.getUserGroupsAndOrganizationsActivities(userId,
342             start, end);
343     }
344 
345     public int getUserGroupsAndOrganizationsActivitiesCount(long userId)
346         throws com.liferay.portal.SystemException {
347         return _socialActivityLocalService.getUserGroupsAndOrganizationsActivitiesCount(userId);
348     }
349 
350     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserOrganizationsActivities(
351         long userId, int start, int end)
352         throws com.liferay.portal.SystemException {
353         return _socialActivityLocalService.getUserOrganizationsActivities(userId,
354             start, end);
355     }
356 
357     public int getUserOrganizationsActivitiesCount(long userId)
358         throws com.liferay.portal.SystemException {
359         return _socialActivityLocalService.getUserOrganizationsActivitiesCount(userId);
360     }
361 
362     public SocialActivityLocalService getWrappedSocialActivityLocalService() {
363         return _socialActivityLocalService;
364     }
365 
366     private SocialActivityLocalService _socialActivityLocalService;
367 }