1
14
15 package com.liferay.portlet.social.service;
16
17
33 public class SocialRequestLocalServiceWrapper
34 implements SocialRequestLocalService {
35 public SocialRequestLocalServiceWrapper(
36 SocialRequestLocalService socialRequestLocalService) {
37 _socialRequestLocalService = socialRequestLocalService;
38 }
39
40 public com.liferay.portlet.social.model.SocialRequest addSocialRequest(
41 com.liferay.portlet.social.model.SocialRequest socialRequest)
42 throws com.liferay.portal.SystemException {
43 return _socialRequestLocalService.addSocialRequest(socialRequest);
44 }
45
46 public com.liferay.portlet.social.model.SocialRequest createSocialRequest(
47 long requestId) {
48 return _socialRequestLocalService.createSocialRequest(requestId);
49 }
50
51 public void deleteSocialRequest(long requestId)
52 throws com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException {
54 _socialRequestLocalService.deleteSocialRequest(requestId);
55 }
56
57 public void deleteSocialRequest(
58 com.liferay.portlet.social.model.SocialRequest socialRequest)
59 throws com.liferay.portal.SystemException {
60 _socialRequestLocalService.deleteSocialRequest(socialRequest);
61 }
62
63 @SuppressWarnings("rawtypes")
64 public java.util.List dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.SystemException {
67 return _socialRequestLocalService.dynamicQuery(dynamicQuery);
68 }
69
70 @SuppressWarnings("rawtypes")
71 public java.util.List dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73 int end) throws com.liferay.portal.SystemException {
74 return _socialRequestLocalService.dynamicQuery(dynamicQuery, start, end);
75 }
76
77 @SuppressWarnings("rawtypes")
78 public java.util.List dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80 int end,
81 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82 throws com.liferay.portal.SystemException {
83 return _socialRequestLocalService.dynamicQuery(dynamicQuery, start,
84 end, orderByComparator);
85 }
86
87 public int dynamicQueryCount(
88 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
89 throws com.liferay.portal.SystemException {
90 return _socialRequestLocalService.dynamicQueryCount(dynamicQuery);
91 }
92
93 public com.liferay.portlet.social.model.SocialRequest getSocialRequest(
94 long requestId)
95 throws com.liferay.portal.PortalException,
96 com.liferay.portal.SystemException {
97 return _socialRequestLocalService.getSocialRequest(requestId);
98 }
99
100 public com.liferay.portlet.social.model.SocialRequest getSocialRequestByUuidAndGroupId(
101 java.lang.String uuid, long groupId)
102 throws com.liferay.portal.PortalException,
103 com.liferay.portal.SystemException {
104 return _socialRequestLocalService.getSocialRequestByUuidAndGroupId(uuid,
105 groupId);
106 }
107
108 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getSocialRequests(
109 int start, int end) throws com.liferay.portal.SystemException {
110 return _socialRequestLocalService.getSocialRequests(start, end);
111 }
112
113 public int getSocialRequestsCount()
114 throws com.liferay.portal.SystemException {
115 return _socialRequestLocalService.getSocialRequestsCount();
116 }
117
118 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
119 com.liferay.portlet.social.model.SocialRequest socialRequest)
120 throws com.liferay.portal.SystemException {
121 return _socialRequestLocalService.updateSocialRequest(socialRequest);
122 }
123
124 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
125 com.liferay.portlet.social.model.SocialRequest socialRequest,
126 boolean merge) throws com.liferay.portal.SystemException {
127 return _socialRequestLocalService.updateSocialRequest(socialRequest,
128 merge);
129 }
130
131 public com.liferay.portlet.social.model.SocialRequest addRequest(
132 long userId, long groupId, java.lang.String className, long classPK,
133 int type, java.lang.String extraData, long receiverUserId)
134 throws com.liferay.portal.PortalException,
135 com.liferay.portal.SystemException {
136 return _socialRequestLocalService.addRequest(userId, groupId,
137 className, classPK, type, extraData, receiverUserId);
138 }
139
140 public void deleteReceiverUserRequests(long receiverUserId)
141 throws com.liferay.portal.SystemException {
142 _socialRequestLocalService.deleteReceiverUserRequests(receiverUserId);
143 }
144
145 public void deleteRequest(long requestId)
146 throws com.liferay.portal.PortalException,
147 com.liferay.portal.SystemException {
148 _socialRequestLocalService.deleteRequest(requestId);
149 }
150
151 public void deleteUserRequests(long userId)
152 throws com.liferay.portal.SystemException {
153 _socialRequestLocalService.deleteUserRequests(userId);
154 }
155
156 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
157 long receiverUserId, int start, int end)
158 throws com.liferay.portal.SystemException {
159 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
160 start, end);
161 }
162
163 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
164 long receiverUserId, int status, int start, int end)
165 throws com.liferay.portal.SystemException {
166 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
167 status, start, end);
168 }
169
170 public int getReceiverUserRequestsCount(long receiverUserId)
171 throws com.liferay.portal.SystemException {
172 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId);
173 }
174
175 public int getReceiverUserRequestsCount(long receiverUserId, int status)
176 throws com.liferay.portal.SystemException {
177 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId,
178 status);
179 }
180
181 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
182 long userId, int start, int end)
183 throws com.liferay.portal.SystemException {
184 return _socialRequestLocalService.getUserRequests(userId, start, end);
185 }
186
187 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
188 long userId, int status, int start, int end)
189 throws com.liferay.portal.SystemException {
190 return _socialRequestLocalService.getUserRequests(userId, status,
191 start, end);
192 }
193
194 public int getUserRequestsCount(long userId)
195 throws com.liferay.portal.SystemException {
196 return _socialRequestLocalService.getUserRequestsCount(userId);
197 }
198
199 public int getUserRequestsCount(long userId, int status)
200 throws com.liferay.portal.SystemException {
201 return _socialRequestLocalService.getUserRequestsCount(userId, status);
202 }
203
204 public boolean hasRequest(long userId, java.lang.String className,
205 long classPK, int type, int status)
206 throws com.liferay.portal.SystemException {
207 return _socialRequestLocalService.hasRequest(userId, className,
208 classPK, type, status);
209 }
210
211 public boolean hasRequest(long userId, java.lang.String className,
212 long classPK, int type, long receiverUserId, int status)
213 throws com.liferay.portal.SystemException {
214 return _socialRequestLocalService.hasRequest(userId, className,
215 classPK, type, receiverUserId, status);
216 }
217
218 public com.liferay.portlet.social.model.SocialRequest updateRequest(
219 long requestId, int status,
220 com.liferay.portal.theme.ThemeDisplay themeDisplay)
221 throws com.liferay.portal.PortalException,
222 com.liferay.portal.SystemException {
223 return _socialRequestLocalService.updateRequest(requestId, status,
224 themeDisplay);
225 }
226
227 public SocialRequestLocalService getWrappedSocialRequestLocalService() {
228 return _socialRequestLocalService;
229 }
230
231 private SocialRequestLocalService _socialRequestLocalService;
232 }