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 deleteRelations(long userId)
134 throws com.liferay.portal.SystemException {
135 _socialRelationLocalService.deleteRelations(userId);
136 }
137
138 public com.liferay.portlet.social.model.SocialRelation getRelation(
139 long relationId)
140 throws com.liferay.portal.PortalException,
141 com.liferay.portal.SystemException {
142 return _socialRelationLocalService.getRelation(relationId);
143 }
144
145 public com.liferay.portlet.social.model.SocialRelation getRelation(
146 long userId1, long userId2, int type)
147 throws com.liferay.portal.PortalException,
148 com.liferay.portal.SystemException {
149 return _socialRelationLocalService.getRelation(userId1, userId2, type);
150 }
151
152 public java.util.List<com.liferay.portlet.social.model.SocialRelation> getRelations(
153 long userId, int type, int start, int end)
154 throws com.liferay.portal.SystemException {
155 return _socialRelationLocalService.getRelations(userId, type, start, end);
156 }
157
158 public int getRelationsCount(long userId, int type)
159 throws com.liferay.portal.SystemException {
160 return _socialRelationLocalService.getRelationsCount(userId, type);
161 }
162
163 public boolean hasRelation(long userId1, long userId2, int type)
164 throws com.liferay.portal.SystemException {
165 return _socialRelationLocalService.hasRelation(userId1, userId2, type);
166 }
167
168 public boolean isRelatable(long userId1, long userId2, int type)
169 throws com.liferay.portal.SystemException {
170 return _socialRelationLocalService.isRelatable(userId1, userId2, type);
171 }
172
173 public SocialRelationLocalService getWrappedSocialRelationLocalService() {
174 return _socialRelationLocalService;
175 }
176
177 private SocialRelationLocalService _socialRelationLocalService;
178 }