001    /**
002     * Copyright (c) 2000-2012 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.counter.service.CounterLocalService;
018    
019    import com.liferay.mail.service.MailService;
020    
021    import com.liferay.portal.kernel.bean.BeanReference;
022    import com.liferay.portal.kernel.bean.IdentifiableBean;
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.DynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
027    import com.liferay.portal.kernel.exception.PortalException;
028    import com.liferay.portal.kernel.exception.SystemException;
029    import com.liferay.portal.kernel.search.Indexable;
030    import com.liferay.portal.kernel.search.IndexableType;
031    import com.liferay.portal.kernel.util.OrderByComparator;
032    import com.liferay.portal.model.PersistedModel;
033    import com.liferay.portal.service.BaseLocalServiceImpl;
034    import com.liferay.portal.service.CompanyLocalService;
035    import com.liferay.portal.service.CompanyService;
036    import com.liferay.portal.service.GroupLocalService;
037    import com.liferay.portal.service.GroupService;
038    import com.liferay.portal.service.ImageLocalService;
039    import com.liferay.portal.service.ImageService;
040    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
041    import com.liferay.portal.service.PortletPreferencesLocalService;
042    import com.liferay.portal.service.PortletPreferencesService;
043    import com.liferay.portal.service.ResourceLocalService;
044    import com.liferay.portal.service.SubscriptionLocalService;
045    import com.liferay.portal.service.UserLocalService;
046    import com.liferay.portal.service.UserService;
047    import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
048    import com.liferay.portal.service.persistence.CompanyPersistence;
049    import com.liferay.portal.service.persistence.GroupFinder;
050    import com.liferay.portal.service.persistence.GroupPersistence;
051    import com.liferay.portal.service.persistence.ImagePersistence;
052    import com.liferay.portal.service.persistence.PortletPreferencesFinder;
053    import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
054    import com.liferay.portal.service.persistence.SubscriptionPersistence;
055    import com.liferay.portal.service.persistence.UserFinder;
056    import com.liferay.portal.service.persistence.UserPersistence;
057    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
058    
059    import com.liferay.portlet.asset.service.AssetCategoryLocalService;
060    import com.liferay.portlet.asset.service.AssetCategoryService;
061    import com.liferay.portlet.asset.service.AssetEntryLocalService;
062    import com.liferay.portlet.asset.service.AssetEntryService;
063    import com.liferay.portlet.asset.service.AssetLinkLocalService;
064    import com.liferay.portlet.asset.service.AssetTagLocalService;
065    import com.liferay.portlet.asset.service.AssetTagService;
066    import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
067    import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
068    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
069    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
070    import com.liferay.portlet.asset.service.persistence.AssetLinkFinder;
071    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
072    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
073    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
074    import com.liferay.portlet.expando.service.ExpandoValueLocalService;
075    import com.liferay.portlet.expando.service.ExpandoValueService;
076    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
077    import com.liferay.portlet.journal.model.JournalArticle;
078    import com.liferay.portlet.journal.service.JournalArticleImageLocalService;
079    import com.liferay.portlet.journal.service.JournalArticleLocalService;
080    import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
081    import com.liferay.portlet.journal.service.JournalArticleService;
082    import com.liferay.portlet.journal.service.JournalContentSearchLocalService;
083    import com.liferay.portlet.journal.service.JournalFeedLocalService;
084    import com.liferay.portlet.journal.service.JournalFeedService;
085    import com.liferay.portlet.journal.service.JournalFolderLocalService;
086    import com.liferay.portlet.journal.service.JournalFolderService;
087    import com.liferay.portlet.journal.service.JournalStructureLocalService;
088    import com.liferay.portlet.journal.service.JournalStructureService;
089    import com.liferay.portlet.journal.service.JournalTemplateLocalService;
090    import com.liferay.portlet.journal.service.JournalTemplateService;
091    import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
092    import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
093    import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
094    import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
095    import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
096    import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
097    import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
098    import com.liferay.portlet.journal.service.persistence.JournalFolderFinder;
099    import com.liferay.portlet.journal.service.persistence.JournalFolderPersistence;
100    import com.liferay.portlet.journal.service.persistence.JournalStructureFinder;
101    import com.liferay.portlet.journal.service.persistence.JournalStructurePersistence;
102    import com.liferay.portlet.journal.service.persistence.JournalTemplateFinder;
103    import com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence;
104    import com.liferay.portlet.messageboards.service.MBMessageLocalService;
105    import com.liferay.portlet.messageboards.service.MBMessageService;
106    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
107    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
108    import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
109    import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
110    import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
111    
112    import java.io.Serializable;
113    
114    import java.util.List;
115    
116    import javax.sql.DataSource;
117    
118    /**
119     * The base implementation of the journal article local service.
120     *
121     * <p>
122     * 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.JournalArticleLocalServiceImpl}.
123     * </p>
124     *
125     * @author Brian Wing Shun Chan
126     * @see com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl
127     * @see com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil
128     * @generated
129     */
130    public abstract class JournalArticleLocalServiceBaseImpl
131            extends BaseLocalServiceImpl implements JournalArticleLocalService,
132                    IdentifiableBean {
133            /*
134             * NOTE FOR DEVELOPERS:
135             *
136             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil} to access the journal article local service.
137             */
138    
139            /**
140             * Adds the journal article to the database. Also notifies the appropriate model listeners.
141             *
142             * @param journalArticle the journal article
143             * @return the journal article that was added
144             * @throws SystemException if a system exception occurred
145             */
146            @Indexable(type = IndexableType.REINDEX)
147            public JournalArticle addJournalArticle(JournalArticle journalArticle)
148                    throws SystemException {
149                    journalArticle.setNew(true);
150    
151                    return journalArticlePersistence.update(journalArticle);
152            }
153    
154            /**
155             * Creates a new journal article with the primary key. Does not add the journal article to the database.
156             *
157             * @param id the primary key for the new journal article
158             * @return the new journal article
159             */
160            public JournalArticle createJournalArticle(long id) {
161                    return journalArticlePersistence.create(id);
162            }
163    
164            /**
165             * Deletes the journal article with the primary key from the database. Also notifies the appropriate model listeners.
166             *
167             * @param id the primary key of the journal article
168             * @return the journal article that was removed
169             * @throws PortalException if a journal article with the primary key could not be found
170             * @throws SystemException if a system exception occurred
171             */
172            @Indexable(type = IndexableType.DELETE)
173            public JournalArticle deleteJournalArticle(long id)
174                    throws PortalException, SystemException {
175                    return journalArticlePersistence.remove(id);
176            }
177    
178            /**
179             * Deletes the journal article from the database. Also notifies the appropriate model listeners.
180             *
181             * @param journalArticle the journal article
182             * @return the journal article that was removed
183             * @throws SystemException if a system exception occurred
184             */
185            @Indexable(type = IndexableType.DELETE)
186            public JournalArticle deleteJournalArticle(JournalArticle journalArticle)
187                    throws SystemException {
188                    return journalArticlePersistence.remove(journalArticle);
189            }
190    
191            public DynamicQuery dynamicQuery() {
192                    Class<?> clazz = getClass();
193    
194                    return DynamicQueryFactoryUtil.forClass(JournalArticle.class,
195                            clazz.getClassLoader());
196            }
197    
198            /**
199             * Performs a dynamic query on the database and returns the matching rows.
200             *
201             * @param dynamicQuery the dynamic query
202             * @return the matching rows
203             * @throws SystemException if a system exception occurred
204             */
205            @SuppressWarnings("rawtypes")
206            public List dynamicQuery(DynamicQuery dynamicQuery)
207                    throws SystemException {
208                    return journalArticlePersistence.findWithDynamicQuery(dynamicQuery);
209            }
210    
211            /**
212             * Performs a dynamic query on the database and returns a range of the matching rows.
213             *
214             * <p>
215             * 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.
216             * </p>
217             *
218             * @param dynamicQuery the dynamic query
219             * @param start the lower bound of the range of model instances
220             * @param end the upper bound of the range of model instances (not inclusive)
221             * @return the range of matching rows
222             * @throws SystemException if a system exception occurred
223             */
224            @SuppressWarnings("rawtypes")
225            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
226                    throws SystemException {
227                    return journalArticlePersistence.findWithDynamicQuery(dynamicQuery,
228                            start, end);
229            }
230    
231            /**
232             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
233             *
234             * <p>
235             * 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.
236             * </p>
237             *
238             * @param dynamicQuery the dynamic query
239             * @param start the lower bound of the range of model instances
240             * @param end the upper bound of the range of model instances (not inclusive)
241             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
242             * @return the ordered range of matching rows
243             * @throws SystemException if a system exception occurred
244             */
245            @SuppressWarnings("rawtypes")
246            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
247                    OrderByComparator orderByComparator) throws SystemException {
248                    return journalArticlePersistence.findWithDynamicQuery(dynamicQuery,
249                            start, end, orderByComparator);
250            }
251    
252            /**
253             * Returns the number of rows that match the dynamic query.
254             *
255             * @param dynamicQuery the dynamic query
256             * @return the number of rows that match the dynamic query
257             * @throws SystemException if a system exception occurred
258             */
259            public long dynamicQueryCount(DynamicQuery dynamicQuery)
260                    throws SystemException {
261                    return journalArticlePersistence.countWithDynamicQuery(dynamicQuery);
262            }
263    
264            public JournalArticle fetchJournalArticle(long id)
265                    throws SystemException {
266                    return journalArticlePersistence.fetchByPrimaryKey(id);
267            }
268    
269            /**
270             * Returns the journal article with the primary key.
271             *
272             * @param id the primary key of the journal article
273             * @return the journal article
274             * @throws PortalException if a journal article with the primary key could not be found
275             * @throws SystemException if a system exception occurred
276             */
277            public JournalArticle getJournalArticle(long id)
278                    throws PortalException, SystemException {
279                    return journalArticlePersistence.findByPrimaryKey(id);
280            }
281    
282            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
283                    throws PortalException, SystemException {
284                    return journalArticlePersistence.findByPrimaryKey(primaryKeyObj);
285            }
286    
287            /**
288             * Returns the journal article with the UUID in the group.
289             *
290             * @param uuid the UUID of journal article
291             * @param groupId the group id of the journal article
292             * @return the journal article
293             * @throws PortalException if a journal article with the UUID in the group could not be found
294             * @throws SystemException if a system exception occurred
295             */
296            public JournalArticle getJournalArticleByUuidAndGroupId(String uuid,
297                    long groupId) throws PortalException, SystemException {
298                    return journalArticlePersistence.findByUUID_G(uuid, groupId);
299            }
300    
301            /**
302             * Returns a range of all the journal articles.
303             *
304             * <p>
305             * 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.
306             * </p>
307             *
308             * @param start the lower bound of the range of journal articles
309             * @param end the upper bound of the range of journal articles (not inclusive)
310             * @return the range of journal articles
311             * @throws SystemException if a system exception occurred
312             */
313            public List<JournalArticle> getJournalArticles(int start, int end)
314                    throws SystemException {
315                    return journalArticlePersistence.findAll(start, end);
316            }
317    
318            /**
319             * Returns the number of journal articles.
320             *
321             * @return the number of journal articles
322             * @throws SystemException if a system exception occurred
323             */
324            public int getJournalArticlesCount() throws SystemException {
325                    return journalArticlePersistence.countAll();
326            }
327    
328            /**
329             * Updates the journal article in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
330             *
331             * @param journalArticle the journal article
332             * @return the journal article that was updated
333             * @throws SystemException if a system exception occurred
334             */
335            @Indexable(type = IndexableType.REINDEX)
336            public JournalArticle updateJournalArticle(JournalArticle journalArticle)
337                    throws SystemException {
338                    return journalArticlePersistence.update(journalArticle);
339            }
340    
341            /**
342             * Returns the journal article local service.
343             *
344             * @return the journal article local service
345             */
346            public JournalArticleLocalService getJournalArticleLocalService() {
347                    return journalArticleLocalService;
348            }
349    
350            /**
351             * Sets the journal article local service.
352             *
353             * @param journalArticleLocalService the journal article local service
354             */
355            public void setJournalArticleLocalService(
356                    JournalArticleLocalService journalArticleLocalService) {
357                    this.journalArticleLocalService = journalArticleLocalService;
358            }
359    
360            /**
361             * Returns the journal article remote service.
362             *
363             * @return the journal article remote service
364             */
365            public JournalArticleService getJournalArticleService() {
366                    return journalArticleService;
367            }
368    
369            /**
370             * Sets the journal article remote service.
371             *
372             * @param journalArticleService the journal article remote service
373             */
374            public void setJournalArticleService(
375                    JournalArticleService journalArticleService) {
376                    this.journalArticleService = journalArticleService;
377            }
378    
379            /**
380             * Returns the journal article persistence.
381             *
382             * @return the journal article persistence
383             */
384            public JournalArticlePersistence getJournalArticlePersistence() {
385                    return journalArticlePersistence;
386            }
387    
388            /**
389             * Sets the journal article persistence.
390             *
391             * @param journalArticlePersistence the journal article persistence
392             */
393            public void setJournalArticlePersistence(
394                    JournalArticlePersistence journalArticlePersistence) {
395                    this.journalArticlePersistence = journalArticlePersistence;
396            }
397    
398            /**
399             * Returns the journal article finder.
400             *
401             * @return the journal article finder
402             */
403            public JournalArticleFinder getJournalArticleFinder() {
404                    return journalArticleFinder;
405            }
406    
407            /**
408             * Sets the journal article finder.
409             *
410             * @param journalArticleFinder the journal article finder
411             */
412            public void setJournalArticleFinder(
413                    JournalArticleFinder journalArticleFinder) {
414                    this.journalArticleFinder = journalArticleFinder;
415            }
416    
417            /**
418             * Returns the journal article image local service.
419             *
420             * @return the journal article image local service
421             */
422            public JournalArticleImageLocalService getJournalArticleImageLocalService() {
423                    return journalArticleImageLocalService;
424            }
425    
426            /**
427             * Sets the journal article image local service.
428             *
429             * @param journalArticleImageLocalService the journal article image local service
430             */
431            public void setJournalArticleImageLocalService(
432                    JournalArticleImageLocalService journalArticleImageLocalService) {
433                    this.journalArticleImageLocalService = journalArticleImageLocalService;
434            }
435    
436            /**
437             * Returns the journal article image persistence.
438             *
439             * @return the journal article image persistence
440             */
441            public JournalArticleImagePersistence getJournalArticleImagePersistence() {
442                    return journalArticleImagePersistence;
443            }
444    
445            /**
446             * Sets the journal article image persistence.
447             *
448             * @param journalArticleImagePersistence the journal article image persistence
449             */
450            public void setJournalArticleImagePersistence(
451                    JournalArticleImagePersistence journalArticleImagePersistence) {
452                    this.journalArticleImagePersistence = journalArticleImagePersistence;
453            }
454    
455            /**
456             * Returns the journal article resource local service.
457             *
458             * @return the journal article resource local service
459             */
460            public JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
461                    return journalArticleResourceLocalService;
462            }
463    
464            /**
465             * Sets the journal article resource local service.
466             *
467             * @param journalArticleResourceLocalService the journal article resource local service
468             */
469            public void setJournalArticleResourceLocalService(
470                    JournalArticleResourceLocalService journalArticleResourceLocalService) {
471                    this.journalArticleResourceLocalService = journalArticleResourceLocalService;
472            }
473    
474            /**
475             * Returns the journal article resource persistence.
476             *
477             * @return the journal article resource persistence
478             */
479            public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
480                    return journalArticleResourcePersistence;
481            }
482    
483            /**
484             * Sets the journal article resource persistence.
485             *
486             * @param journalArticleResourcePersistence the journal article resource persistence
487             */
488            public void setJournalArticleResourcePersistence(
489                    JournalArticleResourcePersistence journalArticleResourcePersistence) {
490                    this.journalArticleResourcePersistence = journalArticleResourcePersistence;
491            }
492    
493            /**
494             * Returns the journal content search local service.
495             *
496             * @return the journal content search local service
497             */
498            public JournalContentSearchLocalService getJournalContentSearchLocalService() {
499                    return journalContentSearchLocalService;
500            }
501    
502            /**
503             * Sets the journal content search local service.
504             *
505             * @param journalContentSearchLocalService the journal content search local service
506             */
507            public void setJournalContentSearchLocalService(
508                    JournalContentSearchLocalService journalContentSearchLocalService) {
509                    this.journalContentSearchLocalService = journalContentSearchLocalService;
510            }
511    
512            /**
513             * Returns the journal content search persistence.
514             *
515             * @return the journal content search persistence
516             */
517            public JournalContentSearchPersistence getJournalContentSearchPersistence() {
518                    return journalContentSearchPersistence;
519            }
520    
521            /**
522             * Sets the journal content search persistence.
523             *
524             * @param journalContentSearchPersistence the journal content search persistence
525             */
526            public void setJournalContentSearchPersistence(
527                    JournalContentSearchPersistence journalContentSearchPersistence) {
528                    this.journalContentSearchPersistence = journalContentSearchPersistence;
529            }
530    
531            /**
532             * Returns the journal feed local service.
533             *
534             * @return the journal feed local service
535             */
536            public JournalFeedLocalService getJournalFeedLocalService() {
537                    return journalFeedLocalService;
538            }
539    
540            /**
541             * Sets the journal feed local service.
542             *
543             * @param journalFeedLocalService the journal feed local service
544             */
545            public void setJournalFeedLocalService(
546                    JournalFeedLocalService journalFeedLocalService) {
547                    this.journalFeedLocalService = journalFeedLocalService;
548            }
549    
550            /**
551             * Returns the journal feed remote service.
552             *
553             * @return the journal feed remote service
554             */
555            public JournalFeedService getJournalFeedService() {
556                    return journalFeedService;
557            }
558    
559            /**
560             * Sets the journal feed remote service.
561             *
562             * @param journalFeedService the journal feed remote service
563             */
564            public void setJournalFeedService(JournalFeedService journalFeedService) {
565                    this.journalFeedService = journalFeedService;
566            }
567    
568            /**
569             * Returns the journal feed persistence.
570             *
571             * @return the journal feed persistence
572             */
573            public JournalFeedPersistence getJournalFeedPersistence() {
574                    return journalFeedPersistence;
575            }
576    
577            /**
578             * Sets the journal feed persistence.
579             *
580             * @param journalFeedPersistence the journal feed persistence
581             */
582            public void setJournalFeedPersistence(
583                    JournalFeedPersistence journalFeedPersistence) {
584                    this.journalFeedPersistence = journalFeedPersistence;
585            }
586    
587            /**
588             * Returns the journal feed finder.
589             *
590             * @return the journal feed finder
591             */
592            public JournalFeedFinder getJournalFeedFinder() {
593                    return journalFeedFinder;
594            }
595    
596            /**
597             * Sets the journal feed finder.
598             *
599             * @param journalFeedFinder the journal feed finder
600             */
601            public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder) {
602                    this.journalFeedFinder = journalFeedFinder;
603            }
604    
605            /**
606             * Returns the journal folder local service.
607             *
608             * @return the journal folder local service
609             */
610            public JournalFolderLocalService getJournalFolderLocalService() {
611                    return journalFolderLocalService;
612            }
613    
614            /**
615             * Sets the journal folder local service.
616             *
617             * @param journalFolderLocalService the journal folder local service
618             */
619            public void setJournalFolderLocalService(
620                    JournalFolderLocalService journalFolderLocalService) {
621                    this.journalFolderLocalService = journalFolderLocalService;
622            }
623    
624            /**
625             * Returns the journal folder remote service.
626             *
627             * @return the journal folder remote service
628             */
629            public JournalFolderService getJournalFolderService() {
630                    return journalFolderService;
631            }
632    
633            /**
634             * Sets the journal folder remote service.
635             *
636             * @param journalFolderService the journal folder remote service
637             */
638            public void setJournalFolderService(
639                    JournalFolderService journalFolderService) {
640                    this.journalFolderService = journalFolderService;
641            }
642    
643            /**
644             * Returns the journal folder persistence.
645             *
646             * @return the journal folder persistence
647             */
648            public JournalFolderPersistence getJournalFolderPersistence() {
649                    return journalFolderPersistence;
650            }
651    
652            /**
653             * Sets the journal folder persistence.
654             *
655             * @param journalFolderPersistence the journal folder persistence
656             */
657            public void setJournalFolderPersistence(
658                    JournalFolderPersistence journalFolderPersistence) {
659                    this.journalFolderPersistence = journalFolderPersistence;
660            }
661    
662            /**
663             * Returns the journal folder finder.
664             *
665             * @return the journal folder finder
666             */
667            public JournalFolderFinder getJournalFolderFinder() {
668                    return journalFolderFinder;
669            }
670    
671            /**
672             * Sets the journal folder finder.
673             *
674             * @param journalFolderFinder the journal folder finder
675             */
676            public void setJournalFolderFinder(JournalFolderFinder journalFolderFinder) {
677                    this.journalFolderFinder = journalFolderFinder;
678            }
679    
680            /**
681             * Returns the journal structure local service.
682             *
683             * @return the journal structure local service
684             */
685            public JournalStructureLocalService getJournalStructureLocalService() {
686                    return journalStructureLocalService;
687            }
688    
689            /**
690             * Sets the journal structure local service.
691             *
692             * @param journalStructureLocalService the journal structure local service
693             */
694            public void setJournalStructureLocalService(
695                    JournalStructureLocalService journalStructureLocalService) {
696                    this.journalStructureLocalService = journalStructureLocalService;
697            }
698    
699            /**
700             * Returns the journal structure remote service.
701             *
702             * @return the journal structure remote service
703             */
704            public JournalStructureService getJournalStructureService() {
705                    return journalStructureService;
706            }
707    
708            /**
709             * Sets the journal structure remote service.
710             *
711             * @param journalStructureService the journal structure remote service
712             */
713            public void setJournalStructureService(
714                    JournalStructureService journalStructureService) {
715                    this.journalStructureService = journalStructureService;
716            }
717    
718            /**
719             * Returns the journal structure persistence.
720             *
721             * @return the journal structure persistence
722             */
723            public JournalStructurePersistence getJournalStructurePersistence() {
724                    return journalStructurePersistence;
725            }
726    
727            /**
728             * Sets the journal structure persistence.
729             *
730             * @param journalStructurePersistence the journal structure persistence
731             */
732            public void setJournalStructurePersistence(
733                    JournalStructurePersistence journalStructurePersistence) {
734                    this.journalStructurePersistence = journalStructurePersistence;
735            }
736    
737            /**
738             * Returns the journal structure finder.
739             *
740             * @return the journal structure finder
741             */
742            public JournalStructureFinder getJournalStructureFinder() {
743                    return journalStructureFinder;
744            }
745    
746            /**
747             * Sets the journal structure finder.
748             *
749             * @param journalStructureFinder the journal structure finder
750             */
751            public void setJournalStructureFinder(
752                    JournalStructureFinder journalStructureFinder) {
753                    this.journalStructureFinder = journalStructureFinder;
754            }
755    
756            /**
757             * Returns the journal template local service.
758             *
759             * @return the journal template local service
760             */
761            public JournalTemplateLocalService getJournalTemplateLocalService() {
762                    return journalTemplateLocalService;
763            }
764    
765            /**
766             * Sets the journal template local service.
767             *
768             * @param journalTemplateLocalService the journal template local service
769             */
770            public void setJournalTemplateLocalService(
771                    JournalTemplateLocalService journalTemplateLocalService) {
772                    this.journalTemplateLocalService = journalTemplateLocalService;
773            }
774    
775            /**
776             * Returns the journal template remote service.
777             *
778             * @return the journal template remote service
779             */
780            public JournalTemplateService getJournalTemplateService() {
781                    return journalTemplateService;
782            }
783    
784            /**
785             * Sets the journal template remote service.
786             *
787             * @param journalTemplateService the journal template remote service
788             */
789            public void setJournalTemplateService(
790                    JournalTemplateService journalTemplateService) {
791                    this.journalTemplateService = journalTemplateService;
792            }
793    
794            /**
795             * Returns the journal template persistence.
796             *
797             * @return the journal template persistence
798             */
799            public JournalTemplatePersistence getJournalTemplatePersistence() {
800                    return journalTemplatePersistence;
801            }
802    
803            /**
804             * Sets the journal template persistence.
805             *
806             * @param journalTemplatePersistence the journal template persistence
807             */
808            public void setJournalTemplatePersistence(
809                    JournalTemplatePersistence journalTemplatePersistence) {
810                    this.journalTemplatePersistence = journalTemplatePersistence;
811            }
812    
813            /**
814             * Returns the journal template finder.
815             *
816             * @return the journal template finder
817             */
818            public JournalTemplateFinder getJournalTemplateFinder() {
819                    return journalTemplateFinder;
820            }
821    
822            /**
823             * Sets the journal template finder.
824             *
825             * @param journalTemplateFinder the journal template finder
826             */
827            public void setJournalTemplateFinder(
828                    JournalTemplateFinder journalTemplateFinder) {
829                    this.journalTemplateFinder = journalTemplateFinder;
830            }
831    
832            /**
833             * Returns the counter local service.
834             *
835             * @return the counter local service
836             */
837            public CounterLocalService getCounterLocalService() {
838                    return counterLocalService;
839            }
840    
841            /**
842             * Sets the counter local service.
843             *
844             * @param counterLocalService the counter local service
845             */
846            public void setCounterLocalService(CounterLocalService counterLocalService) {
847                    this.counterLocalService = counterLocalService;
848            }
849    
850            /**
851             * Returns the mail remote service.
852             *
853             * @return the mail remote service
854             */
855            public MailService getMailService() {
856                    return mailService;
857            }
858    
859            /**
860             * Sets the mail remote service.
861             *
862             * @param mailService the mail remote service
863             */
864            public void setMailService(MailService mailService) {
865                    this.mailService = mailService;
866            }
867    
868            /**
869             * Returns the company local service.
870             *
871             * @return the company local service
872             */
873            public CompanyLocalService getCompanyLocalService() {
874                    return companyLocalService;
875            }
876    
877            /**
878             * Sets the company local service.
879             *
880             * @param companyLocalService the company local service
881             */
882            public void setCompanyLocalService(CompanyLocalService companyLocalService) {
883                    this.companyLocalService = companyLocalService;
884            }
885    
886            /**
887             * Returns the company remote service.
888             *
889             * @return the company remote service
890             */
891            public CompanyService getCompanyService() {
892                    return companyService;
893            }
894    
895            /**
896             * Sets the company remote service.
897             *
898             * @param companyService the company remote service
899             */
900            public void setCompanyService(CompanyService companyService) {
901                    this.companyService = companyService;
902            }
903    
904            /**
905             * Returns the company persistence.
906             *
907             * @return the company persistence
908             */
909            public CompanyPersistence getCompanyPersistence() {
910                    return companyPersistence;
911            }
912    
913            /**
914             * Sets the company persistence.
915             *
916             * @param companyPersistence the company persistence
917             */
918            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
919                    this.companyPersistence = companyPersistence;
920            }
921    
922            /**
923             * Returns the group local service.
924             *
925             * @return the group local service
926             */
927            public GroupLocalService getGroupLocalService() {
928                    return groupLocalService;
929            }
930    
931            /**
932             * Sets the group local service.
933             *
934             * @param groupLocalService the group local service
935             */
936            public void setGroupLocalService(GroupLocalService groupLocalService) {
937                    this.groupLocalService = groupLocalService;
938            }
939    
940            /**
941             * Returns the group remote service.
942             *
943             * @return the group remote service
944             */
945            public GroupService getGroupService() {
946                    return groupService;
947            }
948    
949            /**
950             * Sets the group remote service.
951             *
952             * @param groupService the group remote service
953             */
954            public void setGroupService(GroupService groupService) {
955                    this.groupService = groupService;
956            }
957    
958            /**
959             * Returns the group persistence.
960             *
961             * @return the group persistence
962             */
963            public GroupPersistence getGroupPersistence() {
964                    return groupPersistence;
965            }
966    
967            /**
968             * Sets the group persistence.
969             *
970             * @param groupPersistence the group persistence
971             */
972            public void setGroupPersistence(GroupPersistence groupPersistence) {
973                    this.groupPersistence = groupPersistence;
974            }
975    
976            /**
977             * Returns the group finder.
978             *
979             * @return the group finder
980             */
981            public GroupFinder getGroupFinder() {
982                    return groupFinder;
983            }
984    
985            /**
986             * Sets the group finder.
987             *
988             * @param groupFinder the group finder
989             */
990            public void setGroupFinder(GroupFinder groupFinder) {
991                    this.groupFinder = groupFinder;
992            }
993    
994            /**
995             * Returns the image local service.
996             *
997             * @return the image local service
998             */
999            public ImageLocalService getImageLocalService() {
1000                    return imageLocalService;
1001            }
1002    
1003            /**
1004             * Sets the image local service.
1005             *
1006             * @param imageLocalService the image local service
1007             */
1008            public void setImageLocalService(ImageLocalService imageLocalService) {
1009                    this.imageLocalService = imageLocalService;
1010            }
1011    
1012            /**
1013             * Returns the image remote service.
1014             *
1015             * @return the image remote service
1016             */
1017            public ImageService getImageService() {
1018                    return imageService;
1019            }
1020    
1021            /**
1022             * Sets the image remote service.
1023             *
1024             * @param imageService the image remote service
1025             */
1026            public void setImageService(ImageService imageService) {
1027                    this.imageService = imageService;
1028            }
1029    
1030            /**
1031             * Returns the image persistence.
1032             *
1033             * @return the image persistence
1034             */
1035            public ImagePersistence getImagePersistence() {
1036                    return imagePersistence;
1037            }
1038    
1039            /**
1040             * Sets the image persistence.
1041             *
1042             * @param imagePersistence the image persistence
1043             */
1044            public void setImagePersistence(ImagePersistence imagePersistence) {
1045                    this.imagePersistence = imagePersistence;
1046            }
1047    
1048            /**
1049             * Returns the portlet preferences local service.
1050             *
1051             * @return the portlet preferences local service
1052             */
1053            public PortletPreferencesLocalService getPortletPreferencesLocalService() {
1054                    return portletPreferencesLocalService;
1055            }
1056    
1057            /**
1058             * Sets the portlet preferences local service.
1059             *
1060             * @param portletPreferencesLocalService the portlet preferences local service
1061             */
1062            public void setPortletPreferencesLocalService(
1063                    PortletPreferencesLocalService portletPreferencesLocalService) {
1064                    this.portletPreferencesLocalService = portletPreferencesLocalService;
1065            }
1066    
1067            /**
1068             * Returns the portlet preferences remote service.
1069             *
1070             * @return the portlet preferences remote service
1071             */
1072            public PortletPreferencesService getPortletPreferencesService() {
1073                    return portletPreferencesService;
1074            }
1075    
1076            /**
1077             * Sets the portlet preferences remote service.
1078             *
1079             * @param portletPreferencesService the portlet preferences remote service
1080             */
1081            public void setPortletPreferencesService(
1082                    PortletPreferencesService portletPreferencesService) {
1083                    this.portletPreferencesService = portletPreferencesService;
1084            }
1085    
1086            /**
1087             * Returns the portlet preferences persistence.
1088             *
1089             * @return the portlet preferences persistence
1090             */
1091            public PortletPreferencesPersistence getPortletPreferencesPersistence() {
1092                    return portletPreferencesPersistence;
1093            }
1094    
1095            /**
1096             * Sets the portlet preferences persistence.
1097             *
1098             * @param portletPreferencesPersistence the portlet preferences persistence
1099             */
1100            public void setPortletPreferencesPersistence(
1101                    PortletPreferencesPersistence portletPreferencesPersistence) {
1102                    this.portletPreferencesPersistence = portletPreferencesPersistence;
1103            }
1104    
1105            /**
1106             * Returns the portlet preferences finder.
1107             *
1108             * @return the portlet preferences finder
1109             */
1110            public PortletPreferencesFinder getPortletPreferencesFinder() {
1111                    return portletPreferencesFinder;
1112            }
1113    
1114            /**
1115             * Sets the portlet preferences finder.
1116             *
1117             * @param portletPreferencesFinder the portlet preferences finder
1118             */
1119            public void setPortletPreferencesFinder(
1120                    PortletPreferencesFinder portletPreferencesFinder) {
1121                    this.portletPreferencesFinder = portletPreferencesFinder;
1122            }
1123    
1124            /**
1125             * Returns the resource local service.
1126             *
1127             * @return the resource local service
1128             */
1129            public ResourceLocalService getResourceLocalService() {
1130                    return resourceLocalService;
1131            }
1132    
1133            /**
1134             * Sets the resource local service.
1135             *
1136             * @param resourceLocalService the resource local service
1137             */
1138            public void setResourceLocalService(
1139                    ResourceLocalService resourceLocalService) {
1140                    this.resourceLocalService = resourceLocalService;
1141            }
1142    
1143            /**
1144             * Returns the subscription local service.
1145             *
1146             * @return the subscription local service
1147             */
1148            public SubscriptionLocalService getSubscriptionLocalService() {
1149                    return subscriptionLocalService;
1150            }
1151    
1152            /**
1153             * Sets the subscription local service.
1154             *
1155             * @param subscriptionLocalService the subscription local service
1156             */
1157            public void setSubscriptionLocalService(
1158                    SubscriptionLocalService subscriptionLocalService) {
1159                    this.subscriptionLocalService = subscriptionLocalService;
1160            }
1161    
1162            /**
1163             * Returns the subscription persistence.
1164             *
1165             * @return the subscription persistence
1166             */
1167            public SubscriptionPersistence getSubscriptionPersistence() {
1168                    return subscriptionPersistence;
1169            }
1170    
1171            /**
1172             * Sets the subscription persistence.
1173             *
1174             * @param subscriptionPersistence the subscription persistence
1175             */
1176            public void setSubscriptionPersistence(
1177                    SubscriptionPersistence subscriptionPersistence) {
1178                    this.subscriptionPersistence = subscriptionPersistence;
1179            }
1180    
1181            /**
1182             * Returns the user local service.
1183             *
1184             * @return the user local service
1185             */
1186            public UserLocalService getUserLocalService() {
1187                    return userLocalService;
1188            }
1189    
1190            /**
1191             * Sets the user local service.
1192             *
1193             * @param userLocalService the user local service
1194             */
1195            public void setUserLocalService(UserLocalService userLocalService) {
1196                    this.userLocalService = userLocalService;
1197            }
1198    
1199            /**
1200             * Returns the user remote service.
1201             *
1202             * @return the user remote service
1203             */
1204            public UserService getUserService() {
1205                    return userService;
1206            }
1207    
1208            /**
1209             * Sets the user remote service.
1210             *
1211             * @param userService the user remote service
1212             */
1213            public void setUserService(UserService userService) {
1214                    this.userService = userService;
1215            }
1216    
1217            /**
1218             * Returns the user persistence.
1219             *
1220             * @return the user persistence
1221             */
1222            public UserPersistence getUserPersistence() {
1223                    return userPersistence;
1224            }
1225    
1226            /**
1227             * Sets the user persistence.
1228             *
1229             * @param userPersistence the user persistence
1230             */
1231            public void setUserPersistence(UserPersistence userPersistence) {
1232                    this.userPersistence = userPersistence;
1233            }
1234    
1235            /**
1236             * Returns the user finder.
1237             *
1238             * @return the user finder
1239             */
1240            public UserFinder getUserFinder() {
1241                    return userFinder;
1242            }
1243    
1244            /**
1245             * Sets the user finder.
1246             *
1247             * @param userFinder the user finder
1248             */
1249            public void setUserFinder(UserFinder userFinder) {
1250                    this.userFinder = userFinder;
1251            }
1252    
1253            /**
1254             * Returns the workflow instance link local service.
1255             *
1256             * @return the workflow instance link local service
1257             */
1258            public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1259                    return workflowInstanceLinkLocalService;
1260            }
1261    
1262            /**
1263             * Sets the workflow instance link local service.
1264             *
1265             * @param workflowInstanceLinkLocalService the workflow instance link local service
1266             */
1267            public void setWorkflowInstanceLinkLocalService(
1268                    WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1269                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1270            }
1271    
1272            /**
1273             * Returns the workflow instance link persistence.
1274             *
1275             * @return the workflow instance link persistence
1276             */
1277            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1278                    return workflowInstanceLinkPersistence;
1279            }
1280    
1281            /**
1282             * Sets the workflow instance link persistence.
1283             *
1284             * @param workflowInstanceLinkPersistence the workflow instance link persistence
1285             */
1286            public void setWorkflowInstanceLinkPersistence(
1287                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1288                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1289            }
1290    
1291            /**
1292             * Returns the asset category local service.
1293             *
1294             * @return the asset category local service
1295             */
1296            public AssetCategoryLocalService getAssetCategoryLocalService() {
1297                    return assetCategoryLocalService;
1298            }
1299    
1300            /**
1301             * Sets the asset category local service.
1302             *
1303             * @param assetCategoryLocalService the asset category local service
1304             */
1305            public void setAssetCategoryLocalService(
1306                    AssetCategoryLocalService assetCategoryLocalService) {
1307                    this.assetCategoryLocalService = assetCategoryLocalService;
1308            }
1309    
1310            /**
1311             * Returns the asset category remote service.
1312             *
1313             * @return the asset category remote service
1314             */
1315            public AssetCategoryService getAssetCategoryService() {
1316                    return assetCategoryService;
1317            }
1318    
1319            /**
1320             * Sets the asset category remote service.
1321             *
1322             * @param assetCategoryService the asset category remote service
1323             */
1324            public void setAssetCategoryService(
1325                    AssetCategoryService assetCategoryService) {
1326                    this.assetCategoryService = assetCategoryService;
1327            }
1328    
1329            /**
1330             * Returns the asset category persistence.
1331             *
1332             * @return the asset category persistence
1333             */
1334            public AssetCategoryPersistence getAssetCategoryPersistence() {
1335                    return assetCategoryPersistence;
1336            }
1337    
1338            /**
1339             * Sets the asset category persistence.
1340             *
1341             * @param assetCategoryPersistence the asset category persistence
1342             */
1343            public void setAssetCategoryPersistence(
1344                    AssetCategoryPersistence assetCategoryPersistence) {
1345                    this.assetCategoryPersistence = assetCategoryPersistence;
1346            }
1347    
1348            /**
1349             * Returns the asset category finder.
1350             *
1351             * @return the asset category finder
1352             */
1353            public AssetCategoryFinder getAssetCategoryFinder() {
1354                    return assetCategoryFinder;
1355            }
1356    
1357            /**
1358             * Sets the asset category finder.
1359             *
1360             * @param assetCategoryFinder the asset category finder
1361             */
1362            public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
1363                    this.assetCategoryFinder = assetCategoryFinder;
1364            }
1365    
1366            /**
1367             * Returns the asset entry local service.
1368             *
1369             * @return the asset entry local service
1370             */
1371            public AssetEntryLocalService getAssetEntryLocalService() {
1372                    return assetEntryLocalService;
1373            }
1374    
1375            /**
1376             * Sets the asset entry local service.
1377             *
1378             * @param assetEntryLocalService the asset entry local service
1379             */
1380            public void setAssetEntryLocalService(
1381                    AssetEntryLocalService assetEntryLocalService) {
1382                    this.assetEntryLocalService = assetEntryLocalService;
1383            }
1384    
1385            /**
1386             * Returns the asset entry remote service.
1387             *
1388             * @return the asset entry remote service
1389             */
1390            public AssetEntryService getAssetEntryService() {
1391                    return assetEntryService;
1392            }
1393    
1394            /**
1395             * Sets the asset entry remote service.
1396             *
1397             * @param assetEntryService the asset entry remote service
1398             */
1399            public void setAssetEntryService(AssetEntryService assetEntryService) {
1400                    this.assetEntryService = assetEntryService;
1401            }
1402    
1403            /**
1404             * Returns the asset entry persistence.
1405             *
1406             * @return the asset entry persistence
1407             */
1408            public AssetEntryPersistence getAssetEntryPersistence() {
1409                    return assetEntryPersistence;
1410            }
1411    
1412            /**
1413             * Sets the asset entry persistence.
1414             *
1415             * @param assetEntryPersistence the asset entry persistence
1416             */
1417            public void setAssetEntryPersistence(
1418                    AssetEntryPersistence assetEntryPersistence) {
1419                    this.assetEntryPersistence = assetEntryPersistence;
1420            }
1421    
1422            /**
1423             * Returns the asset entry finder.
1424             *
1425             * @return the asset entry finder
1426             */
1427            public AssetEntryFinder getAssetEntryFinder() {
1428                    return assetEntryFinder;
1429            }
1430    
1431            /**
1432             * Sets the asset entry finder.
1433             *
1434             * @param assetEntryFinder the asset entry finder
1435             */
1436            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1437                    this.assetEntryFinder = assetEntryFinder;
1438            }
1439    
1440            /**
1441             * Returns the asset link local service.
1442             *
1443             * @return the asset link local service
1444             */
1445            public AssetLinkLocalService getAssetLinkLocalService() {
1446                    return assetLinkLocalService;
1447            }
1448    
1449            /**
1450             * Sets the asset link local service.
1451             *
1452             * @param assetLinkLocalService the asset link local service
1453             */
1454            public void setAssetLinkLocalService(
1455                    AssetLinkLocalService assetLinkLocalService) {
1456                    this.assetLinkLocalService = assetLinkLocalService;
1457            }
1458    
1459            /**
1460             * Returns the asset link persistence.
1461             *
1462             * @return the asset link persistence
1463             */
1464            public AssetLinkPersistence getAssetLinkPersistence() {
1465                    return assetLinkPersistence;
1466            }
1467    
1468            /**
1469             * Sets the asset link persistence.
1470             *
1471             * @param assetLinkPersistence the asset link persistence
1472             */
1473            public void setAssetLinkPersistence(
1474                    AssetLinkPersistence assetLinkPersistence) {
1475                    this.assetLinkPersistence = assetLinkPersistence;
1476            }
1477    
1478            /**
1479             * Returns the asset link finder.
1480             *
1481             * @return the asset link finder
1482             */
1483            public AssetLinkFinder getAssetLinkFinder() {
1484                    return assetLinkFinder;
1485            }
1486    
1487            /**
1488             * Sets the asset link finder.
1489             *
1490             * @param assetLinkFinder the asset link finder
1491             */
1492            public void setAssetLinkFinder(AssetLinkFinder assetLinkFinder) {
1493                    this.assetLinkFinder = assetLinkFinder;
1494            }
1495    
1496            /**
1497             * Returns the asset tag local service.
1498             *
1499             * @return the asset tag local service
1500             */
1501            public AssetTagLocalService getAssetTagLocalService() {
1502                    return assetTagLocalService;
1503            }
1504    
1505            /**
1506             * Sets the asset tag local service.
1507             *
1508             * @param assetTagLocalService the asset tag local service
1509             */
1510            public void setAssetTagLocalService(
1511                    AssetTagLocalService assetTagLocalService) {
1512                    this.assetTagLocalService = assetTagLocalService;
1513            }
1514    
1515            /**
1516             * Returns the asset tag remote service.
1517             *
1518             * @return the asset tag remote service
1519             */
1520            public AssetTagService getAssetTagService() {
1521                    return assetTagService;
1522            }
1523    
1524            /**
1525             * Sets the asset tag remote service.
1526             *
1527             * @param assetTagService the asset tag remote service
1528             */
1529            public void setAssetTagService(AssetTagService assetTagService) {
1530                    this.assetTagService = assetTagService;
1531            }
1532    
1533            /**
1534             * Returns the asset tag persistence.
1535             *
1536             * @return the asset tag persistence
1537             */
1538            public AssetTagPersistence getAssetTagPersistence() {
1539                    return assetTagPersistence;
1540            }
1541    
1542            /**
1543             * Sets the asset tag persistence.
1544             *
1545             * @param assetTagPersistence the asset tag persistence
1546             */
1547            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1548                    this.assetTagPersistence = assetTagPersistence;
1549            }
1550    
1551            /**
1552             * Returns the asset tag finder.
1553             *
1554             * @return the asset tag finder
1555             */
1556            public AssetTagFinder getAssetTagFinder() {
1557                    return assetTagFinder;
1558            }
1559    
1560            /**
1561             * Sets the asset tag finder.
1562             *
1563             * @param assetTagFinder the asset tag finder
1564             */
1565            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1566                    this.assetTagFinder = assetTagFinder;
1567            }
1568    
1569            /**
1570             * Returns the expando value local service.
1571             *
1572             * @return the expando value local service
1573             */
1574            public ExpandoValueLocalService getExpandoValueLocalService() {
1575                    return expandoValueLocalService;
1576            }
1577    
1578            /**
1579             * Sets the expando value local service.
1580             *
1581             * @param expandoValueLocalService the expando value local service
1582             */
1583            public void setExpandoValueLocalService(
1584                    ExpandoValueLocalService expandoValueLocalService) {
1585                    this.expandoValueLocalService = expandoValueLocalService;
1586            }
1587    
1588            /**
1589             * Returns the expando value remote service.
1590             *
1591             * @return the expando value remote service
1592             */
1593            public ExpandoValueService getExpandoValueService() {
1594                    return expandoValueService;
1595            }
1596    
1597            /**
1598             * Sets the expando value remote service.
1599             *
1600             * @param expandoValueService the expando value remote service
1601             */
1602            public void setExpandoValueService(ExpandoValueService expandoValueService) {
1603                    this.expandoValueService = expandoValueService;
1604            }
1605    
1606            /**
1607             * Returns the expando value persistence.
1608             *
1609             * @return the expando value persistence
1610             */
1611            public ExpandoValuePersistence getExpandoValuePersistence() {
1612                    return expandoValuePersistence;
1613            }
1614    
1615            /**
1616             * Sets the expando value persistence.
1617             *
1618             * @param expandoValuePersistence the expando value persistence
1619             */
1620            public void setExpandoValuePersistence(
1621                    ExpandoValuePersistence expandoValuePersistence) {
1622                    this.expandoValuePersistence = expandoValuePersistence;
1623            }
1624    
1625            /**
1626             * Returns the message-boards message local service.
1627             *
1628             * @return the message-boards message local service
1629             */
1630            public MBMessageLocalService getMBMessageLocalService() {
1631                    return mbMessageLocalService;
1632            }
1633    
1634            /**
1635             * Sets the message-boards message local service.
1636             *
1637             * @param mbMessageLocalService the message-boards message local service
1638             */
1639            public void setMBMessageLocalService(
1640                    MBMessageLocalService mbMessageLocalService) {
1641                    this.mbMessageLocalService = mbMessageLocalService;
1642            }
1643    
1644            /**
1645             * Returns the message-boards message remote service.
1646             *
1647             * @return the message-boards message remote service
1648             */
1649            public MBMessageService getMBMessageService() {
1650                    return mbMessageService;
1651            }
1652    
1653            /**
1654             * Sets the message-boards message remote service.
1655             *
1656             * @param mbMessageService the message-boards message remote service
1657             */
1658            public void setMBMessageService(MBMessageService mbMessageService) {
1659                    this.mbMessageService = mbMessageService;
1660            }
1661    
1662            /**
1663             * Returns the message-boards message persistence.
1664             *
1665             * @return the message-boards message persistence
1666             */
1667            public MBMessagePersistence getMBMessagePersistence() {
1668                    return mbMessagePersistence;
1669            }
1670    
1671            /**
1672             * Sets the message-boards message persistence.
1673             *
1674             * @param mbMessagePersistence the message-boards message persistence
1675             */
1676            public void setMBMessagePersistence(
1677                    MBMessagePersistence mbMessagePersistence) {
1678                    this.mbMessagePersistence = mbMessagePersistence;
1679            }
1680    
1681            /**
1682             * Returns the message-boards message finder.
1683             *
1684             * @return the message-boards message finder
1685             */
1686            public MBMessageFinder getMBMessageFinder() {
1687                    return mbMessageFinder;
1688            }
1689    
1690            /**
1691             * Sets the message-boards message finder.
1692             *
1693             * @param mbMessageFinder the message-boards message finder
1694             */
1695            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
1696                    this.mbMessageFinder = mbMessageFinder;
1697            }
1698    
1699            /**
1700             * Returns the ratings stats local service.
1701             *
1702             * @return the ratings stats local service
1703             */
1704            public RatingsStatsLocalService getRatingsStatsLocalService() {
1705                    return ratingsStatsLocalService;
1706            }
1707    
1708            /**
1709             * Sets the ratings stats local service.
1710             *
1711             * @param ratingsStatsLocalService the ratings stats local service
1712             */
1713            public void setRatingsStatsLocalService(
1714                    RatingsStatsLocalService ratingsStatsLocalService) {
1715                    this.ratingsStatsLocalService = ratingsStatsLocalService;
1716            }
1717    
1718            /**
1719             * Returns the ratings stats persistence.
1720             *
1721             * @return the ratings stats persistence
1722             */
1723            public RatingsStatsPersistence getRatingsStatsPersistence() {
1724                    return ratingsStatsPersistence;
1725            }
1726    
1727            /**
1728             * Sets the ratings stats persistence.
1729             *
1730             * @param ratingsStatsPersistence the ratings stats persistence
1731             */
1732            public void setRatingsStatsPersistence(
1733                    RatingsStatsPersistence ratingsStatsPersistence) {
1734                    this.ratingsStatsPersistence = ratingsStatsPersistence;
1735            }
1736    
1737            /**
1738             * Returns the ratings stats finder.
1739             *
1740             * @return the ratings stats finder
1741             */
1742            public RatingsStatsFinder getRatingsStatsFinder() {
1743                    return ratingsStatsFinder;
1744            }
1745    
1746            /**
1747             * Sets the ratings stats finder.
1748             *
1749             * @param ratingsStatsFinder the ratings stats finder
1750             */
1751            public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1752                    this.ratingsStatsFinder = ratingsStatsFinder;
1753            }
1754    
1755            public void afterPropertiesSet() {
1756                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.journal.model.JournalArticle",
1757                            journalArticleLocalService);
1758            }
1759    
1760            public void destroy() {
1761                    persistedModelLocalServiceRegistry.unregister(
1762                            "com.liferay.portlet.journal.model.JournalArticle");
1763            }
1764    
1765            /**
1766             * Returns the Spring bean ID for this bean.
1767             *
1768             * @return the Spring bean ID for this bean
1769             */
1770            public String getBeanIdentifier() {
1771                    return _beanIdentifier;
1772            }
1773    
1774            /**
1775             * Sets the Spring bean ID for this bean.
1776             *
1777             * @param beanIdentifier the Spring bean ID for this bean
1778             */
1779            public void setBeanIdentifier(String beanIdentifier) {
1780                    _beanIdentifier = beanIdentifier;
1781            }
1782    
1783            protected Class<?> getModelClass() {
1784                    return JournalArticle.class;
1785            }
1786    
1787            protected String getModelClassName() {
1788                    return JournalArticle.class.getName();
1789            }
1790    
1791            /**
1792             * Performs an SQL query.
1793             *
1794             * @param sql the sql query
1795             */
1796            protected void runSQL(String sql) throws SystemException {
1797                    try {
1798                            DataSource dataSource = journalArticlePersistence.getDataSource();
1799    
1800                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1801                                            sql, new int[0]);
1802    
1803                            sqlUpdate.update();
1804                    }
1805                    catch (Exception e) {
1806                            throw new SystemException(e);
1807                    }
1808            }
1809    
1810            @BeanReference(type = JournalArticleLocalService.class)
1811            protected JournalArticleLocalService journalArticleLocalService;
1812            @BeanReference(type = JournalArticleService.class)
1813            protected JournalArticleService journalArticleService;
1814            @BeanReference(type = JournalArticlePersistence.class)
1815            protected JournalArticlePersistence journalArticlePersistence;
1816            @BeanReference(type = JournalArticleFinder.class)
1817            protected JournalArticleFinder journalArticleFinder;
1818            @BeanReference(type = JournalArticleImageLocalService.class)
1819            protected JournalArticleImageLocalService journalArticleImageLocalService;
1820            @BeanReference(type = JournalArticleImagePersistence.class)
1821            protected JournalArticleImagePersistence journalArticleImagePersistence;
1822            @BeanReference(type = JournalArticleResourceLocalService.class)
1823            protected JournalArticleResourceLocalService journalArticleResourceLocalService;
1824            @BeanReference(type = JournalArticleResourcePersistence.class)
1825            protected JournalArticleResourcePersistence journalArticleResourcePersistence;
1826            @BeanReference(type = JournalContentSearchLocalService.class)
1827            protected JournalContentSearchLocalService journalContentSearchLocalService;
1828            @BeanReference(type = JournalContentSearchPersistence.class)
1829            protected JournalContentSearchPersistence journalContentSearchPersistence;
1830            @BeanReference(type = JournalFeedLocalService.class)
1831            protected JournalFeedLocalService journalFeedLocalService;
1832            @BeanReference(type = JournalFeedService.class)
1833            protected JournalFeedService journalFeedService;
1834            @BeanReference(type = JournalFeedPersistence.class)
1835            protected JournalFeedPersistence journalFeedPersistence;
1836            @BeanReference(type = JournalFeedFinder.class)
1837            protected JournalFeedFinder journalFeedFinder;
1838            @BeanReference(type = JournalFolderLocalService.class)
1839            protected JournalFolderLocalService journalFolderLocalService;
1840            @BeanReference(type = JournalFolderService.class)
1841            protected JournalFolderService journalFolderService;
1842            @BeanReference(type = JournalFolderPersistence.class)
1843            protected JournalFolderPersistence journalFolderPersistence;
1844            @BeanReference(type = JournalFolderFinder.class)
1845            protected JournalFolderFinder journalFolderFinder;
1846            @BeanReference(type = JournalStructureLocalService.class)
1847            protected JournalStructureLocalService journalStructureLocalService;
1848            @BeanReference(type = JournalStructureService.class)
1849            protected JournalStructureService journalStructureService;
1850            @BeanReference(type = JournalStructurePersistence.class)
1851            protected JournalStructurePersistence journalStructurePersistence;
1852            @BeanReference(type = JournalStructureFinder.class)
1853            protected JournalStructureFinder journalStructureFinder;
1854            @BeanReference(type = JournalTemplateLocalService.class)
1855            protected JournalTemplateLocalService journalTemplateLocalService;
1856            @BeanReference(type = JournalTemplateService.class)
1857            protected JournalTemplateService journalTemplateService;
1858            @BeanReference(type = JournalTemplatePersistence.class)
1859            protected JournalTemplatePersistence journalTemplatePersistence;
1860            @BeanReference(type = JournalTemplateFinder.class)
1861            protected JournalTemplateFinder journalTemplateFinder;
1862            @BeanReference(type = CounterLocalService.class)
1863            protected CounterLocalService counterLocalService;
1864            @BeanReference(type = MailService.class)
1865            protected MailService mailService;
1866            @BeanReference(type = CompanyLocalService.class)
1867            protected CompanyLocalService companyLocalService;
1868            @BeanReference(type = CompanyService.class)
1869            protected CompanyService companyService;
1870            @BeanReference(type = CompanyPersistence.class)
1871            protected CompanyPersistence companyPersistence;
1872            @BeanReference(type = GroupLocalService.class)
1873            protected GroupLocalService groupLocalService;
1874            @BeanReference(type = GroupService.class)
1875            protected GroupService groupService;
1876            @BeanReference(type = GroupPersistence.class)
1877            protected GroupPersistence groupPersistence;
1878            @BeanReference(type = GroupFinder.class)
1879            protected GroupFinder groupFinder;
1880            @BeanReference(type = ImageLocalService.class)
1881            protected ImageLocalService imageLocalService;
1882            @BeanReference(type = ImageService.class)
1883            protected ImageService imageService;
1884            @BeanReference(type = ImagePersistence.class)
1885            protected ImagePersistence imagePersistence;
1886            @BeanReference(type = PortletPreferencesLocalService.class)
1887            protected PortletPreferencesLocalService portletPreferencesLocalService;
1888            @BeanReference(type = PortletPreferencesService.class)
1889            protected PortletPreferencesService portletPreferencesService;
1890            @BeanReference(type = PortletPreferencesPersistence.class)
1891            protected PortletPreferencesPersistence portletPreferencesPersistence;
1892            @BeanReference(type = PortletPreferencesFinder.class)
1893            protected PortletPreferencesFinder portletPreferencesFinder;
1894            @BeanReference(type = ResourceLocalService.class)
1895            protected ResourceLocalService resourceLocalService;
1896            @BeanReference(type = SubscriptionLocalService.class)
1897            protected SubscriptionLocalService subscriptionLocalService;
1898            @BeanReference(type = SubscriptionPersistence.class)
1899            protected SubscriptionPersistence subscriptionPersistence;
1900            @BeanReference(type = UserLocalService.class)
1901            protected UserLocalService userLocalService;
1902            @BeanReference(type = UserService.class)
1903            protected UserService userService;
1904            @BeanReference(type = UserPersistence.class)
1905            protected UserPersistence userPersistence;
1906            @BeanReference(type = UserFinder.class)
1907            protected UserFinder userFinder;
1908            @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1909            protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1910            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1911            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1912            @BeanReference(type = AssetCategoryLocalService.class)
1913            protected AssetCategoryLocalService assetCategoryLocalService;
1914            @BeanReference(type = AssetCategoryService.class)
1915            protected AssetCategoryService assetCategoryService;
1916            @BeanReference(type = AssetCategoryPersistence.class)
1917            protected AssetCategoryPersistence assetCategoryPersistence;
1918            @BeanReference(type = AssetCategoryFinder.class)
1919            protected AssetCategoryFinder assetCategoryFinder;
1920            @BeanReference(type = AssetEntryLocalService.class)
1921            protected AssetEntryLocalService assetEntryLocalService;
1922            @BeanReference(type = AssetEntryService.class)
1923            protected AssetEntryService assetEntryService;
1924            @BeanReference(type = AssetEntryPersistence.class)
1925            protected AssetEntryPersistence assetEntryPersistence;
1926            @BeanReference(type = AssetEntryFinder.class)
1927            protected AssetEntryFinder assetEntryFinder;
1928            @BeanReference(type = AssetLinkLocalService.class)
1929            protected AssetLinkLocalService assetLinkLocalService;
1930            @BeanReference(type = AssetLinkPersistence.class)
1931            protected AssetLinkPersistence assetLinkPersistence;
1932            @BeanReference(type = AssetLinkFinder.class)
1933            protected AssetLinkFinder assetLinkFinder;
1934            @BeanReference(type = AssetTagLocalService.class)
1935            protected AssetTagLocalService assetTagLocalService;
1936            @BeanReference(type = AssetTagService.class)
1937            protected AssetTagService assetTagService;
1938            @BeanReference(type = AssetTagPersistence.class)
1939            protected AssetTagPersistence assetTagPersistence;
1940            @BeanReference(type = AssetTagFinder.class)
1941            protected AssetTagFinder assetTagFinder;
1942            @BeanReference(type = ExpandoValueLocalService.class)
1943            protected ExpandoValueLocalService expandoValueLocalService;
1944            @BeanReference(type = ExpandoValueService.class)
1945            protected ExpandoValueService expandoValueService;
1946            @BeanReference(type = ExpandoValuePersistence.class)
1947            protected ExpandoValuePersistence expandoValuePersistence;
1948            @BeanReference(type = MBMessageLocalService.class)
1949            protected MBMessageLocalService mbMessageLocalService;
1950            @BeanReference(type = MBMessageService.class)
1951            protected MBMessageService mbMessageService;
1952            @BeanReference(type = MBMessagePersistence.class)
1953            protected MBMessagePersistence mbMessagePersistence;
1954            @BeanReference(type = MBMessageFinder.class)
1955            protected MBMessageFinder mbMessageFinder;
1956            @BeanReference(type = RatingsStatsLocalService.class)
1957            protected RatingsStatsLocalService ratingsStatsLocalService;
1958            @BeanReference(type = RatingsStatsPersistence.class)
1959            protected RatingsStatsPersistence ratingsStatsPersistence;
1960            @BeanReference(type = RatingsStatsFinder.class)
1961            protected RatingsStatsFinder ratingsStatsFinder;
1962            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1963            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1964            private String _beanIdentifier;
1965    }