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