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