1
14
15 package com.liferay.portlet.social.service;
16
17
18
34 public class SocialRelationLocalServiceWrapper
35 implements SocialRelationLocalService {
36 public SocialRelationLocalServiceWrapper(
37 SocialRelationLocalService socialRelationLocalService) {
38 _socialRelationLocalService = socialRelationLocalService;
39 }
40
41 public com.liferay.portlet.social.model.SocialRelation addSocialRelation(
42 com.liferay.portlet.social.model.SocialRelation socialRelation)
43 throws com.liferay.portal.kernel.exception.SystemException {
44 return _socialRelationLocalService.addSocialRelation(socialRelation);
45 }
46
47 public com.liferay.portlet.social.model.SocialRelation createSocialRelation(
48 long relationId) {
49 return _socialRelationLocalService.createSocialRelation(relationId);
50 }
51
52 public void deleteSocialRelation(long relationId)
53 throws com.liferay.portal.kernel.exception.PortalException,
54 com.liferay.portal.kernel.exception.SystemException {
55 _socialRelationLocalService.deleteSocialRelation(relationId);
56 }
57
58 public void deleteSocialRelation(
59 com.liferay.portlet.social.model.SocialRelation socialRelation)
60 throws com.liferay.portal.kernel.exception.SystemException {
61 _socialRelationLocalService.deleteSocialRelation(socialRelation);
62 }
63
64 public java.util.List<Object> dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.kernel.exception.SystemException {
67 return _socialRelationLocalService.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.kernel.exception.SystemException {
73 return _socialRelationLocalService.dynamicQuery(dynamicQuery, start, end);
74 }
75
76 public com.liferay.portlet.social.model.SocialRelation getSocialRelation(
77 long relationId)
78 throws com.liferay.portal.kernel.exception.PortalException,
79 com.liferay.portal.kernel.exception.SystemException {
80 return _socialRelationLocalService.getSocialRelation(relationId);
81 }
82
83 public java.util.List<com.liferay.portlet.social.model.SocialRelation> getSocialRelations(
84 int start, int end)
85 throws com.liferay.portal.kernel.exception.SystemException {
86 return _socialRelationLocalService.getSocialRelations(start, end);
87 }
88
89 public int getSocialRelationsCount()
90 throws com.liferay.portal.kernel.exception.SystemException {
91 return _socialRelationLocalService.getSocialRelationsCount();
92 }
93
94 public com.liferay.portlet.social.model.SocialRelation updateSocialRelation(
95 com.liferay.portlet.social.model.SocialRelation socialRelation)
96 throws com.liferay.portal.kernel.exception.SystemException {
97 return _socialRelationLocalService.updateSocialRelation(socialRelation);
98 }
99
100 public com.liferay.portlet.social.model.SocialRelation updateSocialRelation(
101 com.liferay.portlet.social.model.SocialRelation socialRelation,
102 boolean merge)
103 throws com.liferay.portal.kernel.exception.SystemException {
104 return _socialRelationLocalService.updateSocialRelation(socialRelation,
105 merge);
106 }
107
108 public com.liferay.portlet.social.model.SocialRelation addRelation(
109 long userId1, long userId2, int type)
110 throws com.liferay.portal.kernel.exception.PortalException,
111 com.liferay.portal.kernel.exception.SystemException {
112 return _socialRelationLocalService.addRelation(userId1, userId2, type);
113 }
114
115 public void deleteRelation(long relationId)
116 throws com.liferay.portal.kernel.exception.PortalException,
117 com.liferay.portal.kernel.exception.SystemException {
118 _socialRelationLocalService.deleteRelation(relationId);
119 }
120
121 public void deleteRelation(long userId1, long userId2, int type)
122 throws com.liferay.portal.kernel.exception.PortalException,
123 com.liferay.portal.kernel.exception.SystemException {
124 _socialRelationLocalService.deleteRelation(userId1, userId2, type);
125 }
126
127 public void deleteRelation(
128 com.liferay.portlet.social.model.SocialRelation relation)
129 throws com.liferay.portal.kernel.exception.PortalException,
130 com.liferay.portal.kernel.exception.SystemException {
131 _socialRelationLocalService.deleteRelation(relation);
132 }
133
134 public void deleteRelations(long userId)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 _socialRelationLocalService.deleteRelations(userId);
137 }
138
139 public com.liferay.portlet.social.model.SocialRelation getRelation(
140 long relationId)
141 throws com.liferay.portal.kernel.exception.PortalException,
142 com.liferay.portal.kernel.exception.SystemException {
143 return _socialRelationLocalService.getRelation(relationId);
144 }
145
146 public com.liferay.portlet.social.model.SocialRelation getRelation(
147 long userId1, long userId2, int type)
148 throws com.liferay.portal.kernel.exception.PortalException,
149 com.liferay.portal.kernel.exception.SystemException {
150 return _socialRelationLocalService.getRelation(userId1, userId2, type);
151 }
152
153 public java.util.List<com.liferay.portlet.social.model.SocialRelation> getRelations(
154 long userId, int type, int start, int end)
155 throws com.liferay.portal.kernel.exception.SystemException {
156 return _socialRelationLocalService.getRelations(userId, type, start, end);
157 }
158
159 public int getRelationsCount(long userId, int type)
160 throws com.liferay.portal.kernel.exception.SystemException {
161 return _socialRelationLocalService.getRelationsCount(userId, type);
162 }
163
164 public boolean hasRelation(long userId1, long userId2, int type)
165 throws com.liferay.portal.kernel.exception.SystemException {
166 return _socialRelationLocalService.hasRelation(userId1, userId2, type);
167 }
168
169 public boolean isRelatable(long userId1, long userId2, int type)
170 throws com.liferay.portal.kernel.exception.SystemException {
171 return _socialRelationLocalService.isRelatable(userId1, userId2, type);
172 }
173
174 public SocialRelationLocalService getWrappedSocialRelationLocalService() {
175 return _socialRelationLocalService;
176 }
177
178 private SocialRelationLocalService _socialRelationLocalService;
179 }