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="SocialRequestLocalServiceUtil.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 SocialRequestLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       SocialRequestLocalService
32   * @generated
33   */
34  public class SocialRequestLocalServiceWrapper
35      implements SocialRequestLocalService {
36      public SocialRequestLocalServiceWrapper(
37          SocialRequestLocalService socialRequestLocalService) {
38          _socialRequestLocalService = socialRequestLocalService;
39      }
40  
41      public com.liferay.portlet.social.model.SocialRequest addSocialRequest(
42          com.liferay.portlet.social.model.SocialRequest socialRequest)
43          throws com.liferay.portal.kernel.exception.SystemException {
44          return _socialRequestLocalService.addSocialRequest(socialRequest);
45      }
46  
47      public com.liferay.portlet.social.model.SocialRequest createSocialRequest(
48          long requestId) {
49          return _socialRequestLocalService.createSocialRequest(requestId);
50      }
51  
52      public void deleteSocialRequest(long requestId)
53          throws com.liferay.portal.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _socialRequestLocalService.deleteSocialRequest(requestId);
56      }
57  
58      public void deleteSocialRequest(
59          com.liferay.portlet.social.model.SocialRequest socialRequest)
60          throws com.liferay.portal.kernel.exception.SystemException {
61          _socialRequestLocalService.deleteSocialRequest(socialRequest);
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 _socialRequestLocalService.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 _socialRequestLocalService.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.kernel.exception.SystemException {
81          return _socialRequestLocalService.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.kernel.exception.SystemException {
88          return _socialRequestLocalService.dynamicQueryCount(dynamicQuery);
89      }
90  
91      public com.liferay.portlet.social.model.SocialRequest getSocialRequest(
92          long requestId)
93          throws com.liferay.portal.kernel.exception.PortalException,
94              com.liferay.portal.kernel.exception.SystemException {
95          return _socialRequestLocalService.getSocialRequest(requestId);
96      }
97  
98      public java.util.List<com.liferay.portlet.social.model.SocialRequest> getSocialRequests(
99          int start, int end)
100         throws com.liferay.portal.kernel.exception.SystemException {
101         return _socialRequestLocalService.getSocialRequests(start, end);
102     }
103 
104     public int getSocialRequestsCount()
105         throws com.liferay.portal.kernel.exception.SystemException {
106         return _socialRequestLocalService.getSocialRequestsCount();
107     }
108 
109     public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
110         com.liferay.portlet.social.model.SocialRequest socialRequest)
111         throws com.liferay.portal.kernel.exception.SystemException {
112         return _socialRequestLocalService.updateSocialRequest(socialRequest);
113     }
114 
115     public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
116         com.liferay.portlet.social.model.SocialRequest socialRequest,
117         boolean merge)
118         throws com.liferay.portal.kernel.exception.SystemException {
119         return _socialRequestLocalService.updateSocialRequest(socialRequest,
120             merge);
121     }
122 
123     public com.liferay.portlet.social.model.SocialRequest addRequest(
124         long userId, long groupId, java.lang.String className, long classPK,
125         int type, java.lang.String extraData, long receiverUserId)
126         throws com.liferay.portal.kernel.exception.PortalException,
127             com.liferay.portal.kernel.exception.SystemException {
128         return _socialRequestLocalService.addRequest(userId, groupId,
129             className, classPK, type, extraData, receiverUserId);
130     }
131 
132     public void deleteReceiverUserRequests(long receiverUserId)
133         throws com.liferay.portal.kernel.exception.SystemException {
134         _socialRequestLocalService.deleteReceiverUserRequests(receiverUserId);
135     }
136 
137     public void deleteRequest(long requestId)
138         throws com.liferay.portal.kernel.exception.PortalException,
139             com.liferay.portal.kernel.exception.SystemException {
140         _socialRequestLocalService.deleteRequest(requestId);
141     }
142 
143     public void deleteUserRequests(long userId)
144         throws com.liferay.portal.kernel.exception.SystemException {
145         _socialRequestLocalService.deleteUserRequests(userId);
146     }
147 
148     public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
149         long receiverUserId, int start, int end)
150         throws com.liferay.portal.kernel.exception.SystemException {
151         return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
152             start, end);
153     }
154 
155     public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
156         long receiverUserId, int status, int start, int end)
157         throws com.liferay.portal.kernel.exception.SystemException {
158         return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
159             status, start, end);
160     }
161 
162     public int getReceiverUserRequestsCount(long receiverUserId)
163         throws com.liferay.portal.kernel.exception.SystemException {
164         return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId);
165     }
166 
167     public int getReceiverUserRequestsCount(long receiverUserId, int status)
168         throws com.liferay.portal.kernel.exception.SystemException {
169         return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId,
170             status);
171     }
172 
173     public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
174         long userId, int start, int end)
175         throws com.liferay.portal.kernel.exception.SystemException {
176         return _socialRequestLocalService.getUserRequests(userId, start, end);
177     }
178 
179     public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
180         long userId, int status, int start, int end)
181         throws com.liferay.portal.kernel.exception.SystemException {
182         return _socialRequestLocalService.getUserRequests(userId, status,
183             start, end);
184     }
185 
186     public int getUserRequestsCount(long userId)
187         throws com.liferay.portal.kernel.exception.SystemException {
188         return _socialRequestLocalService.getUserRequestsCount(userId);
189     }
190 
191     public int getUserRequestsCount(long userId, int status)
192         throws com.liferay.portal.kernel.exception.SystemException {
193         return _socialRequestLocalService.getUserRequestsCount(userId, status);
194     }
195 
196     public boolean hasRequest(long userId, java.lang.String className,
197         long classPK, int type, int status)
198         throws com.liferay.portal.kernel.exception.SystemException {
199         return _socialRequestLocalService.hasRequest(userId, className,
200             classPK, type, status);
201     }
202 
203     public boolean hasRequest(long userId, java.lang.String className,
204         long classPK, int type, long receiverUserId, int status)
205         throws com.liferay.portal.kernel.exception.SystemException {
206         return _socialRequestLocalService.hasRequest(userId, className,
207             classPK, type, receiverUserId, status);
208     }
209 
210     public com.liferay.portlet.social.model.SocialRequest updateRequest(
211         long requestId, int status,
212         com.liferay.portal.theme.ThemeDisplay themeDisplay)
213         throws com.liferay.portal.kernel.exception.PortalException,
214             com.liferay.portal.kernel.exception.SystemException {
215         return _socialRequestLocalService.updateRequest(requestId, status,
216             themeDisplay);
217     }
218 
219     public SocialRequestLocalService getWrappedSocialRequestLocalService() {
220         return _socialRequestLocalService;
221     }
222 
223     private SocialRequestLocalService _socialRequestLocalService;
224 }