001
014
015 package com.liferay.portlet.social.service;
016
017
018
027 public class SocialRequestLocalServiceWrapper
028 implements SocialRequestLocalService {
029 public SocialRequestLocalServiceWrapper(
030 SocialRequestLocalService socialRequestLocalService) {
031 _socialRequestLocalService = socialRequestLocalService;
032 }
033
034 public com.liferay.portlet.social.model.SocialRequest addSocialRequest(
035 com.liferay.portlet.social.model.SocialRequest socialRequest)
036 throws com.liferay.portal.kernel.exception.SystemException {
037 return _socialRequestLocalService.addSocialRequest(socialRequest);
038 }
039
040 public com.liferay.portlet.social.model.SocialRequest createSocialRequest(
041 long requestId) {
042 return _socialRequestLocalService.createSocialRequest(requestId);
043 }
044
045 public void deleteSocialRequest(long requestId)
046 throws com.liferay.portal.kernel.exception.PortalException,
047 com.liferay.portal.kernel.exception.SystemException {
048 _socialRequestLocalService.deleteSocialRequest(requestId);
049 }
050
051 public void deleteSocialRequest(
052 com.liferay.portlet.social.model.SocialRequest socialRequest)
053 throws com.liferay.portal.kernel.exception.SystemException {
054 _socialRequestLocalService.deleteSocialRequest(socialRequest);
055 }
056
057 @SuppressWarnings("unchecked")
058 public java.util.List dynamicQuery(
059 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
060 throws com.liferay.portal.kernel.exception.SystemException {
061 return _socialRequestLocalService.dynamicQuery(dynamicQuery);
062 }
063
064 @SuppressWarnings("unchecked")
065 public java.util.List dynamicQuery(
066 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
067 int end) throws com.liferay.portal.kernel.exception.SystemException {
068 return _socialRequestLocalService.dynamicQuery(dynamicQuery, start, end);
069 }
070
071 @SuppressWarnings("unchecked")
072 public java.util.List dynamicQuery(
073 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
074 int end,
075 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076 throws com.liferay.portal.kernel.exception.SystemException {
077 return _socialRequestLocalService.dynamicQuery(dynamicQuery, start,
078 end, orderByComparator);
079 }
080
081 public long dynamicQueryCount(
082 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _socialRequestLocalService.dynamicQueryCount(dynamicQuery);
085 }
086
087 public com.liferay.portlet.social.model.SocialRequest getSocialRequest(
088 long requestId)
089 throws com.liferay.portal.kernel.exception.PortalException,
090 com.liferay.portal.kernel.exception.SystemException {
091 return _socialRequestLocalService.getSocialRequest(requestId);
092 }
093
094 public com.liferay.portlet.social.model.SocialRequest getSocialRequestByUuidAndGroupId(
095 java.lang.String uuid, long groupId)
096 throws com.liferay.portal.kernel.exception.PortalException,
097 com.liferay.portal.kernel.exception.SystemException {
098 return _socialRequestLocalService.getSocialRequestByUuidAndGroupId(uuid,
099 groupId);
100 }
101
102 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getSocialRequests(
103 int start, int end)
104 throws com.liferay.portal.kernel.exception.SystemException {
105 return _socialRequestLocalService.getSocialRequests(start, end);
106 }
107
108 public int getSocialRequestsCount()
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _socialRequestLocalService.getSocialRequestsCount();
111 }
112
113 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
114 com.liferay.portlet.social.model.SocialRequest socialRequest)
115 throws com.liferay.portal.kernel.exception.SystemException {
116 return _socialRequestLocalService.updateSocialRequest(socialRequest);
117 }
118
119 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
120 com.liferay.portlet.social.model.SocialRequest socialRequest,
121 boolean merge)
122 throws com.liferay.portal.kernel.exception.SystemException {
123 return _socialRequestLocalService.updateSocialRequest(socialRequest,
124 merge);
125 }
126
127 public com.liferay.portlet.social.model.SocialRequest addRequest(
128 long userId, long groupId, java.lang.String className, long classPK,
129 int type, java.lang.String extraData, long receiverUserId)
130 throws com.liferay.portal.kernel.exception.PortalException,
131 com.liferay.portal.kernel.exception.SystemException {
132 return _socialRequestLocalService.addRequest(userId, groupId,
133 className, classPK, type, extraData, receiverUserId);
134 }
135
136 public void deleteReceiverUserRequests(long receiverUserId)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 _socialRequestLocalService.deleteReceiverUserRequests(receiverUserId);
139 }
140
141 public void deleteRequest(long requestId)
142 throws com.liferay.portal.kernel.exception.PortalException,
143 com.liferay.portal.kernel.exception.SystemException {
144 _socialRequestLocalService.deleteRequest(requestId);
145 }
146
147 public void deleteUserRequests(long userId)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 _socialRequestLocalService.deleteUserRequests(userId);
150 }
151
152 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
153 long receiverUserId, int start, int end)
154 throws com.liferay.portal.kernel.exception.SystemException {
155 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
156 start, end);
157 }
158
159 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
160 long receiverUserId, int status, int start, int end)
161 throws com.liferay.portal.kernel.exception.SystemException {
162 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
163 status, start, end);
164 }
165
166 public int getReceiverUserRequestsCount(long receiverUserId)
167 throws com.liferay.portal.kernel.exception.SystemException {
168 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId);
169 }
170
171 public int getReceiverUserRequestsCount(long receiverUserId, int status)
172 throws com.liferay.portal.kernel.exception.SystemException {
173 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId,
174 status);
175 }
176
177 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
178 long userId, int start, int end)
179 throws com.liferay.portal.kernel.exception.SystemException {
180 return _socialRequestLocalService.getUserRequests(userId, start, end);
181 }
182
183 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
184 long userId, int status, int start, int end)
185 throws com.liferay.portal.kernel.exception.SystemException {
186 return _socialRequestLocalService.getUserRequests(userId, status,
187 start, end);
188 }
189
190 public int getUserRequestsCount(long userId)
191 throws com.liferay.portal.kernel.exception.SystemException {
192 return _socialRequestLocalService.getUserRequestsCount(userId);
193 }
194
195 public int getUserRequestsCount(long userId, int status)
196 throws com.liferay.portal.kernel.exception.SystemException {
197 return _socialRequestLocalService.getUserRequestsCount(userId, status);
198 }
199
200 public boolean hasRequest(long userId, java.lang.String className,
201 long classPK, int type, int status)
202 throws com.liferay.portal.kernel.exception.SystemException {
203 return _socialRequestLocalService.hasRequest(userId, className,
204 classPK, type, status);
205 }
206
207 public boolean hasRequest(long userId, java.lang.String className,
208 long classPK, int type, long receiverUserId, int status)
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return _socialRequestLocalService.hasRequest(userId, className,
211 classPK, type, receiverUserId, status);
212 }
213
214 public com.liferay.portlet.social.model.SocialRequest updateRequest(
215 long requestId, int status,
216 com.liferay.portal.theme.ThemeDisplay themeDisplay)
217 throws com.liferay.portal.kernel.exception.PortalException,
218 com.liferay.portal.kernel.exception.SystemException {
219 return _socialRequestLocalService.updateRequest(requestId, status,
220 themeDisplay);
221 }
222
223 public SocialRequestLocalService getWrappedSocialRequestLocalService() {
224 return _socialRequestLocalService;
225 }
226
227 private SocialRequestLocalService _socialRequestLocalService;
228 }