001 /** 002 * Copyright (c) 2000-present Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.social.service; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.service.ServiceWrapper; 020 021 /** 022 * Provides a wrapper for {@link SocialRequestLocalService}. 023 * 024 * @author Brian Wing Shun Chan 025 * @see SocialRequestLocalService 026 * @generated 027 */ 028 @ProviderType 029 public class SocialRequestLocalServiceWrapper 030 implements SocialRequestLocalService, 031 ServiceWrapper<SocialRequestLocalService> { 032 public SocialRequestLocalServiceWrapper( 033 SocialRequestLocalService socialRequestLocalService) { 034 _socialRequestLocalService = socialRequestLocalService; 035 } 036 037 /** 038 * Adds a social request to the database. 039 * 040 * <p> 041 * In order to add a social request, both the requesting user and the 042 * receiving user must be from the same company and neither of them can be 043 * the default user. 044 * </p> 045 * 046 * @param userId the primary key of the requesting user 047 * @param groupId the primary key of the group 048 * @param className the class name of the asset that is the subject of the 049 request 050 * @param classPK the primary key of the asset that is the subject of the 051 request 052 * @param type the request's type 053 * @param extraData the extra data regarding the request 054 * @param receiverUserId the primary key of the user receiving the request 055 * @return the social request 056 */ 057 @Override 058 public com.liferay.portlet.social.model.SocialRequest addRequest( 059 long userId, long groupId, java.lang.String className, long classPK, 060 int type, java.lang.String extraData, long receiverUserId) 061 throws com.liferay.portal.kernel.exception.PortalException { 062 return _socialRequestLocalService.addRequest(userId, groupId, 063 className, classPK, type, extraData, receiverUserId); 064 } 065 066 /** 067 * Adds the social request to the database. Also notifies the appropriate model listeners. 068 * 069 * @param socialRequest the social request 070 * @return the social request that was added 071 */ 072 @Override 073 public com.liferay.portlet.social.model.SocialRequest addSocialRequest( 074 com.liferay.portlet.social.model.SocialRequest socialRequest) { 075 return _socialRequestLocalService.addSocialRequest(socialRequest); 076 } 077 078 /** 079 * Creates a new social request with the primary key. Does not add the social request to the database. 080 * 081 * @param requestId the primary key for the new social request 082 * @return the new social request 083 */ 084 @Override 085 public com.liferay.portlet.social.model.SocialRequest createSocialRequest( 086 long requestId) { 087 return _socialRequestLocalService.createSocialRequest(requestId); 088 } 089 090 /** 091 * @throws PortalException 092 */ 093 @Override 094 public com.liferay.portal.model.PersistedModel deletePersistedModel( 095 com.liferay.portal.model.PersistedModel persistedModel) 096 throws com.liferay.portal.kernel.exception.PortalException { 097 return _socialRequestLocalService.deletePersistedModel(persistedModel); 098 } 099 100 /** 101 * Removes all the social requests for the receiving user. 102 * 103 * @param receiverUserId the primary key of the receiving user 104 */ 105 @Override 106 public void deleteReceiverUserRequests(long receiverUserId) { 107 _socialRequestLocalService.deleteReceiverUserRequests(receiverUserId); 108 } 109 110 /** 111 * Removes the social request from the database. 112 * 113 * @param request the social request to be removed 114 */ 115 @Override 116 public void deleteRequest( 117 com.liferay.portlet.social.model.SocialRequest request) { 118 _socialRequestLocalService.deleteRequest(request); 119 } 120 121 /** 122 * Removes the social request identified by its primary key from the 123 * database. 124 * 125 * @param requestId the primary key of the social request 126 */ 127 @Override 128 public void deleteRequest(long requestId) 129 throws com.liferay.portal.kernel.exception.PortalException { 130 _socialRequestLocalService.deleteRequest(requestId); 131 } 132 133 @Override 134 public void deleteRequests(long className, long classPK) { 135 _socialRequestLocalService.deleteRequests(className, classPK); 136 } 137 138 /** 139 * Deletes the social request with the primary key from the database. Also notifies the appropriate model listeners. 140 * 141 * @param requestId the primary key of the social request 142 * @return the social request that was removed 143 * @throws PortalException if a social request with the primary key could not be found 144 */ 145 @Override 146 public com.liferay.portlet.social.model.SocialRequest deleteSocialRequest( 147 long requestId) 148 throws com.liferay.portal.kernel.exception.PortalException { 149 return _socialRequestLocalService.deleteSocialRequest(requestId); 150 } 151 152 /** 153 * Deletes the social request from the database. Also notifies the appropriate model listeners. 154 * 155 * @param socialRequest the social request 156 * @return the social request that was removed 157 */ 158 @Override 159 public com.liferay.portlet.social.model.SocialRequest deleteSocialRequest( 160 com.liferay.portlet.social.model.SocialRequest socialRequest) { 161 return _socialRequestLocalService.deleteSocialRequest(socialRequest); 162 } 163 164 /** 165 * Removes all the social requests for the requesting user. 166 * 167 * @param userId the primary key of the requesting user 168 */ 169 @Override 170 public void deleteUserRequests(long userId) { 171 _socialRequestLocalService.deleteUserRequests(userId); 172 } 173 174 @Override 175 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { 176 return _socialRequestLocalService.dynamicQuery(); 177 } 178 179 /** 180 * Performs a dynamic query on the database and returns the matching rows. 181 * 182 * @param dynamicQuery the dynamic query 183 * @return the matching rows 184 */ 185 @Override 186 public <T> java.util.List<T> dynamicQuery( 187 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { 188 return _socialRequestLocalService.dynamicQuery(dynamicQuery); 189 } 190 191 /** 192 * Performs a dynamic query on the database and returns a range of the matching rows. 193 * 194 * <p> 195 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.social.model.impl.SocialRequestModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 196 * </p> 197 * 198 * @param dynamicQuery the dynamic query 199 * @param start the lower bound of the range of model instances 200 * @param end the upper bound of the range of model instances (not inclusive) 201 * @return the range of matching rows 202 */ 203 @Override 204 public <T> java.util.List<T> dynamicQuery( 205 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, 206 int end) { 207 return _socialRequestLocalService.dynamicQuery(dynamicQuery, start, end); 208 } 209 210 /** 211 * Performs a dynamic query on the database and returns an ordered range of the matching rows. 212 * 213 * <p> 214 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.social.model.impl.SocialRequestModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 215 * </p> 216 * 217 * @param dynamicQuery the dynamic query 218 * @param start the lower bound of the range of model instances 219 * @param end the upper bound of the range of model instances (not inclusive) 220 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 221 * @return the ordered range of matching rows 222 */ 223 @Override 224 public <T> java.util.List<T> dynamicQuery( 225 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, 226 int end, 227 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) { 228 return _socialRequestLocalService.dynamicQuery(dynamicQuery, start, 229 end, orderByComparator); 230 } 231 232 /** 233 * Returns the number of rows matching the dynamic query. 234 * 235 * @param dynamicQuery the dynamic query 236 * @return the number of rows matching the dynamic query 237 */ 238 @Override 239 public long dynamicQueryCount( 240 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { 241 return _socialRequestLocalService.dynamicQueryCount(dynamicQuery); 242 } 243 244 /** 245 * Returns the number of rows matching the dynamic query. 246 * 247 * @param dynamicQuery the dynamic query 248 * @param projection the projection to apply to the query 249 * @return the number of rows matching the dynamic query 250 */ 251 @Override 252 public long dynamicQueryCount( 253 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, 254 com.liferay.portal.kernel.dao.orm.Projection projection) { 255 return _socialRequestLocalService.dynamicQueryCount(dynamicQuery, 256 projection); 257 } 258 259 @Override 260 public com.liferay.portlet.social.model.SocialRequest fetchSocialRequest( 261 long requestId) { 262 return _socialRequestLocalService.fetchSocialRequest(requestId); 263 } 264 265 /** 266 * Returns the social request matching the UUID and group. 267 * 268 * @param uuid the social request's UUID 269 * @param groupId the primary key of the group 270 * @return the matching social request, or <code>null</code> if a matching social request could not be found 271 */ 272 @Override 273 public com.liferay.portlet.social.model.SocialRequest fetchSocialRequestByUuidAndGroupId( 274 java.lang.String uuid, long groupId) { 275 return _socialRequestLocalService.fetchSocialRequestByUuidAndGroupId(uuid, 276 groupId); 277 } 278 279 @Override 280 public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() { 281 return _socialRequestLocalService.getActionableDynamicQuery(); 282 } 283 284 /** 285 * Returns the OSGi service identifier. 286 * 287 * @return the OSGi service identifier 288 */ 289 @Override 290 public java.lang.String getOSGiServiceIdentifier() { 291 return _socialRequestLocalService.getOSGiServiceIdentifier(); 292 } 293 294 @Override 295 public com.liferay.portal.model.PersistedModel getPersistedModel( 296 java.io.Serializable primaryKeyObj) 297 throws com.liferay.portal.kernel.exception.PortalException { 298 return _socialRequestLocalService.getPersistedModel(primaryKeyObj); 299 } 300 301 /** 302 * Returns a range of all the social requests for the receiving user. 303 * 304 * <p> 305 * Useful when paginating results. Returns a maximum of <code>end - 306 * start</code> instances. <code>start</code> and <code>end</code> are not 307 * primary keys, they are indexes in the result set. Thus, <code>0</code> 308 * refers to the first result in the set. Setting both <code>start</code> 309 * and <code>end</code> to {@link 310 * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full 311 * result set. 312 * </p> 313 * 314 * @param receiverUserId the primary key of the receiving user 315 * @param start the lower bound of the range of results 316 * @param end the upper bound of the range of results (not inclusive) 317 * @return the range of matching social requests 318 */ 319 @Override 320 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests( 321 long receiverUserId, int start, int end) { 322 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId, 323 start, end); 324 } 325 326 /** 327 * Returns a range of all the social requests with the given status for the 328 * receiving user. 329 * 330 * <p> 331 * Useful when paginating results. Returns a maximum of <code>end - 332 * start</code> instances. <code>start</code> and <code>end</code> are not 333 * primary keys, they are indexes in the result set. Thus, <code>0</code> 334 * refers to the first result in the set. Setting both <code>start</code> 335 * and <code>end</code> to {@link 336 * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full 337 * result set. 338 * </p> 339 * 340 * @param receiverUserId the primary key of the receiving user 341 * @param status the social request's status 342 * @param start the lower bound of the range of results 343 * @param end the upper bound of the range of results (not inclusive) 344 * @return the range of matching social requests 345 */ 346 @Override 347 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests( 348 long receiverUserId, int status, int start, int end) { 349 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId, 350 status, start, end); 351 } 352 353 /** 354 * Returns the number of social requests for the receiving user. 355 * 356 * @param receiverUserId the primary key of the receiving user 357 * @return the number of matching social requests 358 */ 359 @Override 360 public int getReceiverUserRequestsCount(long receiverUserId) { 361 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId); 362 } 363 364 /** 365 * Returns the number of social requests with the given status for the 366 * receiving user. 367 * 368 * @param receiverUserId the primary key of the receiving user 369 * @param status the social request's status 370 * @return the number of matching social requests 371 */ 372 @Override 373 public int getReceiverUserRequestsCount(long receiverUserId, int status) { 374 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId, 375 status); 376 } 377 378 /** 379 * Returns the social request with the primary key. 380 * 381 * @param requestId the primary key of the social request 382 * @return the social request 383 * @throws PortalException if a social request with the primary key could not be found 384 */ 385 @Override 386 public com.liferay.portlet.social.model.SocialRequest getSocialRequest( 387 long requestId) 388 throws com.liferay.portal.kernel.exception.PortalException { 389 return _socialRequestLocalService.getSocialRequest(requestId); 390 } 391 392 /** 393 * Returns the social request matching the UUID and group. 394 * 395 * @param uuid the social request's UUID 396 * @param groupId the primary key of the group 397 * @return the matching social request 398 * @throws PortalException if a matching social request could not be found 399 */ 400 @Override 401 public com.liferay.portlet.social.model.SocialRequest getSocialRequestByUuidAndGroupId( 402 java.lang.String uuid, long groupId) 403 throws com.liferay.portal.kernel.exception.PortalException { 404 return _socialRequestLocalService.getSocialRequestByUuidAndGroupId(uuid, 405 groupId); 406 } 407 408 /** 409 * Returns a range of all the social requests. 410 * 411 * <p> 412 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.social.model.impl.SocialRequestModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 413 * </p> 414 * 415 * @param start the lower bound of the range of social requests 416 * @param end the upper bound of the range of social requests (not inclusive) 417 * @return the range of social requests 418 */ 419 @Override 420 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getSocialRequests( 421 int start, int end) { 422 return _socialRequestLocalService.getSocialRequests(start, end); 423 } 424 425 /** 426 * Returns all the social requests matching the UUID and company. 427 * 428 * @param uuid the UUID of the social requests 429 * @param companyId the primary key of the company 430 * @return the matching social requests, or an empty list if no matches were found 431 */ 432 @Override 433 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getSocialRequestsByUuidAndCompanyId( 434 java.lang.String uuid, long companyId) { 435 return _socialRequestLocalService.getSocialRequestsByUuidAndCompanyId(uuid, 436 companyId); 437 } 438 439 /** 440 * Returns a range of social requests matching the UUID and company. 441 * 442 * @param uuid the UUID of the social requests 443 * @param companyId the primary key of the company 444 * @param start the lower bound of the range of social requests 445 * @param end the upper bound of the range of social requests (not inclusive) 446 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 447 * @return the range of matching social requests, or an empty list if no matches were found 448 */ 449 @Override 450 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getSocialRequestsByUuidAndCompanyId( 451 java.lang.String uuid, long companyId, int start, int end, 452 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.social.model.SocialRequest> orderByComparator) { 453 return _socialRequestLocalService.getSocialRequestsByUuidAndCompanyId(uuid, 454 companyId, start, end, orderByComparator); 455 } 456 457 /** 458 * Returns the number of social requests. 459 * 460 * @return the number of social requests 461 */ 462 @Override 463 public int getSocialRequestsCount() { 464 return _socialRequestLocalService.getSocialRequestsCount(); 465 } 466 467 /** 468 * Returns a range of all the social requests for the requesting user. 469 * 470 * <p> 471 * Useful when paginating results. Returns a maximum of <code>end - 472 * start</code> instances. <code>start</code> and <code>end</code> are not 473 * primary keys, they are indexes in the result set. Thus, <code>0</code> 474 * refers to the first result in the set. Setting both <code>start</code> 475 * and <code>end</code> to {@link 476 * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full 477 * result set. 478 * </p> 479 * 480 * @param userId the primary key of the requesting user 481 * @param start the lower bound of the range of results 482 * @param end the upper bound of the range of results (not inclusive) 483 * @return the range of matching social requests 484 */ 485 @Override 486 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests( 487 long userId, int start, int end) { 488 return _socialRequestLocalService.getUserRequests(userId, start, end); 489 } 490 491 /** 492 * Returns a range of all the social requests with the given status for the 493 * requesting user. 494 * 495 * <p> 496 * Useful when paginating results. Returns a maximum of <code>end - 497 * start</code> instances. <code>start</code> and <code>end</code> are not 498 * primary keys, they are indexes in the result set. Thus, <code>0</code> 499 * refers to the first result in the set. Setting both <code>start</code> 500 * and <code>end</code> to {@link 501 * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full 502 * result set. 503 * </p> 504 * 505 * @param userId the primary key of the requesting user 506 * @param status the social request's status 507 * @param start the lower bound of the range of results 508 * @param end the upper bound of the range of results (not inclusive) 509 * @return the range of matching social requests 510 */ 511 @Override 512 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests( 513 long userId, int status, int start, int end) { 514 return _socialRequestLocalService.getUserRequests(userId, status, 515 start, end); 516 } 517 518 /** 519 * Returns the number of social requests for the requesting user. 520 * 521 * @param userId the primary key of the requesting user 522 * @return the number of matching social requests 523 */ 524 @Override 525 public int getUserRequestsCount(long userId) { 526 return _socialRequestLocalService.getUserRequestsCount(userId); 527 } 528 529 /** 530 * Returns the number of social requests with the given status for the 531 * requesting user. 532 * 533 * @param userId the primary key of the requesting user 534 * @param status the social request's status 535 * @return the number of matching social request 536 */ 537 @Override 538 public int getUserRequestsCount(long userId, int status) { 539 return _socialRequestLocalService.getUserRequestsCount(userId, status); 540 } 541 542 /** 543 * Returns <code>true</code> if a matching social request exists in the 544 * database. 545 * 546 * @param userId the primary key of the requesting user 547 * @param className the class name of the asset that is the subject of the 548 request 549 * @param classPK the primary key of the asset that is the subject of the 550 request 551 * @param type the request's type 552 * @param receiverUserId the primary key of the receiving user 553 * @param status the social request's status 554 * @return <code>true</code> if the social request exists; 555 <code>false</code> otherwise 556 */ 557 @Override 558 public boolean hasRequest(long userId, java.lang.String className, 559 long classPK, int type, long receiverUserId, int status) { 560 return _socialRequestLocalService.hasRequest(userId, className, 561 classPK, type, receiverUserId, status); 562 } 563 564 /** 565 * Returns <code>true</code> if a matching social requests exists in the 566 * database. 567 * 568 * @param userId the primary key of the requesting user 569 * @param className the class name of the asset that is the subject of the 570 request 571 * @param classPK the primary key of the asset that is the subject of the 572 request 573 * @param type the request's type 574 * @param status the social request's status 575 * @return <code>true</code> if the request exists; <code>false</code> 576 otherwise 577 */ 578 @Override 579 public boolean hasRequest(long userId, java.lang.String className, 580 long classPK, int type, int status) { 581 return _socialRequestLocalService.hasRequest(userId, className, 582 classPK, type, status); 583 } 584 585 /** 586 * Updates the social request replacing its status. 587 * 588 * <p> 589 * If the status is updated to {@link SocialRequestConstants#STATUS_CONFIRM} 590 * then {@link 591 * com.liferay.portlet.social.service.SocialRequestInterpreterLocalService#processConfirmation( 592 * SocialRequest, ThemeDisplay)} is called. If the status is updated to 593 * {@link SocialRequestConstants#STATUS_IGNORE} then {@link 594 * com.liferay.portlet.social.service.SocialRequestInterpreterLocalService#processRejection( 595 * SocialRequest, ThemeDisplay)} is called. 596 * </p> 597 * 598 * @param requestId the primary key of the social request 599 * @param status the new status 600 * @param themeDisplay the theme display 601 * @return the updated social request 602 */ 603 @Override 604 public com.liferay.portlet.social.model.SocialRequest updateRequest( 605 long requestId, int status, 606 com.liferay.portal.theme.ThemeDisplay themeDisplay) 607 throws com.liferay.portal.kernel.exception.PortalException { 608 return _socialRequestLocalService.updateRequest(requestId, status, 609 themeDisplay); 610 } 611 612 /** 613 * Updates the social request in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. 614 * 615 * @param socialRequest the social request 616 * @return the social request that was updated 617 */ 618 @Override 619 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest( 620 com.liferay.portlet.social.model.SocialRequest socialRequest) { 621 return _socialRequestLocalService.updateSocialRequest(socialRequest); 622 } 623 624 /** 625 * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} 626 */ 627 @Deprecated 628 public SocialRequestLocalService getWrappedSocialRequestLocalService() { 629 return _socialRequestLocalService; 630 } 631 632 /** 633 * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} 634 */ 635 @Deprecated 636 public void setWrappedSocialRequestLocalService( 637 SocialRequestLocalService socialRequestLocalService) { 638 _socialRequestLocalService = socialRequestLocalService; 639 } 640 641 @Override 642 public SocialRequestLocalService getWrappedService() { 643 return _socialRequestLocalService; 644 } 645 646 @Override 647 public void setWrappedService( 648 SocialRequestLocalService socialRequestLocalService) { 649 _socialRequestLocalService = socialRequestLocalService; 650 } 651 652 private SocialRequestLocalService _socialRequestLocalService; 653 }