001
014
015 package com.liferay.portlet.social.service;
016
017
026 public class SocialRelationLocalServiceWrapper
027 implements SocialRelationLocalService {
028 public SocialRelationLocalServiceWrapper(
029 SocialRelationLocalService socialRelationLocalService) {
030 _socialRelationLocalService = socialRelationLocalService;
031 }
032
033
040 public com.liferay.portlet.social.model.SocialRelation addSocialRelation(
041 com.liferay.portlet.social.model.SocialRelation socialRelation)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _socialRelationLocalService.addSocialRelation(socialRelation);
044 }
045
046
052 public com.liferay.portlet.social.model.SocialRelation createSocialRelation(
053 long relationId) {
054 return _socialRelationLocalService.createSocialRelation(relationId);
055 }
056
057
064 public void deleteSocialRelation(long relationId)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 _socialRelationLocalService.deleteSocialRelation(relationId);
068 }
069
070
076 public void deleteSocialRelation(
077 com.liferay.portlet.social.model.SocialRelation socialRelation)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 _socialRelationLocalService.deleteSocialRelation(socialRelation);
080 }
081
082
089 @SuppressWarnings("rawtypes")
090 public java.util.List dynamicQuery(
091 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _socialRelationLocalService.dynamicQuery(dynamicQuery);
094 }
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException {
113 return _socialRelationLocalService.dynamicQuery(dynamicQuery, start, end);
114 }
115
116
130 @SuppressWarnings("rawtypes")
131 public java.util.List dynamicQuery(
132 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
133 int end,
134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return _socialRelationLocalService.dynamicQuery(dynamicQuery, start,
137 end, orderByComparator);
138 }
139
140
147 public long dynamicQueryCount(
148 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return _socialRelationLocalService.dynamicQueryCount(dynamicQuery);
151 }
152
153
161 public com.liferay.portlet.social.model.SocialRelation getSocialRelation(
162 long relationId)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 return _socialRelationLocalService.getSocialRelation(relationId);
166 }
167
168
180 public java.util.List<com.liferay.portlet.social.model.SocialRelation> getSocialRelations(
181 int start, int end)
182 throws com.liferay.portal.kernel.exception.SystemException {
183 return _socialRelationLocalService.getSocialRelations(start, end);
184 }
185
186
192 public int getSocialRelationsCount()
193 throws com.liferay.portal.kernel.exception.SystemException {
194 return _socialRelationLocalService.getSocialRelationsCount();
195 }
196
197
204 public com.liferay.portlet.social.model.SocialRelation updateSocialRelation(
205 com.liferay.portlet.social.model.SocialRelation socialRelation)
206 throws com.liferay.portal.kernel.exception.SystemException {
207 return _socialRelationLocalService.updateSocialRelation(socialRelation);
208 }
209
210
218 public com.liferay.portlet.social.model.SocialRelation updateSocialRelation(
219 com.liferay.portlet.social.model.SocialRelation socialRelation,
220 boolean merge)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _socialRelationLocalService.updateSocialRelation(socialRelation,
223 merge);
224 }
225
226 public com.liferay.portlet.social.model.SocialRelation addRelation(
227 long userId1, long userId2, int type)
228 throws com.liferay.portal.kernel.exception.PortalException,
229 com.liferay.portal.kernel.exception.SystemException {
230 return _socialRelationLocalService.addRelation(userId1, userId2, type);
231 }
232
233 public void deleteRelation(long relationId)
234 throws com.liferay.portal.kernel.exception.PortalException,
235 com.liferay.portal.kernel.exception.SystemException {
236 _socialRelationLocalService.deleteRelation(relationId);
237 }
238
239 public void deleteRelation(long userId1, long userId2, int type)
240 throws com.liferay.portal.kernel.exception.PortalException,
241 com.liferay.portal.kernel.exception.SystemException {
242 _socialRelationLocalService.deleteRelation(userId1, userId2, type);
243 }
244
245 public void deleteRelation(
246 com.liferay.portlet.social.model.SocialRelation relation)
247 throws com.liferay.portal.kernel.exception.PortalException,
248 com.liferay.portal.kernel.exception.SystemException {
249 _socialRelationLocalService.deleteRelation(relation);
250 }
251
252 public void deleteRelations(long userId)
253 throws com.liferay.portal.kernel.exception.SystemException {
254 _socialRelationLocalService.deleteRelations(userId);
255 }
256
257 public com.liferay.portlet.social.model.SocialRelation getRelation(
258 long relationId)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException {
261 return _socialRelationLocalService.getRelation(relationId);
262 }
263
264 public com.liferay.portlet.social.model.SocialRelation getRelation(
265 long userId1, long userId2, int type)
266 throws com.liferay.portal.kernel.exception.PortalException,
267 com.liferay.portal.kernel.exception.SystemException {
268 return _socialRelationLocalService.getRelation(userId1, userId2, type);
269 }
270
271 public java.util.List<com.liferay.portlet.social.model.SocialRelation> getRelations(
272 long userId, int type, int start, int end)
273 throws com.liferay.portal.kernel.exception.SystemException {
274 return _socialRelationLocalService.getRelations(userId, type, start, end);
275 }
276
277 public int getRelationsCount(long userId, int type)
278 throws com.liferay.portal.kernel.exception.SystemException {
279 return _socialRelationLocalService.getRelationsCount(userId, type);
280 }
281
282 public boolean hasRelation(long userId1, long userId2, int type)
283 throws com.liferay.portal.kernel.exception.SystemException {
284 return _socialRelationLocalService.hasRelation(userId1, userId2, type);
285 }
286
287 public boolean isRelatable(long userId1, long userId2, int type)
288 throws com.liferay.portal.kernel.exception.SystemException {
289 return _socialRelationLocalService.isRelatable(userId1, userId2, type);
290 }
291
292 public SocialRelationLocalService getWrappedSocialRelationLocalService() {
293 return _socialRelationLocalService;
294 }
295
296 private SocialRelationLocalService _socialRelationLocalService;
297 }