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