001
014
015 package com.liferay.portlet.social.service;
016
017
026 public class SocialRequestLocalServiceWrapper
027 implements SocialRequestLocalService {
028 public SocialRequestLocalServiceWrapper(
029 SocialRequestLocalService socialRequestLocalService) {
030 _socialRequestLocalService = socialRequestLocalService;
031 }
032
033
040 public com.liferay.portlet.social.model.SocialRequest addSocialRequest(
041 com.liferay.portlet.social.model.SocialRequest socialRequest)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _socialRequestLocalService.addSocialRequest(socialRequest);
044 }
045
046
052 public com.liferay.portlet.social.model.SocialRequest createSocialRequest(
053 long requestId) {
054 return _socialRequestLocalService.createSocialRequest(requestId);
055 }
056
057
064 public void deleteSocialRequest(long requestId)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 _socialRequestLocalService.deleteSocialRequest(requestId);
068 }
069
070
076 public void deleteSocialRequest(
077 com.liferay.portlet.social.model.SocialRequest socialRequest)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 _socialRequestLocalService.deleteSocialRequest(socialRequest);
080 }
081
082
089 @SuppressWarnings("rawtypes")
090 public java.util.List dynamicQuery(
091 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _socialRequestLocalService.dynamicQuery(dynamicQuery);
094 }
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException {
113 return _socialRequestLocalService.dynamicQuery(dynamicQuery, start, end);
114 }
115
116
130 @SuppressWarnings("rawtypes")
131 public java.util.List dynamicQuery(
132 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
133 int end,
134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return _socialRequestLocalService.dynamicQuery(dynamicQuery, start,
137 end, orderByComparator);
138 }
139
140
147 public long dynamicQueryCount(
148 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return _socialRequestLocalService.dynamicQueryCount(dynamicQuery);
151 }
152
153
161 public com.liferay.portlet.social.model.SocialRequest getSocialRequest(
162 long requestId)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 return _socialRequestLocalService.getSocialRequest(requestId);
166 }
167
168
177 public com.liferay.portlet.social.model.SocialRequest getSocialRequestByUuidAndGroupId(
178 java.lang.String uuid, long groupId)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _socialRequestLocalService.getSocialRequestByUuidAndGroupId(uuid,
182 groupId);
183 }
184
185
197 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getSocialRequests(
198 int start, int end)
199 throws com.liferay.portal.kernel.exception.SystemException {
200 return _socialRequestLocalService.getSocialRequests(start, end);
201 }
202
203
209 public int getSocialRequestsCount()
210 throws com.liferay.portal.kernel.exception.SystemException {
211 return _socialRequestLocalService.getSocialRequestsCount();
212 }
213
214
221 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
222 com.liferay.portlet.social.model.SocialRequest socialRequest)
223 throws com.liferay.portal.kernel.exception.SystemException {
224 return _socialRequestLocalService.updateSocialRequest(socialRequest);
225 }
226
227
235 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
236 com.liferay.portlet.social.model.SocialRequest socialRequest,
237 boolean merge)
238 throws com.liferay.portal.kernel.exception.SystemException {
239 return _socialRequestLocalService.updateSocialRequest(socialRequest,
240 merge);
241 }
242
243 public com.liferay.portlet.social.model.SocialRequest addRequest(
244 long userId, long groupId, java.lang.String className, long classPK,
245 int type, java.lang.String extraData, long receiverUserId)
246 throws com.liferay.portal.kernel.exception.PortalException,
247 com.liferay.portal.kernel.exception.SystemException {
248 return _socialRequestLocalService.addRequest(userId, groupId,
249 className, classPK, type, extraData, receiverUserId);
250 }
251
252 public void deleteReceiverUserRequests(long receiverUserId)
253 throws com.liferay.portal.kernel.exception.SystemException {
254 _socialRequestLocalService.deleteReceiverUserRequests(receiverUserId);
255 }
256
257 public void deleteRequest(long requestId)
258 throws com.liferay.portal.kernel.exception.PortalException,
259 com.liferay.portal.kernel.exception.SystemException {
260 _socialRequestLocalService.deleteRequest(requestId);
261 }
262
263 public void deleteUserRequests(long userId)
264 throws com.liferay.portal.kernel.exception.SystemException {
265 _socialRequestLocalService.deleteUserRequests(userId);
266 }
267
268 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
269 long receiverUserId, int start, int end)
270 throws com.liferay.portal.kernel.exception.SystemException {
271 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
272 start, end);
273 }
274
275 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
276 long receiverUserId, int status, int start, int end)
277 throws com.liferay.portal.kernel.exception.SystemException {
278 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
279 status, start, end);
280 }
281
282 public int getReceiverUserRequestsCount(long receiverUserId)
283 throws com.liferay.portal.kernel.exception.SystemException {
284 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId);
285 }
286
287 public int getReceiverUserRequestsCount(long receiverUserId, int status)
288 throws com.liferay.portal.kernel.exception.SystemException {
289 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId,
290 status);
291 }
292
293 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
294 long userId, int start, int end)
295 throws com.liferay.portal.kernel.exception.SystemException {
296 return _socialRequestLocalService.getUserRequests(userId, start, end);
297 }
298
299 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
300 long userId, int status, int start, int end)
301 throws com.liferay.portal.kernel.exception.SystemException {
302 return _socialRequestLocalService.getUserRequests(userId, status,
303 start, end);
304 }
305
306 public int getUserRequestsCount(long userId)
307 throws com.liferay.portal.kernel.exception.SystemException {
308 return _socialRequestLocalService.getUserRequestsCount(userId);
309 }
310
311 public int getUserRequestsCount(long userId, int status)
312 throws com.liferay.portal.kernel.exception.SystemException {
313 return _socialRequestLocalService.getUserRequestsCount(userId, status);
314 }
315
316 public boolean hasRequest(long userId, java.lang.String className,
317 long classPK, int type, int status)
318 throws com.liferay.portal.kernel.exception.SystemException {
319 return _socialRequestLocalService.hasRequest(userId, className,
320 classPK, type, status);
321 }
322
323 public boolean hasRequest(long userId, java.lang.String className,
324 long classPK, int type, long receiverUserId, int status)
325 throws com.liferay.portal.kernel.exception.SystemException {
326 return _socialRequestLocalService.hasRequest(userId, className,
327 classPK, type, receiverUserId, status);
328 }
329
330 public com.liferay.portlet.social.model.SocialRequest updateRequest(
331 long requestId, int status,
332 com.liferay.portal.theme.ThemeDisplay themeDisplay)
333 throws com.liferay.portal.kernel.exception.PortalException,
334 com.liferay.portal.kernel.exception.SystemException {
335 return _socialRequestLocalService.updateRequest(requestId, status,
336 themeDisplay);
337 }
338
339 public SocialRequestLocalService getWrappedSocialRequestLocalService() {
340 return _socialRequestLocalService;
341 }
342
343 private SocialRequestLocalService _socialRequestLocalService;
344 }