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.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.PortalException,
54 com.liferay.portal.SystemException {
55 _socialRelationLocalService.deleteSocialRelation(relationId);
56 }
57
58 public void deleteSocialRelation(
59 com.liferay.portlet.social.model.SocialRelation socialRelation)
60 throws com.liferay.portal.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.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.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.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.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.PortalException,
94 com.liferay.portal.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) throws com.liferay.portal.SystemException {
100 return _socialRelationLocalService.getSocialRelations(start, end);
101 }
102
103 public int getSocialRelationsCount()
104 throws com.liferay.portal.SystemException {
105 return _socialRelationLocalService.getSocialRelationsCount();
106 }
107
108 public com.liferay.portlet.social.model.SocialRelation updateSocialRelation(
109 com.liferay.portlet.social.model.SocialRelation socialRelation)
110 throws com.liferay.portal.SystemException {
111 return _socialRelationLocalService.updateSocialRelation(socialRelation);
112 }
113
114 public com.liferay.portlet.social.model.SocialRelation updateSocialRelation(
115 com.liferay.portlet.social.model.SocialRelation socialRelation,
116 boolean merge) throws com.liferay.portal.SystemException {
117 return _socialRelationLocalService.updateSocialRelation(socialRelation,
118 merge);
119 }
120
121 public com.liferay.portlet.social.model.SocialRelation addRelation(
122 long userId1, long userId2, int type)
123 throws com.liferay.portal.PortalException,
124 com.liferay.portal.SystemException {
125 return _socialRelationLocalService.addRelation(userId1, userId2, type);
126 }
127
128 public void deleteRelation(long relationId)
129 throws com.liferay.portal.PortalException,
130 com.liferay.portal.SystemException {
131 _socialRelationLocalService.deleteRelation(relationId);
132 }
133
134 public void deleteRelation(long userId1, long userId2, int type)
135 throws com.liferay.portal.PortalException,
136 com.liferay.portal.SystemException {
137 _socialRelationLocalService.deleteRelation(userId1, userId2, type);
138 }
139
140 public void deleteRelation(
141 com.liferay.portlet.social.model.SocialRelation relation)
142 throws com.liferay.portal.PortalException,
143 com.liferay.portal.SystemException {
144 _socialRelationLocalService.deleteRelation(relation);
145 }
146
147 public void deleteRelations(long userId)
148 throws com.liferay.portal.SystemException {
149 _socialRelationLocalService.deleteRelations(userId);
150 }
151
152 public com.liferay.portlet.social.model.SocialRelation getRelation(
153 long relationId)
154 throws com.liferay.portal.PortalException,
155 com.liferay.portal.SystemException {
156 return _socialRelationLocalService.getRelation(relationId);
157 }
158
159 public com.liferay.portlet.social.model.SocialRelation getRelation(
160 long userId1, long userId2, int type)
161 throws com.liferay.portal.PortalException,
162 com.liferay.portal.SystemException {
163 return _socialRelationLocalService.getRelation(userId1, userId2, type);
164 }
165
166 public java.util.List<com.liferay.portlet.social.model.SocialRelation> getRelations(
167 long userId, int type, int start, int end)
168 throws com.liferay.portal.SystemException {
169 return _socialRelationLocalService.getRelations(userId, type, start, end);
170 }
171
172 public int getRelationsCount(long userId, int type)
173 throws com.liferay.portal.SystemException {
174 return _socialRelationLocalService.getRelationsCount(userId, type);
175 }
176
177 public boolean hasRelation(long userId1, long userId2, int type)
178 throws com.liferay.portal.SystemException {
179 return _socialRelationLocalService.hasRelation(userId1, userId2, type);
180 }
181
182 public boolean isRelatable(long userId1, long userId2, int type)
183 throws com.liferay.portal.SystemException {
184 return _socialRelationLocalService.isRelatable(userId1, userId2, type);
185 }
186
187 public SocialRelationLocalService getWrappedSocialRelationLocalService() {
188 return _socialRelationLocalService;
189 }
190
191 private SocialRelationLocalService _socialRelationLocalService;
192 }