1
14
15 package com.liferay.portlet.social.service;
16
17
18
34 public class SocialRequestLocalServiceWrapper
35 implements SocialRequestLocalService {
36 public SocialRequestLocalServiceWrapper(
37 SocialRequestLocalService socialRequestLocalService) {
38 _socialRequestLocalService = socialRequestLocalService;
39 }
40
41 public com.liferay.portlet.social.model.SocialRequest addSocialRequest(
42 com.liferay.portlet.social.model.SocialRequest socialRequest)
43 throws com.liferay.portal.kernel.exception.SystemException {
44 return _socialRequestLocalService.addSocialRequest(socialRequest);
45 }
46
47 public com.liferay.portlet.social.model.SocialRequest createSocialRequest(
48 long requestId) {
49 return _socialRequestLocalService.createSocialRequest(requestId);
50 }
51
52 public void deleteSocialRequest(long requestId)
53 throws com.liferay.portal.kernel.exception.PortalException,
54 com.liferay.portal.kernel.exception.SystemException {
55 _socialRequestLocalService.deleteSocialRequest(requestId);
56 }
57
58 public void deleteSocialRequest(
59 com.liferay.portlet.social.model.SocialRequest socialRequest)
60 throws com.liferay.portal.kernel.exception.SystemException {
61 _socialRequestLocalService.deleteSocialRequest(socialRequest);
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 _socialRequestLocalService.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 _socialRequestLocalService.dynamicQuery(dynamicQuery, start, end);
74 }
75
76 public com.liferay.portlet.social.model.SocialRequest getSocialRequest(
77 long requestId)
78 throws com.liferay.portal.kernel.exception.PortalException,
79 com.liferay.portal.kernel.exception.SystemException {
80 return _socialRequestLocalService.getSocialRequest(requestId);
81 }
82
83 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getSocialRequests(
84 int start, int end)
85 throws com.liferay.portal.kernel.exception.SystemException {
86 return _socialRequestLocalService.getSocialRequests(start, end);
87 }
88
89 public int getSocialRequestsCount()
90 throws com.liferay.portal.kernel.exception.SystemException {
91 return _socialRequestLocalService.getSocialRequestsCount();
92 }
93
94 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
95 com.liferay.portlet.social.model.SocialRequest socialRequest)
96 throws com.liferay.portal.kernel.exception.SystemException {
97 return _socialRequestLocalService.updateSocialRequest(socialRequest);
98 }
99
100 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
101 com.liferay.portlet.social.model.SocialRequest socialRequest,
102 boolean merge)
103 throws com.liferay.portal.kernel.exception.SystemException {
104 return _socialRequestLocalService.updateSocialRequest(socialRequest,
105 merge);
106 }
107
108 public com.liferay.portlet.social.model.SocialRequest addRequest(
109 long userId, long groupId, java.lang.String className, long classPK,
110 int type, java.lang.String extraData, long receiverUserId)
111 throws com.liferay.portal.kernel.exception.PortalException,
112 com.liferay.portal.kernel.exception.SystemException {
113 return _socialRequestLocalService.addRequest(userId, groupId,
114 className, classPK, type, extraData, receiverUserId);
115 }
116
117 public void deleteReceiverUserRequests(long receiverUserId)
118 throws com.liferay.portal.kernel.exception.SystemException {
119 _socialRequestLocalService.deleteReceiverUserRequests(receiverUserId);
120 }
121
122 public void deleteRequest(long requestId)
123 throws com.liferay.portal.kernel.exception.PortalException,
124 com.liferay.portal.kernel.exception.SystemException {
125 _socialRequestLocalService.deleteRequest(requestId);
126 }
127
128 public void deleteUserRequests(long userId)
129 throws com.liferay.portal.kernel.exception.SystemException {
130 _socialRequestLocalService.deleteUserRequests(userId);
131 }
132
133 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
134 long receiverUserId, int start, int end)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
137 start, end);
138 }
139
140 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
141 long receiverUserId, int status, int start, int end)
142 throws com.liferay.portal.kernel.exception.SystemException {
143 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
144 status, start, end);
145 }
146
147 public int getReceiverUserRequestsCount(long receiverUserId)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId);
150 }
151
152 public int getReceiverUserRequestsCount(long receiverUserId, int status)
153 throws com.liferay.portal.kernel.exception.SystemException {
154 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId,
155 status);
156 }
157
158 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
159 long userId, int start, int end)
160 throws com.liferay.portal.kernel.exception.SystemException {
161 return _socialRequestLocalService.getUserRequests(userId, start, end);
162 }
163
164 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
165 long userId, int status, int start, int end)
166 throws com.liferay.portal.kernel.exception.SystemException {
167 return _socialRequestLocalService.getUserRequests(userId, status,
168 start, end);
169 }
170
171 public int getUserRequestsCount(long userId)
172 throws com.liferay.portal.kernel.exception.SystemException {
173 return _socialRequestLocalService.getUserRequestsCount(userId);
174 }
175
176 public int getUserRequestsCount(long userId, int status)
177 throws com.liferay.portal.kernel.exception.SystemException {
178 return _socialRequestLocalService.getUserRequestsCount(userId, status);
179 }
180
181 public boolean hasRequest(long userId, java.lang.String className,
182 long classPK, int type, int status)
183 throws com.liferay.portal.kernel.exception.SystemException {
184 return _socialRequestLocalService.hasRequest(userId, className,
185 classPK, type, status);
186 }
187
188 public boolean hasRequest(long userId, java.lang.String className,
189 long classPK, int type, long receiverUserId, int status)
190 throws com.liferay.portal.kernel.exception.SystemException {
191 return _socialRequestLocalService.hasRequest(userId, className,
192 classPK, type, receiverUserId, status);
193 }
194
195 public com.liferay.portlet.social.model.SocialRequest updateRequest(
196 long requestId, int status,
197 com.liferay.portal.theme.ThemeDisplay themeDisplay)
198 throws com.liferay.portal.kernel.exception.PortalException,
199 com.liferay.portal.kernel.exception.SystemException {
200 return _socialRequestLocalService.updateRequest(requestId, status,
201 themeDisplay);
202 }
203
204 public SocialRequestLocalService getWrappedSocialRequestLocalService() {
205 return _socialRequestLocalService;
206 }
207
208 private SocialRequestLocalService _socialRequestLocalService;
209 }