001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.service.base;
016    
017    import com.liferay.portal.kernel.bean.BeanReference;
018    import com.liferay.portal.kernel.bean.IdentifiableBean;
019    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
020    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
021    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
022    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
023    import com.liferay.portal.kernel.dao.orm.Projection;
024    import com.liferay.portal.kernel.exception.PortalException;
025    import com.liferay.portal.kernel.exception.SystemException;
026    import com.liferay.portal.kernel.search.Indexable;
027    import com.liferay.portal.kernel.search.IndexableType;
028    import com.liferay.portal.kernel.util.OrderByComparator;
029    import com.liferay.portal.model.PersistedModel;
030    import com.liferay.portal.service.BaseLocalServiceImpl;
031    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
032    import com.liferay.portal.service.persistence.GroupFinder;
033    import com.liferay.portal.service.persistence.GroupPersistence;
034    import com.liferay.portal.service.persistence.UserFinder;
035    import com.liferay.portal.service.persistence.UserPersistence;
036    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
037    
038    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
039    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
040    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
041    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
042    import com.liferay.portlet.journal.model.JournalFolder;
043    import com.liferay.portlet.journal.service.JournalFolderLocalService;
044    import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
045    import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
046    import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
047    import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
048    import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
049    import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
050    import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
051    import com.liferay.portlet.journal.service.persistence.JournalFolderFinder;
052    import com.liferay.portlet.journal.service.persistence.JournalFolderPersistence;
053    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
054    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
055    import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
056    
057    import java.io.Serializable;
058    
059    import java.util.List;
060    
061    import javax.sql.DataSource;
062    
063    /**
064     * Provides the base implementation for the journal folder local service.
065     *
066     * <p>
067     * 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.JournalFolderLocalServiceImpl}.
068     * </p>
069     *
070     * @author Brian Wing Shun Chan
071     * @see com.liferay.portlet.journal.service.impl.JournalFolderLocalServiceImpl
072     * @see com.liferay.portlet.journal.service.JournalFolderLocalServiceUtil
073     * @generated
074     */
075    public abstract class JournalFolderLocalServiceBaseImpl
076            extends BaseLocalServiceImpl implements JournalFolderLocalService,
077                    IdentifiableBean {
078            /*
079             * NOTE FOR DEVELOPERS:
080             *
081             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.journal.service.JournalFolderLocalServiceUtil} to access the journal folder local service.
082             */
083    
084            /**
085             * Adds the journal folder to the database. Also notifies the appropriate model listeners.
086             *
087             * @param journalFolder the journal folder
088             * @return the journal folder that was added
089             * @throws SystemException if a system exception occurred
090             */
091            @Indexable(type = IndexableType.REINDEX)
092            @Override
093            public JournalFolder addJournalFolder(JournalFolder journalFolder)
094                    throws SystemException {
095                    journalFolder.setNew(true);
096    
097                    return journalFolderPersistence.update(journalFolder);
098            }
099    
100            /**
101             * Creates a new journal folder with the primary key. Does not add the journal folder to the database.
102             *
103             * @param folderId the primary key for the new journal folder
104             * @return the new journal folder
105             */
106            @Override
107            public JournalFolder createJournalFolder(long folderId) {
108                    return journalFolderPersistence.create(folderId);
109            }
110    
111            /**
112             * Deletes the journal folder with the primary key from the database. Also notifies the appropriate model listeners.
113             *
114             * @param folderId the primary key of the journal folder
115             * @return the journal folder that was removed
116             * @throws PortalException if a journal folder with the primary key could not be found
117             * @throws SystemException if a system exception occurred
118             */
119            @Indexable(type = IndexableType.DELETE)
120            @Override
121            public JournalFolder deleteJournalFolder(long folderId)
122                    throws PortalException, SystemException {
123                    return journalFolderPersistence.remove(folderId);
124            }
125    
126            /**
127             * Deletes the journal folder from the database. Also notifies the appropriate model listeners.
128             *
129             * @param journalFolder the journal folder
130             * @return the journal folder that was removed
131             * @throws SystemException if a system exception occurred
132             */
133            @Indexable(type = IndexableType.DELETE)
134            @Override
135            public JournalFolder deleteJournalFolder(JournalFolder journalFolder)
136                    throws SystemException {
137                    return journalFolderPersistence.remove(journalFolder);
138            }
139    
140            @Override
141            public DynamicQuery dynamicQuery() {
142                    Class<?> clazz = getClass();
143    
144                    return DynamicQueryFactoryUtil.forClass(JournalFolder.class,
145                            clazz.getClassLoader());
146            }
147    
148            /**
149             * Performs a dynamic query on the database and returns the matching rows.
150             *
151             * @param dynamicQuery the dynamic query
152             * @return the matching rows
153             * @throws SystemException if a system exception occurred
154             */
155            @Override
156            @SuppressWarnings("rawtypes")
157            public List dynamicQuery(DynamicQuery dynamicQuery)
158                    throws SystemException {
159                    return journalFolderPersistence.findWithDynamicQuery(dynamicQuery);
160            }
161    
162            /**
163             * Performs a dynamic query on the database and returns a range of the matching rows.
164             *
165             * <p>
166             * 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.JournalFolderModelImpl}. 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.
167             * </p>
168             *
169             * @param dynamicQuery the dynamic query
170             * @param start the lower bound of the range of model instances
171             * @param end the upper bound of the range of model instances (not inclusive)
172             * @return the range of matching rows
173             * @throws SystemException if a system exception occurred
174             */
175            @Override
176            @SuppressWarnings("rawtypes")
177            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
178                    throws SystemException {
179                    return journalFolderPersistence.findWithDynamicQuery(dynamicQuery,
180                            start, end);
181            }
182    
183            /**
184             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
185             *
186             * <p>
187             * 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.JournalFolderModelImpl}. 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.
188             * </p>
189             *
190             * @param dynamicQuery the dynamic query
191             * @param start the lower bound of the range of model instances
192             * @param end the upper bound of the range of model instances (not inclusive)
193             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
194             * @return the ordered range of matching rows
195             * @throws SystemException if a system exception occurred
196             */
197            @Override
198            @SuppressWarnings("rawtypes")
199            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
200                    OrderByComparator orderByComparator) throws SystemException {
201                    return journalFolderPersistence.findWithDynamicQuery(dynamicQuery,
202                            start, end, orderByComparator);
203            }
204    
205            /**
206             * Returns the number of rows that match the dynamic query.
207             *
208             * @param dynamicQuery the dynamic query
209             * @return the number of rows that match the dynamic query
210             * @throws SystemException if a system exception occurred
211             */
212            @Override
213            public long dynamicQueryCount(DynamicQuery dynamicQuery)
214                    throws SystemException {
215                    return journalFolderPersistence.countWithDynamicQuery(dynamicQuery);
216            }
217    
218            /**
219             * Returns the number of rows that match the dynamic query.
220             *
221             * @param dynamicQuery the dynamic query
222             * @param projection the projection to apply to the query
223             * @return the number of rows that match the dynamic query
224             * @throws SystemException if a system exception occurred
225             */
226            @Override
227            public long dynamicQueryCount(DynamicQuery dynamicQuery,
228                    Projection projection) throws SystemException {
229                    return journalFolderPersistence.countWithDynamicQuery(dynamicQuery,
230                            projection);
231            }
232    
233            @Override
234            public JournalFolder fetchJournalFolder(long folderId)
235                    throws SystemException {
236                    return journalFolderPersistence.fetchByPrimaryKey(folderId);
237            }
238    
239            /**
240             * Returns the journal folder with the matching UUID and company.
241             *
242             * @param uuid the journal folder's UUID
243             * @param  companyId the primary key of the company
244             * @return the matching journal folder, or <code>null</code> if a matching journal folder could not be found
245             * @throws SystemException if a system exception occurred
246             */
247            @Override
248            public JournalFolder fetchJournalFolderByUuidAndCompanyId(String uuid,
249                    long companyId) throws SystemException {
250                    return journalFolderPersistence.fetchByUuid_C_First(uuid, companyId,
251                            null);
252            }
253    
254            /**
255             * Returns the journal folder matching the UUID and group.
256             *
257             * @param uuid the journal folder's UUID
258             * @param groupId the primary key of the group
259             * @return the matching journal folder, or <code>null</code> if a matching journal folder could not be found
260             * @throws SystemException if a system exception occurred
261             */
262            @Override
263            public JournalFolder fetchJournalFolderByUuidAndGroupId(String uuid,
264                    long groupId) throws SystemException {
265                    return journalFolderPersistence.fetchByUUID_G(uuid, groupId);
266            }
267    
268            /**
269             * Returns the journal folder with the primary key.
270             *
271             * @param folderId the primary key of the journal folder
272             * @return the journal folder
273             * @throws PortalException if a journal folder with the primary key could not be found
274             * @throws SystemException if a system exception occurred
275             */
276            @Override
277            public JournalFolder getJournalFolder(long folderId)
278                    throws PortalException, SystemException {
279                    return journalFolderPersistence.findByPrimaryKey(folderId);
280            }
281    
282            @Override
283            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
284                    throws PortalException, SystemException {
285                    return journalFolderPersistence.findByPrimaryKey(primaryKeyObj);
286            }
287    
288            /**
289             * Returns the journal folder with the matching UUID and company.
290             *
291             * @param uuid the journal folder's UUID
292             * @param  companyId the primary key of the company
293             * @return the matching journal folder
294             * @throws PortalException if a matching journal folder could not be found
295             * @throws SystemException if a system exception occurred
296             */
297            @Override
298            public JournalFolder getJournalFolderByUuidAndCompanyId(String uuid,
299                    long companyId) throws PortalException, SystemException {
300                    return journalFolderPersistence.findByUuid_C_First(uuid, companyId, null);
301            }
302    
303            /**
304             * Returns the journal folder matching the UUID and group.
305             *
306             * @param uuid the journal folder's UUID
307             * @param groupId the primary key of the group
308             * @return the matching journal folder
309             * @throws PortalException if a matching journal folder could not be found
310             * @throws SystemException if a system exception occurred
311             */
312            @Override
313            public JournalFolder getJournalFolderByUuidAndGroupId(String uuid,
314                    long groupId) throws PortalException, SystemException {
315                    return journalFolderPersistence.findByUUID_G(uuid, groupId);
316            }
317    
318            /**
319             * Returns a range of all the journal folders.
320             *
321             * <p>
322             * 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.JournalFolderModelImpl}. 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.
323             * </p>
324             *
325             * @param start the lower bound of the range of journal folders
326             * @param end the upper bound of the range of journal folders (not inclusive)
327             * @return the range of journal folders
328             * @throws SystemException if a system exception occurred
329             */
330            @Override
331            public List<JournalFolder> getJournalFolders(int start, int end)
332                    throws SystemException {
333                    return journalFolderPersistence.findAll(start, end);
334            }
335    
336            /**
337             * Returns the number of journal folders.
338             *
339             * @return the number of journal folders
340             * @throws SystemException if a system exception occurred
341             */
342            @Override
343            public int getJournalFoldersCount() throws SystemException {
344                    return journalFolderPersistence.countAll();
345            }
346    
347            /**
348             * Updates the journal folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
349             *
350             * @param journalFolder the journal folder
351             * @return the journal folder that was updated
352             * @throws SystemException if a system exception occurred
353             */
354            @Indexable(type = IndexableType.REINDEX)
355            @Override
356            public JournalFolder updateJournalFolder(JournalFolder journalFolder)
357                    throws SystemException {
358                    return journalFolderPersistence.update(journalFolder);
359            }
360    
361            /**
362             * Returns the journal article local service.
363             *
364             * @return the journal article local service
365             */
366            public com.liferay.portlet.journal.service.JournalArticleLocalService getJournalArticleLocalService() {
367                    return journalArticleLocalService;
368            }
369    
370            /**
371             * Sets the journal article local service.
372             *
373             * @param journalArticleLocalService the journal article local service
374             */
375            public void setJournalArticleLocalService(
376                    com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService) {
377                    this.journalArticleLocalService = journalArticleLocalService;
378            }
379    
380            /**
381             * Returns the journal article remote service.
382             *
383             * @return the journal article remote service
384             */
385            public com.liferay.portlet.journal.service.JournalArticleService getJournalArticleService() {
386                    return journalArticleService;
387            }
388    
389            /**
390             * Sets the journal article remote service.
391             *
392             * @param journalArticleService the journal article remote service
393             */
394            public void setJournalArticleService(
395                    com.liferay.portlet.journal.service.JournalArticleService journalArticleService) {
396                    this.journalArticleService = journalArticleService;
397            }
398    
399            /**
400             * Returns the journal article persistence.
401             *
402             * @return the journal article persistence
403             */
404            public JournalArticlePersistence getJournalArticlePersistence() {
405                    return journalArticlePersistence;
406            }
407    
408            /**
409             * Sets the journal article persistence.
410             *
411             * @param journalArticlePersistence the journal article persistence
412             */
413            public void setJournalArticlePersistence(
414                    JournalArticlePersistence journalArticlePersistence) {
415                    this.journalArticlePersistence = journalArticlePersistence;
416            }
417    
418            /**
419             * Returns the journal article finder.
420             *
421             * @return the journal article finder
422             */
423            public JournalArticleFinder getJournalArticleFinder() {
424                    return journalArticleFinder;
425            }
426    
427            /**
428             * Sets the journal article finder.
429             *
430             * @param journalArticleFinder the journal article finder
431             */
432            public void setJournalArticleFinder(
433                    JournalArticleFinder journalArticleFinder) {
434                    this.journalArticleFinder = journalArticleFinder;
435            }
436    
437            /**
438             * Returns the journal article image local service.
439             *
440             * @return the journal article image local service
441             */
442            public com.liferay.portlet.journal.service.JournalArticleImageLocalService getJournalArticleImageLocalService() {
443                    return journalArticleImageLocalService;
444            }
445    
446            /**
447             * Sets the journal article image local service.
448             *
449             * @param journalArticleImageLocalService the journal article image local service
450             */
451            public void setJournalArticleImageLocalService(
452                    com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService) {
453                    this.journalArticleImageLocalService = journalArticleImageLocalService;
454            }
455    
456            /**
457             * Returns the journal article image persistence.
458             *
459             * @return the journal article image persistence
460             */
461            public JournalArticleImagePersistence getJournalArticleImagePersistence() {
462                    return journalArticleImagePersistence;
463            }
464    
465            /**
466             * Sets the journal article image persistence.
467             *
468             * @param journalArticleImagePersistence the journal article image persistence
469             */
470            public void setJournalArticleImagePersistence(
471                    JournalArticleImagePersistence journalArticleImagePersistence) {
472                    this.journalArticleImagePersistence = journalArticleImagePersistence;
473            }
474    
475            /**
476             * Returns the journal article resource local service.
477             *
478             * @return the journal article resource local service
479             */
480            public com.liferay.portlet.journal.service.JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
481                    return journalArticleResourceLocalService;
482            }
483    
484            /**
485             * Sets the journal article resource local service.
486             *
487             * @param journalArticleResourceLocalService the journal article resource local service
488             */
489            public void setJournalArticleResourceLocalService(
490                    com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService) {
491                    this.journalArticleResourceLocalService = journalArticleResourceLocalService;
492            }
493    
494            /**
495             * Returns the journal article resource persistence.
496             *
497             * @return the journal article resource persistence
498             */
499            public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
500                    return journalArticleResourcePersistence;
501            }
502    
503            /**
504             * Sets the journal article resource persistence.
505             *
506             * @param journalArticleResourcePersistence the journal article resource persistence
507             */
508            public void setJournalArticleResourcePersistence(
509                    JournalArticleResourcePersistence journalArticleResourcePersistence) {
510                    this.journalArticleResourcePersistence = journalArticleResourcePersistence;
511            }
512    
513            /**
514             * Returns the journal content search local service.
515             *
516             * @return the journal content search local service
517             */
518            public com.liferay.portlet.journal.service.JournalContentSearchLocalService getJournalContentSearchLocalService() {
519                    return journalContentSearchLocalService;
520            }
521    
522            /**
523             * Sets the journal content search local service.
524             *
525             * @param journalContentSearchLocalService the journal content search local service
526             */
527            public void setJournalContentSearchLocalService(
528                    com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService) {
529                    this.journalContentSearchLocalService = journalContentSearchLocalService;
530            }
531    
532            /**
533             * Returns the journal content search persistence.
534             *
535             * @return the journal content search persistence
536             */
537            public JournalContentSearchPersistence getJournalContentSearchPersistence() {
538                    return journalContentSearchPersistence;
539            }
540    
541            /**
542             * Sets the journal content search persistence.
543             *
544             * @param journalContentSearchPersistence the journal content search persistence
545             */
546            public void setJournalContentSearchPersistence(
547                    JournalContentSearchPersistence journalContentSearchPersistence) {
548                    this.journalContentSearchPersistence = journalContentSearchPersistence;
549            }
550    
551            /**
552             * Returns the journal feed local service.
553             *
554             * @return the journal feed local service
555             */
556            public com.liferay.portlet.journal.service.JournalFeedLocalService getJournalFeedLocalService() {
557                    return journalFeedLocalService;
558            }
559    
560            /**
561             * Sets the journal feed local service.
562             *
563             * @param journalFeedLocalService the journal feed local service
564             */
565            public void setJournalFeedLocalService(
566                    com.liferay.portlet.journal.service.JournalFeedLocalService journalFeedLocalService) {
567                    this.journalFeedLocalService = journalFeedLocalService;
568            }
569    
570            /**
571             * Returns the journal feed remote service.
572             *
573             * @return the journal feed remote service
574             */
575            public com.liferay.portlet.journal.service.JournalFeedService getJournalFeedService() {
576                    return journalFeedService;
577            }
578    
579            /**
580             * Sets the journal feed remote service.
581             *
582             * @param journalFeedService the journal feed remote service
583             */
584            public void setJournalFeedService(
585                    com.liferay.portlet.journal.service.JournalFeedService journalFeedService) {
586                    this.journalFeedService = journalFeedService;
587            }
588    
589            /**
590             * Returns the journal feed persistence.
591             *
592             * @return the journal feed persistence
593             */
594            public JournalFeedPersistence getJournalFeedPersistence() {
595                    return journalFeedPersistence;
596            }
597    
598            /**
599             * Sets the journal feed persistence.
600             *
601             * @param journalFeedPersistence the journal feed persistence
602             */
603            public void setJournalFeedPersistence(
604                    JournalFeedPersistence journalFeedPersistence) {
605                    this.journalFeedPersistence = journalFeedPersistence;
606            }
607    
608            /**
609             * Returns the journal feed finder.
610             *
611             * @return the journal feed finder
612             */
613            public JournalFeedFinder getJournalFeedFinder() {
614                    return journalFeedFinder;
615            }
616    
617            /**
618             * Sets the journal feed finder.
619             *
620             * @param journalFeedFinder the journal feed finder
621             */
622            public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder) {
623                    this.journalFeedFinder = journalFeedFinder;
624            }
625    
626            /**
627             * Returns the journal folder local service.
628             *
629             * @return the journal folder local service
630             */
631            public com.liferay.portlet.journal.service.JournalFolderLocalService getJournalFolderLocalService() {
632                    return journalFolderLocalService;
633            }
634    
635            /**
636             * Sets the journal folder local service.
637             *
638             * @param journalFolderLocalService the journal folder local service
639             */
640            public void setJournalFolderLocalService(
641                    com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService) {
642                    this.journalFolderLocalService = journalFolderLocalService;
643            }
644    
645            /**
646             * Returns the journal folder remote service.
647             *
648             * @return the journal folder remote service
649             */
650            public com.liferay.portlet.journal.service.JournalFolderService getJournalFolderService() {
651                    return journalFolderService;
652            }
653    
654            /**
655             * Sets the journal folder remote service.
656             *
657             * @param journalFolderService the journal folder remote service
658             */
659            public void setJournalFolderService(
660                    com.liferay.portlet.journal.service.JournalFolderService journalFolderService) {
661                    this.journalFolderService = journalFolderService;
662            }
663    
664            /**
665             * Returns the journal folder persistence.
666             *
667             * @return the journal folder persistence
668             */
669            public JournalFolderPersistence getJournalFolderPersistence() {
670                    return journalFolderPersistence;
671            }
672    
673            /**
674             * Sets the journal folder persistence.
675             *
676             * @param journalFolderPersistence the journal folder persistence
677             */
678            public void setJournalFolderPersistence(
679                    JournalFolderPersistence journalFolderPersistence) {
680                    this.journalFolderPersistence = journalFolderPersistence;
681            }
682    
683            /**
684             * Returns the journal folder finder.
685             *
686             * @return the journal folder finder
687             */
688            public JournalFolderFinder getJournalFolderFinder() {
689                    return journalFolderFinder;
690            }
691    
692            /**
693             * Sets the journal folder finder.
694             *
695             * @param journalFolderFinder the journal folder finder
696             */
697            public void setJournalFolderFinder(JournalFolderFinder journalFolderFinder) {
698                    this.journalFolderFinder = journalFolderFinder;
699            }
700    
701            /**
702             * Returns the journal structure local service.
703             *
704             * @return the journal structure local service
705             */
706            @SuppressWarnings("deprecation")
707            public com.liferay.portlet.journal.service.JournalStructureLocalService getJournalStructureLocalService() {
708                    return journalStructureLocalService;
709            }
710    
711            /**
712             * Sets the journal structure local service.
713             *
714             * @param journalStructureLocalService the journal structure local service
715             */
716            @SuppressWarnings("deprecation")
717            public void setJournalStructureLocalService(
718                    com.liferay.portlet.journal.service.JournalStructureLocalService journalStructureLocalService) {
719                    this.journalStructureLocalService = journalStructureLocalService;
720            }
721    
722            /**
723             * Returns the journal structure remote service.
724             *
725             * @return the journal structure remote service
726             */
727            @SuppressWarnings("deprecation")
728            public com.liferay.portlet.journal.service.JournalStructureService getJournalStructureService() {
729                    return journalStructureService;
730            }
731    
732            /**
733             * Sets the journal structure remote service.
734             *
735             * @param journalStructureService the journal structure remote service
736             */
737            @SuppressWarnings("deprecation")
738            public void setJournalStructureService(
739                    com.liferay.portlet.journal.service.JournalStructureService journalStructureService) {
740                    this.journalStructureService = journalStructureService;
741            }
742    
743            /**
744             * Returns the journal template local service.
745             *
746             * @return the journal template local service
747             */
748            @SuppressWarnings("deprecation")
749            public com.liferay.portlet.journal.service.JournalTemplateLocalService getJournalTemplateLocalService() {
750                    return journalTemplateLocalService;
751            }
752    
753            /**
754             * Sets the journal template local service.
755             *
756             * @param journalTemplateLocalService the journal template local service
757             */
758            @SuppressWarnings("deprecation")
759            public void setJournalTemplateLocalService(
760                    com.liferay.portlet.journal.service.JournalTemplateLocalService journalTemplateLocalService) {
761                    this.journalTemplateLocalService = journalTemplateLocalService;
762            }
763    
764            /**
765             * Returns the journal template remote service.
766             *
767             * @return the journal template remote service
768             */
769            @SuppressWarnings("deprecation")
770            public com.liferay.portlet.journal.service.JournalTemplateService getJournalTemplateService() {
771                    return journalTemplateService;
772            }
773    
774            /**
775             * Sets the journal template remote service.
776             *
777             * @param journalTemplateService the journal template remote service
778             */
779            @SuppressWarnings("deprecation")
780            public void setJournalTemplateService(
781                    com.liferay.portlet.journal.service.JournalTemplateService journalTemplateService) {
782                    this.journalTemplateService = journalTemplateService;
783            }
784    
785            /**
786             * Returns the counter local service.
787             *
788             * @return the counter local service
789             */
790            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
791                    return counterLocalService;
792            }
793    
794            /**
795             * Sets the counter local service.
796             *
797             * @param counterLocalService the counter local service
798             */
799            public void setCounterLocalService(
800                    com.liferay.counter.service.CounterLocalService counterLocalService) {
801                    this.counterLocalService = counterLocalService;
802            }
803    
804            /**
805             * Returns the group local service.
806             *
807             * @return the group local service
808             */
809            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
810                    return groupLocalService;
811            }
812    
813            /**
814             * Sets the group local service.
815             *
816             * @param groupLocalService the group local service
817             */
818            public void setGroupLocalService(
819                    com.liferay.portal.service.GroupLocalService groupLocalService) {
820                    this.groupLocalService = groupLocalService;
821            }
822    
823            /**
824             * Returns the group remote service.
825             *
826             * @return the group remote service
827             */
828            public com.liferay.portal.service.GroupService getGroupService() {
829                    return groupService;
830            }
831    
832            /**
833             * Sets the group remote service.
834             *
835             * @param groupService the group remote service
836             */
837            public void setGroupService(
838                    com.liferay.portal.service.GroupService groupService) {
839                    this.groupService = groupService;
840            }
841    
842            /**
843             * Returns the group persistence.
844             *
845             * @return the group persistence
846             */
847            public GroupPersistence getGroupPersistence() {
848                    return groupPersistence;
849            }
850    
851            /**
852             * Sets the group persistence.
853             *
854             * @param groupPersistence the group persistence
855             */
856            public void setGroupPersistence(GroupPersistence groupPersistence) {
857                    this.groupPersistence = groupPersistence;
858            }
859    
860            /**
861             * Returns the group finder.
862             *
863             * @return the group finder
864             */
865            public GroupFinder getGroupFinder() {
866                    return groupFinder;
867            }
868    
869            /**
870             * Sets the group finder.
871             *
872             * @param groupFinder the group finder
873             */
874            public void setGroupFinder(GroupFinder groupFinder) {
875                    this.groupFinder = groupFinder;
876            }
877    
878            /**
879             * Returns the resource local service.
880             *
881             * @return the resource local service
882             */
883            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
884                    return resourceLocalService;
885            }
886    
887            /**
888             * Sets the resource local service.
889             *
890             * @param resourceLocalService the resource local service
891             */
892            public void setResourceLocalService(
893                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
894                    this.resourceLocalService = resourceLocalService;
895            }
896    
897            /**
898             * Returns the user local service.
899             *
900             * @return the user local service
901             */
902            public com.liferay.portal.service.UserLocalService getUserLocalService() {
903                    return userLocalService;
904            }
905    
906            /**
907             * Sets the user local service.
908             *
909             * @param userLocalService the user local service
910             */
911            public void setUserLocalService(
912                    com.liferay.portal.service.UserLocalService userLocalService) {
913                    this.userLocalService = userLocalService;
914            }
915    
916            /**
917             * Returns the user remote service.
918             *
919             * @return the user remote service
920             */
921            public com.liferay.portal.service.UserService getUserService() {
922                    return userService;
923            }
924    
925            /**
926             * Sets the user remote service.
927             *
928             * @param userService the user remote service
929             */
930            public void setUserService(
931                    com.liferay.portal.service.UserService userService) {
932                    this.userService = userService;
933            }
934    
935            /**
936             * Returns the user persistence.
937             *
938             * @return the user persistence
939             */
940            public UserPersistence getUserPersistence() {
941                    return userPersistence;
942            }
943    
944            /**
945             * Sets the user persistence.
946             *
947             * @param userPersistence the user persistence
948             */
949            public void setUserPersistence(UserPersistence userPersistence) {
950                    this.userPersistence = userPersistence;
951            }
952    
953            /**
954             * Returns the user finder.
955             *
956             * @return the user finder
957             */
958            public UserFinder getUserFinder() {
959                    return userFinder;
960            }
961    
962            /**
963             * Sets the user finder.
964             *
965             * @param userFinder the user finder
966             */
967            public void setUserFinder(UserFinder userFinder) {
968                    this.userFinder = userFinder;
969            }
970    
971            /**
972             * Returns the workflow instance link local service.
973             *
974             * @return the workflow instance link local service
975             */
976            public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
977                    return workflowInstanceLinkLocalService;
978            }
979    
980            /**
981             * Sets the workflow instance link local service.
982             *
983             * @param workflowInstanceLinkLocalService the workflow instance link local service
984             */
985            public void setWorkflowInstanceLinkLocalService(
986                    com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
987                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
988            }
989    
990            /**
991             * Returns the workflow instance link persistence.
992             *
993             * @return the workflow instance link persistence
994             */
995            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
996                    return workflowInstanceLinkPersistence;
997            }
998    
999            /**
1000             * Sets the workflow instance link persistence.
1001             *
1002             * @param workflowInstanceLinkPersistence the workflow instance link persistence
1003             */
1004            public void setWorkflowInstanceLinkPersistence(
1005                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1006                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1007            }
1008    
1009            /**
1010             * Returns the asset entry local service.
1011             *
1012             * @return the asset entry local service
1013             */
1014            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
1015                    return assetEntryLocalService;
1016            }
1017    
1018            /**
1019             * Sets the asset entry local service.
1020             *
1021             * @param assetEntryLocalService the asset entry local service
1022             */
1023            public void setAssetEntryLocalService(
1024                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
1025                    this.assetEntryLocalService = assetEntryLocalService;
1026            }
1027    
1028            /**
1029             * Returns the asset entry remote service.
1030             *
1031             * @return the asset entry remote service
1032             */
1033            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
1034                    return assetEntryService;
1035            }
1036    
1037            /**
1038             * Sets the asset entry remote service.
1039             *
1040             * @param assetEntryService the asset entry remote service
1041             */
1042            public void setAssetEntryService(
1043                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
1044                    this.assetEntryService = assetEntryService;
1045            }
1046    
1047            /**
1048             * Returns the asset entry persistence.
1049             *
1050             * @return the asset entry persistence
1051             */
1052            public AssetEntryPersistence getAssetEntryPersistence() {
1053                    return assetEntryPersistence;
1054            }
1055    
1056            /**
1057             * Sets the asset entry persistence.
1058             *
1059             * @param assetEntryPersistence the asset entry persistence
1060             */
1061            public void setAssetEntryPersistence(
1062                    AssetEntryPersistence assetEntryPersistence) {
1063                    this.assetEntryPersistence = assetEntryPersistence;
1064            }
1065    
1066            /**
1067             * Returns the asset entry finder.
1068             *
1069             * @return the asset entry finder
1070             */
1071            public AssetEntryFinder getAssetEntryFinder() {
1072                    return assetEntryFinder;
1073            }
1074    
1075            /**
1076             * Sets the asset entry finder.
1077             *
1078             * @param assetEntryFinder the asset entry finder
1079             */
1080            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1081                    this.assetEntryFinder = assetEntryFinder;
1082            }
1083    
1084            /**
1085             * Returns the asset link local service.
1086             *
1087             * @return the asset link local service
1088             */
1089            public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
1090                    return assetLinkLocalService;
1091            }
1092    
1093            /**
1094             * Sets the asset link local service.
1095             *
1096             * @param assetLinkLocalService the asset link local service
1097             */
1098            public void setAssetLinkLocalService(
1099                    com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
1100                    this.assetLinkLocalService = assetLinkLocalService;
1101            }
1102    
1103            /**
1104             * Returns the asset link persistence.
1105             *
1106             * @return the asset link persistence
1107             */
1108            public AssetLinkPersistence getAssetLinkPersistence() {
1109                    return assetLinkPersistence;
1110            }
1111    
1112            /**
1113             * Sets the asset link persistence.
1114             *
1115             * @param assetLinkPersistence the asset link persistence
1116             */
1117            public void setAssetLinkPersistence(
1118                    AssetLinkPersistence assetLinkPersistence) {
1119                    this.assetLinkPersistence = assetLinkPersistence;
1120            }
1121    
1122            /**
1123             * Returns the expando value local service.
1124             *
1125             * @return the expando value local service
1126             */
1127            public com.liferay.portlet.expando.service.ExpandoValueLocalService getExpandoValueLocalService() {
1128                    return expandoValueLocalService;
1129            }
1130    
1131            /**
1132             * Sets the expando value local service.
1133             *
1134             * @param expandoValueLocalService the expando value local service
1135             */
1136            public void setExpandoValueLocalService(
1137                    com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService) {
1138                    this.expandoValueLocalService = expandoValueLocalService;
1139            }
1140    
1141            /**
1142             * Returns the expando value remote service.
1143             *
1144             * @return the expando value remote service
1145             */
1146            public com.liferay.portlet.expando.service.ExpandoValueService getExpandoValueService() {
1147                    return expandoValueService;
1148            }
1149    
1150            /**
1151             * Sets the expando value remote service.
1152             *
1153             * @param expandoValueService the expando value remote service
1154             */
1155            public void setExpandoValueService(
1156                    com.liferay.portlet.expando.service.ExpandoValueService expandoValueService) {
1157                    this.expandoValueService = expandoValueService;
1158            }
1159    
1160            /**
1161             * Returns the expando value persistence.
1162             *
1163             * @return the expando value persistence
1164             */
1165            public ExpandoValuePersistence getExpandoValuePersistence() {
1166                    return expandoValuePersistence;
1167            }
1168    
1169            /**
1170             * Sets the expando value persistence.
1171             *
1172             * @param expandoValuePersistence the expando value persistence
1173             */
1174            public void setExpandoValuePersistence(
1175                    ExpandoValuePersistence expandoValuePersistence) {
1176                    this.expandoValuePersistence = expandoValuePersistence;
1177            }
1178    
1179            /**
1180             * Returns the social activity local service.
1181             *
1182             * @return the social activity local service
1183             */
1184            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
1185                    return socialActivityLocalService;
1186            }
1187    
1188            /**
1189             * Sets the social activity local service.
1190             *
1191             * @param socialActivityLocalService the social activity local service
1192             */
1193            public void setSocialActivityLocalService(
1194                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
1195                    this.socialActivityLocalService = socialActivityLocalService;
1196            }
1197    
1198            /**
1199             * Returns the social activity persistence.
1200             *
1201             * @return the social activity persistence
1202             */
1203            public SocialActivityPersistence getSocialActivityPersistence() {
1204                    return socialActivityPersistence;
1205            }
1206    
1207            /**
1208             * Sets the social activity persistence.
1209             *
1210             * @param socialActivityPersistence the social activity persistence
1211             */
1212            public void setSocialActivityPersistence(
1213                    SocialActivityPersistence socialActivityPersistence) {
1214                    this.socialActivityPersistence = socialActivityPersistence;
1215            }
1216    
1217            /**
1218             * Returns the social activity finder.
1219             *
1220             * @return the social activity finder
1221             */
1222            public SocialActivityFinder getSocialActivityFinder() {
1223                    return socialActivityFinder;
1224            }
1225    
1226            /**
1227             * Sets the social activity finder.
1228             *
1229             * @param socialActivityFinder the social activity finder
1230             */
1231            public void setSocialActivityFinder(
1232                    SocialActivityFinder socialActivityFinder) {
1233                    this.socialActivityFinder = socialActivityFinder;
1234            }
1235    
1236            /**
1237             * Returns the trash entry local service.
1238             *
1239             * @return the trash entry local service
1240             */
1241            public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
1242                    return trashEntryLocalService;
1243            }
1244    
1245            /**
1246             * Sets the trash entry local service.
1247             *
1248             * @param trashEntryLocalService the trash entry local service
1249             */
1250            public void setTrashEntryLocalService(
1251                    com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
1252                    this.trashEntryLocalService = trashEntryLocalService;
1253            }
1254    
1255            /**
1256             * Returns the trash entry remote service.
1257             *
1258             * @return the trash entry remote service
1259             */
1260            public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
1261                    return trashEntryService;
1262            }
1263    
1264            /**
1265             * Sets the trash entry remote service.
1266             *
1267             * @param trashEntryService the trash entry remote service
1268             */
1269            public void setTrashEntryService(
1270                    com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
1271                    this.trashEntryService = trashEntryService;
1272            }
1273    
1274            /**
1275             * Returns the trash entry persistence.
1276             *
1277             * @return the trash entry persistence
1278             */
1279            public TrashEntryPersistence getTrashEntryPersistence() {
1280                    return trashEntryPersistence;
1281            }
1282    
1283            /**
1284             * Sets the trash entry persistence.
1285             *
1286             * @param trashEntryPersistence the trash entry persistence
1287             */
1288            public void setTrashEntryPersistence(
1289                    TrashEntryPersistence trashEntryPersistence) {
1290                    this.trashEntryPersistence = trashEntryPersistence;
1291            }
1292    
1293            public void afterPropertiesSet() {
1294                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.journal.model.JournalFolder",
1295                            journalFolderLocalService);
1296            }
1297    
1298            public void destroy() {
1299                    persistedModelLocalServiceRegistry.unregister(
1300                            "com.liferay.portlet.journal.model.JournalFolder");
1301            }
1302    
1303            /**
1304             * Returns the Spring bean ID for this bean.
1305             *
1306             * @return the Spring bean ID for this bean
1307             */
1308            @Override
1309            public String getBeanIdentifier() {
1310                    return _beanIdentifier;
1311            }
1312    
1313            /**
1314             * Sets the Spring bean ID for this bean.
1315             *
1316             * @param beanIdentifier the Spring bean ID for this bean
1317             */
1318            @Override
1319            public void setBeanIdentifier(String beanIdentifier) {
1320                    _beanIdentifier = beanIdentifier;
1321            }
1322    
1323            protected Class<?> getModelClass() {
1324                    return JournalFolder.class;
1325            }
1326    
1327            protected String getModelClassName() {
1328                    return JournalFolder.class.getName();
1329            }
1330    
1331            /**
1332             * Performs an SQL query.
1333             *
1334             * @param sql the sql query
1335             */
1336            protected void runSQL(String sql) throws SystemException {
1337                    try {
1338                            DataSource dataSource = journalFolderPersistence.getDataSource();
1339    
1340                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1341                                            sql, new int[0]);
1342    
1343                            sqlUpdate.update();
1344                    }
1345                    catch (Exception e) {
1346                            throw new SystemException(e);
1347                    }
1348            }
1349    
1350            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleLocalService.class)
1351            protected com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService;
1352            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleService.class)
1353            protected com.liferay.portlet.journal.service.JournalArticleService journalArticleService;
1354            @BeanReference(type = JournalArticlePersistence.class)
1355            protected JournalArticlePersistence journalArticlePersistence;
1356            @BeanReference(type = JournalArticleFinder.class)
1357            protected JournalArticleFinder journalArticleFinder;
1358            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleImageLocalService.class)
1359            protected com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService;
1360            @BeanReference(type = JournalArticleImagePersistence.class)
1361            protected JournalArticleImagePersistence journalArticleImagePersistence;
1362            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleResourceLocalService.class)
1363            protected com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService;
1364            @BeanReference(type = JournalArticleResourcePersistence.class)
1365            protected JournalArticleResourcePersistence journalArticleResourcePersistence;
1366            @BeanReference(type = com.liferay.portlet.journal.service.JournalContentSearchLocalService.class)
1367            protected com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService;
1368            @BeanReference(type = JournalContentSearchPersistence.class)
1369            protected JournalContentSearchPersistence journalContentSearchPersistence;
1370            @BeanReference(type = com.liferay.portlet.journal.service.JournalFeedLocalService.class)
1371            protected com.liferay.portlet.journal.service.JournalFeedLocalService journalFeedLocalService;
1372            @BeanReference(type = com.liferay.portlet.journal.service.JournalFeedService.class)
1373            protected com.liferay.portlet.journal.service.JournalFeedService journalFeedService;
1374            @BeanReference(type = JournalFeedPersistence.class)
1375            protected JournalFeedPersistence journalFeedPersistence;
1376            @BeanReference(type = JournalFeedFinder.class)
1377            protected JournalFeedFinder journalFeedFinder;
1378            @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderLocalService.class)
1379            protected com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService;
1380            @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderService.class)
1381            protected com.liferay.portlet.journal.service.JournalFolderService journalFolderService;
1382            @BeanReference(type = JournalFolderPersistence.class)
1383            protected JournalFolderPersistence journalFolderPersistence;
1384            @BeanReference(type = JournalFolderFinder.class)
1385            protected JournalFolderFinder journalFolderFinder;
1386            @BeanReference(type = com.liferay.portlet.journal.service.JournalStructureLocalService.class)
1387            @SuppressWarnings("deprecation")
1388            protected com.liferay.portlet.journal.service.JournalStructureLocalService journalStructureLocalService;
1389            @BeanReference(type = com.liferay.portlet.journal.service.JournalStructureService.class)
1390            @SuppressWarnings("deprecation")
1391            protected com.liferay.portlet.journal.service.JournalStructureService journalStructureService;
1392            @BeanReference(type = com.liferay.portlet.journal.service.JournalTemplateLocalService.class)
1393            @SuppressWarnings("deprecation")
1394            protected com.liferay.portlet.journal.service.JournalTemplateLocalService journalTemplateLocalService;
1395            @BeanReference(type = com.liferay.portlet.journal.service.JournalTemplateService.class)
1396            @SuppressWarnings("deprecation")
1397            protected com.liferay.portlet.journal.service.JournalTemplateService journalTemplateService;
1398            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1399            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1400            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1401            protected com.liferay.portal.service.GroupLocalService groupLocalService;
1402            @BeanReference(type = com.liferay.portal.service.GroupService.class)
1403            protected com.liferay.portal.service.GroupService groupService;
1404            @BeanReference(type = GroupPersistence.class)
1405            protected GroupPersistence groupPersistence;
1406            @BeanReference(type = GroupFinder.class)
1407            protected GroupFinder groupFinder;
1408            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1409            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1410            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1411            protected com.liferay.portal.service.UserLocalService userLocalService;
1412            @BeanReference(type = com.liferay.portal.service.UserService.class)
1413            protected com.liferay.portal.service.UserService userService;
1414            @BeanReference(type = UserPersistence.class)
1415            protected UserPersistence userPersistence;
1416            @BeanReference(type = UserFinder.class)
1417            protected UserFinder userFinder;
1418            @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
1419            protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1420            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1421            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1422            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1423            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1424            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1425            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1426            @BeanReference(type = AssetEntryPersistence.class)
1427            protected AssetEntryPersistence assetEntryPersistence;
1428            @BeanReference(type = AssetEntryFinder.class)
1429            protected AssetEntryFinder assetEntryFinder;
1430            @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1431            protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1432            @BeanReference(type = AssetLinkPersistence.class)
1433            protected AssetLinkPersistence assetLinkPersistence;
1434            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoValueLocalService.class)
1435            protected com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService;
1436            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoValueService.class)
1437            protected com.liferay.portlet.expando.service.ExpandoValueService expandoValueService;
1438            @BeanReference(type = ExpandoValuePersistence.class)
1439            protected ExpandoValuePersistence expandoValuePersistence;
1440            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
1441            protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
1442            @BeanReference(type = SocialActivityPersistence.class)
1443            protected SocialActivityPersistence socialActivityPersistence;
1444            @BeanReference(type = SocialActivityFinder.class)
1445            protected SocialActivityFinder socialActivityFinder;
1446            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
1447            protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
1448            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
1449            protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
1450            @BeanReference(type = TrashEntryPersistence.class)
1451            protected TrashEntryPersistence trashEntryPersistence;
1452            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1453            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1454            private String _beanIdentifier;
1455    }