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 @SuppressWarnings("unchecked")
65 public java.util.List dynamicQuery(
66 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67 throws com.liferay.portal.kernel.exception.SystemException {
68 return _socialRelationLocalService.dynamicQuery(dynamicQuery);
69 }
70
71 @SuppressWarnings("unchecked")
72 public java.util.List dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end) throws com.liferay.portal.kernel.exception.SystemException {
75 return _socialRelationLocalService.dynamicQuery(dynamicQuery, start, end);
76 }
77
78 @SuppressWarnings("unchecked")
79 public java.util.List dynamicQuery(
80 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
81 int end,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.kernel.exception.SystemException {
84 return _socialRelationLocalService.dynamicQuery(dynamicQuery, start,
85 end, orderByComparator);
86 }
87
88 public long dynamicQueryCount(
89 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
90 throws com.liferay.portal.kernel.exception.SystemException {
91 return _socialRelationLocalService.dynamicQueryCount(dynamicQuery);
92 }
93
94 public com.liferay.portlet.social.model.SocialRelation getSocialRelation(
95 long relationId)
96 throws com.liferay.portal.kernel.exception.PortalException,
97 com.liferay.portal.kernel.exception.SystemException {
98 return _socialRelationLocalService.getSocialRelation(relationId);
99 }
100
101 public java.util.List<com.liferay.portlet.social.model.SocialRelation> getSocialRelations(
102 int start, int end)
103 throws com.liferay.portal.kernel.exception.SystemException {
104 return _socialRelationLocalService.getSocialRelations(start, end);
105 }
106
107 public int getSocialRelationsCount()
108 throws com.liferay.portal.kernel.exception.SystemException {
109 return _socialRelationLocalService.getSocialRelationsCount();
110 }
111
112 public com.liferay.portlet.social.model.SocialRelation updateSocialRelation(
113 com.liferay.portlet.social.model.SocialRelation socialRelation)
114 throws com.liferay.portal.kernel.exception.SystemException {
115 return _socialRelationLocalService.updateSocialRelation(socialRelation);
116 }
117
118 public com.liferay.portlet.social.model.SocialRelation updateSocialRelation(
119 com.liferay.portlet.social.model.SocialRelation socialRelation,
120 boolean merge)
121 throws com.liferay.portal.kernel.exception.SystemException {
122 return _socialRelationLocalService.updateSocialRelation(socialRelation,
123 merge);
124 }
125
126 public com.liferay.portlet.social.model.SocialRelation addRelation(
127 long userId1, long userId2, int type)
128 throws com.liferay.portal.kernel.exception.PortalException,
129 com.liferay.portal.kernel.exception.SystemException {
130 return _socialRelationLocalService.addRelation(userId1, userId2, type);
131 }
132
133 public void deleteRelation(long relationId)
134 throws com.liferay.portal.kernel.exception.PortalException,
135 com.liferay.portal.kernel.exception.SystemException {
136 _socialRelationLocalService.deleteRelation(relationId);
137 }
138
139 public void deleteRelation(long userId1, long userId2, int type)
140 throws com.liferay.portal.kernel.exception.PortalException,
141 com.liferay.portal.kernel.exception.SystemException {
142 _socialRelationLocalService.deleteRelation(userId1, userId2, type);
143 }
144
145 public void deleteRelation(
146 com.liferay.portlet.social.model.SocialRelation relation)
147 throws com.liferay.portal.kernel.exception.PortalException,
148 com.liferay.portal.kernel.exception.SystemException {
149 _socialRelationLocalService.deleteRelation(relation);
150 }
151
152 public void deleteRelations(long userId)
153 throws com.liferay.portal.kernel.exception.SystemException {
154 _socialRelationLocalService.deleteRelations(userId);
155 }
156
157 public com.liferay.portlet.social.model.SocialRelation getRelation(
158 long relationId)
159 throws com.liferay.portal.kernel.exception.PortalException,
160 com.liferay.portal.kernel.exception.SystemException {
161 return _socialRelationLocalService.getRelation(relationId);
162 }
163
164 public com.liferay.portlet.social.model.SocialRelation getRelation(
165 long userId1, long userId2, int type)
166 throws com.liferay.portal.kernel.exception.PortalException,
167 com.liferay.portal.kernel.exception.SystemException {
168 return _socialRelationLocalService.getRelation(userId1, userId2, type);
169 }
170
171 public java.util.List<com.liferay.portlet.social.model.SocialRelation> getRelations(
172 long userId, int type, int start, int end)
173 throws com.liferay.portal.kernel.exception.SystemException {
174 return _socialRelationLocalService.getRelations(userId, type, start, end);
175 }
176
177 public int getRelationsCount(long userId, int type)
178 throws com.liferay.portal.kernel.exception.SystemException {
179 return _socialRelationLocalService.getRelationsCount(userId, type);
180 }
181
182 public boolean hasRelation(long userId1, long userId2, int type)
183 throws com.liferay.portal.kernel.exception.SystemException {
184 return _socialRelationLocalService.hasRelation(userId1, userId2, type);
185 }
186
187 public boolean isRelatable(long userId1, long userId2, int type)
188 throws com.liferay.portal.kernel.exception.SystemException {
189 return _socialRelationLocalService.isRelatable(userId1, userId2, type);
190 }
191
192 public SocialRelationLocalService getWrappedSocialRelationLocalService() {
193 return _socialRelationLocalService;
194 }
195
196 private SocialRelationLocalService _socialRelationLocalService;
197 }