001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service.base;
016    
017    import com.liferay.asset.kernel.service.persistence.AssetCategoryFinder;
018    import com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence;
019    import com.liferay.asset.kernel.service.persistence.AssetEntryFinder;
020    import com.liferay.asset.kernel.service.persistence.AssetEntryPersistence;
021    import com.liferay.asset.kernel.service.persistence.AssetTagFinder;
022    import com.liferay.asset.kernel.service.persistence.AssetTagPersistence;
023    
024    import com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence;
025    
026    import com.liferay.portal.kernel.bean.BeanReference;
027    import com.liferay.portal.kernel.dao.db.DB;
028    import com.liferay.portal.kernel.dao.db.DBManagerUtil;
029    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
030    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
031    import com.liferay.portal.kernel.exception.SystemException;
032    import com.liferay.portal.kernel.model.Organization;
033    import com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService;
034    import com.liferay.portal.kernel.service.BaseServiceImpl;
035    import com.liferay.portal.kernel.service.OrganizationService;
036    import com.liferay.portal.kernel.service.persistence.AddressPersistence;
037    import com.liferay.portal.kernel.service.persistence.CompanyPersistence;
038    import com.liferay.portal.kernel.service.persistence.CountryPersistence;
039    import com.liferay.portal.kernel.service.persistence.EmailAddressPersistence;
040    import com.liferay.portal.kernel.service.persistence.GroupFinder;
041    import com.liferay.portal.kernel.service.persistence.GroupPersistence;
042    import com.liferay.portal.kernel.service.persistence.ListTypePersistence;
043    import com.liferay.portal.kernel.service.persistence.OrganizationFinder;
044    import com.liferay.portal.kernel.service.persistence.OrganizationPersistence;
045    import com.liferay.portal.kernel.service.persistence.PasswordPolicyFinder;
046    import com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence;
047    import com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence;
048    import com.liferay.portal.kernel.service.persistence.PhonePersistence;
049    import com.liferay.portal.kernel.service.persistence.RegionPersistence;
050    import com.liferay.portal.kernel.service.persistence.RoleFinder;
051    import com.liferay.portal.kernel.service.persistence.RolePersistence;
052    import com.liferay.portal.kernel.service.persistence.UserFinder;
053    import com.liferay.portal.kernel.service.persistence.UserGroupRoleFinder;
054    import com.liferay.portal.kernel.service.persistence.UserGroupRolePersistence;
055    import com.liferay.portal.kernel.service.persistence.UserPersistence;
056    import com.liferay.portal.kernel.service.persistence.WebsitePersistence;
057    import com.liferay.portal.kernel.util.PortalUtil;
058    
059    import javax.sql.DataSource;
060    
061    /**
062     * Provides the base implementation for the organization remote service.
063     *
064     * <p>
065     * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link com.liferay.portal.service.impl.OrganizationServiceImpl}.
066     * </p>
067     *
068     * @author Brian Wing Shun Chan
069     * @see com.liferay.portal.service.impl.OrganizationServiceImpl
070     * @see com.liferay.portal.kernel.service.OrganizationServiceUtil
071     * @generated
072     */
073    public abstract class OrganizationServiceBaseImpl extends BaseServiceImpl
074            implements OrganizationService, IdentifiableOSGiService {
075            /*
076             * NOTE FOR DEVELOPERS:
077             *
078             * Never modify or reference this class directly. Always use {@link com.liferay.portal.kernel.service.OrganizationServiceUtil} to access the organization remote service.
079             */
080    
081            /**
082             * Returns the organization local service.
083             *
084             * @return the organization local service
085             */
086            public com.liferay.portal.kernel.service.OrganizationLocalService getOrganizationLocalService() {
087                    return organizationLocalService;
088            }
089    
090            /**
091             * Sets the organization local service.
092             *
093             * @param organizationLocalService the organization local service
094             */
095            public void setOrganizationLocalService(
096                    com.liferay.portal.kernel.service.OrganizationLocalService organizationLocalService) {
097                    this.organizationLocalService = organizationLocalService;
098            }
099    
100            /**
101             * Returns the organization remote service.
102             *
103             * @return the organization remote service
104             */
105            public OrganizationService getOrganizationService() {
106                    return organizationService;
107            }
108    
109            /**
110             * Sets the organization remote service.
111             *
112             * @param organizationService the organization remote service
113             */
114            public void setOrganizationService(OrganizationService organizationService) {
115                    this.organizationService = organizationService;
116            }
117    
118            /**
119             * Returns the organization persistence.
120             *
121             * @return the organization persistence
122             */
123            public OrganizationPersistence getOrganizationPersistence() {
124                    return organizationPersistence;
125            }
126    
127            /**
128             * Sets the organization persistence.
129             *
130             * @param organizationPersistence the organization persistence
131             */
132            public void setOrganizationPersistence(
133                    OrganizationPersistence organizationPersistence) {
134                    this.organizationPersistence = organizationPersistence;
135            }
136    
137            /**
138             * Returns the organization finder.
139             *
140             * @return the organization finder
141             */
142            public OrganizationFinder getOrganizationFinder() {
143                    return organizationFinder;
144            }
145    
146            /**
147             * Sets the organization finder.
148             *
149             * @param organizationFinder the organization finder
150             */
151            public void setOrganizationFinder(OrganizationFinder organizationFinder) {
152                    this.organizationFinder = organizationFinder;
153            }
154    
155            /**
156             * Returns the counter local service.
157             *
158             * @return the counter local service
159             */
160            public com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService() {
161                    return counterLocalService;
162            }
163    
164            /**
165             * Sets the counter local service.
166             *
167             * @param counterLocalService the counter local service
168             */
169            public void setCounterLocalService(
170                    com.liferay.counter.kernel.service.CounterLocalService counterLocalService) {
171                    this.counterLocalService = counterLocalService;
172            }
173    
174            /**
175             * Returns the address local service.
176             *
177             * @return the address local service
178             */
179            public com.liferay.portal.kernel.service.AddressLocalService getAddressLocalService() {
180                    return addressLocalService;
181            }
182    
183            /**
184             * Sets the address local service.
185             *
186             * @param addressLocalService the address local service
187             */
188            public void setAddressLocalService(
189                    com.liferay.portal.kernel.service.AddressLocalService addressLocalService) {
190                    this.addressLocalService = addressLocalService;
191            }
192    
193            /**
194             * Returns the address remote service.
195             *
196             * @return the address remote service
197             */
198            public com.liferay.portal.kernel.service.AddressService getAddressService() {
199                    return addressService;
200            }
201    
202            /**
203             * Sets the address remote service.
204             *
205             * @param addressService the address remote service
206             */
207            public void setAddressService(
208                    com.liferay.portal.kernel.service.AddressService addressService) {
209                    this.addressService = addressService;
210            }
211    
212            /**
213             * Returns the address persistence.
214             *
215             * @return the address persistence
216             */
217            public AddressPersistence getAddressPersistence() {
218                    return addressPersistence;
219            }
220    
221            /**
222             * Sets the address persistence.
223             *
224             * @param addressPersistence the address persistence
225             */
226            public void setAddressPersistence(AddressPersistence addressPersistence) {
227                    this.addressPersistence = addressPersistence;
228            }
229    
230            /**
231             * Returns the company local service.
232             *
233             * @return the company local service
234             */
235            public com.liferay.portal.kernel.service.CompanyLocalService getCompanyLocalService() {
236                    return companyLocalService;
237            }
238    
239            /**
240             * Sets the company local service.
241             *
242             * @param companyLocalService the company local service
243             */
244            public void setCompanyLocalService(
245                    com.liferay.portal.kernel.service.CompanyLocalService companyLocalService) {
246                    this.companyLocalService = companyLocalService;
247            }
248    
249            /**
250             * Returns the company remote service.
251             *
252             * @return the company remote service
253             */
254            public com.liferay.portal.kernel.service.CompanyService getCompanyService() {
255                    return companyService;
256            }
257    
258            /**
259             * Sets the company remote service.
260             *
261             * @param companyService the company remote service
262             */
263            public void setCompanyService(
264                    com.liferay.portal.kernel.service.CompanyService companyService) {
265                    this.companyService = companyService;
266            }
267    
268            /**
269             * Returns the company persistence.
270             *
271             * @return the company persistence
272             */
273            public CompanyPersistence getCompanyPersistence() {
274                    return companyPersistence;
275            }
276    
277            /**
278             * Sets the company persistence.
279             *
280             * @param companyPersistence the company persistence
281             */
282            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
283                    this.companyPersistence = companyPersistence;
284            }
285    
286            /**
287             * Returns the country remote service.
288             *
289             * @return the country remote service
290             */
291            public com.liferay.portal.kernel.service.CountryService getCountryService() {
292                    return countryService;
293            }
294    
295            /**
296             * Sets the country remote service.
297             *
298             * @param countryService the country remote service
299             */
300            public void setCountryService(
301                    com.liferay.portal.kernel.service.CountryService countryService) {
302                    this.countryService = countryService;
303            }
304    
305            /**
306             * Returns the country persistence.
307             *
308             * @return the country persistence
309             */
310            public CountryPersistence getCountryPersistence() {
311                    return countryPersistence;
312            }
313    
314            /**
315             * Sets the country persistence.
316             *
317             * @param countryPersistence the country persistence
318             */
319            public void setCountryPersistence(CountryPersistence countryPersistence) {
320                    this.countryPersistence = countryPersistence;
321            }
322    
323            /**
324             * Returns the email address local service.
325             *
326             * @return the email address local service
327             */
328            public com.liferay.portal.kernel.service.EmailAddressLocalService getEmailAddressLocalService() {
329                    return emailAddressLocalService;
330            }
331    
332            /**
333             * Sets the email address local service.
334             *
335             * @param emailAddressLocalService the email address local service
336             */
337            public void setEmailAddressLocalService(
338                    com.liferay.portal.kernel.service.EmailAddressLocalService emailAddressLocalService) {
339                    this.emailAddressLocalService = emailAddressLocalService;
340            }
341    
342            /**
343             * Returns the email address remote service.
344             *
345             * @return the email address remote service
346             */
347            public com.liferay.portal.kernel.service.EmailAddressService getEmailAddressService() {
348                    return emailAddressService;
349            }
350    
351            /**
352             * Sets the email address remote service.
353             *
354             * @param emailAddressService the email address remote service
355             */
356            public void setEmailAddressService(
357                    com.liferay.portal.kernel.service.EmailAddressService emailAddressService) {
358                    this.emailAddressService = emailAddressService;
359            }
360    
361            /**
362             * Returns the email address persistence.
363             *
364             * @return the email address persistence
365             */
366            public EmailAddressPersistence getEmailAddressPersistence() {
367                    return emailAddressPersistence;
368            }
369    
370            /**
371             * Sets the email address persistence.
372             *
373             * @param emailAddressPersistence the email address persistence
374             */
375            public void setEmailAddressPersistence(
376                    EmailAddressPersistence emailAddressPersistence) {
377                    this.emailAddressPersistence = emailAddressPersistence;
378            }
379    
380            /**
381             * Returns the group local service.
382             *
383             * @return the group local service
384             */
385            public com.liferay.portal.kernel.service.GroupLocalService getGroupLocalService() {
386                    return groupLocalService;
387            }
388    
389            /**
390             * Sets the group local service.
391             *
392             * @param groupLocalService the group local service
393             */
394            public void setGroupLocalService(
395                    com.liferay.portal.kernel.service.GroupLocalService groupLocalService) {
396                    this.groupLocalService = groupLocalService;
397            }
398    
399            /**
400             * Returns the group remote service.
401             *
402             * @return the group remote service
403             */
404            public com.liferay.portal.kernel.service.GroupService getGroupService() {
405                    return groupService;
406            }
407    
408            /**
409             * Sets the group remote service.
410             *
411             * @param groupService the group remote service
412             */
413            public void setGroupService(
414                    com.liferay.portal.kernel.service.GroupService groupService) {
415                    this.groupService = groupService;
416            }
417    
418            /**
419             * Returns the group persistence.
420             *
421             * @return the group persistence
422             */
423            public GroupPersistence getGroupPersistence() {
424                    return groupPersistence;
425            }
426    
427            /**
428             * Sets the group persistence.
429             *
430             * @param groupPersistence the group persistence
431             */
432            public void setGroupPersistence(GroupPersistence groupPersistence) {
433                    this.groupPersistence = groupPersistence;
434            }
435    
436            /**
437             * Returns the group finder.
438             *
439             * @return the group finder
440             */
441            public GroupFinder getGroupFinder() {
442                    return groupFinder;
443            }
444    
445            /**
446             * Sets the group finder.
447             *
448             * @param groupFinder the group finder
449             */
450            public void setGroupFinder(GroupFinder groupFinder) {
451                    this.groupFinder = groupFinder;
452            }
453    
454            /**
455             * Returns the list type local service.
456             *
457             * @return the list type local service
458             */
459            public com.liferay.portal.kernel.service.ListTypeLocalService getListTypeLocalService() {
460                    return listTypeLocalService;
461            }
462    
463            /**
464             * Sets the list type local service.
465             *
466             * @param listTypeLocalService the list type local service
467             */
468            public void setListTypeLocalService(
469                    com.liferay.portal.kernel.service.ListTypeLocalService listTypeLocalService) {
470                    this.listTypeLocalService = listTypeLocalService;
471            }
472    
473            /**
474             * Returns the list type remote service.
475             *
476             * @return the list type remote service
477             */
478            public com.liferay.portal.kernel.service.ListTypeService getListTypeService() {
479                    return listTypeService;
480            }
481    
482            /**
483             * Sets the list type remote service.
484             *
485             * @param listTypeService the list type remote service
486             */
487            public void setListTypeService(
488                    com.liferay.portal.kernel.service.ListTypeService listTypeService) {
489                    this.listTypeService = listTypeService;
490            }
491    
492            /**
493             * Returns the list type persistence.
494             *
495             * @return the list type persistence
496             */
497            public ListTypePersistence getListTypePersistence() {
498                    return listTypePersistence;
499            }
500    
501            /**
502             * Sets the list type persistence.
503             *
504             * @param listTypePersistence the list type persistence
505             */
506            public void setListTypePersistence(ListTypePersistence listTypePersistence) {
507                    this.listTypePersistence = listTypePersistence;
508            }
509    
510            /**
511             * Returns the asset category local service.
512             *
513             * @return the asset category local service
514             */
515            public com.liferay.asset.kernel.service.AssetCategoryLocalService getAssetCategoryLocalService() {
516                    return assetCategoryLocalService;
517            }
518    
519            /**
520             * Sets the asset category local service.
521             *
522             * @param assetCategoryLocalService the asset category local service
523             */
524            public void setAssetCategoryLocalService(
525                    com.liferay.asset.kernel.service.AssetCategoryLocalService assetCategoryLocalService) {
526                    this.assetCategoryLocalService = assetCategoryLocalService;
527            }
528    
529            /**
530             * Returns the asset category remote service.
531             *
532             * @return the asset category remote service
533             */
534            public com.liferay.asset.kernel.service.AssetCategoryService getAssetCategoryService() {
535                    return assetCategoryService;
536            }
537    
538            /**
539             * Sets the asset category remote service.
540             *
541             * @param assetCategoryService the asset category remote service
542             */
543            public void setAssetCategoryService(
544                    com.liferay.asset.kernel.service.AssetCategoryService assetCategoryService) {
545                    this.assetCategoryService = assetCategoryService;
546            }
547    
548            /**
549             * Returns the asset category persistence.
550             *
551             * @return the asset category persistence
552             */
553            public AssetCategoryPersistence getAssetCategoryPersistence() {
554                    return assetCategoryPersistence;
555            }
556    
557            /**
558             * Sets the asset category persistence.
559             *
560             * @param assetCategoryPersistence the asset category persistence
561             */
562            public void setAssetCategoryPersistence(
563                    AssetCategoryPersistence assetCategoryPersistence) {
564                    this.assetCategoryPersistence = assetCategoryPersistence;
565            }
566    
567            /**
568             * Returns the asset category finder.
569             *
570             * @return the asset category finder
571             */
572            public AssetCategoryFinder getAssetCategoryFinder() {
573                    return assetCategoryFinder;
574            }
575    
576            /**
577             * Sets the asset category finder.
578             *
579             * @param assetCategoryFinder the asset category finder
580             */
581            public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
582                    this.assetCategoryFinder = assetCategoryFinder;
583            }
584    
585            /**
586             * Returns the asset entry local service.
587             *
588             * @return the asset entry local service
589             */
590            public com.liferay.asset.kernel.service.AssetEntryLocalService getAssetEntryLocalService() {
591                    return assetEntryLocalService;
592            }
593    
594            /**
595             * Sets the asset entry local service.
596             *
597             * @param assetEntryLocalService the asset entry local service
598             */
599            public void setAssetEntryLocalService(
600                    com.liferay.asset.kernel.service.AssetEntryLocalService assetEntryLocalService) {
601                    this.assetEntryLocalService = assetEntryLocalService;
602            }
603    
604            /**
605             * Returns the asset entry remote service.
606             *
607             * @return the asset entry remote service
608             */
609            public com.liferay.asset.kernel.service.AssetEntryService getAssetEntryService() {
610                    return assetEntryService;
611            }
612    
613            /**
614             * Sets the asset entry remote service.
615             *
616             * @param assetEntryService the asset entry remote service
617             */
618            public void setAssetEntryService(
619                    com.liferay.asset.kernel.service.AssetEntryService assetEntryService) {
620                    this.assetEntryService = assetEntryService;
621            }
622    
623            /**
624             * Returns the asset entry persistence.
625             *
626             * @return the asset entry persistence
627             */
628            public AssetEntryPersistence getAssetEntryPersistence() {
629                    return assetEntryPersistence;
630            }
631    
632            /**
633             * Sets the asset entry persistence.
634             *
635             * @param assetEntryPersistence the asset entry persistence
636             */
637            public void setAssetEntryPersistence(
638                    AssetEntryPersistence assetEntryPersistence) {
639                    this.assetEntryPersistence = assetEntryPersistence;
640            }
641    
642            /**
643             * Returns the asset entry finder.
644             *
645             * @return the asset entry finder
646             */
647            public AssetEntryFinder getAssetEntryFinder() {
648                    return assetEntryFinder;
649            }
650    
651            /**
652             * Sets the asset entry finder.
653             *
654             * @param assetEntryFinder the asset entry finder
655             */
656            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
657                    this.assetEntryFinder = assetEntryFinder;
658            }
659    
660            /**
661             * Returns the asset tag local service.
662             *
663             * @return the asset tag local service
664             */
665            public com.liferay.asset.kernel.service.AssetTagLocalService getAssetTagLocalService() {
666                    return assetTagLocalService;
667            }
668    
669            /**
670             * Sets the asset tag local service.
671             *
672             * @param assetTagLocalService the asset tag local service
673             */
674            public void setAssetTagLocalService(
675                    com.liferay.asset.kernel.service.AssetTagLocalService assetTagLocalService) {
676                    this.assetTagLocalService = assetTagLocalService;
677            }
678    
679            /**
680             * Returns the asset tag remote service.
681             *
682             * @return the asset tag remote service
683             */
684            public com.liferay.asset.kernel.service.AssetTagService getAssetTagService() {
685                    return assetTagService;
686            }
687    
688            /**
689             * Sets the asset tag remote service.
690             *
691             * @param assetTagService the asset tag remote service
692             */
693            public void setAssetTagService(
694                    com.liferay.asset.kernel.service.AssetTagService assetTagService) {
695                    this.assetTagService = assetTagService;
696            }
697    
698            /**
699             * Returns the asset tag persistence.
700             *
701             * @return the asset tag persistence
702             */
703            public AssetTagPersistence getAssetTagPersistence() {
704                    return assetTagPersistence;
705            }
706    
707            /**
708             * Sets the asset tag persistence.
709             *
710             * @param assetTagPersistence the asset tag persistence
711             */
712            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
713                    this.assetTagPersistence = assetTagPersistence;
714            }
715    
716            /**
717             * Returns the asset tag finder.
718             *
719             * @return the asset tag finder
720             */
721            public AssetTagFinder getAssetTagFinder() {
722                    return assetTagFinder;
723            }
724    
725            /**
726             * Sets the asset tag finder.
727             *
728             * @param assetTagFinder the asset tag finder
729             */
730            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
731                    this.assetTagFinder = assetTagFinder;
732            }
733    
734            /**
735             * Returns the expando row local service.
736             *
737             * @return the expando row local service
738             */
739            public com.liferay.expando.kernel.service.ExpandoRowLocalService getExpandoRowLocalService() {
740                    return expandoRowLocalService;
741            }
742    
743            /**
744             * Sets the expando row local service.
745             *
746             * @param expandoRowLocalService the expando row local service
747             */
748            public void setExpandoRowLocalService(
749                    com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService) {
750                    this.expandoRowLocalService = expandoRowLocalService;
751            }
752    
753            /**
754             * Returns the expando row persistence.
755             *
756             * @return the expando row persistence
757             */
758            public ExpandoRowPersistence getExpandoRowPersistence() {
759                    return expandoRowPersistence;
760            }
761    
762            /**
763             * Sets the expando row persistence.
764             *
765             * @param expandoRowPersistence the expando row persistence
766             */
767            public void setExpandoRowPersistence(
768                    ExpandoRowPersistence expandoRowPersistence) {
769                    this.expandoRowPersistence = expandoRowPersistence;
770            }
771    
772            /**
773             * Returns the password policy local service.
774             *
775             * @return the password policy local service
776             */
777            public com.liferay.portal.kernel.service.PasswordPolicyLocalService getPasswordPolicyLocalService() {
778                    return passwordPolicyLocalService;
779            }
780    
781            /**
782             * Sets the password policy local service.
783             *
784             * @param passwordPolicyLocalService the password policy local service
785             */
786            public void setPasswordPolicyLocalService(
787                    com.liferay.portal.kernel.service.PasswordPolicyLocalService passwordPolicyLocalService) {
788                    this.passwordPolicyLocalService = passwordPolicyLocalService;
789            }
790    
791            /**
792             * Returns the password policy remote service.
793             *
794             * @return the password policy remote service
795             */
796            public com.liferay.portal.kernel.service.PasswordPolicyService getPasswordPolicyService() {
797                    return passwordPolicyService;
798            }
799    
800            /**
801             * Sets the password policy remote service.
802             *
803             * @param passwordPolicyService the password policy remote service
804             */
805            public void setPasswordPolicyService(
806                    com.liferay.portal.kernel.service.PasswordPolicyService passwordPolicyService) {
807                    this.passwordPolicyService = passwordPolicyService;
808            }
809    
810            /**
811             * Returns the password policy persistence.
812             *
813             * @return the password policy persistence
814             */
815            public PasswordPolicyPersistence getPasswordPolicyPersistence() {
816                    return passwordPolicyPersistence;
817            }
818    
819            /**
820             * Sets the password policy persistence.
821             *
822             * @param passwordPolicyPersistence the password policy persistence
823             */
824            public void setPasswordPolicyPersistence(
825                    PasswordPolicyPersistence passwordPolicyPersistence) {
826                    this.passwordPolicyPersistence = passwordPolicyPersistence;
827            }
828    
829            /**
830             * Returns the password policy finder.
831             *
832             * @return the password policy finder
833             */
834            public PasswordPolicyFinder getPasswordPolicyFinder() {
835                    return passwordPolicyFinder;
836            }
837    
838            /**
839             * Sets the password policy finder.
840             *
841             * @param passwordPolicyFinder the password policy finder
842             */
843            public void setPasswordPolicyFinder(
844                    PasswordPolicyFinder passwordPolicyFinder) {
845                    this.passwordPolicyFinder = passwordPolicyFinder;
846            }
847    
848            /**
849             * Returns the password policy rel local service.
850             *
851             * @return the password policy rel local service
852             */
853            public com.liferay.portal.kernel.service.PasswordPolicyRelLocalService getPasswordPolicyRelLocalService() {
854                    return passwordPolicyRelLocalService;
855            }
856    
857            /**
858             * Sets the password policy rel local service.
859             *
860             * @param passwordPolicyRelLocalService the password policy rel local service
861             */
862            public void setPasswordPolicyRelLocalService(
863                    com.liferay.portal.kernel.service.PasswordPolicyRelLocalService passwordPolicyRelLocalService) {
864                    this.passwordPolicyRelLocalService = passwordPolicyRelLocalService;
865            }
866    
867            /**
868             * Returns the password policy rel persistence.
869             *
870             * @return the password policy rel persistence
871             */
872            public PasswordPolicyRelPersistence getPasswordPolicyRelPersistence() {
873                    return passwordPolicyRelPersistence;
874            }
875    
876            /**
877             * Sets the password policy rel persistence.
878             *
879             * @param passwordPolicyRelPersistence the password policy rel persistence
880             */
881            public void setPasswordPolicyRelPersistence(
882                    PasswordPolicyRelPersistence passwordPolicyRelPersistence) {
883                    this.passwordPolicyRelPersistence = passwordPolicyRelPersistence;
884            }
885    
886            /**
887             * Returns the phone local service.
888             *
889             * @return the phone local service
890             */
891            public com.liferay.portal.kernel.service.PhoneLocalService getPhoneLocalService() {
892                    return phoneLocalService;
893            }
894    
895            /**
896             * Sets the phone local service.
897             *
898             * @param phoneLocalService the phone local service
899             */
900            public void setPhoneLocalService(
901                    com.liferay.portal.kernel.service.PhoneLocalService phoneLocalService) {
902                    this.phoneLocalService = phoneLocalService;
903            }
904    
905            /**
906             * Returns the phone remote service.
907             *
908             * @return the phone remote service
909             */
910            public com.liferay.portal.kernel.service.PhoneService getPhoneService() {
911                    return phoneService;
912            }
913    
914            /**
915             * Sets the phone remote service.
916             *
917             * @param phoneService the phone remote service
918             */
919            public void setPhoneService(
920                    com.liferay.portal.kernel.service.PhoneService phoneService) {
921                    this.phoneService = phoneService;
922            }
923    
924            /**
925             * Returns the phone persistence.
926             *
927             * @return the phone persistence
928             */
929            public PhonePersistence getPhonePersistence() {
930                    return phonePersistence;
931            }
932    
933            /**
934             * Sets the phone persistence.
935             *
936             * @param phonePersistence the phone persistence
937             */
938            public void setPhonePersistence(PhonePersistence phonePersistence) {
939                    this.phonePersistence = phonePersistence;
940            }
941    
942            /**
943             * Returns the region remote service.
944             *
945             * @return the region remote service
946             */
947            public com.liferay.portal.kernel.service.RegionService getRegionService() {
948                    return regionService;
949            }
950    
951            /**
952             * Sets the region remote service.
953             *
954             * @param regionService the region remote service
955             */
956            public void setRegionService(
957                    com.liferay.portal.kernel.service.RegionService regionService) {
958                    this.regionService = regionService;
959            }
960    
961            /**
962             * Returns the region persistence.
963             *
964             * @return the region persistence
965             */
966            public RegionPersistence getRegionPersistence() {
967                    return regionPersistence;
968            }
969    
970            /**
971             * Sets the region persistence.
972             *
973             * @param regionPersistence the region persistence
974             */
975            public void setRegionPersistence(RegionPersistence regionPersistence) {
976                    this.regionPersistence = regionPersistence;
977            }
978    
979            /**
980             * Returns the resource local service.
981             *
982             * @return the resource local service
983             */
984            public com.liferay.portal.kernel.service.ResourceLocalService getResourceLocalService() {
985                    return resourceLocalService;
986            }
987    
988            /**
989             * Sets the resource local service.
990             *
991             * @param resourceLocalService the resource local service
992             */
993            public void setResourceLocalService(
994                    com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService) {
995                    this.resourceLocalService = resourceLocalService;
996            }
997    
998            /**
999             * Returns the role local service.
1000             *
1001             * @return the role local service
1002             */
1003            public com.liferay.portal.kernel.service.RoleLocalService getRoleLocalService() {
1004                    return roleLocalService;
1005            }
1006    
1007            /**
1008             * Sets the role local service.
1009             *
1010             * @param roleLocalService the role local service
1011             */
1012            public void setRoleLocalService(
1013                    com.liferay.portal.kernel.service.RoleLocalService roleLocalService) {
1014                    this.roleLocalService = roleLocalService;
1015            }
1016    
1017            /**
1018             * Returns the role remote service.
1019             *
1020             * @return the role remote service
1021             */
1022            public com.liferay.portal.kernel.service.RoleService getRoleService() {
1023                    return roleService;
1024            }
1025    
1026            /**
1027             * Sets the role remote service.
1028             *
1029             * @param roleService the role remote service
1030             */
1031            public void setRoleService(
1032                    com.liferay.portal.kernel.service.RoleService roleService) {
1033                    this.roleService = roleService;
1034            }
1035    
1036            /**
1037             * Returns the role persistence.
1038             *
1039             * @return the role persistence
1040             */
1041            public RolePersistence getRolePersistence() {
1042                    return rolePersistence;
1043            }
1044    
1045            /**
1046             * Sets the role persistence.
1047             *
1048             * @param rolePersistence the role persistence
1049             */
1050            public void setRolePersistence(RolePersistence rolePersistence) {
1051                    this.rolePersistence = rolePersistence;
1052            }
1053    
1054            /**
1055             * Returns the role finder.
1056             *
1057             * @return the role finder
1058             */
1059            public RoleFinder getRoleFinder() {
1060                    return roleFinder;
1061            }
1062    
1063            /**
1064             * Sets the role finder.
1065             *
1066             * @param roleFinder the role finder
1067             */
1068            public void setRoleFinder(RoleFinder roleFinder) {
1069                    this.roleFinder = roleFinder;
1070            }
1071    
1072            /**
1073             * Returns the user local service.
1074             *
1075             * @return the user local service
1076             */
1077            public com.liferay.portal.kernel.service.UserLocalService getUserLocalService() {
1078                    return userLocalService;
1079            }
1080    
1081            /**
1082             * Sets the user local service.
1083             *
1084             * @param userLocalService the user local service
1085             */
1086            public void setUserLocalService(
1087                    com.liferay.portal.kernel.service.UserLocalService userLocalService) {
1088                    this.userLocalService = userLocalService;
1089            }
1090    
1091            /**
1092             * Returns the user remote service.
1093             *
1094             * @return the user remote service
1095             */
1096            public com.liferay.portal.kernel.service.UserService getUserService() {
1097                    return userService;
1098            }
1099    
1100            /**
1101             * Sets the user remote service.
1102             *
1103             * @param userService the user remote service
1104             */
1105            public void setUserService(
1106                    com.liferay.portal.kernel.service.UserService userService) {
1107                    this.userService = userService;
1108            }
1109    
1110            /**
1111             * Returns the user persistence.
1112             *
1113             * @return the user persistence
1114             */
1115            public UserPersistence getUserPersistence() {
1116                    return userPersistence;
1117            }
1118    
1119            /**
1120             * Sets the user persistence.
1121             *
1122             * @param userPersistence the user persistence
1123             */
1124            public void setUserPersistence(UserPersistence userPersistence) {
1125                    this.userPersistence = userPersistence;
1126            }
1127    
1128            /**
1129             * Returns the user finder.
1130             *
1131             * @return the user finder
1132             */
1133            public UserFinder getUserFinder() {
1134                    return userFinder;
1135            }
1136    
1137            /**
1138             * Sets the user finder.
1139             *
1140             * @param userFinder the user finder
1141             */
1142            public void setUserFinder(UserFinder userFinder) {
1143                    this.userFinder = userFinder;
1144            }
1145    
1146            /**
1147             * Returns the user group role local service.
1148             *
1149             * @return the user group role local service
1150             */
1151            public com.liferay.portal.kernel.service.UserGroupRoleLocalService getUserGroupRoleLocalService() {
1152                    return userGroupRoleLocalService;
1153            }
1154    
1155            /**
1156             * Sets the user group role local service.
1157             *
1158             * @param userGroupRoleLocalService the user group role local service
1159             */
1160            public void setUserGroupRoleLocalService(
1161                    com.liferay.portal.kernel.service.UserGroupRoleLocalService userGroupRoleLocalService) {
1162                    this.userGroupRoleLocalService = userGroupRoleLocalService;
1163            }
1164    
1165            /**
1166             * Returns the user group role remote service.
1167             *
1168             * @return the user group role remote service
1169             */
1170            public com.liferay.portal.kernel.service.UserGroupRoleService getUserGroupRoleService() {
1171                    return userGroupRoleService;
1172            }
1173    
1174            /**
1175             * Sets the user group role remote service.
1176             *
1177             * @param userGroupRoleService the user group role remote service
1178             */
1179            public void setUserGroupRoleService(
1180                    com.liferay.portal.kernel.service.UserGroupRoleService userGroupRoleService) {
1181                    this.userGroupRoleService = userGroupRoleService;
1182            }
1183    
1184            /**
1185             * Returns the user group role persistence.
1186             *
1187             * @return the user group role persistence
1188             */
1189            public UserGroupRolePersistence getUserGroupRolePersistence() {
1190                    return userGroupRolePersistence;
1191            }
1192    
1193            /**
1194             * Sets the user group role persistence.
1195             *
1196             * @param userGroupRolePersistence the user group role persistence
1197             */
1198            public void setUserGroupRolePersistence(
1199                    UserGroupRolePersistence userGroupRolePersistence) {
1200                    this.userGroupRolePersistence = userGroupRolePersistence;
1201            }
1202    
1203            /**
1204             * Returns the user group role finder.
1205             *
1206             * @return the user group role finder
1207             */
1208            public UserGroupRoleFinder getUserGroupRoleFinder() {
1209                    return userGroupRoleFinder;
1210            }
1211    
1212            /**
1213             * Sets the user group role finder.
1214             *
1215             * @param userGroupRoleFinder the user group role finder
1216             */
1217            public void setUserGroupRoleFinder(UserGroupRoleFinder userGroupRoleFinder) {
1218                    this.userGroupRoleFinder = userGroupRoleFinder;
1219            }
1220    
1221            /**
1222             * Returns the website local service.
1223             *
1224             * @return the website local service
1225             */
1226            public com.liferay.portal.kernel.service.WebsiteLocalService getWebsiteLocalService() {
1227                    return websiteLocalService;
1228            }
1229    
1230            /**
1231             * Sets the website local service.
1232             *
1233             * @param websiteLocalService the website local service
1234             */
1235            public void setWebsiteLocalService(
1236                    com.liferay.portal.kernel.service.WebsiteLocalService websiteLocalService) {
1237                    this.websiteLocalService = websiteLocalService;
1238            }
1239    
1240            /**
1241             * Returns the website remote service.
1242             *
1243             * @return the website remote service
1244             */
1245            public com.liferay.portal.kernel.service.WebsiteService getWebsiteService() {
1246                    return websiteService;
1247            }
1248    
1249            /**
1250             * Sets the website remote service.
1251             *
1252             * @param websiteService the website remote service
1253             */
1254            public void setWebsiteService(
1255                    com.liferay.portal.kernel.service.WebsiteService websiteService) {
1256                    this.websiteService = websiteService;
1257            }
1258    
1259            /**
1260             * Returns the website persistence.
1261             *
1262             * @return the website persistence
1263             */
1264            public WebsitePersistence getWebsitePersistence() {
1265                    return websitePersistence;
1266            }
1267    
1268            /**
1269             * Sets the website persistence.
1270             *
1271             * @param websitePersistence the website persistence
1272             */
1273            public void setWebsitePersistence(WebsitePersistence websitePersistence) {
1274                    this.websitePersistence = websitePersistence;
1275            }
1276    
1277            public void afterPropertiesSet() {
1278            }
1279    
1280            public void destroy() {
1281            }
1282    
1283            /**
1284             * Returns the OSGi service identifier.
1285             *
1286             * @return the OSGi service identifier
1287             */
1288            @Override
1289            public String getOSGiServiceIdentifier() {
1290                    return OrganizationService.class.getName();
1291            }
1292    
1293            protected Class<?> getModelClass() {
1294                    return Organization.class;
1295            }
1296    
1297            protected String getModelClassName() {
1298                    return Organization.class.getName();
1299            }
1300    
1301            /**
1302             * Performs a SQL query.
1303             *
1304             * @param sql the sql query
1305             */
1306            protected void runSQL(String sql) {
1307                    try {
1308                            DataSource dataSource = organizationPersistence.getDataSource();
1309    
1310                            DB db = DBManagerUtil.getDB();
1311    
1312                            sql = db.buildSQL(sql);
1313                            sql = PortalUtil.transformSQL(sql);
1314    
1315                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1316                                            sql, new int[0]);
1317    
1318                            sqlUpdate.update();
1319                    }
1320                    catch (Exception e) {
1321                            throw new SystemException(e);
1322                    }
1323            }
1324    
1325            @BeanReference(type = com.liferay.portal.kernel.service.OrganizationLocalService.class)
1326            protected com.liferay.portal.kernel.service.OrganizationLocalService organizationLocalService;
1327            @BeanReference(type = com.liferay.portal.kernel.service.OrganizationService.class)
1328            protected OrganizationService organizationService;
1329            @BeanReference(type = OrganizationPersistence.class)
1330            protected OrganizationPersistence organizationPersistence;
1331            @BeanReference(type = OrganizationFinder.class)
1332            protected OrganizationFinder organizationFinder;
1333            @BeanReference(type = com.liferay.counter.kernel.service.CounterLocalService.class)
1334            protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService;
1335            @BeanReference(type = com.liferay.portal.kernel.service.AddressLocalService.class)
1336            protected com.liferay.portal.kernel.service.AddressLocalService addressLocalService;
1337            @BeanReference(type = com.liferay.portal.kernel.service.AddressService.class)
1338            protected com.liferay.portal.kernel.service.AddressService addressService;
1339            @BeanReference(type = AddressPersistence.class)
1340            protected AddressPersistence addressPersistence;
1341            @BeanReference(type = com.liferay.portal.kernel.service.CompanyLocalService.class)
1342            protected com.liferay.portal.kernel.service.CompanyLocalService companyLocalService;
1343            @BeanReference(type = com.liferay.portal.kernel.service.CompanyService.class)
1344            protected com.liferay.portal.kernel.service.CompanyService companyService;
1345            @BeanReference(type = CompanyPersistence.class)
1346            protected CompanyPersistence companyPersistence;
1347            @BeanReference(type = com.liferay.portal.kernel.service.CountryService.class)
1348            protected com.liferay.portal.kernel.service.CountryService countryService;
1349            @BeanReference(type = CountryPersistence.class)
1350            protected CountryPersistence countryPersistence;
1351            @BeanReference(type = com.liferay.portal.kernel.service.EmailAddressLocalService.class)
1352            protected com.liferay.portal.kernel.service.EmailAddressLocalService emailAddressLocalService;
1353            @BeanReference(type = com.liferay.portal.kernel.service.EmailAddressService.class)
1354            protected com.liferay.portal.kernel.service.EmailAddressService emailAddressService;
1355            @BeanReference(type = EmailAddressPersistence.class)
1356            protected EmailAddressPersistence emailAddressPersistence;
1357            @BeanReference(type = com.liferay.portal.kernel.service.GroupLocalService.class)
1358            protected com.liferay.portal.kernel.service.GroupLocalService groupLocalService;
1359            @BeanReference(type = com.liferay.portal.kernel.service.GroupService.class)
1360            protected com.liferay.portal.kernel.service.GroupService groupService;
1361            @BeanReference(type = GroupPersistence.class)
1362            protected GroupPersistence groupPersistence;
1363            @BeanReference(type = GroupFinder.class)
1364            protected GroupFinder groupFinder;
1365            @BeanReference(type = com.liferay.portal.kernel.service.ListTypeLocalService.class)
1366            protected com.liferay.portal.kernel.service.ListTypeLocalService listTypeLocalService;
1367            @BeanReference(type = com.liferay.portal.kernel.service.ListTypeService.class)
1368            protected com.liferay.portal.kernel.service.ListTypeService listTypeService;
1369            @BeanReference(type = ListTypePersistence.class)
1370            protected ListTypePersistence listTypePersistence;
1371            @BeanReference(type = com.liferay.asset.kernel.service.AssetCategoryLocalService.class)
1372            protected com.liferay.asset.kernel.service.AssetCategoryLocalService assetCategoryLocalService;
1373            @BeanReference(type = com.liferay.asset.kernel.service.AssetCategoryService.class)
1374            protected com.liferay.asset.kernel.service.AssetCategoryService assetCategoryService;
1375            @BeanReference(type = AssetCategoryPersistence.class)
1376            protected AssetCategoryPersistence assetCategoryPersistence;
1377            @BeanReference(type = AssetCategoryFinder.class)
1378            protected AssetCategoryFinder assetCategoryFinder;
1379            @BeanReference(type = com.liferay.asset.kernel.service.AssetEntryLocalService.class)
1380            protected com.liferay.asset.kernel.service.AssetEntryLocalService assetEntryLocalService;
1381            @BeanReference(type = com.liferay.asset.kernel.service.AssetEntryService.class)
1382            protected com.liferay.asset.kernel.service.AssetEntryService assetEntryService;
1383            @BeanReference(type = AssetEntryPersistence.class)
1384            protected AssetEntryPersistence assetEntryPersistence;
1385            @BeanReference(type = AssetEntryFinder.class)
1386            protected AssetEntryFinder assetEntryFinder;
1387            @BeanReference(type = com.liferay.asset.kernel.service.AssetTagLocalService.class)
1388            protected com.liferay.asset.kernel.service.AssetTagLocalService assetTagLocalService;
1389            @BeanReference(type = com.liferay.asset.kernel.service.AssetTagService.class)
1390            protected com.liferay.asset.kernel.service.AssetTagService assetTagService;
1391            @BeanReference(type = AssetTagPersistence.class)
1392            protected AssetTagPersistence assetTagPersistence;
1393            @BeanReference(type = AssetTagFinder.class)
1394            protected AssetTagFinder assetTagFinder;
1395            @BeanReference(type = com.liferay.expando.kernel.service.ExpandoRowLocalService.class)
1396            protected com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService;
1397            @BeanReference(type = ExpandoRowPersistence.class)
1398            protected ExpandoRowPersistence expandoRowPersistence;
1399            @BeanReference(type = com.liferay.portal.kernel.service.PasswordPolicyLocalService.class)
1400            protected com.liferay.portal.kernel.service.PasswordPolicyLocalService passwordPolicyLocalService;
1401            @BeanReference(type = com.liferay.portal.kernel.service.PasswordPolicyService.class)
1402            protected com.liferay.portal.kernel.service.PasswordPolicyService passwordPolicyService;
1403            @BeanReference(type = PasswordPolicyPersistence.class)
1404            protected PasswordPolicyPersistence passwordPolicyPersistence;
1405            @BeanReference(type = PasswordPolicyFinder.class)
1406            protected PasswordPolicyFinder passwordPolicyFinder;
1407            @BeanReference(type = com.liferay.portal.kernel.service.PasswordPolicyRelLocalService.class)
1408            protected com.liferay.portal.kernel.service.PasswordPolicyRelLocalService passwordPolicyRelLocalService;
1409            @BeanReference(type = PasswordPolicyRelPersistence.class)
1410            protected PasswordPolicyRelPersistence passwordPolicyRelPersistence;
1411            @BeanReference(type = com.liferay.portal.kernel.service.PhoneLocalService.class)
1412            protected com.liferay.portal.kernel.service.PhoneLocalService phoneLocalService;
1413            @BeanReference(type = com.liferay.portal.kernel.service.PhoneService.class)
1414            protected com.liferay.portal.kernel.service.PhoneService phoneService;
1415            @BeanReference(type = PhonePersistence.class)
1416            protected PhonePersistence phonePersistence;
1417            @BeanReference(type = com.liferay.portal.kernel.service.RegionService.class)
1418            protected com.liferay.portal.kernel.service.RegionService regionService;
1419            @BeanReference(type = RegionPersistence.class)
1420            protected RegionPersistence regionPersistence;
1421            @BeanReference(type = com.liferay.portal.kernel.service.ResourceLocalService.class)
1422            protected com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService;
1423            @BeanReference(type = com.liferay.portal.kernel.service.RoleLocalService.class)
1424            protected com.liferay.portal.kernel.service.RoleLocalService roleLocalService;
1425            @BeanReference(type = com.liferay.portal.kernel.service.RoleService.class)
1426            protected com.liferay.portal.kernel.service.RoleService roleService;
1427            @BeanReference(type = RolePersistence.class)
1428            protected RolePersistence rolePersistence;
1429            @BeanReference(type = RoleFinder.class)
1430            protected RoleFinder roleFinder;
1431            @BeanReference(type = com.liferay.portal.kernel.service.UserLocalService.class)
1432            protected com.liferay.portal.kernel.service.UserLocalService userLocalService;
1433            @BeanReference(type = com.liferay.portal.kernel.service.UserService.class)
1434            protected com.liferay.portal.kernel.service.UserService userService;
1435            @BeanReference(type = UserPersistence.class)
1436            protected UserPersistence userPersistence;
1437            @BeanReference(type = UserFinder.class)
1438            protected UserFinder userFinder;
1439            @BeanReference(type = com.liferay.portal.kernel.service.UserGroupRoleLocalService.class)
1440            protected com.liferay.portal.kernel.service.UserGroupRoleLocalService userGroupRoleLocalService;
1441            @BeanReference(type = com.liferay.portal.kernel.service.UserGroupRoleService.class)
1442            protected com.liferay.portal.kernel.service.UserGroupRoleService userGroupRoleService;
1443            @BeanReference(type = UserGroupRolePersistence.class)
1444            protected UserGroupRolePersistence userGroupRolePersistence;
1445            @BeanReference(type = UserGroupRoleFinder.class)
1446            protected UserGroupRoleFinder userGroupRoleFinder;
1447            @BeanReference(type = com.liferay.portal.kernel.service.WebsiteLocalService.class)
1448            protected com.liferay.portal.kernel.service.WebsiteLocalService websiteLocalService;
1449            @BeanReference(type = com.liferay.portal.kernel.service.WebsiteService.class)
1450            protected com.liferay.portal.kernel.service.WebsiteService websiteService;
1451            @BeanReference(type = WebsitePersistence.class)
1452            protected WebsitePersistence websitePersistence;
1453    }