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 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.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.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.PortalException,
94 com.liferay.portal.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) throws com.liferay.portal.SystemException {
100 return _socialRequestLocalService.getSocialRequests(start, end);
101 }
102
103 public int getSocialRequestsCount()
104 throws com.liferay.portal.SystemException {
105 return _socialRequestLocalService.getSocialRequestsCount();
106 }
107
108 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
109 com.liferay.portlet.social.model.SocialRequest socialRequest)
110 throws com.liferay.portal.SystemException {
111 return _socialRequestLocalService.updateSocialRequest(socialRequest);
112 }
113
114 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
115 com.liferay.portlet.social.model.SocialRequest socialRequest,
116 boolean merge) throws com.liferay.portal.SystemException {
117 return _socialRequestLocalService.updateSocialRequest(socialRequest,
118 merge);
119 }
120
121 public com.liferay.portlet.social.model.SocialRequest addRequest(
122 long userId, long groupId, java.lang.String className, long classPK,
123 int type, java.lang.String extraData, long receiverUserId)
124 throws com.liferay.portal.PortalException,
125 com.liferay.portal.SystemException {
126 return _socialRequestLocalService.addRequest(userId, groupId,
127 className, classPK, type, extraData, receiverUserId);
128 }
129
130 public void deleteReceiverUserRequests(long receiverUserId)
131 throws com.liferay.portal.SystemException {
132 _socialRequestLocalService.deleteReceiverUserRequests(receiverUserId);
133 }
134
135 public void deleteRequest(long requestId)
136 throws com.liferay.portal.PortalException,
137 com.liferay.portal.SystemException {
138 _socialRequestLocalService.deleteRequest(requestId);
139 }
140
141 public void deleteUserRequests(long userId)
142 throws com.liferay.portal.SystemException {
143 _socialRequestLocalService.deleteUserRequests(userId);
144 }
145
146 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
147 long receiverUserId, int start, int end)
148 throws com.liferay.portal.SystemException {
149 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
150 start, end);
151 }
152
153 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
154 long receiverUserId, int status, int start, int end)
155 throws com.liferay.portal.SystemException {
156 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
157 status, start, end);
158 }
159
160 public int getReceiverUserRequestsCount(long receiverUserId)
161 throws com.liferay.portal.SystemException {
162 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId);
163 }
164
165 public int getReceiverUserRequestsCount(long receiverUserId, int status)
166 throws com.liferay.portal.SystemException {
167 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId,
168 status);
169 }
170
171 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
172 long userId, int start, int end)
173 throws com.liferay.portal.SystemException {
174 return _socialRequestLocalService.getUserRequests(userId, start, end);
175 }
176
177 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
178 long userId, int status, int start, int end)
179 throws com.liferay.portal.SystemException {
180 return _socialRequestLocalService.getUserRequests(userId, status,
181 start, end);
182 }
183
184 public int getUserRequestsCount(long userId)
185 throws com.liferay.portal.SystemException {
186 return _socialRequestLocalService.getUserRequestsCount(userId);
187 }
188
189 public int getUserRequestsCount(long userId, int status)
190 throws com.liferay.portal.SystemException {
191 return _socialRequestLocalService.getUserRequestsCount(userId, status);
192 }
193
194 public boolean hasRequest(long userId, java.lang.String className,
195 long classPK, int type, int status)
196 throws com.liferay.portal.SystemException {
197 return _socialRequestLocalService.hasRequest(userId, className,
198 classPK, type, status);
199 }
200
201 public boolean hasRequest(long userId, java.lang.String className,
202 long classPK, int type, long receiverUserId, int status)
203 throws com.liferay.portal.SystemException {
204 return _socialRequestLocalService.hasRequest(userId, className,
205 classPK, type, receiverUserId, status);
206 }
207
208 public com.liferay.portlet.social.model.SocialRequest updateRequest(
209 long requestId, int status,
210 com.liferay.portal.theme.ThemeDisplay themeDisplay)
211 throws com.liferay.portal.PortalException,
212 com.liferay.portal.SystemException {
213 return _socialRequestLocalService.updateRequest(requestId, status,
214 themeDisplay);
215 }
216
217 public SocialRequestLocalService getWrappedSocialRequestLocalService() {
218 return _socialRequestLocalService;
219 }
220
221 private SocialRequestLocalService _socialRequestLocalService;
222 }