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.portlet.dynamicdatamapping.service.base;
016    
017    import com.liferay.portal.kernel.bean.BeanReference;
018    import com.liferay.portal.kernel.bean.IdentifiableBean;
019    import com.liferay.portal.kernel.dao.db.DB;
020    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023    import com.liferay.portal.kernel.exception.SystemException;
024    import com.liferay.portal.service.BaseServiceImpl;
025    import com.liferay.portal.service.persistence.ClassNamePersistence;
026    import com.liferay.portal.service.persistence.GroupFinder;
027    import com.liferay.portal.service.persistence.GroupPersistence;
028    import com.liferay.portal.service.persistence.SystemEventPersistence;
029    import com.liferay.portal.service.persistence.UserFinder;
030    import com.liferay.portal.service.persistence.UserPersistence;
031    import com.liferay.portal.util.PortalUtil;
032    
033    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
034    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
035    import com.liferay.portlet.dynamicdatamapping.model.DDMStructure;
036    import com.liferay.portlet.dynamicdatamapping.service.DDMStructureService;
037    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
038    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence;
039    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
040    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureVersionPersistence;
041    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplateFinder;
042    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence;
043    import com.liferay.portlet.journal.service.persistence.JournalFolderFinder;
044    import com.liferay.portlet.journal.service.persistence.JournalFolderPersistence;
045    
046    import javax.sql.DataSource;
047    
048    /**
049     * Provides the base implementation for the d d m structure remote service.
050     *
051     * <p>
052     * 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.portlet.dynamicdatamapping.service.impl.DDMStructureServiceImpl}.
053     * </p>
054     *
055     * @author Brian Wing Shun Chan
056     * @see com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureServiceImpl
057     * @see com.liferay.portlet.dynamicdatamapping.service.DDMStructureServiceUtil
058     * @generated
059     */
060    public abstract class DDMStructureServiceBaseImpl extends BaseServiceImpl
061            implements DDMStructureService, IdentifiableBean {
062            /*
063             * NOTE FOR DEVELOPERS:
064             *
065             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.dynamicdatamapping.service.DDMStructureServiceUtil} to access the d d m structure remote service.
066             */
067    
068            /**
069             * Returns the d d m structure local service.
070             *
071             * @return the d d m structure local service
072             */
073            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService getDDMStructureLocalService() {
074                    return ddmStructureLocalService;
075            }
076    
077            /**
078             * Sets the d d m structure local service.
079             *
080             * @param ddmStructureLocalService the d d m structure local service
081             */
082            public void setDDMStructureLocalService(
083                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService) {
084                    this.ddmStructureLocalService = ddmStructureLocalService;
085            }
086    
087            /**
088             * Returns the d d m structure remote service.
089             *
090             * @return the d d m structure remote service
091             */
092            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureService getDDMStructureService() {
093                    return ddmStructureService;
094            }
095    
096            /**
097             * Sets the d d m structure remote service.
098             *
099             * @param ddmStructureService the d d m structure remote service
100             */
101            public void setDDMStructureService(
102                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService) {
103                    this.ddmStructureService = ddmStructureService;
104            }
105    
106            /**
107             * Returns the d d m structure persistence.
108             *
109             * @return the d d m structure persistence
110             */
111            public DDMStructurePersistence getDDMStructurePersistence() {
112                    return ddmStructurePersistence;
113            }
114    
115            /**
116             * Sets the d d m structure persistence.
117             *
118             * @param ddmStructurePersistence the d d m structure persistence
119             */
120            public void setDDMStructurePersistence(
121                    DDMStructurePersistence ddmStructurePersistence) {
122                    this.ddmStructurePersistence = ddmStructurePersistence;
123            }
124    
125            /**
126             * Returns the d d m structure finder.
127             *
128             * @return the d d m structure finder
129             */
130            public DDMStructureFinder getDDMStructureFinder() {
131                    return ddmStructureFinder;
132            }
133    
134            /**
135             * Sets the d d m structure finder.
136             *
137             * @param ddmStructureFinder the d d m structure finder
138             */
139            public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
140                    this.ddmStructureFinder = ddmStructureFinder;
141            }
142    
143            /**
144             * Returns the counter local service.
145             *
146             * @return the counter local service
147             */
148            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
149                    return counterLocalService;
150            }
151    
152            /**
153             * Sets the counter local service.
154             *
155             * @param counterLocalService the counter local service
156             */
157            public void setCounterLocalService(
158                    com.liferay.counter.service.CounterLocalService counterLocalService) {
159                    this.counterLocalService = counterLocalService;
160            }
161    
162            /**
163             * Returns the class name local service.
164             *
165             * @return the class name local service
166             */
167            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
168                    return classNameLocalService;
169            }
170    
171            /**
172             * Sets the class name local service.
173             *
174             * @param classNameLocalService the class name local service
175             */
176            public void setClassNameLocalService(
177                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
178                    this.classNameLocalService = classNameLocalService;
179            }
180    
181            /**
182             * Returns the class name remote service.
183             *
184             * @return the class name remote service
185             */
186            public com.liferay.portal.service.ClassNameService getClassNameService() {
187                    return classNameService;
188            }
189    
190            /**
191             * Sets the class name remote service.
192             *
193             * @param classNameService the class name remote service
194             */
195            public void setClassNameService(
196                    com.liferay.portal.service.ClassNameService classNameService) {
197                    this.classNameService = classNameService;
198            }
199    
200            /**
201             * Returns the class name persistence.
202             *
203             * @return the class name persistence
204             */
205            public ClassNamePersistence getClassNamePersistence() {
206                    return classNamePersistence;
207            }
208    
209            /**
210             * Sets the class name persistence.
211             *
212             * @param classNamePersistence the class name persistence
213             */
214            public void setClassNamePersistence(
215                    ClassNamePersistence classNamePersistence) {
216                    this.classNamePersistence = classNamePersistence;
217            }
218    
219            /**
220             * Returns the group local service.
221             *
222             * @return the group local service
223             */
224            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
225                    return groupLocalService;
226            }
227    
228            /**
229             * Sets the group local service.
230             *
231             * @param groupLocalService the group local service
232             */
233            public void setGroupLocalService(
234                    com.liferay.portal.service.GroupLocalService groupLocalService) {
235                    this.groupLocalService = groupLocalService;
236            }
237    
238            /**
239             * Returns the group remote service.
240             *
241             * @return the group remote service
242             */
243            public com.liferay.portal.service.GroupService getGroupService() {
244                    return groupService;
245            }
246    
247            /**
248             * Sets the group remote service.
249             *
250             * @param groupService the group remote service
251             */
252            public void setGroupService(
253                    com.liferay.portal.service.GroupService groupService) {
254                    this.groupService = groupService;
255            }
256    
257            /**
258             * Returns the group persistence.
259             *
260             * @return the group persistence
261             */
262            public GroupPersistence getGroupPersistence() {
263                    return groupPersistence;
264            }
265    
266            /**
267             * Sets the group persistence.
268             *
269             * @param groupPersistence the group persistence
270             */
271            public void setGroupPersistence(GroupPersistence groupPersistence) {
272                    this.groupPersistence = groupPersistence;
273            }
274    
275            /**
276             * Returns the group finder.
277             *
278             * @return the group finder
279             */
280            public GroupFinder getGroupFinder() {
281                    return groupFinder;
282            }
283    
284            /**
285             * Sets the group finder.
286             *
287             * @param groupFinder the group finder
288             */
289            public void setGroupFinder(GroupFinder groupFinder) {
290                    this.groupFinder = groupFinder;
291            }
292    
293            /**
294             * Returns the resource local service.
295             *
296             * @return the resource local service
297             */
298            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
299                    return resourceLocalService;
300            }
301    
302            /**
303             * Sets the resource local service.
304             *
305             * @param resourceLocalService the resource local service
306             */
307            public void setResourceLocalService(
308                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
309                    this.resourceLocalService = resourceLocalService;
310            }
311    
312            /**
313             * Returns the system event local service.
314             *
315             * @return the system event local service
316             */
317            public com.liferay.portal.service.SystemEventLocalService getSystemEventLocalService() {
318                    return systemEventLocalService;
319            }
320    
321            /**
322             * Sets the system event local service.
323             *
324             * @param systemEventLocalService the system event local service
325             */
326            public void setSystemEventLocalService(
327                    com.liferay.portal.service.SystemEventLocalService systemEventLocalService) {
328                    this.systemEventLocalService = systemEventLocalService;
329            }
330    
331            /**
332             * Returns the system event persistence.
333             *
334             * @return the system event persistence
335             */
336            public SystemEventPersistence getSystemEventPersistence() {
337                    return systemEventPersistence;
338            }
339    
340            /**
341             * Sets the system event persistence.
342             *
343             * @param systemEventPersistence the system event persistence
344             */
345            public void setSystemEventPersistence(
346                    SystemEventPersistence systemEventPersistence) {
347                    this.systemEventPersistence = systemEventPersistence;
348            }
349    
350            /**
351             * Returns the user local service.
352             *
353             * @return the user local service
354             */
355            public com.liferay.portal.service.UserLocalService getUserLocalService() {
356                    return userLocalService;
357            }
358    
359            /**
360             * Sets the user local service.
361             *
362             * @param userLocalService the user local service
363             */
364            public void setUserLocalService(
365                    com.liferay.portal.service.UserLocalService userLocalService) {
366                    this.userLocalService = userLocalService;
367            }
368    
369            /**
370             * Returns the user remote service.
371             *
372             * @return the user remote service
373             */
374            public com.liferay.portal.service.UserService getUserService() {
375                    return userService;
376            }
377    
378            /**
379             * Sets the user remote service.
380             *
381             * @param userService the user remote service
382             */
383            public void setUserService(
384                    com.liferay.portal.service.UserService userService) {
385                    this.userService = userService;
386            }
387    
388            /**
389             * Returns the user persistence.
390             *
391             * @return the user persistence
392             */
393            public UserPersistence getUserPersistence() {
394                    return userPersistence;
395            }
396    
397            /**
398             * Sets the user persistence.
399             *
400             * @param userPersistence the user persistence
401             */
402            public void setUserPersistence(UserPersistence userPersistence) {
403                    this.userPersistence = userPersistence;
404            }
405    
406            /**
407             * Returns the user finder.
408             *
409             * @return the user finder
410             */
411            public UserFinder getUserFinder() {
412                    return userFinder;
413            }
414    
415            /**
416             * Sets the user finder.
417             *
418             * @param userFinder the user finder
419             */
420            public void setUserFinder(UserFinder userFinder) {
421                    this.userFinder = userFinder;
422            }
423    
424            /**
425             * Returns the document library file entry type local service.
426             *
427             * @return the document library file entry type local service
428             */
429            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
430                    return dlFileEntryTypeLocalService;
431            }
432    
433            /**
434             * Sets the document library file entry type local service.
435             *
436             * @param dlFileEntryTypeLocalService the document library file entry type local service
437             */
438            public void setDLFileEntryTypeLocalService(
439                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
440                    this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
441            }
442    
443            /**
444             * Returns the document library file entry type remote service.
445             *
446             * @return the document library file entry type remote service
447             */
448            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService getDLFileEntryTypeService() {
449                    return dlFileEntryTypeService;
450            }
451    
452            /**
453             * Sets the document library file entry type remote service.
454             *
455             * @param dlFileEntryTypeService the document library file entry type remote service
456             */
457            public void setDLFileEntryTypeService(
458                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService) {
459                    this.dlFileEntryTypeService = dlFileEntryTypeService;
460            }
461    
462            /**
463             * Returns the document library file entry type persistence.
464             *
465             * @return the document library file entry type persistence
466             */
467            public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
468                    return dlFileEntryTypePersistence;
469            }
470    
471            /**
472             * Sets the document library file entry type persistence.
473             *
474             * @param dlFileEntryTypePersistence the document library file entry type persistence
475             */
476            public void setDLFileEntryTypePersistence(
477                    DLFileEntryTypePersistence dlFileEntryTypePersistence) {
478                    this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
479            }
480    
481            /**
482             * Returns the document library file entry type finder.
483             *
484             * @return the document library file entry type finder
485             */
486            public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
487                    return dlFileEntryTypeFinder;
488            }
489    
490            /**
491             * Sets the document library file entry type finder.
492             *
493             * @param dlFileEntryTypeFinder the document library file entry type finder
494             */
495            public void setDLFileEntryTypeFinder(
496                    DLFileEntryTypeFinder dlFileEntryTypeFinder) {
497                    this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
498            }
499    
500            /**
501             * Returns the journal folder local service.
502             *
503             * @return the journal folder local service
504             */
505            public com.liferay.portlet.journal.service.JournalFolderLocalService getJournalFolderLocalService() {
506                    return journalFolderLocalService;
507            }
508    
509            /**
510             * Sets the journal folder local service.
511             *
512             * @param journalFolderLocalService the journal folder local service
513             */
514            public void setJournalFolderLocalService(
515                    com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService) {
516                    this.journalFolderLocalService = journalFolderLocalService;
517            }
518    
519            /**
520             * Returns the journal folder remote service.
521             *
522             * @return the journal folder remote service
523             */
524            public com.liferay.portlet.journal.service.JournalFolderService getJournalFolderService() {
525                    return journalFolderService;
526            }
527    
528            /**
529             * Sets the journal folder remote service.
530             *
531             * @param journalFolderService the journal folder remote service
532             */
533            public void setJournalFolderService(
534                    com.liferay.portlet.journal.service.JournalFolderService journalFolderService) {
535                    this.journalFolderService = journalFolderService;
536            }
537    
538            /**
539             * Returns the journal folder persistence.
540             *
541             * @return the journal folder persistence
542             */
543            public JournalFolderPersistence getJournalFolderPersistence() {
544                    return journalFolderPersistence;
545            }
546    
547            /**
548             * Sets the journal folder persistence.
549             *
550             * @param journalFolderPersistence the journal folder persistence
551             */
552            public void setJournalFolderPersistence(
553                    JournalFolderPersistence journalFolderPersistence) {
554                    this.journalFolderPersistence = journalFolderPersistence;
555            }
556    
557            /**
558             * Returns the journal folder finder.
559             *
560             * @return the journal folder finder
561             */
562            public JournalFolderFinder getJournalFolderFinder() {
563                    return journalFolderFinder;
564            }
565    
566            /**
567             * Sets the journal folder finder.
568             *
569             * @param journalFolderFinder the journal folder finder
570             */
571            public void setJournalFolderFinder(JournalFolderFinder journalFolderFinder) {
572                    this.journalFolderFinder = journalFolderFinder;
573            }
574    
575            /**
576             * Returns the d d m structure link local service.
577             *
578             * @return the d d m structure link local service
579             */
580            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService getDDMStructureLinkLocalService() {
581                    return ddmStructureLinkLocalService;
582            }
583    
584            /**
585             * Sets the d d m structure link local service.
586             *
587             * @param ddmStructureLinkLocalService the d d m structure link local service
588             */
589            public void setDDMStructureLinkLocalService(
590                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService ddmStructureLinkLocalService) {
591                    this.ddmStructureLinkLocalService = ddmStructureLinkLocalService;
592            }
593    
594            /**
595             * Returns the d d m structure link persistence.
596             *
597             * @return the d d m structure link persistence
598             */
599            public DDMStructureLinkPersistence getDDMStructureLinkPersistence() {
600                    return ddmStructureLinkPersistence;
601            }
602    
603            /**
604             * Sets the d d m structure link persistence.
605             *
606             * @param ddmStructureLinkPersistence the d d m structure link persistence
607             */
608            public void setDDMStructureLinkPersistence(
609                    DDMStructureLinkPersistence ddmStructureLinkPersistence) {
610                    this.ddmStructureLinkPersistence = ddmStructureLinkPersistence;
611            }
612    
613            /**
614             * Returns the d d m structure version local service.
615             *
616             * @return the d d m structure version local service
617             */
618            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureVersionLocalService getDDMStructureVersionLocalService() {
619                    return ddmStructureVersionLocalService;
620            }
621    
622            /**
623             * Sets the d d m structure version local service.
624             *
625             * @param ddmStructureVersionLocalService the d d m structure version local service
626             */
627            public void setDDMStructureVersionLocalService(
628                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureVersionLocalService ddmStructureVersionLocalService) {
629                    this.ddmStructureVersionLocalService = ddmStructureVersionLocalService;
630            }
631    
632            /**
633             * Returns the d d m structure version remote service.
634             *
635             * @return the d d m structure version remote service
636             */
637            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureVersionService getDDMStructureVersionService() {
638                    return ddmStructureVersionService;
639            }
640    
641            /**
642             * Sets the d d m structure version remote service.
643             *
644             * @param ddmStructureVersionService the d d m structure version remote service
645             */
646            public void setDDMStructureVersionService(
647                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureVersionService ddmStructureVersionService) {
648                    this.ddmStructureVersionService = ddmStructureVersionService;
649            }
650    
651            /**
652             * Returns the d d m structure version persistence.
653             *
654             * @return the d d m structure version persistence
655             */
656            public DDMStructureVersionPersistence getDDMStructureVersionPersistence() {
657                    return ddmStructureVersionPersistence;
658            }
659    
660            /**
661             * Sets the d d m structure version persistence.
662             *
663             * @param ddmStructureVersionPersistence the d d m structure version persistence
664             */
665            public void setDDMStructureVersionPersistence(
666                    DDMStructureVersionPersistence ddmStructureVersionPersistence) {
667                    this.ddmStructureVersionPersistence = ddmStructureVersionPersistence;
668            }
669    
670            /**
671             * Returns the d d m template local service.
672             *
673             * @return the d d m template local service
674             */
675            public com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService getDDMTemplateLocalService() {
676                    return ddmTemplateLocalService;
677            }
678    
679            /**
680             * Sets the d d m template local service.
681             *
682             * @param ddmTemplateLocalService the d d m template local service
683             */
684            public void setDDMTemplateLocalService(
685                    com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService ddmTemplateLocalService) {
686                    this.ddmTemplateLocalService = ddmTemplateLocalService;
687            }
688    
689            /**
690             * Returns the d d m template remote service.
691             *
692             * @return the d d m template remote service
693             */
694            public com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService getDDMTemplateService() {
695                    return ddmTemplateService;
696            }
697    
698            /**
699             * Sets the d d m template remote service.
700             *
701             * @param ddmTemplateService the d d m template remote service
702             */
703            public void setDDMTemplateService(
704                    com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService ddmTemplateService) {
705                    this.ddmTemplateService = ddmTemplateService;
706            }
707    
708            /**
709             * Returns the d d m template persistence.
710             *
711             * @return the d d m template persistence
712             */
713            public DDMTemplatePersistence getDDMTemplatePersistence() {
714                    return ddmTemplatePersistence;
715            }
716    
717            /**
718             * Sets the d d m template persistence.
719             *
720             * @param ddmTemplatePersistence the d d m template persistence
721             */
722            public void setDDMTemplatePersistence(
723                    DDMTemplatePersistence ddmTemplatePersistence) {
724                    this.ddmTemplatePersistence = ddmTemplatePersistence;
725            }
726    
727            /**
728             * Returns the d d m template finder.
729             *
730             * @return the d d m template finder
731             */
732            public DDMTemplateFinder getDDMTemplateFinder() {
733                    return ddmTemplateFinder;
734            }
735    
736            /**
737             * Sets the d d m template finder.
738             *
739             * @param ddmTemplateFinder the d d m template finder
740             */
741            public void setDDMTemplateFinder(DDMTemplateFinder ddmTemplateFinder) {
742                    this.ddmTemplateFinder = ddmTemplateFinder;
743            }
744    
745            public void afterPropertiesSet() {
746            }
747    
748            public void destroy() {
749            }
750    
751            /**
752             * Returns the Spring bean ID for this bean.
753             *
754             * @return the Spring bean ID for this bean
755             */
756            @Override
757            public String getBeanIdentifier() {
758                    return _beanIdentifier;
759            }
760    
761            /**
762             * Sets the Spring bean ID for this bean.
763             *
764             * @param beanIdentifier the Spring bean ID for this bean
765             */
766            @Override
767            public void setBeanIdentifier(String beanIdentifier) {
768                    _beanIdentifier = beanIdentifier;
769            }
770    
771            protected Class<?> getModelClass() {
772                    return DDMStructure.class;
773            }
774    
775            protected String getModelClassName() {
776                    return DDMStructure.class.getName();
777            }
778    
779            /**
780             * Performs a SQL query.
781             *
782             * @param sql the sql query
783             */
784            protected void runSQL(String sql) {
785                    try {
786                            DataSource dataSource = ddmStructurePersistence.getDataSource();
787    
788                            DB db = DBFactoryUtil.getDB();
789    
790                            sql = db.buildSQL(sql);
791                            sql = PortalUtil.transformSQL(sql);
792    
793                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
794                                            sql, new int[0]);
795    
796                            sqlUpdate.update();
797                    }
798                    catch (Exception e) {
799                            throw new SystemException(e);
800                    }
801            }
802    
803            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService.class)
804            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService;
805            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureService.class)
806            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService;
807            @BeanReference(type = DDMStructurePersistence.class)
808            protected DDMStructurePersistence ddmStructurePersistence;
809            @BeanReference(type = DDMStructureFinder.class)
810            protected DDMStructureFinder ddmStructureFinder;
811            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
812            protected com.liferay.counter.service.CounterLocalService counterLocalService;
813            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
814            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
815            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
816            protected com.liferay.portal.service.ClassNameService classNameService;
817            @BeanReference(type = ClassNamePersistence.class)
818            protected ClassNamePersistence classNamePersistence;
819            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
820            protected com.liferay.portal.service.GroupLocalService groupLocalService;
821            @BeanReference(type = com.liferay.portal.service.GroupService.class)
822            protected com.liferay.portal.service.GroupService groupService;
823            @BeanReference(type = GroupPersistence.class)
824            protected GroupPersistence groupPersistence;
825            @BeanReference(type = GroupFinder.class)
826            protected GroupFinder groupFinder;
827            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
828            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
829            @BeanReference(type = com.liferay.portal.service.SystemEventLocalService.class)
830            protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService;
831            @BeanReference(type = SystemEventPersistence.class)
832            protected SystemEventPersistence systemEventPersistence;
833            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
834            protected com.liferay.portal.service.UserLocalService userLocalService;
835            @BeanReference(type = com.liferay.portal.service.UserService.class)
836            protected com.liferay.portal.service.UserService userService;
837            @BeanReference(type = UserPersistence.class)
838            protected UserPersistence userPersistence;
839            @BeanReference(type = UserFinder.class)
840            protected UserFinder userFinder;
841            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService.class)
842            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
843            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService.class)
844            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService;
845            @BeanReference(type = DLFileEntryTypePersistence.class)
846            protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
847            @BeanReference(type = DLFileEntryTypeFinder.class)
848            protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
849            @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderLocalService.class)
850            protected com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService;
851            @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderService.class)
852            protected com.liferay.portlet.journal.service.JournalFolderService journalFolderService;
853            @BeanReference(type = JournalFolderPersistence.class)
854            protected JournalFolderPersistence journalFolderPersistence;
855            @BeanReference(type = JournalFolderFinder.class)
856            protected JournalFolderFinder journalFolderFinder;
857            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService.class)
858            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService ddmStructureLinkLocalService;
859            @BeanReference(type = DDMStructureLinkPersistence.class)
860            protected DDMStructureLinkPersistence ddmStructureLinkPersistence;
861            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureVersionLocalService.class)
862            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureVersionLocalService ddmStructureVersionLocalService;
863            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureVersionService.class)
864            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureVersionService ddmStructureVersionService;
865            @BeanReference(type = DDMStructureVersionPersistence.class)
866            protected DDMStructureVersionPersistence ddmStructureVersionPersistence;
867            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService.class)
868            protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService ddmTemplateLocalService;
869            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService.class)
870            protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService ddmTemplateService;
871            @BeanReference(type = DDMTemplatePersistence.class)
872            protected DDMTemplatePersistence ddmTemplatePersistence;
873            @BeanReference(type = DDMTemplateFinder.class)
874            protected DDMTemplateFinder ddmTemplateFinder;
875            private String _beanIdentifier;
876    }