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