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