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