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.journal.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.Projection;
030    import com.liferay.portal.kernel.exception.PortalException;
031    import com.liferay.portal.kernel.exception.SystemException;
032    import com.liferay.portal.kernel.search.Indexable;
033    import com.liferay.portal.kernel.search.IndexableType;
034    import com.liferay.portal.kernel.util.OrderByComparator;
035    import com.liferay.portal.model.PersistedModel;
036    import com.liferay.portal.service.BaseLocalServiceImpl;
037    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
038    import com.liferay.portal.service.persistence.GroupFinder;
039    import com.liferay.portal.service.persistence.GroupPersistence;
040    import com.liferay.portal.service.persistence.LayoutFinder;
041    import com.liferay.portal.service.persistence.LayoutPersistence;
042    import com.liferay.portal.service.persistence.PortletPreferencesFinder;
043    import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
044    import com.liferay.portal.util.PortalUtil;
045    
046    import com.liferay.portlet.journal.model.JournalContentSearch;
047    import com.liferay.portlet.journal.service.JournalContentSearchLocalService;
048    import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
049    
050    import java.io.Serializable;
051    
052    import java.util.List;
053    
054    import javax.sql.DataSource;
055    
056    /**
057     * Provides the base implementation for the journal content search local service.
058     *
059     * <p>
060     * 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.journal.service.impl.JournalContentSearchLocalServiceImpl}.
061     * </p>
062     *
063     * @author Brian Wing Shun Chan
064     * @see com.liferay.portlet.journal.service.impl.JournalContentSearchLocalServiceImpl
065     * @see com.liferay.portlet.journal.service.JournalContentSearchLocalServiceUtil
066     * @generated
067     */
068    @ProviderType
069    public abstract class JournalContentSearchLocalServiceBaseImpl
070            extends BaseLocalServiceImpl implements JournalContentSearchLocalService,
071                    IdentifiableBean {
072            /*
073             * NOTE FOR DEVELOPERS:
074             *
075             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.journal.service.JournalContentSearchLocalServiceUtil} to access the journal content search local service.
076             */
077    
078            /**
079             * Adds the journal content search to the database. Also notifies the appropriate model listeners.
080             *
081             * @param journalContentSearch the journal content search
082             * @return the journal content search that was added
083             */
084            @Indexable(type = IndexableType.REINDEX)
085            @Override
086            public JournalContentSearch addJournalContentSearch(
087                    JournalContentSearch journalContentSearch) {
088                    journalContentSearch.setNew(true);
089    
090                    return journalContentSearchPersistence.update(journalContentSearch);
091            }
092    
093            /**
094             * Creates a new journal content search with the primary key. Does not add the journal content search to the database.
095             *
096             * @param contentSearchId the primary key for the new journal content search
097             * @return the new journal content search
098             */
099            @Override
100            public JournalContentSearch createJournalContentSearch(long contentSearchId) {
101                    return journalContentSearchPersistence.create(contentSearchId);
102            }
103    
104            /**
105             * Deletes the journal content search with the primary key from the database. Also notifies the appropriate model listeners.
106             *
107             * @param contentSearchId the primary key of the journal content search
108             * @return the journal content search that was removed
109             * @throws PortalException if a journal content search with the primary key could not be found
110             */
111            @Indexable(type = IndexableType.DELETE)
112            @Override
113            public JournalContentSearch deleteJournalContentSearch(long contentSearchId)
114                    throws PortalException {
115                    return journalContentSearchPersistence.remove(contentSearchId);
116            }
117    
118            /**
119             * Deletes the journal content search from the database. Also notifies the appropriate model listeners.
120             *
121             * @param journalContentSearch the journal content search
122             * @return the journal content search that was removed
123             */
124            @Indexable(type = IndexableType.DELETE)
125            @Override
126            public JournalContentSearch deleteJournalContentSearch(
127                    JournalContentSearch journalContentSearch) {
128                    return journalContentSearchPersistence.remove(journalContentSearch);
129            }
130    
131            @Override
132            public DynamicQuery dynamicQuery() {
133                    Class<?> clazz = getClass();
134    
135                    return DynamicQueryFactoryUtil.forClass(JournalContentSearch.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 journalContentSearchPersistence.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.journal.model.impl.JournalContentSearchModelImpl}. 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 journalContentSearchPersistence.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.journal.model.impl.JournalContentSearchModelImpl}. 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 journalContentSearchPersistence.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 journalContentSearchPersistence.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 journalContentSearchPersistence.countWithDynamicQuery(dynamicQuery,
211                            projection);
212            }
213    
214            @Override
215            public JournalContentSearch fetchJournalContentSearch(long contentSearchId) {
216                    return journalContentSearchPersistence.fetchByPrimaryKey(contentSearchId);
217            }
218    
219            /**
220             * Returns the journal content search with the primary key.
221             *
222             * @param contentSearchId the primary key of the journal content search
223             * @return the journal content search
224             * @throws PortalException if a journal content search with the primary key could not be found
225             */
226            @Override
227            public JournalContentSearch getJournalContentSearch(long contentSearchId)
228                    throws PortalException {
229                    return journalContentSearchPersistence.findByPrimaryKey(contentSearchId);
230            }
231    
232            @Override
233            public ActionableDynamicQuery getActionableDynamicQuery() {
234                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
235    
236                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.journal.service.JournalContentSearchLocalServiceUtil.getService());
237                    actionableDynamicQuery.setClass(JournalContentSearch.class);
238                    actionableDynamicQuery.setClassLoader(getClassLoader());
239    
240                    actionableDynamicQuery.setPrimaryKeyPropertyName("contentSearchId");
241    
242                    return actionableDynamicQuery;
243            }
244    
245            protected void initActionableDynamicQuery(
246                    ActionableDynamicQuery actionableDynamicQuery) {
247                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.journal.service.JournalContentSearchLocalServiceUtil.getService());
248                    actionableDynamicQuery.setClass(JournalContentSearch.class);
249                    actionableDynamicQuery.setClassLoader(getClassLoader());
250    
251                    actionableDynamicQuery.setPrimaryKeyPropertyName("contentSearchId");
252            }
253    
254            /**
255             * @throws PortalException
256             */
257            @Override
258            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
259                    throws PortalException {
260                    return journalContentSearchLocalService.deleteJournalContentSearch((JournalContentSearch)persistedModel);
261            }
262    
263            @Override
264            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
265                    throws PortalException {
266                    return journalContentSearchPersistence.findByPrimaryKey(primaryKeyObj);
267            }
268    
269            /**
270             * Returns a range of all the journal content searchs.
271             *
272             * <p>
273             * 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.journal.model.impl.JournalContentSearchModelImpl}. 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.
274             * </p>
275             *
276             * @param start the lower bound of the range of journal content searchs
277             * @param end the upper bound of the range of journal content searchs (not inclusive)
278             * @return the range of journal content searchs
279             */
280            @Override
281            public List<JournalContentSearch> getJournalContentSearchs(int start,
282                    int end) {
283                    return journalContentSearchPersistence.findAll(start, end);
284            }
285    
286            /**
287             * Returns the number of journal content searchs.
288             *
289             * @return the number of journal content searchs
290             */
291            @Override
292            public int getJournalContentSearchsCount() {
293                    return journalContentSearchPersistence.countAll();
294            }
295    
296            /**
297             * Updates the journal content search in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
298             *
299             * @param journalContentSearch the journal content search
300             * @return the journal content search that was updated
301             */
302            @Indexable(type = IndexableType.REINDEX)
303            @Override
304            public JournalContentSearch updateJournalContentSearch(
305                    JournalContentSearch journalContentSearch) {
306                    return journalContentSearchPersistence.update(journalContentSearch);
307            }
308    
309            /**
310             * Returns the journal content search local service.
311             *
312             * @return the journal content search local service
313             */
314            public com.liferay.portlet.journal.service.JournalContentSearchLocalService getJournalContentSearchLocalService() {
315                    return journalContentSearchLocalService;
316            }
317    
318            /**
319             * Sets the journal content search local service.
320             *
321             * @param journalContentSearchLocalService the journal content search local service
322             */
323            public void setJournalContentSearchLocalService(
324                    com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService) {
325                    this.journalContentSearchLocalService = journalContentSearchLocalService;
326            }
327    
328            /**
329             * Returns the journal content search persistence.
330             *
331             * @return the journal content search persistence
332             */
333            public JournalContentSearchPersistence getJournalContentSearchPersistence() {
334                    return journalContentSearchPersistence;
335            }
336    
337            /**
338             * Sets the journal content search persistence.
339             *
340             * @param journalContentSearchPersistence the journal content search persistence
341             */
342            public void setJournalContentSearchPersistence(
343                    JournalContentSearchPersistence journalContentSearchPersistence) {
344                    this.journalContentSearchPersistence = journalContentSearchPersistence;
345            }
346    
347            /**
348             * Returns the counter local service.
349             *
350             * @return the counter local service
351             */
352            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
353                    return counterLocalService;
354            }
355    
356            /**
357             * Sets the counter local service.
358             *
359             * @param counterLocalService the counter local service
360             */
361            public void setCounterLocalService(
362                    com.liferay.counter.service.CounterLocalService counterLocalService) {
363                    this.counterLocalService = counterLocalService;
364            }
365    
366            /**
367             * Returns the group local service.
368             *
369             * @return the group local service
370             */
371            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
372                    return groupLocalService;
373            }
374    
375            /**
376             * Sets the group local service.
377             *
378             * @param groupLocalService the group local service
379             */
380            public void setGroupLocalService(
381                    com.liferay.portal.service.GroupLocalService groupLocalService) {
382                    this.groupLocalService = groupLocalService;
383            }
384    
385            /**
386             * Returns the group remote service.
387             *
388             * @return the group remote service
389             */
390            public com.liferay.portal.service.GroupService getGroupService() {
391                    return groupService;
392            }
393    
394            /**
395             * Sets the group remote service.
396             *
397             * @param groupService the group remote service
398             */
399            public void setGroupService(
400                    com.liferay.portal.service.GroupService groupService) {
401                    this.groupService = groupService;
402            }
403    
404            /**
405             * Returns the group persistence.
406             *
407             * @return the group persistence
408             */
409            public GroupPersistence getGroupPersistence() {
410                    return groupPersistence;
411            }
412    
413            /**
414             * Sets the group persistence.
415             *
416             * @param groupPersistence the group persistence
417             */
418            public void setGroupPersistence(GroupPersistence groupPersistence) {
419                    this.groupPersistence = groupPersistence;
420            }
421    
422            /**
423             * Returns the group finder.
424             *
425             * @return the group finder
426             */
427            public GroupFinder getGroupFinder() {
428                    return groupFinder;
429            }
430    
431            /**
432             * Sets the group finder.
433             *
434             * @param groupFinder the group finder
435             */
436            public void setGroupFinder(GroupFinder groupFinder) {
437                    this.groupFinder = groupFinder;
438            }
439    
440            /**
441             * Returns the layout local service.
442             *
443             * @return the layout local service
444             */
445            public com.liferay.portal.service.LayoutLocalService getLayoutLocalService() {
446                    return layoutLocalService;
447            }
448    
449            /**
450             * Sets the layout local service.
451             *
452             * @param layoutLocalService the layout local service
453             */
454            public void setLayoutLocalService(
455                    com.liferay.portal.service.LayoutLocalService layoutLocalService) {
456                    this.layoutLocalService = layoutLocalService;
457            }
458    
459            /**
460             * Returns the layout remote service.
461             *
462             * @return the layout remote service
463             */
464            public com.liferay.portal.service.LayoutService getLayoutService() {
465                    return layoutService;
466            }
467    
468            /**
469             * Sets the layout remote service.
470             *
471             * @param layoutService the layout remote service
472             */
473            public void setLayoutService(
474                    com.liferay.portal.service.LayoutService layoutService) {
475                    this.layoutService = layoutService;
476            }
477    
478            /**
479             * Returns the layout persistence.
480             *
481             * @return the layout persistence
482             */
483            public LayoutPersistence getLayoutPersistence() {
484                    return layoutPersistence;
485            }
486    
487            /**
488             * Sets the layout persistence.
489             *
490             * @param layoutPersistence the layout persistence
491             */
492            public void setLayoutPersistence(LayoutPersistence layoutPersistence) {
493                    this.layoutPersistence = layoutPersistence;
494            }
495    
496            /**
497             * Returns the layout finder.
498             *
499             * @return the layout finder
500             */
501            public LayoutFinder getLayoutFinder() {
502                    return layoutFinder;
503            }
504    
505            /**
506             * Sets the layout finder.
507             *
508             * @param layoutFinder the layout finder
509             */
510            public void setLayoutFinder(LayoutFinder layoutFinder) {
511                    this.layoutFinder = layoutFinder;
512            }
513    
514            /**
515             * Returns the portlet preferences local service.
516             *
517             * @return the portlet preferences local service
518             */
519            public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
520                    return portletPreferencesLocalService;
521            }
522    
523            /**
524             * Sets the portlet preferences local service.
525             *
526             * @param portletPreferencesLocalService the portlet preferences local service
527             */
528            public void setPortletPreferencesLocalService(
529                    com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
530                    this.portletPreferencesLocalService = portletPreferencesLocalService;
531            }
532    
533            /**
534             * Returns the portlet preferences remote service.
535             *
536             * @return the portlet preferences remote service
537             */
538            public com.liferay.portal.service.PortletPreferencesService getPortletPreferencesService() {
539                    return portletPreferencesService;
540            }
541    
542            /**
543             * Sets the portlet preferences remote service.
544             *
545             * @param portletPreferencesService the portlet preferences remote service
546             */
547            public void setPortletPreferencesService(
548                    com.liferay.portal.service.PortletPreferencesService portletPreferencesService) {
549                    this.portletPreferencesService = portletPreferencesService;
550            }
551    
552            /**
553             * Returns the portlet preferences persistence.
554             *
555             * @return the portlet preferences persistence
556             */
557            public PortletPreferencesPersistence getPortletPreferencesPersistence() {
558                    return portletPreferencesPersistence;
559            }
560    
561            /**
562             * Sets the portlet preferences persistence.
563             *
564             * @param portletPreferencesPersistence the portlet preferences persistence
565             */
566            public void setPortletPreferencesPersistence(
567                    PortletPreferencesPersistence portletPreferencesPersistence) {
568                    this.portletPreferencesPersistence = portletPreferencesPersistence;
569            }
570    
571            /**
572             * Returns the portlet preferences finder.
573             *
574             * @return the portlet preferences finder
575             */
576            public PortletPreferencesFinder getPortletPreferencesFinder() {
577                    return portletPreferencesFinder;
578            }
579    
580            /**
581             * Sets the portlet preferences finder.
582             *
583             * @param portletPreferencesFinder the portlet preferences finder
584             */
585            public void setPortletPreferencesFinder(
586                    PortletPreferencesFinder portletPreferencesFinder) {
587                    this.portletPreferencesFinder = portletPreferencesFinder;
588            }
589    
590            public void afterPropertiesSet() {
591                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.journal.model.JournalContentSearch",
592                            journalContentSearchLocalService);
593            }
594    
595            public void destroy() {
596                    persistedModelLocalServiceRegistry.unregister(
597                            "com.liferay.portlet.journal.model.JournalContentSearch");
598            }
599    
600            /**
601             * Returns the Spring bean ID for this bean.
602             *
603             * @return the Spring bean ID for this bean
604             */
605            @Override
606            public String getBeanIdentifier() {
607                    return _beanIdentifier;
608            }
609    
610            /**
611             * Sets the Spring bean ID for this bean.
612             *
613             * @param beanIdentifier the Spring bean ID for this bean
614             */
615            @Override
616            public void setBeanIdentifier(String beanIdentifier) {
617                    _beanIdentifier = beanIdentifier;
618            }
619    
620            protected Class<?> getModelClass() {
621                    return JournalContentSearch.class;
622            }
623    
624            protected String getModelClassName() {
625                    return JournalContentSearch.class.getName();
626            }
627    
628            /**
629             * Performs a SQL query.
630             *
631             * @param sql the sql query
632             */
633            protected void runSQL(String sql) {
634                    try {
635                            DataSource dataSource = journalContentSearchPersistence.getDataSource();
636    
637                            DB db = DBFactoryUtil.getDB();
638    
639                            sql = db.buildSQL(sql);
640                            sql = PortalUtil.transformSQL(sql);
641    
642                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
643                                            sql, new int[0]);
644    
645                            sqlUpdate.update();
646                    }
647                    catch (Exception e) {
648                            throw new SystemException(e);
649                    }
650            }
651    
652            @BeanReference(type = com.liferay.portlet.journal.service.JournalContentSearchLocalService.class)
653            protected com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService;
654            @BeanReference(type = JournalContentSearchPersistence.class)
655            protected JournalContentSearchPersistence journalContentSearchPersistence;
656            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
657            protected com.liferay.counter.service.CounterLocalService counterLocalService;
658            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
659            protected com.liferay.portal.service.GroupLocalService groupLocalService;
660            @BeanReference(type = com.liferay.portal.service.GroupService.class)
661            protected com.liferay.portal.service.GroupService groupService;
662            @BeanReference(type = GroupPersistence.class)
663            protected GroupPersistence groupPersistence;
664            @BeanReference(type = GroupFinder.class)
665            protected GroupFinder groupFinder;
666            @BeanReference(type = com.liferay.portal.service.LayoutLocalService.class)
667            protected com.liferay.portal.service.LayoutLocalService layoutLocalService;
668            @BeanReference(type = com.liferay.portal.service.LayoutService.class)
669            protected com.liferay.portal.service.LayoutService layoutService;
670            @BeanReference(type = LayoutPersistence.class)
671            protected LayoutPersistence layoutPersistence;
672            @BeanReference(type = LayoutFinder.class)
673            protected LayoutFinder layoutFinder;
674            @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
675            protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
676            @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
677            protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
678            @BeanReference(type = PortletPreferencesPersistence.class)
679            protected PortletPreferencesPersistence portletPreferencesPersistence;
680            @BeanReference(type = PortletPreferencesFinder.class)
681            protected PortletPreferencesFinder portletPreferencesFinder;
682            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
683            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
684            private String _beanIdentifier;
685    }