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.messageboards.service.base;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.db.DB;
022    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025    import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery;
027    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
028    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
029    import com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery;
030    import com.liferay.portal.kernel.dao.orm.Projection;
031    import com.liferay.portal.kernel.exception.PortalException;
032    import com.liferay.portal.kernel.exception.SystemException;
033    import com.liferay.portal.kernel.search.Indexable;
034    import com.liferay.portal.kernel.search.IndexableType;
035    import com.liferay.portal.kernel.util.OrderByComparator;
036    import com.liferay.portal.model.PersistedModel;
037    import com.liferay.portal.service.BaseLocalServiceImpl;
038    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
039    import com.liferay.portal.service.persistence.UserFinder;
040    import com.liferay.portal.service.persistence.UserPersistence;
041    import com.liferay.portal.util.PortalUtil;
042    
043    import com.liferay.portlet.exportimport.lar.ExportImportHelperUtil;
044    import com.liferay.portlet.exportimport.lar.ManifestSummary;
045    import com.liferay.portlet.exportimport.lar.PortletDataContext;
046    import com.liferay.portlet.exportimport.lar.StagedModelDataHandlerUtil;
047    import com.liferay.portlet.exportimport.lar.StagedModelType;
048    import com.liferay.portlet.messageboards.model.MBMailingList;
049    import com.liferay.portlet.messageboards.service.MBMailingListLocalService;
050    import com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence;
051    
052    import java.io.Serializable;
053    
054    import java.util.List;
055    
056    import javax.sql.DataSource;
057    
058    /**
059     * Provides the base implementation for the message boards mailing list local service.
060     *
061     * <p>
062     * 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.messageboards.service.impl.MBMailingListLocalServiceImpl}.
063     * </p>
064     *
065     * @author Brian Wing Shun Chan
066     * @see com.liferay.portlet.messageboards.service.impl.MBMailingListLocalServiceImpl
067     * @see com.liferay.portlet.messageboards.service.MBMailingListLocalServiceUtil
068     * @generated
069     */
070    @ProviderType
071    public abstract class MBMailingListLocalServiceBaseImpl
072            extends BaseLocalServiceImpl implements MBMailingListLocalService,
073                    IdentifiableBean {
074            /*
075             * NOTE FOR DEVELOPERS:
076             *
077             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.messageboards.service.MBMailingListLocalServiceUtil} to access the message boards mailing list local service.
078             */
079    
080            /**
081             * Adds the message boards mailing list to the database. Also notifies the appropriate model listeners.
082             *
083             * @param mbMailingList the message boards mailing list
084             * @return the message boards mailing list that was added
085             */
086            @Indexable(type = IndexableType.REINDEX)
087            @Override
088            public MBMailingList addMBMailingList(MBMailingList mbMailingList) {
089                    mbMailingList.setNew(true);
090    
091                    return mbMailingListPersistence.update(mbMailingList);
092            }
093    
094            /**
095             * Creates a new message boards mailing list with the primary key. Does not add the message boards mailing list to the database.
096             *
097             * @param mailingListId the primary key for the new message boards mailing list
098             * @return the new message boards mailing list
099             */
100            @Override
101            public MBMailingList createMBMailingList(long mailingListId) {
102                    return mbMailingListPersistence.create(mailingListId);
103            }
104    
105            /**
106             * Deletes the message boards mailing list with the primary key from the database. Also notifies the appropriate model listeners.
107             *
108             * @param mailingListId the primary key of the message boards mailing list
109             * @return the message boards mailing list that was removed
110             * @throws PortalException if a message boards mailing list with the primary key could not be found
111             */
112            @Indexable(type = IndexableType.DELETE)
113            @Override
114            public MBMailingList deleteMBMailingList(long mailingListId)
115                    throws PortalException {
116                    return mbMailingListPersistence.remove(mailingListId);
117            }
118    
119            /**
120             * Deletes the message boards mailing list from the database. Also notifies the appropriate model listeners.
121             *
122             * @param mbMailingList the message boards mailing list
123             * @return the message boards mailing list that was removed
124             */
125            @Indexable(type = IndexableType.DELETE)
126            @Override
127            public MBMailingList deleteMBMailingList(MBMailingList mbMailingList) {
128                    return mbMailingListPersistence.remove(mbMailingList);
129            }
130    
131            @Override
132            public DynamicQuery dynamicQuery() {
133                    Class<?> clazz = getClass();
134    
135                    return DynamicQueryFactoryUtil.forClass(MBMailingList.class,
136                            clazz.getClassLoader());
137            }
138    
139            /**
140             * Performs a dynamic query on the database and returns the matching rows.
141             *
142             * @param dynamicQuery the dynamic query
143             * @return the matching rows
144             */
145            @Override
146            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) {
147                    return mbMailingListPersistence.findWithDynamicQuery(dynamicQuery);
148            }
149    
150            /**
151             * Performs a dynamic query on the database and returns a range of the matching rows.
152             *
153             * <p>
154             * 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.messageboards.model.impl.MBMailingListModelImpl}. 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.
155             * </p>
156             *
157             * @param dynamicQuery the dynamic query
158             * @param start the lower bound of the range of model instances
159             * @param end the upper bound of the range of model instances (not inclusive)
160             * @return the range of matching rows
161             */
162            @Override
163            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
164                    int end) {
165                    return mbMailingListPersistence.findWithDynamicQuery(dynamicQuery,
166                            start, 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.messageboards.model.impl.MBMailingListModelImpl}. 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             */
182            @Override
183            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
184                    int end, OrderByComparator<T> orderByComparator) {
185                    return mbMailingListPersistence.findWithDynamicQuery(dynamicQuery,
186                            start, end, orderByComparator);
187            }
188    
189            /**
190             * Returns the number of rows matching the dynamic query.
191             *
192             * @param dynamicQuery the dynamic query
193             * @return the number of rows matching the dynamic query
194             */
195            @Override
196            public long dynamicQueryCount(DynamicQuery dynamicQuery) {
197                    return mbMailingListPersistence.countWithDynamicQuery(dynamicQuery);
198            }
199    
200            /**
201             * Returns the number of rows matching the dynamic query.
202             *
203             * @param dynamicQuery the dynamic query
204             * @param projection the projection to apply to the query
205             * @return the number of rows matching the dynamic query
206             */
207            @Override
208            public long dynamicQueryCount(DynamicQuery dynamicQuery,
209                    Projection projection) {
210                    return mbMailingListPersistence.countWithDynamicQuery(dynamicQuery,
211                            projection);
212            }
213    
214            @Override
215            public MBMailingList fetchMBMailingList(long mailingListId) {
216                    return mbMailingListPersistence.fetchByPrimaryKey(mailingListId);
217            }
218    
219            /**
220             * Returns the message boards mailing list matching the UUID and group.
221             *
222             * @param uuid the message boards mailing list's UUID
223             * @param groupId the primary key of the group
224             * @return the matching message boards mailing list, or <code>null</code> if a matching message boards mailing list could not be found
225             */
226            @Override
227            public MBMailingList fetchMBMailingListByUuidAndGroupId(String uuid,
228                    long groupId) {
229                    return mbMailingListPersistence.fetchByUUID_G(uuid, groupId);
230            }
231    
232            /**
233             * Returns the message boards mailing list with the primary key.
234             *
235             * @param mailingListId the primary key of the message boards mailing list
236             * @return the message boards mailing list
237             * @throws PortalException if a message boards mailing list with the primary key could not be found
238             */
239            @Override
240            public MBMailingList getMBMailingList(long mailingListId)
241                    throws PortalException {
242                    return mbMailingListPersistence.findByPrimaryKey(mailingListId);
243            }
244    
245            @Override
246            public ActionableDynamicQuery getActionableDynamicQuery() {
247                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
248    
249                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.messageboards.service.MBMailingListLocalServiceUtil.getService());
250                    actionableDynamicQuery.setClass(MBMailingList.class);
251                    actionableDynamicQuery.setClassLoader(getClassLoader());
252    
253                    actionableDynamicQuery.setPrimaryKeyPropertyName("mailingListId");
254    
255                    return actionableDynamicQuery;
256            }
257    
258            protected void initActionableDynamicQuery(
259                    ActionableDynamicQuery actionableDynamicQuery) {
260                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.messageboards.service.MBMailingListLocalServiceUtil.getService());
261                    actionableDynamicQuery.setClass(MBMailingList.class);
262                    actionableDynamicQuery.setClassLoader(getClassLoader());
263    
264                    actionableDynamicQuery.setPrimaryKeyPropertyName("mailingListId");
265            }
266    
267            @Override
268            public ExportActionableDynamicQuery getExportActionableDynamicQuery(
269                    final PortletDataContext portletDataContext) {
270                    final ExportActionableDynamicQuery exportActionableDynamicQuery = new ExportActionableDynamicQuery() {
271                                    @Override
272                                    public long performCount() throws PortalException {
273                                            ManifestSummary manifestSummary = portletDataContext.getManifestSummary();
274    
275                                            StagedModelType stagedModelType = getStagedModelType();
276    
277                                            long modelAdditionCount = super.performCount();
278    
279                                            manifestSummary.addModelAdditionCount(stagedModelType,
280                                                    modelAdditionCount);
281    
282                                            long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(portletDataContext,
283                                                            stagedModelType);
284    
285                                            manifestSummary.addModelDeletionCount(stagedModelType,
286                                                    modelDeletionCount);
287    
288                                            return modelAdditionCount;
289                                    }
290                            };
291    
292                    initActionableDynamicQuery(exportActionableDynamicQuery);
293    
294                    exportActionableDynamicQuery.setAddCriteriaMethod(new ActionableDynamicQuery.AddCriteriaMethod() {
295                                    @Override
296                                    public void addCriteria(DynamicQuery dynamicQuery) {
297                                            portletDataContext.addDateRangeCriteria(dynamicQuery,
298                                                    "modifiedDate");
299                                    }
300                            });
301    
302                    exportActionableDynamicQuery.setCompanyId(portletDataContext.getCompanyId());
303    
304                    exportActionableDynamicQuery.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<MBMailingList>() {
305                                    @Override
306                                    public void performAction(MBMailingList mbMailingList)
307                                            throws PortalException {
308                                            StagedModelDataHandlerUtil.exportStagedModel(portletDataContext,
309                                                    mbMailingList);
310                                    }
311                            });
312                    exportActionableDynamicQuery.setStagedModelType(new StagedModelType(
313                                    PortalUtil.getClassNameId(MBMailingList.class.getName())));
314    
315                    return exportActionableDynamicQuery;
316            }
317    
318            /**
319             * @throws PortalException
320             */
321            @Override
322            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
323                    throws PortalException {
324                    return mbMailingListLocalService.deleteMBMailingList((MBMailingList)persistedModel);
325            }
326    
327            @Override
328            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
329                    throws PortalException {
330                    return mbMailingListPersistence.findByPrimaryKey(primaryKeyObj);
331            }
332    
333            /**
334             * Returns all the message boards mailing lists matching the UUID and company.
335             *
336             * @param uuid the UUID of the message boards mailing lists
337             * @param companyId the primary key of the company
338             * @return the matching message boards mailing lists, or an empty list if no matches were found
339             */
340            @Override
341            public List<MBMailingList> getMBMailingListsByUuidAndCompanyId(
342                    String uuid, long companyId) {
343                    return mbMailingListPersistence.findByUuid_C(uuid, companyId);
344            }
345    
346            /**
347             * Returns a range of message boards mailing lists matching the UUID and company.
348             *
349             * @param uuid the UUID of the message boards mailing lists
350             * @param companyId the primary key of the company
351             * @param start the lower bound of the range of message boards mailing lists
352             * @param end the upper bound of the range of message boards mailing lists (not inclusive)
353             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
354             * @return the range of matching message boards mailing lists, or an empty list if no matches were found
355             */
356            @Override
357            public List<MBMailingList> getMBMailingListsByUuidAndCompanyId(
358                    String uuid, long companyId, int start, int end,
359                    OrderByComparator<MBMailingList> orderByComparator) {
360                    return mbMailingListPersistence.findByUuid_C(uuid, companyId, start,
361                            end, orderByComparator);
362            }
363    
364            /**
365             * Returns the message boards mailing list matching the UUID and group.
366             *
367             * @param uuid the message boards mailing list's UUID
368             * @param groupId the primary key of the group
369             * @return the matching message boards mailing list
370             * @throws PortalException if a matching message boards mailing list could not be found
371             */
372            @Override
373            public MBMailingList getMBMailingListByUuidAndGroupId(String uuid,
374                    long groupId) throws PortalException {
375                    return mbMailingListPersistence.findByUUID_G(uuid, groupId);
376            }
377    
378            /**
379             * Returns a range of all the message boards mailing lists.
380             *
381             * <p>
382             * 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.messageboards.model.impl.MBMailingListModelImpl}. 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.
383             * </p>
384             *
385             * @param start the lower bound of the range of message boards mailing lists
386             * @param end the upper bound of the range of message boards mailing lists (not inclusive)
387             * @return the range of message boards mailing lists
388             */
389            @Override
390            public List<MBMailingList> getMBMailingLists(int start, int end) {
391                    return mbMailingListPersistence.findAll(start, end);
392            }
393    
394            /**
395             * Returns the number of message boards mailing lists.
396             *
397             * @return the number of message boards mailing lists
398             */
399            @Override
400            public int getMBMailingListsCount() {
401                    return mbMailingListPersistence.countAll();
402            }
403    
404            /**
405             * Updates the message boards mailing list in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
406             *
407             * @param mbMailingList the message boards mailing list
408             * @return the message boards mailing list that was updated
409             */
410            @Indexable(type = IndexableType.REINDEX)
411            @Override
412            public MBMailingList updateMBMailingList(MBMailingList mbMailingList) {
413                    return mbMailingListPersistence.update(mbMailingList);
414            }
415    
416            /**
417             * Returns the message boards mailing list local service.
418             *
419             * @return the message boards mailing list local service
420             */
421            public MBMailingListLocalService getMBMailingListLocalService() {
422                    return mbMailingListLocalService;
423            }
424    
425            /**
426             * Sets the message boards mailing list local service.
427             *
428             * @param mbMailingListLocalService the message boards mailing list local service
429             */
430            public void setMBMailingListLocalService(
431                    MBMailingListLocalService mbMailingListLocalService) {
432                    this.mbMailingListLocalService = mbMailingListLocalService;
433            }
434    
435            /**
436             * Returns the message boards mailing list persistence.
437             *
438             * @return the message boards mailing list persistence
439             */
440            public MBMailingListPersistence getMBMailingListPersistence() {
441                    return mbMailingListPersistence;
442            }
443    
444            /**
445             * Sets the message boards mailing list persistence.
446             *
447             * @param mbMailingListPersistence the message boards mailing list persistence
448             */
449            public void setMBMailingListPersistence(
450                    MBMailingListPersistence mbMailingListPersistence) {
451                    this.mbMailingListPersistence = mbMailingListPersistence;
452            }
453    
454            /**
455             * Returns the counter local service.
456             *
457             * @return the counter local service
458             */
459            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
460                    return counterLocalService;
461            }
462    
463            /**
464             * Sets the counter local service.
465             *
466             * @param counterLocalService the counter local service
467             */
468            public void setCounterLocalService(
469                    com.liferay.counter.service.CounterLocalService counterLocalService) {
470                    this.counterLocalService = counterLocalService;
471            }
472    
473            /**
474             * Returns the user local service.
475             *
476             * @return the user local service
477             */
478            public com.liferay.portal.service.UserLocalService getUserLocalService() {
479                    return userLocalService;
480            }
481    
482            /**
483             * Sets the user local service.
484             *
485             * @param userLocalService the user local service
486             */
487            public void setUserLocalService(
488                    com.liferay.portal.service.UserLocalService userLocalService) {
489                    this.userLocalService = userLocalService;
490            }
491    
492            /**
493             * Returns the user remote service.
494             *
495             * @return the user remote service
496             */
497            public com.liferay.portal.service.UserService getUserService() {
498                    return userService;
499            }
500    
501            /**
502             * Sets the user remote service.
503             *
504             * @param userService the user remote service
505             */
506            public void setUserService(
507                    com.liferay.portal.service.UserService userService) {
508                    this.userService = userService;
509            }
510    
511            /**
512             * Returns the user persistence.
513             *
514             * @return the user persistence
515             */
516            public UserPersistence getUserPersistence() {
517                    return userPersistence;
518            }
519    
520            /**
521             * Sets the user persistence.
522             *
523             * @param userPersistence the user persistence
524             */
525            public void setUserPersistence(UserPersistence userPersistence) {
526                    this.userPersistence = userPersistence;
527            }
528    
529            /**
530             * Returns the user finder.
531             *
532             * @return the user finder
533             */
534            public UserFinder getUserFinder() {
535                    return userFinder;
536            }
537    
538            /**
539             * Sets the user finder.
540             *
541             * @param userFinder the user finder
542             */
543            public void setUserFinder(UserFinder userFinder) {
544                    this.userFinder = userFinder;
545            }
546    
547            public void afterPropertiesSet() {
548                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.messageboards.model.MBMailingList",
549                            mbMailingListLocalService);
550            }
551    
552            public void destroy() {
553                    persistedModelLocalServiceRegistry.unregister(
554                            "com.liferay.portlet.messageboards.model.MBMailingList");
555            }
556    
557            /**
558             * Returns the Spring bean ID for this bean.
559             *
560             * @return the Spring bean ID for this bean
561             */
562            @Override
563            public String getBeanIdentifier() {
564                    return _beanIdentifier;
565            }
566    
567            /**
568             * Sets the Spring bean ID for this bean.
569             *
570             * @param beanIdentifier the Spring bean ID for this bean
571             */
572            @Override
573            public void setBeanIdentifier(String beanIdentifier) {
574                    _beanIdentifier = beanIdentifier;
575            }
576    
577            protected Class<?> getModelClass() {
578                    return MBMailingList.class;
579            }
580    
581            protected String getModelClassName() {
582                    return MBMailingList.class.getName();
583            }
584    
585            /**
586             * Performs a SQL query.
587             *
588             * @param sql the sql query
589             */
590            protected void runSQL(String sql) {
591                    try {
592                            DataSource dataSource = mbMailingListPersistence.getDataSource();
593    
594                            DB db = DBFactoryUtil.getDB();
595    
596                            sql = db.buildSQL(sql);
597                            sql = PortalUtil.transformSQL(sql);
598    
599                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
600                                            sql, new int[0]);
601    
602                            sqlUpdate.update();
603                    }
604                    catch (Exception e) {
605                            throw new SystemException(e);
606                    }
607            }
608    
609            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMailingListLocalService.class)
610            protected MBMailingListLocalService mbMailingListLocalService;
611            @BeanReference(type = MBMailingListPersistence.class)
612            protected MBMailingListPersistence mbMailingListPersistence;
613            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
614            protected com.liferay.counter.service.CounterLocalService counterLocalService;
615            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
616            protected com.liferay.portal.service.UserLocalService userLocalService;
617            @BeanReference(type = com.liferay.portal.service.UserService.class)
618            protected com.liferay.portal.service.UserService userService;
619            @BeanReference(type = UserPersistence.class)
620            protected UserPersistence userPersistence;
621            @BeanReference(type = UserFinder.class)
622            protected UserFinder userFinder;
623            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
624            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
625            private String _beanIdentifier;
626    }