001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.trash.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.jdbc.SqlUpdate;
020    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
021    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
022    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
023    import com.liferay.portal.kernel.dao.orm.Projection;
024    import com.liferay.portal.kernel.exception.PortalException;
025    import com.liferay.portal.kernel.exception.SystemException;
026    import com.liferay.portal.kernel.search.Indexable;
027    import com.liferay.portal.kernel.search.IndexableType;
028    import com.liferay.portal.kernel.util.OrderByComparator;
029    import com.liferay.portal.model.PersistedModel;
030    import com.liferay.portal.service.BaseLocalServiceImpl;
031    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
032    import com.liferay.portal.service.persistence.GroupFinder;
033    import com.liferay.portal.service.persistence.GroupPersistence;
034    import com.liferay.portal.service.persistence.SystemEventPersistence;
035    import com.liferay.portal.service.persistence.UserFinder;
036    import com.liferay.portal.service.persistence.UserPersistence;
037    
038    import com.liferay.portlet.trash.model.TrashEntry;
039    import com.liferay.portlet.trash.service.TrashEntryLocalService;
040    import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
041    import com.liferay.portlet.trash.service.persistence.TrashVersionPersistence;
042    
043    import java.io.Serializable;
044    
045    import java.util.List;
046    
047    import javax.sql.DataSource;
048    
049    /**
050     * Provides the base implementation for the trash entry local service.
051     *
052     * <p>
053     * 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.trash.service.impl.TrashEntryLocalServiceImpl}.
054     * </p>
055     *
056     * @author Brian Wing Shun Chan
057     * @see com.liferay.portlet.trash.service.impl.TrashEntryLocalServiceImpl
058     * @see com.liferay.portlet.trash.service.TrashEntryLocalServiceUtil
059     * @generated
060     */
061    public abstract class TrashEntryLocalServiceBaseImpl
062            extends BaseLocalServiceImpl implements TrashEntryLocalService,
063                    IdentifiableBean {
064            /*
065             * NOTE FOR DEVELOPERS:
066             *
067             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.trash.service.TrashEntryLocalServiceUtil} to access the trash entry local service.
068             */
069    
070            /**
071             * Adds the trash entry to the database. Also notifies the appropriate model listeners.
072             *
073             * @param trashEntry the trash entry
074             * @return the trash entry that was added
075             * @throws SystemException if a system exception occurred
076             */
077            @Indexable(type = IndexableType.REINDEX)
078            @Override
079            public TrashEntry addTrashEntry(TrashEntry trashEntry)
080                    throws SystemException {
081                    trashEntry.setNew(true);
082    
083                    return trashEntryPersistence.update(trashEntry);
084            }
085    
086            /**
087             * Creates a new trash entry with the primary key. Does not add the trash entry to the database.
088             *
089             * @param entryId the primary key for the new trash entry
090             * @return the new trash entry
091             */
092            @Override
093            public TrashEntry createTrashEntry(long entryId) {
094                    return trashEntryPersistence.create(entryId);
095            }
096    
097            /**
098             * Deletes the trash entry with the primary key from the database. Also notifies the appropriate model listeners.
099             *
100             * @param entryId the primary key of the trash entry
101             * @return the trash entry that was removed
102             * @throws PortalException if a trash entry with the primary key could not be found
103             * @throws SystemException if a system exception occurred
104             */
105            @Indexable(type = IndexableType.DELETE)
106            @Override
107            public TrashEntry deleteTrashEntry(long entryId)
108                    throws PortalException, SystemException {
109                    return trashEntryPersistence.remove(entryId);
110            }
111    
112            /**
113             * Deletes the trash entry from the database. Also notifies the appropriate model listeners.
114             *
115             * @param trashEntry the trash entry
116             * @return the trash entry that was removed
117             * @throws SystemException if a system exception occurred
118             */
119            @Indexable(type = IndexableType.DELETE)
120            @Override
121            public TrashEntry deleteTrashEntry(TrashEntry trashEntry)
122                    throws SystemException {
123                    return trashEntryPersistence.remove(trashEntry);
124            }
125    
126            @Override
127            public DynamicQuery dynamicQuery() {
128                    Class<?> clazz = getClass();
129    
130                    return DynamicQueryFactoryUtil.forClass(TrashEntry.class,
131                            clazz.getClassLoader());
132            }
133    
134            /**
135             * Performs a dynamic query on the database and returns the matching rows.
136             *
137             * @param dynamicQuery the dynamic query
138             * @return the matching rows
139             * @throws SystemException if a system exception occurred
140             */
141            @Override
142            @SuppressWarnings("rawtypes")
143            public List dynamicQuery(DynamicQuery dynamicQuery)
144                    throws SystemException {
145                    return trashEntryPersistence.findWithDynamicQuery(dynamicQuery);
146            }
147    
148            /**
149             * Performs a dynamic query on the database and returns a range of the matching rows.
150             *
151             * <p>
152             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.trash.model.impl.TrashEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
153             * </p>
154             *
155             * @param dynamicQuery the dynamic query
156             * @param start the lower bound of the range of model instances
157             * @param end the upper bound of the range of model instances (not inclusive)
158             * @return the range of matching rows
159             * @throws SystemException if a system exception occurred
160             */
161            @Override
162            @SuppressWarnings("rawtypes")
163            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
164                    throws SystemException {
165                    return trashEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
166                            end);
167            }
168    
169            /**
170             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
171             *
172             * <p>
173             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.trash.model.impl.TrashEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
174             * </p>
175             *
176             * @param dynamicQuery the dynamic query
177             * @param start the lower bound of the range of model instances
178             * @param end the upper bound of the range of model instances (not inclusive)
179             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
180             * @return the ordered range of matching rows
181             * @throws SystemException if a system exception occurred
182             */
183            @Override
184            @SuppressWarnings("rawtypes")
185            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
186                    OrderByComparator orderByComparator) throws SystemException {
187                    return trashEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
188                            end, orderByComparator);
189            }
190    
191            /**
192             * Returns the number of rows that match the dynamic query.
193             *
194             * @param dynamicQuery the dynamic query
195             * @return the number of rows that match the dynamic query
196             * @throws SystemException if a system exception occurred
197             */
198            @Override
199            public long dynamicQueryCount(DynamicQuery dynamicQuery)
200                    throws SystemException {
201                    return trashEntryPersistence.countWithDynamicQuery(dynamicQuery);
202            }
203    
204            /**
205             * Returns the number of rows that match the dynamic query.
206             *
207             * @param dynamicQuery the dynamic query
208             * @param projection the projection to apply to the query
209             * @return the number of rows that match the dynamic query
210             * @throws SystemException if a system exception occurred
211             */
212            @Override
213            public long dynamicQueryCount(DynamicQuery dynamicQuery,
214                    Projection projection) throws SystemException {
215                    return trashEntryPersistence.countWithDynamicQuery(dynamicQuery,
216                            projection);
217            }
218    
219            @Override
220            public TrashEntry fetchTrashEntry(long entryId) throws SystemException {
221                    return trashEntryPersistence.fetchByPrimaryKey(entryId);
222            }
223    
224            /**
225             * Returns the trash entry with the primary key.
226             *
227             * @param entryId the primary key of the trash entry
228             * @return the trash entry
229             * @throws PortalException if a trash entry with the primary key could not be found
230             * @throws SystemException if a system exception occurred
231             */
232            @Override
233            public TrashEntry getTrashEntry(long entryId)
234                    throws PortalException, SystemException {
235                    return trashEntryPersistence.findByPrimaryKey(entryId);
236            }
237    
238            @Override
239            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
240                    throws PortalException, SystemException {
241                    return trashEntryPersistence.findByPrimaryKey(primaryKeyObj);
242            }
243    
244            /**
245             * Returns a range of all the trash entries.
246             *
247             * <p>
248             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.trash.model.impl.TrashEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
249             * </p>
250             *
251             * @param start the lower bound of the range of trash entries
252             * @param end the upper bound of the range of trash entries (not inclusive)
253             * @return the range of trash entries
254             * @throws SystemException if a system exception occurred
255             */
256            @Override
257            public List<TrashEntry> getTrashEntries(int start, int end)
258                    throws SystemException {
259                    return trashEntryPersistence.findAll(start, end);
260            }
261    
262            /**
263             * Returns the number of trash entries.
264             *
265             * @return the number of trash entries
266             * @throws SystemException if a system exception occurred
267             */
268            @Override
269            public int getTrashEntriesCount() throws SystemException {
270                    return trashEntryPersistence.countAll();
271            }
272    
273            /**
274             * Updates the trash entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
275             *
276             * @param trashEntry the trash entry
277             * @return the trash entry that was updated
278             * @throws SystemException if a system exception occurred
279             */
280            @Indexable(type = IndexableType.REINDEX)
281            @Override
282            public TrashEntry updateTrashEntry(TrashEntry trashEntry)
283                    throws SystemException {
284                    return trashEntryPersistence.update(trashEntry);
285            }
286    
287            /**
288             * Returns the trash entry local service.
289             *
290             * @return the trash entry local service
291             */
292            public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
293                    return trashEntryLocalService;
294            }
295    
296            /**
297             * Sets the trash entry local service.
298             *
299             * @param trashEntryLocalService the trash entry local service
300             */
301            public void setTrashEntryLocalService(
302                    com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
303                    this.trashEntryLocalService = trashEntryLocalService;
304            }
305    
306            /**
307             * Returns the trash entry remote service.
308             *
309             * @return the trash entry remote service
310             */
311            public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
312                    return trashEntryService;
313            }
314    
315            /**
316             * Sets the trash entry remote service.
317             *
318             * @param trashEntryService the trash entry remote service
319             */
320            public void setTrashEntryService(
321                    com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
322                    this.trashEntryService = trashEntryService;
323            }
324    
325            /**
326             * Returns the trash entry persistence.
327             *
328             * @return the trash entry persistence
329             */
330            public TrashEntryPersistence getTrashEntryPersistence() {
331                    return trashEntryPersistence;
332            }
333    
334            /**
335             * Sets the trash entry persistence.
336             *
337             * @param trashEntryPersistence the trash entry persistence
338             */
339            public void setTrashEntryPersistence(
340                    TrashEntryPersistence trashEntryPersistence) {
341                    this.trashEntryPersistence = trashEntryPersistence;
342            }
343    
344            /**
345             * Returns the trash version local service.
346             *
347             * @return the trash version local service
348             */
349            public com.liferay.portlet.trash.service.TrashVersionLocalService getTrashVersionLocalService() {
350                    return trashVersionLocalService;
351            }
352    
353            /**
354             * Sets the trash version local service.
355             *
356             * @param trashVersionLocalService the trash version local service
357             */
358            public void setTrashVersionLocalService(
359                    com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService) {
360                    this.trashVersionLocalService = trashVersionLocalService;
361            }
362    
363            /**
364             * Returns the trash version persistence.
365             *
366             * @return the trash version persistence
367             */
368            public TrashVersionPersistence getTrashVersionPersistence() {
369                    return trashVersionPersistence;
370            }
371    
372            /**
373             * Sets the trash version persistence.
374             *
375             * @param trashVersionPersistence the trash version persistence
376             */
377            public void setTrashVersionPersistence(
378                    TrashVersionPersistence trashVersionPersistence) {
379                    this.trashVersionPersistence = trashVersionPersistence;
380            }
381    
382            /**
383             * Returns the counter local service.
384             *
385             * @return the counter local service
386             */
387            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
388                    return counterLocalService;
389            }
390    
391            /**
392             * Sets the counter local service.
393             *
394             * @param counterLocalService the counter local service
395             */
396            public void setCounterLocalService(
397                    com.liferay.counter.service.CounterLocalService counterLocalService) {
398                    this.counterLocalService = counterLocalService;
399            }
400    
401            /**
402             * Returns the group local service.
403             *
404             * @return the group local service
405             */
406            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
407                    return groupLocalService;
408            }
409    
410            /**
411             * Sets the group local service.
412             *
413             * @param groupLocalService the group local service
414             */
415            public void setGroupLocalService(
416                    com.liferay.portal.service.GroupLocalService groupLocalService) {
417                    this.groupLocalService = groupLocalService;
418            }
419    
420            /**
421             * Returns the group remote service.
422             *
423             * @return the group remote service
424             */
425            public com.liferay.portal.service.GroupService getGroupService() {
426                    return groupService;
427            }
428    
429            /**
430             * Sets the group remote service.
431             *
432             * @param groupService the group remote service
433             */
434            public void setGroupService(
435                    com.liferay.portal.service.GroupService groupService) {
436                    this.groupService = groupService;
437            }
438    
439            /**
440             * Returns the group persistence.
441             *
442             * @return the group persistence
443             */
444            public GroupPersistence getGroupPersistence() {
445                    return groupPersistence;
446            }
447    
448            /**
449             * Sets the group persistence.
450             *
451             * @param groupPersistence the group persistence
452             */
453            public void setGroupPersistence(GroupPersistence groupPersistence) {
454                    this.groupPersistence = groupPersistence;
455            }
456    
457            /**
458             * Returns the group finder.
459             *
460             * @return the group finder
461             */
462            public GroupFinder getGroupFinder() {
463                    return groupFinder;
464            }
465    
466            /**
467             * Sets the group finder.
468             *
469             * @param groupFinder the group finder
470             */
471            public void setGroupFinder(GroupFinder groupFinder) {
472                    this.groupFinder = groupFinder;
473            }
474    
475            /**
476             * Returns the resource local service.
477             *
478             * @return the resource local service
479             */
480            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
481                    return resourceLocalService;
482            }
483    
484            /**
485             * Sets the resource local service.
486             *
487             * @param resourceLocalService the resource local service
488             */
489            public void setResourceLocalService(
490                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
491                    this.resourceLocalService = resourceLocalService;
492            }
493    
494            /**
495             * Returns the system event local service.
496             *
497             * @return the system event local service
498             */
499            public com.liferay.portal.service.SystemEventLocalService getSystemEventLocalService() {
500                    return systemEventLocalService;
501            }
502    
503            /**
504             * Sets the system event local service.
505             *
506             * @param systemEventLocalService the system event local service
507             */
508            public void setSystemEventLocalService(
509                    com.liferay.portal.service.SystemEventLocalService systemEventLocalService) {
510                    this.systemEventLocalService = systemEventLocalService;
511            }
512    
513            /**
514             * Returns the system event persistence.
515             *
516             * @return the system event persistence
517             */
518            public SystemEventPersistence getSystemEventPersistence() {
519                    return systemEventPersistence;
520            }
521    
522            /**
523             * Sets the system event persistence.
524             *
525             * @param systemEventPersistence the system event persistence
526             */
527            public void setSystemEventPersistence(
528                    SystemEventPersistence systemEventPersistence) {
529                    this.systemEventPersistence = systemEventPersistence;
530            }
531    
532            /**
533             * Returns the user local service.
534             *
535             * @return the user local service
536             */
537            public com.liferay.portal.service.UserLocalService getUserLocalService() {
538                    return userLocalService;
539            }
540    
541            /**
542             * Sets the user local service.
543             *
544             * @param userLocalService the user local service
545             */
546            public void setUserLocalService(
547                    com.liferay.portal.service.UserLocalService userLocalService) {
548                    this.userLocalService = userLocalService;
549            }
550    
551            /**
552             * Returns the user remote service.
553             *
554             * @return the user remote service
555             */
556            public com.liferay.portal.service.UserService getUserService() {
557                    return userService;
558            }
559    
560            /**
561             * Sets the user remote service.
562             *
563             * @param userService the user remote service
564             */
565            public void setUserService(
566                    com.liferay.portal.service.UserService userService) {
567                    this.userService = userService;
568            }
569    
570            /**
571             * Returns the user persistence.
572             *
573             * @return the user persistence
574             */
575            public UserPersistence getUserPersistence() {
576                    return userPersistence;
577            }
578    
579            /**
580             * Sets the user persistence.
581             *
582             * @param userPersistence the user persistence
583             */
584            public void setUserPersistence(UserPersistence userPersistence) {
585                    this.userPersistence = userPersistence;
586            }
587    
588            /**
589             * Returns the user finder.
590             *
591             * @return the user finder
592             */
593            public UserFinder getUserFinder() {
594                    return userFinder;
595            }
596    
597            /**
598             * Sets the user finder.
599             *
600             * @param userFinder the user finder
601             */
602            public void setUserFinder(UserFinder userFinder) {
603                    this.userFinder = userFinder;
604            }
605    
606            public void afterPropertiesSet() {
607                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.trash.model.TrashEntry",
608                            trashEntryLocalService);
609            }
610    
611            public void destroy() {
612                    persistedModelLocalServiceRegistry.unregister(
613                            "com.liferay.portlet.trash.model.TrashEntry");
614            }
615    
616            /**
617             * Returns the Spring bean ID for this bean.
618             *
619             * @return the Spring bean ID for this bean
620             */
621            @Override
622            public String getBeanIdentifier() {
623                    return _beanIdentifier;
624            }
625    
626            /**
627             * Sets the Spring bean ID for this bean.
628             *
629             * @param beanIdentifier the Spring bean ID for this bean
630             */
631            @Override
632            public void setBeanIdentifier(String beanIdentifier) {
633                    _beanIdentifier = beanIdentifier;
634            }
635    
636            protected Class<?> getModelClass() {
637                    return TrashEntry.class;
638            }
639    
640            protected String getModelClassName() {
641                    return TrashEntry.class.getName();
642            }
643    
644            /**
645             * Performs an SQL query.
646             *
647             * @param sql the sql query
648             */
649            protected void runSQL(String sql) throws SystemException {
650                    try {
651                            DataSource dataSource = trashEntryPersistence.getDataSource();
652    
653                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
654                                            sql, new int[0]);
655    
656                            sqlUpdate.update();
657                    }
658                    catch (Exception e) {
659                            throw new SystemException(e);
660                    }
661            }
662    
663            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
664            protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
665            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
666            protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
667            @BeanReference(type = TrashEntryPersistence.class)
668            protected TrashEntryPersistence trashEntryPersistence;
669            @BeanReference(type = com.liferay.portlet.trash.service.TrashVersionLocalService.class)
670            protected com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService;
671            @BeanReference(type = TrashVersionPersistence.class)
672            protected TrashVersionPersistence trashVersionPersistence;
673            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
674            protected com.liferay.counter.service.CounterLocalService counterLocalService;
675            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
676            protected com.liferay.portal.service.GroupLocalService groupLocalService;
677            @BeanReference(type = com.liferay.portal.service.GroupService.class)
678            protected com.liferay.portal.service.GroupService groupService;
679            @BeanReference(type = GroupPersistence.class)
680            protected GroupPersistence groupPersistence;
681            @BeanReference(type = GroupFinder.class)
682            protected GroupFinder groupFinder;
683            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
684            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
685            @BeanReference(type = com.liferay.portal.service.SystemEventLocalService.class)
686            protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService;
687            @BeanReference(type = SystemEventPersistence.class)
688            protected SystemEventPersistence systemEventPersistence;
689            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
690            protected com.liferay.portal.service.UserLocalService userLocalService;
691            @BeanReference(type = com.liferay.portal.service.UserService.class)
692            protected com.liferay.portal.service.UserService userService;
693            @BeanReference(type = UserPersistence.class)
694            protected UserPersistence userPersistence;
695            @BeanReference(type = UserFinder.class)
696            protected UserFinder userFinder;
697            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
698            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
699            private String _beanIdentifier;
700    }