1   /**
2    * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.journal.service.base;
24  
25  import com.liferay.counter.service.CounterLocalService;
26  import com.liferay.counter.service.CounterService;
27  
28  import com.liferay.portal.PortalException;
29  import com.liferay.portal.SystemException;
30  import com.liferay.portal.kernel.bean.InitializingBean;
31  import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
32  import com.liferay.portal.kernel.dao.orm.DynamicQuery;
33  import com.liferay.portal.service.GroupLocalService;
34  import com.liferay.portal.service.GroupService;
35  import com.liferay.portal.service.LayoutLocalService;
36  import com.liferay.portal.service.LayoutService;
37  import com.liferay.portal.service.PortletPreferencesLocalService;
38  import com.liferay.portal.service.PortletPreferencesService;
39  import com.liferay.portal.service.persistence.GroupFinder;
40  import com.liferay.portal.service.persistence.GroupPersistence;
41  import com.liferay.portal.service.persistence.LayoutFinder;
42  import com.liferay.portal.service.persistence.LayoutPersistence;
43  import com.liferay.portal.service.persistence.PortletPreferencesFinder;
44  import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
45  
46  import com.liferay.portlet.journal.model.JournalContentSearch;
47  import com.liferay.portlet.journal.service.JournalArticleImageLocalService;
48  import com.liferay.portlet.journal.service.JournalArticleLocalService;
49  import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
50  import com.liferay.portlet.journal.service.JournalArticleService;
51  import com.liferay.portlet.journal.service.JournalContentSearchLocalService;
52  import com.liferay.portlet.journal.service.JournalFeedLocalService;
53  import com.liferay.portlet.journal.service.JournalFeedService;
54  import com.liferay.portlet.journal.service.JournalStructureLocalService;
55  import com.liferay.portlet.journal.service.JournalStructureService;
56  import com.liferay.portlet.journal.service.JournalTemplateLocalService;
57  import com.liferay.portlet.journal.service.JournalTemplateService;
58  import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
59  import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
60  import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
61  import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
62  import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
63  import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
64  import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
65  import com.liferay.portlet.journal.service.persistence.JournalStructureFinder;
66  import com.liferay.portlet.journal.service.persistence.JournalStructurePersistence;
67  import com.liferay.portlet.journal.service.persistence.JournalTemplateFinder;
68  import com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence;
69  
70  import java.util.List;
71  
72  /**
73   * <a href="JournalContentSearchLocalServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
74   *
75   * @author Brian Wing Shun Chan
76   *
77   */
78  public abstract class JournalContentSearchLocalServiceBaseImpl
79      implements JournalContentSearchLocalService, InitializingBean {
80      public JournalContentSearch addJournalContentSearch(
81          JournalContentSearch journalContentSearch) throws SystemException {
82          journalContentSearch.setNew(true);
83  
84          return journalContentSearchPersistence.update(journalContentSearch,
85              false);
86      }
87  
88      public void deleteJournalContentSearch(long contentSearchId)
89          throws PortalException, SystemException {
90          journalContentSearchPersistence.remove(contentSearchId);
91      }
92  
93      public void deleteJournalContentSearch(
94          JournalContentSearch journalContentSearch) throws SystemException {
95          journalContentSearchPersistence.remove(journalContentSearch);
96      }
97  
98      public List<Object> dynamicQuery(DynamicQuery dynamicQuery)
99          throws SystemException {
100         return journalContentSearchPersistence.findWithDynamicQuery(dynamicQuery);
101     }
102 
103     public List<Object> dynamicQuery(DynamicQuery dynamicQuery, int start,
104         int end) throws SystemException {
105         return journalContentSearchPersistence.findWithDynamicQuery(dynamicQuery,
106             start, end);
107     }
108 
109     public JournalContentSearch getJournalContentSearch(long contentSearchId)
110         throws PortalException, SystemException {
111         return journalContentSearchPersistence.findByPrimaryKey(contentSearchId);
112     }
113 
114     public List<JournalContentSearch> getJournalContentSearchs(int start,
115         int end) throws SystemException {
116         return journalContentSearchPersistence.findAll(start, end);
117     }
118 
119     public int getJournalContentSearchsCount() throws SystemException {
120         return journalContentSearchPersistence.countAll();
121     }
122 
123     public JournalContentSearch updateJournalContentSearch(
124         JournalContentSearch journalContentSearch) throws SystemException {
125         journalContentSearch.setNew(false);
126 
127         return journalContentSearchPersistence.update(journalContentSearch, true);
128     }
129 
130     public JournalArticleLocalService getJournalArticleLocalService() {
131         return journalArticleLocalService;
132     }
133 
134     public void setJournalArticleLocalService(
135         JournalArticleLocalService journalArticleLocalService) {
136         this.journalArticleLocalService = journalArticleLocalService;
137     }
138 
139     public JournalArticleService getJournalArticleService() {
140         return journalArticleService;
141     }
142 
143     public void setJournalArticleService(
144         JournalArticleService journalArticleService) {
145         this.journalArticleService = journalArticleService;
146     }
147 
148     public JournalArticlePersistence getJournalArticlePersistence() {
149         return journalArticlePersistence;
150     }
151 
152     public void setJournalArticlePersistence(
153         JournalArticlePersistence journalArticlePersistence) {
154         this.journalArticlePersistence = journalArticlePersistence;
155     }
156 
157     public JournalArticleFinder getJournalArticleFinder() {
158         return journalArticleFinder;
159     }
160 
161     public void setJournalArticleFinder(
162         JournalArticleFinder journalArticleFinder) {
163         this.journalArticleFinder = journalArticleFinder;
164     }
165 
166     public JournalArticleImageLocalService getJournalArticleImageLocalService() {
167         return journalArticleImageLocalService;
168     }
169 
170     public void setJournalArticleImageLocalService(
171         JournalArticleImageLocalService journalArticleImageLocalService) {
172         this.journalArticleImageLocalService = journalArticleImageLocalService;
173     }
174 
175     public JournalArticleImagePersistence getJournalArticleImagePersistence() {
176         return journalArticleImagePersistence;
177     }
178 
179     public void setJournalArticleImagePersistence(
180         JournalArticleImagePersistence journalArticleImagePersistence) {
181         this.journalArticleImagePersistence = journalArticleImagePersistence;
182     }
183 
184     public JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
185         return journalArticleResourceLocalService;
186     }
187 
188     public void setJournalArticleResourceLocalService(
189         JournalArticleResourceLocalService journalArticleResourceLocalService) {
190         this.journalArticleResourceLocalService = journalArticleResourceLocalService;
191     }
192 
193     public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
194         return journalArticleResourcePersistence;
195     }
196 
197     public void setJournalArticleResourcePersistence(
198         JournalArticleResourcePersistence journalArticleResourcePersistence) {
199         this.journalArticleResourcePersistence = journalArticleResourcePersistence;
200     }
201 
202     public JournalContentSearchPersistence getJournalContentSearchPersistence() {
203         return journalContentSearchPersistence;
204     }
205 
206     public void setJournalContentSearchPersistence(
207         JournalContentSearchPersistence journalContentSearchPersistence) {
208         this.journalContentSearchPersistence = journalContentSearchPersistence;
209     }
210 
211     public JournalFeedLocalService getJournalFeedLocalService() {
212         return journalFeedLocalService;
213     }
214 
215     public void setJournalFeedLocalService(
216         JournalFeedLocalService journalFeedLocalService) {
217         this.journalFeedLocalService = journalFeedLocalService;
218     }
219 
220     public JournalFeedService getJournalFeedService() {
221         return journalFeedService;
222     }
223 
224     public void setJournalFeedService(JournalFeedService journalFeedService) {
225         this.journalFeedService = journalFeedService;
226     }
227 
228     public JournalFeedPersistence getJournalFeedPersistence() {
229         return journalFeedPersistence;
230     }
231 
232     public void setJournalFeedPersistence(
233         JournalFeedPersistence journalFeedPersistence) {
234         this.journalFeedPersistence = journalFeedPersistence;
235     }
236 
237     public JournalFeedFinder getJournalFeedFinder() {
238         return journalFeedFinder;
239     }
240 
241     public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder) {
242         this.journalFeedFinder = journalFeedFinder;
243     }
244 
245     public JournalStructureLocalService getJournalStructureLocalService() {
246         return journalStructureLocalService;
247     }
248 
249     public void setJournalStructureLocalService(
250         JournalStructureLocalService journalStructureLocalService) {
251         this.journalStructureLocalService = journalStructureLocalService;
252     }
253 
254     public JournalStructureService getJournalStructureService() {
255         return journalStructureService;
256     }
257 
258     public void setJournalStructureService(
259         JournalStructureService journalStructureService) {
260         this.journalStructureService = journalStructureService;
261     }
262 
263     public JournalStructurePersistence getJournalStructurePersistence() {
264         return journalStructurePersistence;
265     }
266 
267     public void setJournalStructurePersistence(
268         JournalStructurePersistence journalStructurePersistence) {
269         this.journalStructurePersistence = journalStructurePersistence;
270     }
271 
272     public JournalStructureFinder getJournalStructureFinder() {
273         return journalStructureFinder;
274     }
275 
276     public void setJournalStructureFinder(
277         JournalStructureFinder journalStructureFinder) {
278         this.journalStructureFinder = journalStructureFinder;
279     }
280 
281     public JournalTemplateLocalService getJournalTemplateLocalService() {
282         return journalTemplateLocalService;
283     }
284 
285     public void setJournalTemplateLocalService(
286         JournalTemplateLocalService journalTemplateLocalService) {
287         this.journalTemplateLocalService = journalTemplateLocalService;
288     }
289 
290     public JournalTemplateService getJournalTemplateService() {
291         return journalTemplateService;
292     }
293 
294     public void setJournalTemplateService(
295         JournalTemplateService journalTemplateService) {
296         this.journalTemplateService = journalTemplateService;
297     }
298 
299     public JournalTemplatePersistence getJournalTemplatePersistence() {
300         return journalTemplatePersistence;
301     }
302 
303     public void setJournalTemplatePersistence(
304         JournalTemplatePersistence journalTemplatePersistence) {
305         this.journalTemplatePersistence = journalTemplatePersistence;
306     }
307 
308     public JournalTemplateFinder getJournalTemplateFinder() {
309         return journalTemplateFinder;
310     }
311 
312     public void setJournalTemplateFinder(
313         JournalTemplateFinder journalTemplateFinder) {
314         this.journalTemplateFinder = journalTemplateFinder;
315     }
316 
317     public CounterLocalService getCounterLocalService() {
318         return counterLocalService;
319     }
320 
321     public void setCounterLocalService(CounterLocalService counterLocalService) {
322         this.counterLocalService = counterLocalService;
323     }
324 
325     public CounterService getCounterService() {
326         return counterService;
327     }
328 
329     public void setCounterService(CounterService counterService) {
330         this.counterService = counterService;
331     }
332 
333     public GroupLocalService getGroupLocalService() {
334         return groupLocalService;
335     }
336 
337     public void setGroupLocalService(GroupLocalService groupLocalService) {
338         this.groupLocalService = groupLocalService;
339     }
340 
341     public GroupService getGroupService() {
342         return groupService;
343     }
344 
345     public void setGroupService(GroupService groupService) {
346         this.groupService = groupService;
347     }
348 
349     public GroupPersistence getGroupPersistence() {
350         return groupPersistence;
351     }
352 
353     public void setGroupPersistence(GroupPersistence groupPersistence) {
354         this.groupPersistence = groupPersistence;
355     }
356 
357     public GroupFinder getGroupFinder() {
358         return groupFinder;
359     }
360 
361     public void setGroupFinder(GroupFinder groupFinder) {
362         this.groupFinder = groupFinder;
363     }
364 
365     public LayoutLocalService getLayoutLocalService() {
366         return layoutLocalService;
367     }
368 
369     public void setLayoutLocalService(LayoutLocalService layoutLocalService) {
370         this.layoutLocalService = layoutLocalService;
371     }
372 
373     public LayoutService getLayoutService() {
374         return layoutService;
375     }
376 
377     public void setLayoutService(LayoutService layoutService) {
378         this.layoutService = layoutService;
379     }
380 
381     public LayoutPersistence getLayoutPersistence() {
382         return layoutPersistence;
383     }
384 
385     public void setLayoutPersistence(LayoutPersistence layoutPersistence) {
386         this.layoutPersistence = layoutPersistence;
387     }
388 
389     public LayoutFinder getLayoutFinder() {
390         return layoutFinder;
391     }
392 
393     public void setLayoutFinder(LayoutFinder layoutFinder) {
394         this.layoutFinder = layoutFinder;
395     }
396 
397     public PortletPreferencesLocalService getPortletPreferencesLocalService() {
398         return portletPreferencesLocalService;
399     }
400 
401     public void setPortletPreferencesLocalService(
402         PortletPreferencesLocalService portletPreferencesLocalService) {
403         this.portletPreferencesLocalService = portletPreferencesLocalService;
404     }
405 
406     public PortletPreferencesService getPortletPreferencesService() {
407         return portletPreferencesService;
408     }
409 
410     public void setPortletPreferencesService(
411         PortletPreferencesService portletPreferencesService) {
412         this.portletPreferencesService = portletPreferencesService;
413     }
414 
415     public PortletPreferencesPersistence getPortletPreferencesPersistence() {
416         return portletPreferencesPersistence;
417     }
418 
419     public void setPortletPreferencesPersistence(
420         PortletPreferencesPersistence portletPreferencesPersistence) {
421         this.portletPreferencesPersistence = portletPreferencesPersistence;
422     }
423 
424     public PortletPreferencesFinder getPortletPreferencesFinder() {
425         return portletPreferencesFinder;
426     }
427 
428     public void setPortletPreferencesFinder(
429         PortletPreferencesFinder portletPreferencesFinder) {
430         this.portletPreferencesFinder = portletPreferencesFinder;
431     }
432 
433     public void afterPropertiesSet() {
434         if (journalArticleLocalService == null) {
435             journalArticleLocalService = (JournalArticleLocalService)PortalBeanLocatorUtil.locate(JournalArticleLocalService.class.getName() +
436                     ".impl");
437         }
438 
439         if (journalArticleService == null) {
440             journalArticleService = (JournalArticleService)PortalBeanLocatorUtil.locate(JournalArticleService.class.getName() +
441                     ".impl");
442         }
443 
444         if (journalArticlePersistence == null) {
445             journalArticlePersistence = (JournalArticlePersistence)PortalBeanLocatorUtil.locate(JournalArticlePersistence.class.getName() +
446                     ".impl");
447         }
448 
449         if (journalArticleFinder == null) {
450             journalArticleFinder = (JournalArticleFinder)PortalBeanLocatorUtil.locate(JournalArticleFinder.class.getName() +
451                     ".impl");
452         }
453 
454         if (journalArticleImageLocalService == null) {
455             journalArticleImageLocalService = (JournalArticleImageLocalService)PortalBeanLocatorUtil.locate(JournalArticleImageLocalService.class.getName() +
456                     ".impl");
457         }
458 
459         if (journalArticleImagePersistence == null) {
460             journalArticleImagePersistence = (JournalArticleImagePersistence)PortalBeanLocatorUtil.locate(JournalArticleImagePersistence.class.getName() +
461                     ".impl");
462         }
463 
464         if (journalArticleResourceLocalService == null) {
465             journalArticleResourceLocalService = (JournalArticleResourceLocalService)PortalBeanLocatorUtil.locate(JournalArticleResourceLocalService.class.getName() +
466                     ".impl");
467         }
468 
469         if (journalArticleResourcePersistence == null) {
470             journalArticleResourcePersistence = (JournalArticleResourcePersistence)PortalBeanLocatorUtil.locate(JournalArticleResourcePersistence.class.getName() +
471                     ".impl");
472         }
473 
474         if (journalContentSearchPersistence == null) {
475             journalContentSearchPersistence = (JournalContentSearchPersistence)PortalBeanLocatorUtil.locate(JournalContentSearchPersistence.class.getName() +
476                     ".impl");
477         }
478 
479         if (journalFeedLocalService == null) {
480             journalFeedLocalService = (JournalFeedLocalService)PortalBeanLocatorUtil.locate(JournalFeedLocalService.class.getName() +
481                     ".impl");
482         }
483 
484         if (journalFeedService == null) {
485             journalFeedService = (JournalFeedService)PortalBeanLocatorUtil.locate(JournalFeedService.class.getName() +
486                     ".impl");
487         }
488 
489         if (journalFeedPersistence == null) {
490             journalFeedPersistence = (JournalFeedPersistence)PortalBeanLocatorUtil.locate(JournalFeedPersistence.class.getName() +
491                     ".impl");
492         }
493 
494         if (journalFeedFinder == null) {
495             journalFeedFinder = (JournalFeedFinder)PortalBeanLocatorUtil.locate(JournalFeedFinder.class.getName() +
496                     ".impl");
497         }
498 
499         if (journalStructureLocalService == null) {
500             journalStructureLocalService = (JournalStructureLocalService)PortalBeanLocatorUtil.locate(JournalStructureLocalService.class.getName() +
501                     ".impl");
502         }
503 
504         if (journalStructureService == null) {
505             journalStructureService = (JournalStructureService)PortalBeanLocatorUtil.locate(JournalStructureService.class.getName() +
506                     ".impl");
507         }
508 
509         if (journalStructurePersistence == null) {
510             journalStructurePersistence = (JournalStructurePersistence)PortalBeanLocatorUtil.locate(JournalStructurePersistence.class.getName() +
511                     ".impl");
512         }
513 
514         if (journalStructureFinder == null) {
515             journalStructureFinder = (JournalStructureFinder)PortalBeanLocatorUtil.locate(JournalStructureFinder.class.getName() +
516                     ".impl");
517         }
518 
519         if (journalTemplateLocalService == null) {
520             journalTemplateLocalService = (JournalTemplateLocalService)PortalBeanLocatorUtil.locate(JournalTemplateLocalService.class.getName() +
521                     ".impl");
522         }
523 
524         if (journalTemplateService == null) {
525             journalTemplateService = (JournalTemplateService)PortalBeanLocatorUtil.locate(JournalTemplateService.class.getName() +
526                     ".impl");
527         }
528 
529         if (journalTemplatePersistence == null) {
530             journalTemplatePersistence = (JournalTemplatePersistence)PortalBeanLocatorUtil.locate(JournalTemplatePersistence.class.getName() +
531                     ".impl");
532         }
533 
534         if (journalTemplateFinder == null) {
535             journalTemplateFinder = (JournalTemplateFinder)PortalBeanLocatorUtil.locate(JournalTemplateFinder.class.getName() +
536                     ".impl");
537         }
538 
539         if (counterLocalService == null) {
540             counterLocalService = (CounterLocalService)PortalBeanLocatorUtil.locate(CounterLocalService.class.getName() +
541                     ".impl");
542         }
543 
544         if (counterService == null) {
545             counterService = (CounterService)PortalBeanLocatorUtil.locate(CounterService.class.getName() +
546                     ".impl");
547         }
548 
549         if (groupLocalService == null) {
550             groupLocalService = (GroupLocalService)PortalBeanLocatorUtil.locate(GroupLocalService.class.getName() +
551                     ".impl");
552         }
553 
554         if (groupService == null) {
555             groupService = (GroupService)PortalBeanLocatorUtil.locate(GroupService.class.getName() +
556                     ".impl");
557         }
558 
559         if (groupPersistence == null) {
560             groupPersistence = (GroupPersistence)PortalBeanLocatorUtil.locate(GroupPersistence.class.getName() +
561                     ".impl");
562         }
563 
564         if (groupFinder == null) {
565             groupFinder = (GroupFinder)PortalBeanLocatorUtil.locate(GroupFinder.class.getName() +
566                     ".impl");
567         }
568 
569         if (layoutLocalService == null) {
570             layoutLocalService = (LayoutLocalService)PortalBeanLocatorUtil.locate(LayoutLocalService.class.getName() +
571                     ".impl");
572         }
573 
574         if (layoutService == null) {
575             layoutService = (LayoutService)PortalBeanLocatorUtil.locate(LayoutService.class.getName() +
576                     ".impl");
577         }
578 
579         if (layoutPersistence == null) {
580             layoutPersistence = (LayoutPersistence)PortalBeanLocatorUtil.locate(LayoutPersistence.class.getName() +
581                     ".impl");
582         }
583 
584         if (layoutFinder == null) {
585             layoutFinder = (LayoutFinder)PortalBeanLocatorUtil.locate(LayoutFinder.class.getName() +
586                     ".impl");
587         }
588 
589         if (portletPreferencesLocalService == null) {
590             portletPreferencesLocalService = (PortletPreferencesLocalService)PortalBeanLocatorUtil.locate(PortletPreferencesLocalService.class.getName() +
591                     ".impl");
592         }
593 
594         if (portletPreferencesService == null) {
595             portletPreferencesService = (PortletPreferencesService)PortalBeanLocatorUtil.locate(PortletPreferencesService.class.getName() +
596                     ".impl");
597         }
598 
599         if (portletPreferencesPersistence == null) {
600             portletPreferencesPersistence = (PortletPreferencesPersistence)PortalBeanLocatorUtil.locate(PortletPreferencesPersistence.class.getName() +
601                     ".impl");
602         }
603 
604         if (portletPreferencesFinder == null) {
605             portletPreferencesFinder = (PortletPreferencesFinder)PortalBeanLocatorUtil.locate(PortletPreferencesFinder.class.getName() +
606                     ".impl");
607         }
608     }
609 
610     protected JournalArticleLocalService journalArticleLocalService;
611     protected JournalArticleService journalArticleService;
612     protected JournalArticlePersistence journalArticlePersistence;
613     protected JournalArticleFinder journalArticleFinder;
614     protected JournalArticleImageLocalService journalArticleImageLocalService;
615     protected JournalArticleImagePersistence journalArticleImagePersistence;
616     protected JournalArticleResourceLocalService journalArticleResourceLocalService;
617     protected JournalArticleResourcePersistence journalArticleResourcePersistence;
618     protected JournalContentSearchPersistence journalContentSearchPersistence;
619     protected JournalFeedLocalService journalFeedLocalService;
620     protected JournalFeedService journalFeedService;
621     protected JournalFeedPersistence journalFeedPersistence;
622     protected JournalFeedFinder journalFeedFinder;
623     protected JournalStructureLocalService journalStructureLocalService;
624     protected JournalStructureService journalStructureService;
625     protected JournalStructurePersistence journalStructurePersistence;
626     protected JournalStructureFinder journalStructureFinder;
627     protected JournalTemplateLocalService journalTemplateLocalService;
628     protected JournalTemplateService journalTemplateService;
629     protected JournalTemplatePersistence journalTemplatePersistence;
630     protected JournalTemplateFinder journalTemplateFinder;
631     protected CounterLocalService counterLocalService;
632     protected CounterService counterService;
633     protected GroupLocalService groupLocalService;
634     protected GroupService groupService;
635     protected GroupPersistence groupPersistence;
636     protected GroupFinder groupFinder;
637     protected LayoutLocalService layoutLocalService;
638     protected LayoutService layoutService;
639     protected LayoutPersistence layoutPersistence;
640     protected LayoutFinder layoutFinder;
641     protected PortletPreferencesLocalService portletPreferencesLocalService;
642     protected PortletPreferencesService portletPreferencesService;
643     protected PortletPreferencesPersistence portletPreferencesPersistence;
644     protected PortletPreferencesFinder portletPreferencesFinder;
645 }