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.portal.kernel.bean.BeanReference;
018    import com.liferay.portal.kernel.dao.db.DB;
019    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
020    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
022    import com.liferay.portal.kernel.exception.SystemException;
023    import com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService;
024    import com.liferay.portal.model.LayoutRevision;
025    import com.liferay.portal.service.BaseServiceImpl;
026    import com.liferay.portal.service.LayoutRevisionService;
027    import com.liferay.portal.service.persistence.ImagePersistence;
028    import com.liferay.portal.service.persistence.LayoutBranchPersistence;
029    import com.liferay.portal.service.persistence.LayoutFinder;
030    import com.liferay.portal.service.persistence.LayoutPersistence;
031    import com.liferay.portal.service.persistence.LayoutRevisionPersistence;
032    import com.liferay.portal.service.persistence.LayoutSetBranchPersistence;
033    import com.liferay.portal.service.persistence.LayoutSetPersistence;
034    import com.liferay.portal.service.persistence.PortletPreferencesFinder;
035    import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
036    import com.liferay.portal.service.persistence.UserFinder;
037    import com.liferay.portal.service.persistence.UserPersistence;
038    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
039    import com.liferay.portal.util.PortalUtil;
040    
041    import javax.sql.DataSource;
042    
043    /**
044     * Provides the base implementation for the layout revision remote service.
045     *
046     * <p>
047     * 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.LayoutRevisionServiceImpl}.
048     * </p>
049     *
050     * @author Brian Wing Shun Chan
051     * @see com.liferay.portal.service.impl.LayoutRevisionServiceImpl
052     * @see com.liferay.portal.service.LayoutRevisionServiceUtil
053     * @generated
054     */
055    public abstract class LayoutRevisionServiceBaseImpl extends BaseServiceImpl
056            implements LayoutRevisionService, IdentifiableOSGiService {
057            /*
058             * NOTE FOR DEVELOPERS:
059             *
060             * Never modify or reference this class directly. Always use {@link com.liferay.portal.service.LayoutRevisionServiceUtil} to access the layout revision remote service.
061             */
062    
063            /**
064             * Returns the layout revision local service.
065             *
066             * @return the layout revision local service
067             */
068            public com.liferay.portal.service.LayoutRevisionLocalService getLayoutRevisionLocalService() {
069                    return layoutRevisionLocalService;
070            }
071    
072            /**
073             * Sets the layout revision local service.
074             *
075             * @param layoutRevisionLocalService the layout revision local service
076             */
077            public void setLayoutRevisionLocalService(
078                    com.liferay.portal.service.LayoutRevisionLocalService layoutRevisionLocalService) {
079                    this.layoutRevisionLocalService = layoutRevisionLocalService;
080            }
081    
082            /**
083             * Returns the layout revision remote service.
084             *
085             * @return the layout revision remote service
086             */
087            public LayoutRevisionService getLayoutRevisionService() {
088                    return layoutRevisionService;
089            }
090    
091            /**
092             * Sets the layout revision remote service.
093             *
094             * @param layoutRevisionService the layout revision remote service
095             */
096            public void setLayoutRevisionService(
097                    LayoutRevisionService layoutRevisionService) {
098                    this.layoutRevisionService = layoutRevisionService;
099            }
100    
101            /**
102             * Returns the layout revision persistence.
103             *
104             * @return the layout revision persistence
105             */
106            public LayoutRevisionPersistence getLayoutRevisionPersistence() {
107                    return layoutRevisionPersistence;
108            }
109    
110            /**
111             * Sets the layout revision persistence.
112             *
113             * @param layoutRevisionPersistence the layout revision persistence
114             */
115            public void setLayoutRevisionPersistence(
116                    LayoutRevisionPersistence layoutRevisionPersistence) {
117                    this.layoutRevisionPersistence = layoutRevisionPersistence;
118            }
119    
120            /**
121             * Returns the counter local service.
122             *
123             * @return the counter local service
124             */
125            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
126                    return counterLocalService;
127            }
128    
129            /**
130             * Sets the counter local service.
131             *
132             * @param counterLocalService the counter local service
133             */
134            public void setCounterLocalService(
135                    com.liferay.counter.service.CounterLocalService counterLocalService) {
136                    this.counterLocalService = counterLocalService;
137            }
138    
139            /**
140             * Returns the image local service.
141             *
142             * @return the image local service
143             */
144            public com.liferay.portal.service.ImageLocalService getImageLocalService() {
145                    return imageLocalService;
146            }
147    
148            /**
149             * Sets the image local service.
150             *
151             * @param imageLocalService the image local service
152             */
153            public void setImageLocalService(
154                    com.liferay.portal.service.ImageLocalService imageLocalService) {
155                    this.imageLocalService = imageLocalService;
156            }
157    
158            /**
159             * Returns the image remote service.
160             *
161             * @return the image remote service
162             */
163            public com.liferay.portal.service.ImageService getImageService() {
164                    return imageService;
165            }
166    
167            /**
168             * Sets the image remote service.
169             *
170             * @param imageService the image remote service
171             */
172            public void setImageService(
173                    com.liferay.portal.service.ImageService imageService) {
174                    this.imageService = imageService;
175            }
176    
177            /**
178             * Returns the image persistence.
179             *
180             * @return the image persistence
181             */
182            public ImagePersistence getImagePersistence() {
183                    return imagePersistence;
184            }
185    
186            /**
187             * Sets the image persistence.
188             *
189             * @param imagePersistence the image persistence
190             */
191            public void setImagePersistence(ImagePersistence imagePersistence) {
192                    this.imagePersistence = imagePersistence;
193            }
194    
195            /**
196             * Returns the layout local service.
197             *
198             * @return the layout local service
199             */
200            public com.liferay.portal.service.LayoutLocalService getLayoutLocalService() {
201                    return layoutLocalService;
202            }
203    
204            /**
205             * Sets the layout local service.
206             *
207             * @param layoutLocalService the layout local service
208             */
209            public void setLayoutLocalService(
210                    com.liferay.portal.service.LayoutLocalService layoutLocalService) {
211                    this.layoutLocalService = layoutLocalService;
212            }
213    
214            /**
215             * Returns the layout remote service.
216             *
217             * @return the layout remote service
218             */
219            public com.liferay.portal.service.LayoutService getLayoutService() {
220                    return layoutService;
221            }
222    
223            /**
224             * Sets the layout remote service.
225             *
226             * @param layoutService the layout remote service
227             */
228            public void setLayoutService(
229                    com.liferay.portal.service.LayoutService layoutService) {
230                    this.layoutService = layoutService;
231            }
232    
233            /**
234             * Returns the layout persistence.
235             *
236             * @return the layout persistence
237             */
238            public LayoutPersistence getLayoutPersistence() {
239                    return layoutPersistence;
240            }
241    
242            /**
243             * Sets the layout persistence.
244             *
245             * @param layoutPersistence the layout persistence
246             */
247            public void setLayoutPersistence(LayoutPersistence layoutPersistence) {
248                    this.layoutPersistence = layoutPersistence;
249            }
250    
251            /**
252             * Returns the layout finder.
253             *
254             * @return the layout finder
255             */
256            public LayoutFinder getLayoutFinder() {
257                    return layoutFinder;
258            }
259    
260            /**
261             * Sets the layout finder.
262             *
263             * @param layoutFinder the layout finder
264             */
265            public void setLayoutFinder(LayoutFinder layoutFinder) {
266                    this.layoutFinder = layoutFinder;
267            }
268    
269            /**
270             * Returns the layout branch local service.
271             *
272             * @return the layout branch local service
273             */
274            public com.liferay.portal.service.LayoutBranchLocalService getLayoutBranchLocalService() {
275                    return layoutBranchLocalService;
276            }
277    
278            /**
279             * Sets the layout branch local service.
280             *
281             * @param layoutBranchLocalService the layout branch local service
282             */
283            public void setLayoutBranchLocalService(
284                    com.liferay.portal.service.LayoutBranchLocalService layoutBranchLocalService) {
285                    this.layoutBranchLocalService = layoutBranchLocalService;
286            }
287    
288            /**
289             * Returns the layout branch remote service.
290             *
291             * @return the layout branch remote service
292             */
293            public com.liferay.portal.service.LayoutBranchService getLayoutBranchService() {
294                    return layoutBranchService;
295            }
296    
297            /**
298             * Sets the layout branch remote service.
299             *
300             * @param layoutBranchService the layout branch remote service
301             */
302            public void setLayoutBranchService(
303                    com.liferay.portal.service.LayoutBranchService layoutBranchService) {
304                    this.layoutBranchService = layoutBranchService;
305            }
306    
307            /**
308             * Returns the layout branch persistence.
309             *
310             * @return the layout branch persistence
311             */
312            public LayoutBranchPersistence getLayoutBranchPersistence() {
313                    return layoutBranchPersistence;
314            }
315    
316            /**
317             * Sets the layout branch persistence.
318             *
319             * @param layoutBranchPersistence the layout branch persistence
320             */
321            public void setLayoutBranchPersistence(
322                    LayoutBranchPersistence layoutBranchPersistence) {
323                    this.layoutBranchPersistence = layoutBranchPersistence;
324            }
325    
326            /**
327             * Returns the layout set local service.
328             *
329             * @return the layout set local service
330             */
331            public com.liferay.portal.service.LayoutSetLocalService getLayoutSetLocalService() {
332                    return layoutSetLocalService;
333            }
334    
335            /**
336             * Sets the layout set local service.
337             *
338             * @param layoutSetLocalService the layout set local service
339             */
340            public void setLayoutSetLocalService(
341                    com.liferay.portal.service.LayoutSetLocalService layoutSetLocalService) {
342                    this.layoutSetLocalService = layoutSetLocalService;
343            }
344    
345            /**
346             * Returns the layout set remote service.
347             *
348             * @return the layout set remote service
349             */
350            public com.liferay.portal.service.LayoutSetService getLayoutSetService() {
351                    return layoutSetService;
352            }
353    
354            /**
355             * Sets the layout set remote service.
356             *
357             * @param layoutSetService the layout set remote service
358             */
359            public void setLayoutSetService(
360                    com.liferay.portal.service.LayoutSetService layoutSetService) {
361                    this.layoutSetService = layoutSetService;
362            }
363    
364            /**
365             * Returns the layout set persistence.
366             *
367             * @return the layout set persistence
368             */
369            public LayoutSetPersistence getLayoutSetPersistence() {
370                    return layoutSetPersistence;
371            }
372    
373            /**
374             * Sets the layout set persistence.
375             *
376             * @param layoutSetPersistence the layout set persistence
377             */
378            public void setLayoutSetPersistence(
379                    LayoutSetPersistence layoutSetPersistence) {
380                    this.layoutSetPersistence = layoutSetPersistence;
381            }
382    
383            /**
384             * Returns the layout set branch local service.
385             *
386             * @return the layout set branch local service
387             */
388            public com.liferay.portal.service.LayoutSetBranchLocalService getLayoutSetBranchLocalService() {
389                    return layoutSetBranchLocalService;
390            }
391    
392            /**
393             * Sets the layout set branch local service.
394             *
395             * @param layoutSetBranchLocalService the layout set branch local service
396             */
397            public void setLayoutSetBranchLocalService(
398                    com.liferay.portal.service.LayoutSetBranchLocalService layoutSetBranchLocalService) {
399                    this.layoutSetBranchLocalService = layoutSetBranchLocalService;
400            }
401    
402            /**
403             * Returns the layout set branch remote service.
404             *
405             * @return the layout set branch remote service
406             */
407            public com.liferay.portal.service.LayoutSetBranchService getLayoutSetBranchService() {
408                    return layoutSetBranchService;
409            }
410    
411            /**
412             * Sets the layout set branch remote service.
413             *
414             * @param layoutSetBranchService the layout set branch remote service
415             */
416            public void setLayoutSetBranchService(
417                    com.liferay.portal.service.LayoutSetBranchService layoutSetBranchService) {
418                    this.layoutSetBranchService = layoutSetBranchService;
419            }
420    
421            /**
422             * Returns the layout set branch persistence.
423             *
424             * @return the layout set branch persistence
425             */
426            public LayoutSetBranchPersistence getLayoutSetBranchPersistence() {
427                    return layoutSetBranchPersistence;
428            }
429    
430            /**
431             * Sets the layout set branch persistence.
432             *
433             * @param layoutSetBranchPersistence the layout set branch persistence
434             */
435            public void setLayoutSetBranchPersistence(
436                    LayoutSetBranchPersistence layoutSetBranchPersistence) {
437                    this.layoutSetBranchPersistence = layoutSetBranchPersistence;
438            }
439    
440            /**
441             * Returns the portlet preferences local service.
442             *
443             * @return the portlet preferences local service
444             */
445            public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
446                    return portletPreferencesLocalService;
447            }
448    
449            /**
450             * Sets the portlet preferences local service.
451             *
452             * @param portletPreferencesLocalService the portlet preferences local service
453             */
454            public void setPortletPreferencesLocalService(
455                    com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
456                    this.portletPreferencesLocalService = portletPreferencesLocalService;
457            }
458    
459            /**
460             * Returns the portlet preferences remote service.
461             *
462             * @return the portlet preferences remote service
463             */
464            public com.liferay.portal.service.PortletPreferencesService getPortletPreferencesService() {
465                    return portletPreferencesService;
466            }
467    
468            /**
469             * Sets the portlet preferences remote service.
470             *
471             * @param portletPreferencesService the portlet preferences remote service
472             */
473            public void setPortletPreferencesService(
474                    com.liferay.portal.service.PortletPreferencesService portletPreferencesService) {
475                    this.portletPreferencesService = portletPreferencesService;
476            }
477    
478            /**
479             * Returns the portlet preferences persistence.
480             *
481             * @return the portlet preferences persistence
482             */
483            public PortletPreferencesPersistence getPortletPreferencesPersistence() {
484                    return portletPreferencesPersistence;
485            }
486    
487            /**
488             * Sets the portlet preferences persistence.
489             *
490             * @param portletPreferencesPersistence the portlet preferences persistence
491             */
492            public void setPortletPreferencesPersistence(
493                    PortletPreferencesPersistence portletPreferencesPersistence) {
494                    this.portletPreferencesPersistence = portletPreferencesPersistence;
495            }
496    
497            /**
498             * Returns the portlet preferences finder.
499             *
500             * @return the portlet preferences finder
501             */
502            public PortletPreferencesFinder getPortletPreferencesFinder() {
503                    return portletPreferencesFinder;
504            }
505    
506            /**
507             * Sets the portlet preferences finder.
508             *
509             * @param portletPreferencesFinder the portlet preferences finder
510             */
511            public void setPortletPreferencesFinder(
512                    PortletPreferencesFinder portletPreferencesFinder) {
513                    this.portletPreferencesFinder = portletPreferencesFinder;
514            }
515    
516            /**
517             * Returns the resource local service.
518             *
519             * @return the resource local service
520             */
521            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
522                    return resourceLocalService;
523            }
524    
525            /**
526             * Sets the resource local service.
527             *
528             * @param resourceLocalService the resource local service
529             */
530            public void setResourceLocalService(
531                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
532                    this.resourceLocalService = resourceLocalService;
533            }
534    
535            /**
536             * Returns the user local service.
537             *
538             * @return the user local service
539             */
540            public com.liferay.portal.service.UserLocalService getUserLocalService() {
541                    return userLocalService;
542            }
543    
544            /**
545             * Sets the user local service.
546             *
547             * @param userLocalService the user local service
548             */
549            public void setUserLocalService(
550                    com.liferay.portal.service.UserLocalService userLocalService) {
551                    this.userLocalService = userLocalService;
552            }
553    
554            /**
555             * Returns the user remote service.
556             *
557             * @return the user remote service
558             */
559            public com.liferay.portal.service.UserService getUserService() {
560                    return userService;
561            }
562    
563            /**
564             * Sets the user remote service.
565             *
566             * @param userService the user remote service
567             */
568            public void setUserService(
569                    com.liferay.portal.service.UserService userService) {
570                    this.userService = userService;
571            }
572    
573            /**
574             * Returns the user persistence.
575             *
576             * @return the user persistence
577             */
578            public UserPersistence getUserPersistence() {
579                    return userPersistence;
580            }
581    
582            /**
583             * Sets the user persistence.
584             *
585             * @param userPersistence the user persistence
586             */
587            public void setUserPersistence(UserPersistence userPersistence) {
588                    this.userPersistence = userPersistence;
589            }
590    
591            /**
592             * Returns the user finder.
593             *
594             * @return the user finder
595             */
596            public UserFinder getUserFinder() {
597                    return userFinder;
598            }
599    
600            /**
601             * Sets the user finder.
602             *
603             * @param userFinder the user finder
604             */
605            public void setUserFinder(UserFinder userFinder) {
606                    this.userFinder = userFinder;
607            }
608    
609            /**
610             * Returns the workflow instance link local service.
611             *
612             * @return the workflow instance link local service
613             */
614            public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
615                    return workflowInstanceLinkLocalService;
616            }
617    
618            /**
619             * Sets the workflow instance link local service.
620             *
621             * @param workflowInstanceLinkLocalService the workflow instance link local service
622             */
623            public void setWorkflowInstanceLinkLocalService(
624                    com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
625                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
626            }
627    
628            /**
629             * Returns the workflow instance link persistence.
630             *
631             * @return the workflow instance link persistence
632             */
633            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
634                    return workflowInstanceLinkPersistence;
635            }
636    
637            /**
638             * Sets the workflow instance link persistence.
639             *
640             * @param workflowInstanceLinkPersistence the workflow instance link persistence
641             */
642            public void setWorkflowInstanceLinkPersistence(
643                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
644                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
645            }
646    
647            public void afterPropertiesSet() {
648            }
649    
650            public void destroy() {
651            }
652    
653            /**
654             * Returns the OSGi service identifier.
655             *
656             * @return the OSGi service identifier
657             */
658            @Override
659            public String getOSGiServiceIdentifier() {
660                    return LayoutRevisionService.class.getName();
661            }
662    
663            protected Class<?> getModelClass() {
664                    return LayoutRevision.class;
665            }
666    
667            protected String getModelClassName() {
668                    return LayoutRevision.class.getName();
669            }
670    
671            /**
672             * Performs a SQL query.
673             *
674             * @param sql the sql query
675             */
676            protected void runSQL(String sql) {
677                    try {
678                            DataSource dataSource = layoutRevisionPersistence.getDataSource();
679    
680                            DB db = DBFactoryUtil.getDB();
681    
682                            sql = db.buildSQL(sql);
683                            sql = PortalUtil.transformSQL(sql);
684    
685                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
686                                            sql, new int[0]);
687    
688                            sqlUpdate.update();
689                    }
690                    catch (Exception e) {
691                            throw new SystemException(e);
692                    }
693            }
694    
695            @BeanReference(type = com.liferay.portal.service.LayoutRevisionLocalService.class)
696            protected com.liferay.portal.service.LayoutRevisionLocalService layoutRevisionLocalService;
697            @BeanReference(type = com.liferay.portal.service.LayoutRevisionService.class)
698            protected LayoutRevisionService layoutRevisionService;
699            @BeanReference(type = LayoutRevisionPersistence.class)
700            protected LayoutRevisionPersistence layoutRevisionPersistence;
701            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
702            protected com.liferay.counter.service.CounterLocalService counterLocalService;
703            @BeanReference(type = com.liferay.portal.service.ImageLocalService.class)
704            protected com.liferay.portal.service.ImageLocalService imageLocalService;
705            @BeanReference(type = com.liferay.portal.service.ImageService.class)
706            protected com.liferay.portal.service.ImageService imageService;
707            @BeanReference(type = ImagePersistence.class)
708            protected ImagePersistence imagePersistence;
709            @BeanReference(type = com.liferay.portal.service.LayoutLocalService.class)
710            protected com.liferay.portal.service.LayoutLocalService layoutLocalService;
711            @BeanReference(type = com.liferay.portal.service.LayoutService.class)
712            protected com.liferay.portal.service.LayoutService layoutService;
713            @BeanReference(type = LayoutPersistence.class)
714            protected LayoutPersistence layoutPersistence;
715            @BeanReference(type = LayoutFinder.class)
716            protected LayoutFinder layoutFinder;
717            @BeanReference(type = com.liferay.portal.service.LayoutBranchLocalService.class)
718            protected com.liferay.portal.service.LayoutBranchLocalService layoutBranchLocalService;
719            @BeanReference(type = com.liferay.portal.service.LayoutBranchService.class)
720            protected com.liferay.portal.service.LayoutBranchService layoutBranchService;
721            @BeanReference(type = LayoutBranchPersistence.class)
722            protected LayoutBranchPersistence layoutBranchPersistence;
723            @BeanReference(type = com.liferay.portal.service.LayoutSetLocalService.class)
724            protected com.liferay.portal.service.LayoutSetLocalService layoutSetLocalService;
725            @BeanReference(type = com.liferay.portal.service.LayoutSetService.class)
726            protected com.liferay.portal.service.LayoutSetService layoutSetService;
727            @BeanReference(type = LayoutSetPersistence.class)
728            protected LayoutSetPersistence layoutSetPersistence;
729            @BeanReference(type = com.liferay.portal.service.LayoutSetBranchLocalService.class)
730            protected com.liferay.portal.service.LayoutSetBranchLocalService layoutSetBranchLocalService;
731            @BeanReference(type = com.liferay.portal.service.LayoutSetBranchService.class)
732            protected com.liferay.portal.service.LayoutSetBranchService layoutSetBranchService;
733            @BeanReference(type = LayoutSetBranchPersistence.class)
734            protected LayoutSetBranchPersistence layoutSetBranchPersistence;
735            @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
736            protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
737            @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
738            protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
739            @BeanReference(type = PortletPreferencesPersistence.class)
740            protected PortletPreferencesPersistence portletPreferencesPersistence;
741            @BeanReference(type = PortletPreferencesFinder.class)
742            protected PortletPreferencesFinder portletPreferencesFinder;
743            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
744            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
745            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
746            protected com.liferay.portal.service.UserLocalService userLocalService;
747            @BeanReference(type = com.liferay.portal.service.UserService.class)
748            protected com.liferay.portal.service.UserService userService;
749            @BeanReference(type = UserPersistence.class)
750            protected UserPersistence userPersistence;
751            @BeanReference(type = UserFinder.class)
752            protected UserFinder userFinder;
753            @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
754            protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
755            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
756            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
757    }