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.portal.service; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 /** 020 * Provides a wrapper for {@link OrganizationService}. 021 * 022 * @author Brian Wing Shun Chan 023 * @see OrganizationService 024 * @generated 025 */ 026 @ProviderType 027 public class OrganizationServiceWrapper implements OrganizationService, 028 ServiceWrapper<OrganizationService> { 029 public OrganizationServiceWrapper(OrganizationService organizationService) { 030 _organizationService = organizationService; 031 } 032 033 /** 034 * Adds the organizations to the group. 035 * 036 * @param groupId the primary key of the group 037 * @param organizationIds the primary keys of the organizations 038 */ 039 @Override 040 public void addGroupOrganizations(long groupId, long[] organizationIds) 041 throws com.liferay.portal.kernel.exception.PortalException { 042 _organizationService.addGroupOrganizations(groupId, organizationIds); 043 } 044 045 /** 046 * Adds an organization with additional parameters. 047 * 048 * <p> 049 * This method handles the creation and bookkeeping of the organization 050 * including its resources, metadata, and internal data structures. 051 * </p> 052 * 053 * @param parentOrganizationId the primary key of the organization's 054 parent organization 055 * @param name the organization's name 056 * @param type the organization's type 057 * @param recursable whether the permissions of the organization are to 058 be inherited by its suborganizations 059 * @param regionId the primary key of the organization's region 060 * @param countryId the primary key of the organization's country 061 * @param statusId the organization's workflow status 062 * @param comments the comments about the organization 063 * @param site whether the organization is to be associated with a main 064 site 065 * @param addresses the organization's addresses 066 * @param emailAddresses the organization's email addresses 067 * @param orgLabors the organization's hours of operation 068 * @param phones the organization's phone numbers 069 * @param websites the organization's websites 070 * @param serviceContext the service context to be applied (optionally 071 <code>null</code>). Can set asset category IDs, asset tag 072 names, and expando bridge attributes for the organization. 073 * @return the organization 074 * @deprecated As of 6.2.0, replaced by {@link #addOrganization(long, 075 String, String, long, long, int, String, boolean, List, List, 076 List, List, List, ServiceContext)} 077 */ 078 @Deprecated 079 @Override 080 public com.liferay.portal.model.Organization addOrganization( 081 long parentOrganizationId, java.lang.String name, 082 java.lang.String type, boolean recursable, long regionId, 083 long countryId, long statusId, java.lang.String comments, boolean site, 084 java.util.List<com.liferay.portal.model.Address> addresses, 085 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses, 086 java.util.List<com.liferay.portal.model.OrgLabor> orgLabors, 087 java.util.List<com.liferay.portal.model.Phone> phones, 088 java.util.List<com.liferay.portal.model.Website> websites, 089 com.liferay.portal.service.ServiceContext serviceContext) 090 throws com.liferay.portal.kernel.exception.PortalException { 091 return _organizationService.addOrganization(parentOrganizationId, name, 092 type, recursable, regionId, countryId, statusId, comments, site, 093 addresses, emailAddresses, orgLabors, phones, websites, 094 serviceContext); 095 } 096 097 /** 098 * Adds an organization. 099 * 100 * <p> 101 * This method handles the creation and bookkeeping of the organization 102 * including its resources, metadata, and internal data structures. 103 * </p> 104 * 105 * @param parentOrganizationId the primary key of the organization's 106 parent organization 107 * @param name the organization's name 108 * @param type the organization's type 109 * @param recursable whether the permissions of the organization are to 110 be inherited by its suborganizations 111 * @param regionId the primary key of the organization's region 112 * @param countryId the primary key of the organization's country 113 * @param statusId the organization's workflow status 114 * @param comments the comments about the organization 115 * @param site whether the organization is to be associated with a main 116 site 117 * @param serviceContext the service context to be applied (optionally 118 <code>null</code>). Can set asset category IDs, asset tag 119 names, and expando bridge attributes for the organization. 120 * @return the organization 121 * @deprecated As of 6.2.0, replaced by {@link #addOrganization(long, 122 String, String, long, long, int, String, boolean, 123 ServiceContext)} 124 */ 125 @Deprecated 126 @Override 127 public com.liferay.portal.model.Organization addOrganization( 128 long parentOrganizationId, java.lang.String name, 129 java.lang.String type, boolean recursable, long regionId, 130 long countryId, long statusId, java.lang.String comments, boolean site, 131 com.liferay.portal.service.ServiceContext serviceContext) 132 throws com.liferay.portal.kernel.exception.PortalException { 133 return _organizationService.addOrganization(parentOrganizationId, name, 134 type, recursable, regionId, countryId, statusId, comments, site, 135 serviceContext); 136 } 137 138 /** 139 * Adds an organization with additional parameters. 140 * 141 * <p> 142 * This method handles the creation and bookkeeping of the organization 143 * including its resources, metadata, and internal data structures. 144 * </p> 145 * 146 * @param parentOrganizationId the primary key of the organization's parent 147 organization 148 * @param name the organization's name 149 * @param type the organization's type 150 * @param regionId the primary key of the organization's region 151 * @param countryId the primary key of the organization's country 152 * @param statusId the organization's workflow status 153 * @param comments the comments about the organization 154 * @param site whether the organization is to be associated with a main 155 site 156 * @param addresses the organization's addresses 157 * @param emailAddresses the organization's email addresses 158 * @param orgLabors the organization's hours of operation 159 * @param phones the organization's phone numbers 160 * @param websites the organization's websites 161 * @param serviceContext the service context to be applied (optionally 162 <code>null</code>). Can set asset category IDs, asset tag names, 163 and expando bridge attributes for the organization. 164 * @return the organization 165 */ 166 @Override 167 public com.liferay.portal.model.Organization addOrganization( 168 long parentOrganizationId, java.lang.String name, 169 java.lang.String type, long regionId, long countryId, long statusId, 170 java.lang.String comments, boolean site, 171 java.util.List<com.liferay.portal.model.Address> addresses, 172 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses, 173 java.util.List<com.liferay.portal.model.OrgLabor> orgLabors, 174 java.util.List<com.liferay.portal.model.Phone> phones, 175 java.util.List<com.liferay.portal.model.Website> websites, 176 com.liferay.portal.service.ServiceContext serviceContext) 177 throws com.liferay.portal.kernel.exception.PortalException { 178 return _organizationService.addOrganization(parentOrganizationId, name, 179 type, regionId, countryId, statusId, comments, site, addresses, 180 emailAddresses, orgLabors, phones, websites, serviceContext); 181 } 182 183 /** 184 * Adds an organization. 185 * 186 * <p> 187 * This method handles the creation and bookkeeping of the organization 188 * including its resources, metadata, and internal data structures. 189 * </p> 190 * 191 * @param parentOrganizationId the primary key of the organization's parent 192 organization 193 * @param name the organization's name 194 * @param type the organization's type 195 * @param regionId the primary key of the organization's region 196 * @param countryId the primary key of the organization's country 197 * @param statusId the organization's workflow status 198 * @param comments the comments about the organization 199 * @param site whether the organization is to be associated with a main 200 site 201 * @param serviceContext the service context to be applied (optionally 202 <code>null</code>). Can set asset category IDs, asset tag names, 203 and expando bridge attributes for the organization. 204 * @return the organization 205 */ 206 @Override 207 public com.liferay.portal.model.Organization addOrganization( 208 long parentOrganizationId, java.lang.String name, 209 java.lang.String type, long regionId, long countryId, long statusId, 210 java.lang.String comments, boolean site, 211 com.liferay.portal.service.ServiceContext serviceContext) 212 throws com.liferay.portal.kernel.exception.PortalException { 213 return _organizationService.addOrganization(parentOrganizationId, name, 214 type, regionId, countryId, statusId, comments, site, serviceContext); 215 } 216 217 /** 218 * Assigns the password policy to the organizations, removing any other 219 * currently assigned password policies. 220 * 221 * @param passwordPolicyId the primary key of the password policy 222 * @param organizationIds the primary keys of the organizations 223 */ 224 @Override 225 public void addPasswordPolicyOrganizations(long passwordPolicyId, 226 long[] organizationIds) 227 throws com.liferay.portal.kernel.exception.PortalException { 228 _organizationService.addPasswordPolicyOrganizations(passwordPolicyId, 229 organizationIds); 230 } 231 232 /** 233 * Deletes the organization's logo. 234 * 235 * @param organizationId the primary key of the organization 236 */ 237 @Override 238 public void deleteLogo(long organizationId) 239 throws com.liferay.portal.kernel.exception.PortalException { 240 _organizationService.deleteLogo(organizationId); 241 } 242 243 /** 244 * Deletes the organization. The organization's associated resources and 245 * assets are also deleted. 246 * 247 * @param organizationId the primary key of the organization 248 */ 249 @Override 250 public void deleteOrganization(long organizationId) 251 throws com.liferay.portal.kernel.exception.PortalException { 252 _organizationService.deleteOrganization(organizationId); 253 } 254 255 /** 256 * Returns the organization with the primary key. 257 * 258 * @param organizationId the primary key of the organization 259 * @return the organization with the primary key, or <code>null</code> if an 260 organization with the primary key could not be found or if the 261 user did not have permission to view the organization 262 */ 263 @Override 264 public com.liferay.portal.model.Organization fetchOrganization( 265 long organizationId) 266 throws com.liferay.portal.kernel.exception.PortalException { 267 return _organizationService.fetchOrganization(organizationId); 268 } 269 270 /** 271 * Returns all the organizations which the user has permission to manage. 272 * 273 * @param actionId the permitted action 274 * @param max the maximum number of the organizations to be considered 275 * @return the organizations which the user has permission to manage 276 * @deprecated As of 6.2.0, replaced by {@link #getOrganizations(long, long, 277 int, int)} 278 */ 279 @Deprecated 280 @Override 281 public java.util.List<com.liferay.portal.model.Organization> getManageableOrganizations( 282 java.lang.String actionId, int max) 283 throws com.liferay.portal.kernel.exception.PortalException { 284 return _organizationService.getManageableOrganizations(actionId, max); 285 } 286 287 /** 288 * Returns the OSGi service identifier. 289 * 290 * @return the OSGi service identifier 291 */ 292 @Override 293 public java.lang.String getOSGiServiceIdentifier() { 294 return _organizationService.getOSGiServiceIdentifier(); 295 } 296 297 /** 298 * Returns the organization with the primary key. 299 * 300 * @param organizationId the primary key of the organization 301 * @return the organization with the primary key 302 */ 303 @Override 304 public com.liferay.portal.model.Organization getOrganization( 305 long organizationId) 306 throws com.liferay.portal.kernel.exception.PortalException { 307 return _organizationService.getOrganization(organizationId); 308 } 309 310 /** 311 * Returns the primary key of the organization with the name. 312 * 313 * @param companyId the primary key of the organization's company 314 * @param name the organization's name 315 * @return the primary key of the organization with the name, or 316 <code>0</code> if the organization could not be found 317 */ 318 @Override 319 public long getOrganizationId(long companyId, java.lang.String name) 320 throws com.liferay.portal.kernel.exception.PortalException { 321 return _organizationService.getOrganizationId(companyId, name); 322 } 323 324 /** 325 * Returns all the organizations belonging to the parent organization. 326 * 327 * @param companyId the primary key of the organizations' company 328 * @param parentOrganizationId the primary key of the organizations' parent 329 organization 330 * @return the organizations belonging to the parent organization 331 */ 332 @Override 333 public java.util.List<com.liferay.portal.model.Organization> getOrganizations( 334 long companyId, long parentOrganizationId) { 335 return _organizationService.getOrganizations(companyId, 336 parentOrganizationId); 337 } 338 339 /** 340 * Returns a range of all the organizations belonging to the parent 341 * organization. 342 * 343 * <p> 344 * Useful when paginating results. Returns a maximum of <code>end - 345 * start</code> instances. <code>start</code> and <code>end</code> are not 346 * primary keys, they are indexes in the result set. Thus, <code>0</code> 347 * refers to the first result in the set. Setting both <code>start</code> 348 * and <code>end</code> to {@link 349 * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full 350 * result set. 351 * </p> 352 * 353 * @param companyId the primary key of the organizations' company 354 * @param parentOrganizationId the primary key of the organizations' parent 355 organization 356 * @param start the lower bound of the range of organizations to return 357 * @param end the upper bound of the range of organizations to return (not 358 inclusive) 359 * @return the range of organizations belonging to the parent organization 360 */ 361 @Override 362 public java.util.List<com.liferay.portal.model.Organization> getOrganizations( 363 long companyId, long parentOrganizationId, int start, int end) { 364 return _organizationService.getOrganizations(companyId, 365 parentOrganizationId, start, end); 366 } 367 368 /** 369 * Returns the number of organizations belonging to the parent organization. 370 * 371 * @param companyId the primary key of the organizations' company 372 * @param parentOrganizationId the primary key of the organizations' parent 373 organization 374 * @return the number of organizations belonging to the parent organization 375 */ 376 @Override 377 public int getOrganizationsCount(long companyId, long parentOrganizationId) { 378 return _organizationService.getOrganizationsCount(companyId, 379 parentOrganizationId); 380 } 381 382 /** 383 * Returns all the organizations with which the user is explicitly 384 * associated. 385 * 386 * <p> 387 * A user is considered to be <i>explicitly</i> associated with an 388 * organization if his account is individually created within the 389 * organization or if the user is later added as a member. 390 * </p> 391 * 392 * @param userId the primary key of the user 393 * @return the organizations with which the user is explicitly associated 394 */ 395 @Override 396 public java.util.List<com.liferay.portal.model.Organization> getUserOrganizations( 397 long userId) throws com.liferay.portal.kernel.exception.PortalException { 398 return _organizationService.getUserOrganizations(userId); 399 } 400 401 /** 402 * Sets the organizations in the group, removing and adding organizations to 403 * the group as necessary. 404 * 405 * @param groupId the primary key of the group 406 * @param organizationIds the primary keys of the organizations 407 */ 408 @Override 409 public void setGroupOrganizations(long groupId, long[] organizationIds) 410 throws com.liferay.portal.kernel.exception.PortalException { 411 _organizationService.setGroupOrganizations(groupId, organizationIds); 412 } 413 414 /** 415 * Removes the organizations from the group. 416 * 417 * @param groupId the primary key of the group 418 * @param organizationIds the primary keys of the organizations 419 */ 420 @Override 421 public void unsetGroupOrganizations(long groupId, long[] organizationIds) 422 throws com.liferay.portal.kernel.exception.PortalException { 423 _organizationService.unsetGroupOrganizations(groupId, organizationIds); 424 } 425 426 /** 427 * Removes the organizations from the password policy. 428 * 429 * @param passwordPolicyId the primary key of the password policy 430 * @param organizationIds the primary keys of the organizations 431 */ 432 @Override 433 public void unsetPasswordPolicyOrganizations(long passwordPolicyId, 434 long[] organizationIds) 435 throws com.liferay.portal.kernel.exception.PortalException { 436 _organizationService.unsetPasswordPolicyOrganizations(passwordPolicyId, 437 organizationIds); 438 } 439 440 /** 441 * Updates the organization with additional parameters. 442 * 443 * @param organizationId the primary key of the organization 444 * @param parentOrganizationId the primary key of the organization's 445 parent organization 446 * @param name the organization's name 447 * @param type the organization's type 448 * @param recursable whether the permissions of the organization are to 449 be inherited by its suborganizations 450 * @param regionId the primary key of the organization's region 451 * @param countryId the primary key of the organization's country 452 * @param statusId the organization's workflow status 453 * @param comments the comments about the organization 454 * @param site whether the organization is to be associated with a main 455 site 456 * @param addresses the organization's addresses 457 * @param emailAddresses the organization's email addresses 458 * @param orgLabors the organization's hours of operation 459 * @param phones the organization's phone numbers 460 * @param websites the organization's websites 461 * @param serviceContext the service context to be applied (optionally 462 <code>null</code>). Can set asset category IDs and asset tag 463 names for the organization, and merge expando bridge 464 attributes for the organization. 465 * @return the organization 466 * @deprecated As of 6.2.0, replaced by {@link #updateOrganization(long, 467 long, String, String, long, long, int, String, boolean, 468 byte[], boolean, List, List, List, List, List, 469 ServiceContext)} 470 */ 471 @Deprecated 472 @Override 473 public com.liferay.portal.model.Organization updateOrganization( 474 long organizationId, long parentOrganizationId, java.lang.String name, 475 java.lang.String type, boolean recursable, long regionId, 476 long countryId, long statusId, java.lang.String comments, boolean site, 477 java.util.List<com.liferay.portal.model.Address> addresses, 478 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses, 479 java.util.List<com.liferay.portal.model.OrgLabor> orgLabors, 480 java.util.List<com.liferay.portal.model.Phone> phones, 481 java.util.List<com.liferay.portal.model.Website> websites, 482 com.liferay.portal.service.ServiceContext serviceContext) 483 throws com.liferay.portal.kernel.exception.PortalException { 484 return _organizationService.updateOrganization(organizationId, 485 parentOrganizationId, name, type, recursable, regionId, countryId, 486 statusId, comments, site, addresses, emailAddresses, orgLabors, 487 phones, websites, serviceContext); 488 } 489 490 /** 491 * Updates the organization. 492 * 493 * @param organizationId the primary key of the organization 494 * @param parentOrganizationId the primary key of the organization's 495 parent organization 496 * @param name the organization's name 497 * @param type the organization's type 498 * @param recursable whether permissions of the organization are to be 499 inherited by its suborganizations 500 * @param regionId the primary key of the organization's region 501 * @param countryId the primary key of the organization's country 502 * @param statusId the organization's workflow status 503 * @param comments the comments about the organization 504 * @param site whether the organization is to be associated with a main 505 site 506 * @param serviceContext the service context to be applied (optionally 507 <code>null</code>). Can set asset category IDs and asset tag 508 names for the organization, and merge expando bridge 509 attributes for the organization. 510 * @return the organization 511 * @deprecated As of 6.2.0, replaced by {@link #updateOrganization(long, 512 long, String, String, long, long, int, String, boolean, 513 ServiceContext)} 514 */ 515 @Deprecated 516 @Override 517 public com.liferay.portal.model.Organization updateOrganization( 518 long organizationId, long parentOrganizationId, java.lang.String name, 519 java.lang.String type, boolean recursable, long regionId, 520 long countryId, long statusId, java.lang.String comments, boolean site, 521 com.liferay.portal.service.ServiceContext serviceContext) 522 throws com.liferay.portal.kernel.exception.PortalException { 523 return _organizationService.updateOrganization(organizationId, 524 parentOrganizationId, name, type, recursable, regionId, countryId, 525 statusId, comments, site, serviceContext); 526 } 527 528 /** 529 * Updates the organization with additional parameters. 530 * 531 * @param organizationId the primary key of the organization 532 * @param parentOrganizationId the primary key of the organization's parent 533 organization 534 * @param name the organization's name 535 * @param type the organization's type 536 * @param regionId the primary key of the organization's region 537 * @param countryId the primary key of the organization's country 538 * @param statusId the organization's workflow status 539 * @param comments the comments about the organization 540 * @param logo whether to update the ogranization's logo 541 * @param logoBytes the new logo image data 542 * @param site whether the organization is to be associated with a main 543 site 544 * @param addresses the organization's addresses 545 * @param emailAddresses the organization's email addresses 546 * @param orgLabors the organization's hours of operation 547 * @param phones the organization's phone numbers 548 * @param websites the organization's websites 549 * @param serviceContext the service context to be applied (optionally 550 <code>null</code>). Can set asset category IDs and asset tag 551 names for the organization, and merge expando bridge attributes 552 for the organization. 553 * @return the organization 554 */ 555 @Override 556 public com.liferay.portal.model.Organization updateOrganization( 557 long organizationId, long parentOrganizationId, java.lang.String name, 558 java.lang.String type, long regionId, long countryId, long statusId, 559 java.lang.String comments, boolean logo, byte[] logoBytes, 560 boolean site, 561 java.util.List<com.liferay.portal.model.Address> addresses, 562 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses, 563 java.util.List<com.liferay.portal.model.OrgLabor> orgLabors, 564 java.util.List<com.liferay.portal.model.Phone> phones, 565 java.util.List<com.liferay.portal.model.Website> websites, 566 com.liferay.portal.service.ServiceContext serviceContext) 567 throws com.liferay.portal.kernel.exception.PortalException { 568 return _organizationService.updateOrganization(organizationId, 569 parentOrganizationId, name, type, regionId, countryId, statusId, 570 comments, logo, logoBytes, site, addresses, emailAddresses, 571 orgLabors, phones, websites, serviceContext); 572 } 573 574 /** 575 * Updates the organization with additional parameters. 576 * 577 * @param organizationId the primary key of the organization 578 * @param parentOrganizationId the primary key of the organization's 579 parent organization 580 * @param name the organization's name 581 * @param type the organization's type 582 * @param regionId the primary key of the organization's region 583 * @param countryId the primary key of the organization's country 584 * @param statusId the organization's workflow status 585 * @param comments the comments about the organization 586 * @param site whether the organization is to be associated with a main 587 site 588 * @param addresses the organization's addresses 589 * @param emailAddresses the organization's email addresses 590 * @param orgLabors the organization's hours of operation 591 * @param phones the organization's phone numbers 592 * @param websites the organization's websites 593 * @param serviceContext the service context to be applied (optionally 594 <code>null</code>). Can set asset category IDs and asset tag 595 names for the organization, and merge expando bridge 596 attributes for the organization. 597 * @return the organization 598 * @deprecated As of 7.0.0, replaced by {@link #updateOrganization(long, 599 long, String, String, long, long, int, String, boolean, 600 byte[], boolean, List, List, List, List, List, 601 ServiceContext)} 602 */ 603 @Deprecated 604 @Override 605 public com.liferay.portal.model.Organization updateOrganization( 606 long organizationId, long parentOrganizationId, java.lang.String name, 607 java.lang.String type, long regionId, long countryId, long statusId, 608 java.lang.String comments, boolean site, 609 java.util.List<com.liferay.portal.model.Address> addresses, 610 java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses, 611 java.util.List<com.liferay.portal.model.OrgLabor> orgLabors, 612 java.util.List<com.liferay.portal.model.Phone> phones, 613 java.util.List<com.liferay.portal.model.Website> websites, 614 com.liferay.portal.service.ServiceContext serviceContext) 615 throws com.liferay.portal.kernel.exception.PortalException { 616 return _organizationService.updateOrganization(organizationId, 617 parentOrganizationId, name, type, regionId, countryId, statusId, 618 comments, site, addresses, emailAddresses, orgLabors, phones, 619 websites, serviceContext); 620 } 621 622 /** 623 * Updates the organization. 624 * 625 * @param organizationId the primary key of the organization 626 * @param parentOrganizationId the primary key of the organization's parent 627 organization 628 * @param name the organization's name 629 * @param type the organization's type 630 * @param regionId the primary key of the organization's region 631 * @param countryId the primary key of the organization's country 632 * @param statusId the organization's workflow status 633 * @param comments the comments about the organization 634 * @param site whether the organization is to be associated with a main 635 site 636 * @param serviceContext the service context to be applied (optionally 637 <code>null</code>). Can set asset category IDs and asset tag 638 names for the organization, and merge expando bridge attributes 639 for the organization. 640 * @return the organization 641 */ 642 @Override 643 public com.liferay.portal.model.Organization updateOrganization( 644 long organizationId, long parentOrganizationId, java.lang.String name, 645 java.lang.String type, long regionId, long countryId, long statusId, 646 java.lang.String comments, boolean site, 647 com.liferay.portal.service.ServiceContext serviceContext) 648 throws com.liferay.portal.kernel.exception.PortalException { 649 return _organizationService.updateOrganization(organizationId, 650 parentOrganizationId, name, type, regionId, countryId, statusId, 651 comments, site, serviceContext); 652 } 653 654 @Override 655 public OrganizationService getWrappedService() { 656 return _organizationService; 657 } 658 659 @Override 660 public void setWrappedService(OrganizationService organizationService) { 661 _organizationService = organizationService; 662 } 663 664 private OrganizationService _organizationService; 665 }