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.lang.String className, long classPK,
116         int type, java.lang.String extraData, long receiverUserId)
117         throws com.liferay.portal.PortalException,
118             com.liferay.portal.SystemException {
119         return _socialActivityLocalService.addActivity(userId, groupId,
120             className, classPK, type, extraData, receiverUserId);
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 addUniqueActivity(
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.addUniqueActivity(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 void deleteActivities(java.lang.String className, long classPK)
153         throws com.liferay.portal.SystemException {
154         _socialActivityLocalService.deleteActivities(className, classPK);
155     }
156 
157     public void deleteActivities(long classNameId, long classPK)
158         throws com.liferay.portal.SystemException {
159         _socialActivityLocalService.deleteActivities(classNameId, 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 deleteUserActivities(long userId)
169         throws com.liferay.portal.SystemException {
170         _socialActivityLocalService.deleteUserActivities(userId);
171     }
172 
173     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getActivities(
174         java.lang.String className, int start, int end)
175         throws com.liferay.portal.SystemException {
176         return _socialActivityLocalService.getActivities(className, start, end);
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, java.lang.String className, long classPK,
187         int start, int end) throws com.liferay.portal.SystemException {
188         return _socialActivityLocalService.getActivities(mirrorActivityId,
189             className, classPK, 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 int getActivitiesCount(java.lang.String className)
200         throws com.liferay.portal.SystemException {
201         return _socialActivityLocalService.getActivitiesCount(className);
202     }
203 
204     public int getActivitiesCount(long classNameId)
205         throws com.liferay.portal.SystemException {
206         return _socialActivityLocalService.getActivitiesCount(classNameId);
207     }
208 
209     public int getActivitiesCount(long mirrorActivityId,
210         java.lang.String className, long classPK)
211         throws com.liferay.portal.SystemException {
212         return _socialActivityLocalService.getActivitiesCount(mirrorActivityId,
213             className, classPK);
214     }
215 
216     public int getActivitiesCount(long mirrorActivityId, long classNameId,
217         long classPK) throws com.liferay.portal.SystemException {
218         return _socialActivityLocalService.getActivitiesCount(mirrorActivityId,
219             classNameId, classPK);
220     }
221 
222     public com.liferay.portlet.social.model.SocialActivity getActivity(
223         long activityId)
224         throws com.liferay.portal.PortalException,
225             com.liferay.portal.SystemException {
226         return _socialActivityLocalService.getActivity(activityId);
227     }
228 
229     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getGroupActivities(
230         long groupId, int start, int end)
231         throws com.liferay.portal.SystemException {
232         return _socialActivityLocalService.getGroupActivities(groupId, start,
233             end);
234     }
235 
236     public int getGroupActivitiesCount(long groupId)
237         throws com.liferay.portal.SystemException {
238         return _socialActivityLocalService.getGroupActivitiesCount(groupId);
239     }
240 
241     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getGroupUsersActivities(
242         long groupId, int start, int end)
243         throws com.liferay.portal.SystemException {
244         return _socialActivityLocalService.getGroupUsersActivities(groupId,
245             start, end);
246     }
247 
248     public int getGroupUsersActivitiesCount(long groupId)
249         throws com.liferay.portal.SystemException {
250         return _socialActivityLocalService.getGroupUsersActivitiesCount(groupId);
251     }
252 
253     public com.liferay.portlet.social.model.SocialActivity getMirrorActivity(
254         long mirrorActivityId)
255         throws com.liferay.portal.PortalException,
256             com.liferay.portal.SystemException {
257         return _socialActivityLocalService.getMirrorActivity(mirrorActivityId);
258     }
259 
260     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getOrganizationActivities(
261         long organizationId, int start, int end)
262         throws com.liferay.portal.SystemException {
263         return _socialActivityLocalService.getOrganizationActivities(organizationId,
264             start, end);
265     }
266 
267     public int getOrganizationActivitiesCount(long organizationId)
268         throws com.liferay.portal.SystemException {
269         return _socialActivityLocalService.getOrganizationActivitiesCount(organizationId);
270     }
271 
272     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getOrganizationUsersActivities(
273         long organizationId, int start, int end)
274         throws com.liferay.portal.SystemException {
275         return _socialActivityLocalService.getOrganizationUsersActivities(organizationId,
276             start, end);
277     }
278 
279     public int getOrganizationUsersActivitiesCount(long organizationId)
280         throws com.liferay.portal.SystemException {
281         return _socialActivityLocalService.getOrganizationUsersActivitiesCount(organizationId);
282     }
283 
284     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getRelationActivities(
285         long userId, int start, int end)
286         throws com.liferay.portal.SystemException {
287         return _socialActivityLocalService.getRelationActivities(userId, start,
288             end);
289     }
290 
291     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getRelationActivities(
292         long userId, int type, int start, int end)
293         throws com.liferay.portal.SystemException {
294         return _socialActivityLocalService.getRelationActivities(userId, type,
295             start, end);
296     }
297 
298     public int getRelationActivitiesCount(long userId)
299         throws com.liferay.portal.SystemException {
300         return _socialActivityLocalService.getRelationActivitiesCount(userId);
301     }
302 
303     public int getRelationActivitiesCount(long userId, int type)
304         throws com.liferay.portal.SystemException {
305         return _socialActivityLocalService.getRelationActivitiesCount(userId,
306             type);
307     }
308 
309     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserActivities(
310         long userId, int start, int end)
311         throws com.liferay.portal.SystemException {
312         return _socialActivityLocalService.getUserActivities(userId, start, end);
313     }
314 
315     public int getUserActivitiesCount(long userId)
316         throws com.liferay.portal.SystemException {
317         return _socialActivityLocalService.getUserActivitiesCount(userId);
318     }
319 
320     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserGroupsActivities(
321         long userId, int start, int end)
322         throws com.liferay.portal.SystemException {
323         return _socialActivityLocalService.getUserGroupsActivities(userId,
324             start, end);
325     }
326 
327     public int getUserGroupsActivitiesCount(long userId)
328         throws com.liferay.portal.SystemException {
329         return _socialActivityLocalService.getUserGroupsActivitiesCount(userId);
330     }
331 
332     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserGroupsAndOrganizationsActivities(
333         long userId, int start, int end)
334         throws com.liferay.portal.SystemException {
335         return _socialActivityLocalService.getUserGroupsAndOrganizationsActivities(userId,
336             start, end);
337     }
338 
339     public int getUserGroupsAndOrganizationsActivitiesCount(long userId)
340         throws com.liferay.portal.SystemException {
341         return _socialActivityLocalService.getUserGroupsAndOrganizationsActivitiesCount(userId);
342     }
343 
344     public java.util.List<com.liferay.portlet.social.model.SocialActivity> getUserOrganizationsActivities(
345         long userId, int start, int end)
346         throws com.liferay.portal.SystemException {
347         return _socialActivityLocalService.getUserOrganizationsActivities(userId,
348             start, end);
349     }
350 
351     public int getUserOrganizationsActivitiesCount(long userId)
352         throws com.liferay.portal.SystemException {
353         return _socialActivityLocalService.getUserOrganizationsActivitiesCount(userId);
354     }
355 
356     public SocialActivityLocalService getWrappedSocialActivityLocalService() {
357         return _socialActivityLocalService;
358     }
359 
360     private SocialActivityLocalService _socialActivityLocalService;
361 }