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 public com.liferay.portal.model.PersistedModel getPersistedModel(
169 java.io.Serializable primaryKeyObj)
170 throws com.liferay.portal.kernel.exception.PortalException,
171 com.liferay.portal.kernel.exception.SystemException {
172 return _socialRelationLocalService.getPersistedModel(primaryKeyObj);
173 }
174
175
187 public java.util.List<com.liferay.portlet.social.model.SocialRelation> getSocialRelations(
188 int start, int end)
189 throws com.liferay.portal.kernel.exception.SystemException {
190 return _socialRelationLocalService.getSocialRelations(start, end);
191 }
192
193
199 public int getSocialRelationsCount()
200 throws com.liferay.portal.kernel.exception.SystemException {
201 return _socialRelationLocalService.getSocialRelationsCount();
202 }
203
204
211 public com.liferay.portlet.social.model.SocialRelation updateSocialRelation(
212 com.liferay.portlet.social.model.SocialRelation socialRelation)
213 throws com.liferay.portal.kernel.exception.SystemException {
214 return _socialRelationLocalService.updateSocialRelation(socialRelation);
215 }
216
217
225 public com.liferay.portlet.social.model.SocialRelation updateSocialRelation(
226 com.liferay.portlet.social.model.SocialRelation socialRelation,
227 boolean merge)
228 throws com.liferay.portal.kernel.exception.SystemException {
229 return _socialRelationLocalService.updateSocialRelation(socialRelation,
230 merge);
231 }
232
233
238 public java.lang.String getBeanIdentifier() {
239 return _socialRelationLocalService.getBeanIdentifier();
240 }
241
242
247 public void setBeanIdentifier(java.lang.String beanIdentifier) {
248 _socialRelationLocalService.setBeanIdentifier(beanIdentifier);
249 }
250
251 public com.liferay.portlet.social.model.SocialRelation addRelation(
252 long userId1, long userId2, int type)
253 throws com.liferay.portal.kernel.exception.PortalException,
254 com.liferay.portal.kernel.exception.SystemException {
255 return _socialRelationLocalService.addRelation(userId1, userId2, type);
256 }
257
258 public void deleteRelation(long relationId)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException {
261 _socialRelationLocalService.deleteRelation(relationId);
262 }
263
264 public void deleteRelation(long userId1, long userId2, int type)
265 throws com.liferay.portal.kernel.exception.PortalException,
266 com.liferay.portal.kernel.exception.SystemException {
267 _socialRelationLocalService.deleteRelation(userId1, userId2, type);
268 }
269
270 public void deleteRelation(
271 com.liferay.portlet.social.model.SocialRelation relation)
272 throws com.liferay.portal.kernel.exception.PortalException,
273 com.liferay.portal.kernel.exception.SystemException {
274 _socialRelationLocalService.deleteRelation(relation);
275 }
276
277 public void deleteRelations(long userId)
278 throws com.liferay.portal.kernel.exception.SystemException {
279 _socialRelationLocalService.deleteRelations(userId);
280 }
281
282 public void deleteRelations(long userId1, long userId2)
283 throws com.liferay.portal.kernel.exception.PortalException,
284 com.liferay.portal.kernel.exception.SystemException {
285 _socialRelationLocalService.deleteRelations(userId1, userId2);
286 }
287
288 public java.util.List<com.liferay.portlet.social.model.SocialRelation> getInverseRelations(
289 long userId, int type, int start, int end)
290 throws com.liferay.portal.kernel.exception.SystemException {
291 return _socialRelationLocalService.getInverseRelations(userId, type,
292 start, end);
293 }
294
295 public int getInverseRelationsCount(long userId, int type)
296 throws com.liferay.portal.kernel.exception.SystemException {
297 return _socialRelationLocalService.getInverseRelationsCount(userId, type);
298 }
299
300 public com.liferay.portlet.social.model.SocialRelation getRelation(
301 long relationId)
302 throws com.liferay.portal.kernel.exception.PortalException,
303 com.liferay.portal.kernel.exception.SystemException {
304 return _socialRelationLocalService.getRelation(relationId);
305 }
306
307 public com.liferay.portlet.social.model.SocialRelation getRelation(
308 long userId1, long userId2, int type)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 return _socialRelationLocalService.getRelation(userId1, userId2, type);
312 }
313
314 public java.util.List<com.liferay.portlet.social.model.SocialRelation> getRelations(
315 long userId, int type, int start, int end)
316 throws com.liferay.portal.kernel.exception.SystemException {
317 return _socialRelationLocalService.getRelations(userId, type, start, end);
318 }
319
320 public java.util.List<com.liferay.portlet.social.model.SocialRelation> getRelations(
321 long userId1, long userId2, int start, int end)
322 throws com.liferay.portal.kernel.exception.SystemException {
323 return _socialRelationLocalService.getRelations(userId1, userId2,
324 start, end);
325 }
326
327 public int getRelationsCount(long userId, int type)
328 throws com.liferay.portal.kernel.exception.SystemException {
329 return _socialRelationLocalService.getRelationsCount(userId, type);
330 }
331
332 public int getRelationsCount(long userId1, long userId2)
333 throws com.liferay.portal.kernel.exception.SystemException {
334 return _socialRelationLocalService.getRelationsCount(userId1, userId2);
335 }
336
337 public boolean hasRelation(long userId1, long userId2, int type)
338 throws com.liferay.portal.kernel.exception.SystemException {
339 return _socialRelationLocalService.hasRelation(userId1, userId2, type);
340 }
341
342 public boolean isRelatable(long userId1, long userId2, int type)
343 throws com.liferay.portal.kernel.exception.SystemException {
344 return _socialRelationLocalService.isRelatable(userId1, userId2, type);
345 }
346
347 public SocialRelationLocalService getWrappedSocialRelationLocalService() {
348 return _socialRelationLocalService;
349 }
350
351 public void setWrappedSocialRelationLocalService(
352 SocialRelationLocalService socialRelationLocalService) {
353 _socialRelationLocalService = socialRelationLocalService;
354 }
355
356 private SocialRelationLocalService _socialRelationLocalService;
357 }