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