1
14
15 package com.liferay.portlet.social.service;
16
17
18
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.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.PortalException,
54 com.liferay.portal.SystemException {
55 _socialRequestLocalService.deleteSocialRequest(requestId);
56 }
57
58 public void deleteSocialRequest(
59 com.liferay.portlet.social.model.SocialRequest socialRequest)
60 throws com.liferay.portal.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.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.SystemException {
73 return _socialRequestLocalService.dynamicQuery(dynamicQuery, start, end);
74 }
75
76 public com.liferay.portlet.social.model.SocialRequest getSocialRequest(
77 long requestId)
78 throws com.liferay.portal.PortalException,
79 com.liferay.portal.SystemException {
80 return _socialRequestLocalService.getSocialRequest(requestId);
81 }
82
83 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getSocialRequests(
84 int start, int end) throws com.liferay.portal.SystemException {
85 return _socialRequestLocalService.getSocialRequests(start, end);
86 }
87
88 public int getSocialRequestsCount()
89 throws com.liferay.portal.SystemException {
90 return _socialRequestLocalService.getSocialRequestsCount();
91 }
92
93 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
94 com.liferay.portlet.social.model.SocialRequest socialRequest)
95 throws com.liferay.portal.SystemException {
96 return _socialRequestLocalService.updateSocialRequest(socialRequest);
97 }
98
99 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
100 com.liferay.portlet.social.model.SocialRequest socialRequest,
101 boolean merge) throws com.liferay.portal.SystemException {
102 return _socialRequestLocalService.updateSocialRequest(socialRequest,
103 merge);
104 }
105
106 public com.liferay.portlet.social.model.SocialRequest addRequest(
107 long userId, long groupId, java.lang.String className, long classPK,
108 int type, java.lang.String extraData, long receiverUserId)
109 throws com.liferay.portal.PortalException,
110 com.liferay.portal.SystemException {
111 return _socialRequestLocalService.addRequest(userId, groupId,
112 className, classPK, type, extraData, receiverUserId);
113 }
114
115 public void deleteReceiverUserRequests(long receiverUserId)
116 throws com.liferay.portal.SystemException {
117 _socialRequestLocalService.deleteReceiverUserRequests(receiverUserId);
118 }
119
120 public void deleteRequest(long requestId)
121 throws com.liferay.portal.PortalException,
122 com.liferay.portal.SystemException {
123 _socialRequestLocalService.deleteRequest(requestId);
124 }
125
126 public void deleteUserRequests(long userId)
127 throws com.liferay.portal.SystemException {
128 _socialRequestLocalService.deleteUserRequests(userId);
129 }
130
131 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
132 long receiverUserId, int start, int end)
133 throws com.liferay.portal.SystemException {
134 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
135 start, end);
136 }
137
138 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
139 long receiverUserId, int status, int start, int end)
140 throws com.liferay.portal.SystemException {
141 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
142 status, start, end);
143 }
144
145 public int getReceiverUserRequestsCount(long receiverUserId)
146 throws com.liferay.portal.SystemException {
147 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId);
148 }
149
150 public int getReceiverUserRequestsCount(long receiverUserId, int status)
151 throws com.liferay.portal.SystemException {
152 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId,
153 status);
154 }
155
156 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
157 long userId, int start, int end)
158 throws com.liferay.portal.SystemException {
159 return _socialRequestLocalService.getUserRequests(userId, start, end);
160 }
161
162 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
163 long userId, int status, int start, int end)
164 throws com.liferay.portal.SystemException {
165 return _socialRequestLocalService.getUserRequests(userId, status,
166 start, end);
167 }
168
169 public int getUserRequestsCount(long userId)
170 throws com.liferay.portal.SystemException {
171 return _socialRequestLocalService.getUserRequestsCount(userId);
172 }
173
174 public int getUserRequestsCount(long userId, int status)
175 throws com.liferay.portal.SystemException {
176 return _socialRequestLocalService.getUserRequestsCount(userId, status);
177 }
178
179 public boolean hasRequest(long userId, java.lang.String className,
180 long classPK, int type, int status)
181 throws com.liferay.portal.SystemException {
182 return _socialRequestLocalService.hasRequest(userId, className,
183 classPK, type, status);
184 }
185
186 public boolean hasRequest(long userId, java.lang.String className,
187 long classPK, int type, long receiverUserId, int status)
188 throws com.liferay.portal.SystemException {
189 return _socialRequestLocalService.hasRequest(userId, className,
190 classPK, type, receiverUserId, status);
191 }
192
193 public com.liferay.portlet.social.model.SocialRequest updateRequest(
194 long requestId, int status,
195 com.liferay.portal.theme.ThemeDisplay themeDisplay)
196 throws com.liferay.portal.PortalException,
197 com.liferay.portal.SystemException {
198 return _socialRequestLocalService.updateRequest(requestId, status,
199 themeDisplay);
200 }
201
202 public SocialRequestLocalService getWrappedSocialRequestLocalService() {
203 return _socialRequestLocalService;
204 }
205
206 private SocialRequestLocalService _socialRequestLocalService;
207 }