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