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