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.tags.service.base;
24  
25  import com.liferay.counter.service.CounterLocalService;
26  import com.liferay.counter.service.CounterLocalServiceFactory;
27  import com.liferay.counter.service.CounterService;
28  import com.liferay.counter.service.CounterServiceFactory;
29  
30  import com.liferay.portal.PortalException;
31  import com.liferay.portal.SystemException;
32  import com.liferay.portal.kernel.dao.DynamicQueryInitializer;
33  import com.liferay.portal.service.CompanyLocalService;
34  import com.liferay.portal.service.CompanyLocalServiceFactory;
35  import com.liferay.portal.service.CompanyService;
36  import com.liferay.portal.service.CompanyServiceFactory;
37  import com.liferay.portal.service.GroupLocalService;
38  import com.liferay.portal.service.GroupLocalServiceFactory;
39  import com.liferay.portal.service.GroupService;
40  import com.liferay.portal.service.GroupServiceFactory;
41  import com.liferay.portal.service.UserLocalService;
42  import com.liferay.portal.service.UserLocalServiceFactory;
43  import com.liferay.portal.service.UserService;
44  import com.liferay.portal.service.UserServiceFactory;
45  import com.liferay.portal.service.persistence.CompanyPersistence;
46  import com.liferay.portal.service.persistence.CompanyUtil;
47  import com.liferay.portal.service.persistence.GroupFinder;
48  import com.liferay.portal.service.persistence.GroupFinderUtil;
49  import com.liferay.portal.service.persistence.GroupPersistence;
50  import com.liferay.portal.service.persistence.GroupUtil;
51  import com.liferay.portal.service.persistence.UserFinder;
52  import com.liferay.portal.service.persistence.UserFinderUtil;
53  import com.liferay.portal.service.persistence.UserPersistence;
54  import com.liferay.portal.service.persistence.UserUtil;
55  
56  import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
57  import com.liferay.portlet.blogs.service.BlogsEntryLocalServiceFactory;
58  import com.liferay.portlet.blogs.service.BlogsEntryService;
59  import com.liferay.portlet.blogs.service.BlogsEntryServiceFactory;
60  import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
61  import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinderUtil;
62  import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
63  import com.liferay.portlet.blogs.service.persistence.BlogsEntryUtil;
64  import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService;
65  import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalServiceFactory;
66  import com.liferay.portlet.bookmarks.service.BookmarksEntryService;
67  import com.liferay.portlet.bookmarks.service.BookmarksEntryServiceFactory;
68  import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
69  import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinderUtil;
70  import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
71  import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryUtil;
72  import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
73  import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceFactory;
74  import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
75  import com.liferay.portlet.documentlibrary.service.DLFileEntryServiceFactory;
76  import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
77  import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinderUtil;
78  import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
79  import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryUtil;
80  import com.liferay.portlet.journal.service.JournalArticleLocalService;
81  import com.liferay.portlet.journal.service.JournalArticleLocalServiceFactory;
82  import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
83  import com.liferay.portlet.journal.service.JournalArticleResourceLocalServiceFactory;
84  import com.liferay.portlet.journal.service.JournalArticleService;
85  import com.liferay.portlet.journal.service.JournalArticleServiceFactory;
86  import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
87  import com.liferay.portlet.journal.service.persistence.JournalArticleFinderUtil;
88  import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
89  import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
90  import com.liferay.portlet.journal.service.persistence.JournalArticleResourceUtil;
91  import com.liferay.portlet.journal.service.persistence.JournalArticleUtil;
92  import com.liferay.portlet.messageboards.service.MBMessageLocalService;
93  import com.liferay.portlet.messageboards.service.MBMessageLocalServiceFactory;
94  import com.liferay.portlet.messageboards.service.MBMessageService;
95  import com.liferay.portlet.messageboards.service.MBMessageServiceFactory;
96  import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
97  import com.liferay.portlet.messageboards.service.persistence.MBMessageFinderUtil;
98  import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
99  import com.liferay.portlet.messageboards.service.persistence.MBMessageUtil;
100 import com.liferay.portlet.tags.model.TagsAsset;
101 import com.liferay.portlet.tags.service.TagsAssetLocalService;
102 import com.liferay.portlet.tags.service.TagsEntryLocalService;
103 import com.liferay.portlet.tags.service.TagsEntryLocalServiceFactory;
104 import com.liferay.portlet.tags.service.TagsEntryService;
105 import com.liferay.portlet.tags.service.TagsEntryServiceFactory;
106 import com.liferay.portlet.tags.service.TagsPropertyLocalService;
107 import com.liferay.portlet.tags.service.TagsPropertyLocalServiceFactory;
108 import com.liferay.portlet.tags.service.TagsPropertyService;
109 import com.liferay.portlet.tags.service.TagsPropertyServiceFactory;
110 import com.liferay.portlet.tags.service.TagsSourceLocalService;
111 import com.liferay.portlet.tags.service.TagsSourceLocalServiceFactory;
112 import com.liferay.portlet.tags.service.TagsSourceService;
113 import com.liferay.portlet.tags.service.TagsSourceServiceFactory;
114 import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
115 import com.liferay.portlet.tags.service.persistence.TagsAssetFinderUtil;
116 import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
117 import com.liferay.portlet.tags.service.persistence.TagsAssetUtil;
118 import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
119 import com.liferay.portlet.tags.service.persistence.TagsEntryFinderUtil;
120 import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
121 import com.liferay.portlet.tags.service.persistence.TagsEntryUtil;
122 import com.liferay.portlet.tags.service.persistence.TagsPropertyFinder;
123 import com.liferay.portlet.tags.service.persistence.TagsPropertyFinderUtil;
124 import com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder;
125 import com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinderUtil;
126 import com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence;
127 import com.liferay.portlet.tags.service.persistence.TagsPropertyUtil;
128 import com.liferay.portlet.tags.service.persistence.TagsSourcePersistence;
129 import com.liferay.portlet.tags.service.persistence.TagsSourceUtil;
130 import com.liferay.portlet.wiki.service.WikiPageLocalService;
131 import com.liferay.portlet.wiki.service.WikiPageLocalServiceFactory;
132 import com.liferay.portlet.wiki.service.WikiPageResourceLocalService;
133 import com.liferay.portlet.wiki.service.WikiPageResourceLocalServiceFactory;
134 import com.liferay.portlet.wiki.service.WikiPageService;
135 import com.liferay.portlet.wiki.service.WikiPageServiceFactory;
136 import com.liferay.portlet.wiki.service.persistence.WikiPageFinder;
137 import com.liferay.portlet.wiki.service.persistence.WikiPageFinderUtil;
138 import com.liferay.portlet.wiki.service.persistence.WikiPagePersistence;
139 import com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence;
140 import com.liferay.portlet.wiki.service.persistence.WikiPageResourceUtil;
141 import com.liferay.portlet.wiki.service.persistence.WikiPageUtil;
142 
143 import org.springframework.beans.factory.InitializingBean;
144 
145 import java.util.List;
146 
147 /**
148  * <a href="TagsAssetLocalServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
149  *
150  * @author Brian Wing Shun Chan
151  *
152  */
153 public abstract class TagsAssetLocalServiceBaseImpl
154     implements TagsAssetLocalService, InitializingBean {
155     public TagsAsset addTagsAsset(TagsAsset tagsAsset)
156         throws SystemException {
157         tagsAsset.setNew(true);
158 
159         return tagsAssetPersistence.update(tagsAsset, false);
160     }
161 
162     public void deleteTagsAsset(long assetId)
163         throws PortalException, SystemException {
164         tagsAssetPersistence.remove(assetId);
165     }
166 
167     public void deleteTagsAsset(TagsAsset tagsAsset)
168         throws PortalException, SystemException {
169         tagsAssetPersistence.remove(tagsAsset);
170     }
171 
172     public List<TagsAsset> dynamicQuery(
173         DynamicQueryInitializer queryInitializer) throws SystemException {
174         return tagsAssetPersistence.findWithDynamicQuery(queryInitializer);
175     }
176 
177     public List<TagsAsset> dynamicQuery(
178         DynamicQueryInitializer queryInitializer, int begin, int end)
179         throws SystemException {
180         return tagsAssetPersistence.findWithDynamicQuery(queryInitializer,
181             begin, end);
182     }
183 
184     public TagsAsset updateTagsAsset(TagsAsset tagsAsset)
185         throws SystemException {
186         tagsAsset.setNew(false);
187 
188         return tagsAssetPersistence.update(tagsAsset, true);
189     }
190 
191     public TagsAssetPersistence getTagsAssetPersistence() {
192         return tagsAssetPersistence;
193     }
194 
195     public void setTagsAssetPersistence(
196         TagsAssetPersistence tagsAssetPersistence) {
197         this.tagsAssetPersistence = tagsAssetPersistence;
198     }
199 
200     public TagsAssetFinder getTagsAssetFinder() {
201         return tagsAssetFinder;
202     }
203 
204     public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
205         this.tagsAssetFinder = tagsAssetFinder;
206     }
207 
208     public TagsEntryLocalService getTagsEntryLocalService() {
209         return tagsEntryLocalService;
210     }
211 
212     public void setTagsEntryLocalService(
213         TagsEntryLocalService tagsEntryLocalService) {
214         this.tagsEntryLocalService = tagsEntryLocalService;
215     }
216 
217     public TagsEntryService getTagsEntryService() {
218         return tagsEntryService;
219     }
220 
221     public void setTagsEntryService(TagsEntryService tagsEntryService) {
222         this.tagsEntryService = tagsEntryService;
223     }
224 
225     public TagsEntryPersistence getTagsEntryPersistence() {
226         return tagsEntryPersistence;
227     }
228 
229     public void setTagsEntryPersistence(
230         TagsEntryPersistence tagsEntryPersistence) {
231         this.tagsEntryPersistence = tagsEntryPersistence;
232     }
233 
234     public TagsEntryFinder getTagsEntryFinder() {
235         return tagsEntryFinder;
236     }
237 
238     public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
239         this.tagsEntryFinder = tagsEntryFinder;
240     }
241 
242     public TagsPropertyLocalService getTagsPropertyLocalService() {
243         return tagsPropertyLocalService;
244     }
245 
246     public void setTagsPropertyLocalService(
247         TagsPropertyLocalService tagsPropertyLocalService) {
248         this.tagsPropertyLocalService = tagsPropertyLocalService;
249     }
250 
251     public TagsPropertyService getTagsPropertyService() {
252         return tagsPropertyService;
253     }
254 
255     public void setTagsPropertyService(TagsPropertyService tagsPropertyService) {
256         this.tagsPropertyService = tagsPropertyService;
257     }
258 
259     public TagsPropertyPersistence getTagsPropertyPersistence() {
260         return tagsPropertyPersistence;
261     }
262 
263     public void setTagsPropertyPersistence(
264         TagsPropertyPersistence tagsPropertyPersistence) {
265         this.tagsPropertyPersistence = tagsPropertyPersistence;
266     }
267 
268     public TagsPropertyFinder getTagsPropertyFinder() {
269         return tagsPropertyFinder;
270     }
271 
272     public void setTagsPropertyFinder(TagsPropertyFinder tagsPropertyFinder) {
273         this.tagsPropertyFinder = tagsPropertyFinder;
274     }
275 
276     public TagsPropertyKeyFinder getTagsPropertyKeyFinder() {
277         return tagsPropertyKeyFinder;
278     }
279 
280     public void setTagsPropertyKeyFinder(
281         TagsPropertyKeyFinder tagsPropertyKeyFinder) {
282         this.tagsPropertyKeyFinder = tagsPropertyKeyFinder;
283     }
284 
285     public TagsSourceLocalService getTagsSourceLocalService() {
286         return tagsSourceLocalService;
287     }
288 
289     public void setTagsSourceLocalService(
290         TagsSourceLocalService tagsSourceLocalService) {
291         this.tagsSourceLocalService = tagsSourceLocalService;
292     }
293 
294     public TagsSourceService getTagsSourceService() {
295         return tagsSourceService;
296     }
297 
298     public void setTagsSourceService(TagsSourceService tagsSourceService) {
299         this.tagsSourceService = tagsSourceService;
300     }
301 
302     public TagsSourcePersistence getTagsSourcePersistence() {
303         return tagsSourcePersistence;
304     }
305 
306     public void setTagsSourcePersistence(
307         TagsSourcePersistence tagsSourcePersistence) {
308         this.tagsSourcePersistence = tagsSourcePersistence;
309     }
310 
311     public CounterLocalService getCounterLocalService() {
312         return counterLocalService;
313     }
314 
315     public void setCounterLocalService(CounterLocalService counterLocalService) {
316         this.counterLocalService = counterLocalService;
317     }
318 
319     public CounterService getCounterService() {
320         return counterService;
321     }
322 
323     public void setCounterService(CounterService counterService) {
324         this.counterService = counterService;
325     }
326 
327     public CompanyLocalService getCompanyLocalService() {
328         return companyLocalService;
329     }
330 
331     public void setCompanyLocalService(CompanyLocalService companyLocalService) {
332         this.companyLocalService = companyLocalService;
333     }
334 
335     public CompanyService getCompanyService() {
336         return companyService;
337     }
338 
339     public void setCompanyService(CompanyService companyService) {
340         this.companyService = companyService;
341     }
342 
343     public CompanyPersistence getCompanyPersistence() {
344         return companyPersistence;
345     }
346 
347     public void setCompanyPersistence(CompanyPersistence companyPersistence) {
348         this.companyPersistence = companyPersistence;
349     }
350 
351     public GroupLocalService getGroupLocalService() {
352         return groupLocalService;
353     }
354 
355     public void setGroupLocalService(GroupLocalService groupLocalService) {
356         this.groupLocalService = groupLocalService;
357     }
358 
359     public GroupService getGroupService() {
360         return groupService;
361     }
362 
363     public void setGroupService(GroupService groupService) {
364         this.groupService = groupService;
365     }
366 
367     public GroupPersistence getGroupPersistence() {
368         return groupPersistence;
369     }
370 
371     public void setGroupPersistence(GroupPersistence groupPersistence) {
372         this.groupPersistence = groupPersistence;
373     }
374 
375     public GroupFinder getGroupFinder() {
376         return groupFinder;
377     }
378 
379     public void setGroupFinder(GroupFinder groupFinder) {
380         this.groupFinder = groupFinder;
381     }
382 
383     public UserLocalService getUserLocalService() {
384         return userLocalService;
385     }
386 
387     public void setUserLocalService(UserLocalService userLocalService) {
388         this.userLocalService = userLocalService;
389     }
390 
391     public UserService getUserService() {
392         return userService;
393     }
394 
395     public void setUserService(UserService userService) {
396         this.userService = userService;
397     }
398 
399     public UserPersistence getUserPersistence() {
400         return userPersistence;
401     }
402 
403     public void setUserPersistence(UserPersistence userPersistence) {
404         this.userPersistence = userPersistence;
405     }
406 
407     public UserFinder getUserFinder() {
408         return userFinder;
409     }
410 
411     public void setUserFinder(UserFinder userFinder) {
412         this.userFinder = userFinder;
413     }
414 
415     public BlogsEntryLocalService getBlogsEntryLocalService() {
416         return blogsEntryLocalService;
417     }
418 
419     public void setBlogsEntryLocalService(
420         BlogsEntryLocalService blogsEntryLocalService) {
421         this.blogsEntryLocalService = blogsEntryLocalService;
422     }
423 
424     public BlogsEntryService getBlogsEntryService() {
425         return blogsEntryService;
426     }
427 
428     public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
429         this.blogsEntryService = blogsEntryService;
430     }
431 
432     public BlogsEntryPersistence getBlogsEntryPersistence() {
433         return blogsEntryPersistence;
434     }
435 
436     public void setBlogsEntryPersistence(
437         BlogsEntryPersistence blogsEntryPersistence) {
438         this.blogsEntryPersistence = blogsEntryPersistence;
439     }
440 
441     public BlogsEntryFinder getBlogsEntryFinder() {
442         return blogsEntryFinder;
443     }
444 
445     public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
446         this.blogsEntryFinder = blogsEntryFinder;
447     }
448 
449     public BookmarksEntryLocalService getBookmarksEntryLocalService() {
450         return bookmarksEntryLocalService;
451     }
452 
453     public void setBookmarksEntryLocalService(
454         BookmarksEntryLocalService bookmarksEntryLocalService) {
455         this.bookmarksEntryLocalService = bookmarksEntryLocalService;
456     }
457 
458     public BookmarksEntryService getBookmarksEntryService() {
459         return bookmarksEntryService;
460     }
461 
462     public void setBookmarksEntryService(
463         BookmarksEntryService bookmarksEntryService) {
464         this.bookmarksEntryService = bookmarksEntryService;
465     }
466 
467     public BookmarksEntryPersistence getBookmarksEntryPersistence() {
468         return bookmarksEntryPersistence;
469     }
470 
471     public void setBookmarksEntryPersistence(
472         BookmarksEntryPersistence bookmarksEntryPersistence) {
473         this.bookmarksEntryPersistence = bookmarksEntryPersistence;
474     }
475 
476     public BookmarksEntryFinder getBookmarksEntryFinder() {
477         return bookmarksEntryFinder;
478     }
479 
480     public void setBookmarksEntryFinder(
481         BookmarksEntryFinder bookmarksEntryFinder) {
482         this.bookmarksEntryFinder = bookmarksEntryFinder;
483     }
484 
485     public DLFileEntryLocalService getDLFileEntryLocalService() {
486         return dlFileEntryLocalService;
487     }
488 
489     public void setDLFileEntryLocalService(
490         DLFileEntryLocalService dlFileEntryLocalService) {
491         this.dlFileEntryLocalService = dlFileEntryLocalService;
492     }
493 
494     public DLFileEntryService getDLFileEntryService() {
495         return dlFileEntryService;
496     }
497 
498     public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
499         this.dlFileEntryService = dlFileEntryService;
500     }
501 
502     public DLFileEntryPersistence getDLFileEntryPersistence() {
503         return dlFileEntryPersistence;
504     }
505 
506     public void setDLFileEntryPersistence(
507         DLFileEntryPersistence dlFileEntryPersistence) {
508         this.dlFileEntryPersistence = dlFileEntryPersistence;
509     }
510 
511     public DLFileEntryFinder getDLFileEntryFinder() {
512         return dlFileEntryFinder;
513     }
514 
515     public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
516         this.dlFileEntryFinder = dlFileEntryFinder;
517     }
518 
519     public JournalArticleLocalService getJournalArticleLocalService() {
520         return journalArticleLocalService;
521     }
522 
523     public void setJournalArticleLocalService(
524         JournalArticleLocalService journalArticleLocalService) {
525         this.journalArticleLocalService = journalArticleLocalService;
526     }
527 
528     public JournalArticleService getJournalArticleService() {
529         return journalArticleService;
530     }
531 
532     public void setJournalArticleService(
533         JournalArticleService journalArticleService) {
534         this.journalArticleService = journalArticleService;
535     }
536 
537     public JournalArticlePersistence getJournalArticlePersistence() {
538         return journalArticlePersistence;
539     }
540 
541     public void setJournalArticlePersistence(
542         JournalArticlePersistence journalArticlePersistence) {
543         this.journalArticlePersistence = journalArticlePersistence;
544     }
545 
546     public JournalArticleFinder getJournalArticleFinder() {
547         return journalArticleFinder;
548     }
549 
550     public void setJournalArticleFinder(
551         JournalArticleFinder journalArticleFinder) {
552         this.journalArticleFinder = journalArticleFinder;
553     }
554 
555     public JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
556         return journalArticleResourceLocalService;
557     }
558 
559     public void setJournalArticleResourceLocalService(
560         JournalArticleResourceLocalService journalArticleResourceLocalService) {
561         this.journalArticleResourceLocalService = journalArticleResourceLocalService;
562     }
563 
564     public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
565         return journalArticleResourcePersistence;
566     }
567 
568     public void setJournalArticleResourcePersistence(
569         JournalArticleResourcePersistence journalArticleResourcePersistence) {
570         this.journalArticleResourcePersistence = journalArticleResourcePersistence;
571     }
572 
573     public MBMessageLocalService getMBMessageLocalService() {
574         return mbMessageLocalService;
575     }
576 
577     public void setMBMessageLocalService(
578         MBMessageLocalService mbMessageLocalService) {
579         this.mbMessageLocalService = mbMessageLocalService;
580     }
581 
582     public MBMessageService getMBMessageService() {
583         return mbMessageService;
584     }
585 
586     public void setMBMessageService(MBMessageService mbMessageService) {
587         this.mbMessageService = mbMessageService;
588     }
589 
590     public MBMessagePersistence getMBMessagePersistence() {
591         return mbMessagePersistence;
592     }
593 
594     public void setMBMessagePersistence(
595         MBMessagePersistence mbMessagePersistence) {
596         this.mbMessagePersistence = mbMessagePersistence;
597     }
598 
599     public MBMessageFinder getMBMessageFinder() {
600         return mbMessageFinder;
601     }
602 
603     public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
604         this.mbMessageFinder = mbMessageFinder;
605     }
606 
607     public WikiPageLocalService getWikiPageLocalService() {
608         return wikiPageLocalService;
609     }
610 
611     public void setWikiPageLocalService(
612         WikiPageLocalService wikiPageLocalService) {
613         this.wikiPageLocalService = wikiPageLocalService;
614     }
615 
616     public WikiPageService getWikiPageService() {
617         return wikiPageService;
618     }
619 
620     public void setWikiPageService(WikiPageService wikiPageService) {
621         this.wikiPageService = wikiPageService;
622     }
623 
624     public WikiPagePersistence getWikiPagePersistence() {
625         return wikiPagePersistence;
626     }
627 
628     public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence) {
629         this.wikiPagePersistence = wikiPagePersistence;
630     }
631 
632     public WikiPageFinder getWikiPageFinder() {
633         return wikiPageFinder;
634     }
635 
636     public void setWikiPageFinder(WikiPageFinder wikiPageFinder) {
637         this.wikiPageFinder = wikiPageFinder;
638     }
639 
640     public WikiPageResourceLocalService getWikiPageResourceLocalService() {
641         return wikiPageResourceLocalService;
642     }
643 
644     public void setWikiPageResourceLocalService(
645         WikiPageResourceLocalService wikiPageResourceLocalService) {
646         this.wikiPageResourceLocalService = wikiPageResourceLocalService;
647     }
648 
649     public WikiPageResourcePersistence getWikiPageResourcePersistence() {
650         return wikiPageResourcePersistence;
651     }
652 
653     public void setWikiPageResourcePersistence(
654         WikiPageResourcePersistence wikiPageResourcePersistence) {
655         this.wikiPageResourcePersistence = wikiPageResourcePersistence;
656     }
657 
658     public void afterPropertiesSet() {
659         if (tagsAssetPersistence == null) {
660             tagsAssetPersistence = TagsAssetUtil.getPersistence();
661         }
662 
663         if (tagsAssetFinder == null) {
664             tagsAssetFinder = TagsAssetFinderUtil.getFinder();
665         }
666 
667         if (tagsEntryLocalService == null) {
668             tagsEntryLocalService = TagsEntryLocalServiceFactory.getImpl();
669         }
670 
671         if (tagsEntryService == null) {
672             tagsEntryService = TagsEntryServiceFactory.getImpl();
673         }
674 
675         if (tagsEntryPersistence == null) {
676             tagsEntryPersistence = TagsEntryUtil.getPersistence();
677         }
678 
679         if (tagsEntryFinder == null) {
680             tagsEntryFinder = TagsEntryFinderUtil.getFinder();
681         }
682 
683         if (tagsPropertyLocalService == null) {
684             tagsPropertyLocalService = TagsPropertyLocalServiceFactory.getImpl();
685         }
686 
687         if (tagsPropertyService == null) {
688             tagsPropertyService = TagsPropertyServiceFactory.getImpl();
689         }
690 
691         if (tagsPropertyPersistence == null) {
692             tagsPropertyPersistence = TagsPropertyUtil.getPersistence();
693         }
694 
695         if (tagsPropertyFinder == null) {
696             tagsPropertyFinder = TagsPropertyFinderUtil.getFinder();
697         }
698 
699         if (tagsPropertyKeyFinder == null) {
700             tagsPropertyKeyFinder = TagsPropertyKeyFinderUtil.getFinder();
701         }
702 
703         if (tagsSourceLocalService == null) {
704             tagsSourceLocalService = TagsSourceLocalServiceFactory.getImpl();
705         }
706 
707         if (tagsSourceService == null) {
708             tagsSourceService = TagsSourceServiceFactory.getImpl();
709         }
710 
711         if (tagsSourcePersistence == null) {
712             tagsSourcePersistence = TagsSourceUtil.getPersistence();
713         }
714 
715         if (counterLocalService == null) {
716             counterLocalService = CounterLocalServiceFactory.getImpl();
717         }
718 
719         if (counterService == null) {
720             counterService = CounterServiceFactory.getImpl();
721         }
722 
723         if (companyLocalService == null) {
724             companyLocalService = CompanyLocalServiceFactory.getImpl();
725         }
726 
727         if (companyService == null) {
728             companyService = CompanyServiceFactory.getImpl();
729         }
730 
731         if (companyPersistence == null) {
732             companyPersistence = CompanyUtil.getPersistence();
733         }
734 
735         if (groupLocalService == null) {
736             groupLocalService = GroupLocalServiceFactory.getImpl();
737         }
738 
739         if (groupService == null) {
740             groupService = GroupServiceFactory.getImpl();
741         }
742 
743         if (groupPersistence == null) {
744             groupPersistence = GroupUtil.getPersistence();
745         }
746 
747         if (groupFinder == null) {
748             groupFinder = GroupFinderUtil.getFinder();
749         }
750 
751         if (userLocalService == null) {
752             userLocalService = UserLocalServiceFactory.getImpl();
753         }
754 
755         if (userService == null) {
756             userService = UserServiceFactory.getImpl();
757         }
758 
759         if (userPersistence == null) {
760             userPersistence = UserUtil.getPersistence();
761         }
762 
763         if (userFinder == null) {
764             userFinder = UserFinderUtil.getFinder();
765         }
766 
767         if (blogsEntryLocalService == null) {
768             blogsEntryLocalService = BlogsEntryLocalServiceFactory.getImpl();
769         }
770 
771         if (blogsEntryService == null) {
772             blogsEntryService = BlogsEntryServiceFactory.getImpl();
773         }
774 
775         if (blogsEntryPersistence == null) {
776             blogsEntryPersistence = BlogsEntryUtil.getPersistence();
777         }
778 
779         if (blogsEntryFinder == null) {
780             blogsEntryFinder = BlogsEntryFinderUtil.getFinder();
781         }
782 
783         if (bookmarksEntryLocalService == null) {
784             bookmarksEntryLocalService = BookmarksEntryLocalServiceFactory.getImpl();
785         }
786 
787         if (bookmarksEntryService == null) {
788             bookmarksEntryService = BookmarksEntryServiceFactory.getImpl();
789         }
790 
791         if (bookmarksEntryPersistence == null) {
792             bookmarksEntryPersistence = BookmarksEntryUtil.getPersistence();
793         }
794 
795         if (bookmarksEntryFinder == null) {
796             bookmarksEntryFinder = BookmarksEntryFinderUtil.getFinder();
797         }
798 
799         if (dlFileEntryLocalService == null) {
800             dlFileEntryLocalService = DLFileEntryLocalServiceFactory.getImpl();
801         }
802 
803         if (dlFileEntryService == null) {
804             dlFileEntryService = DLFileEntryServiceFactory.getImpl();
805         }
806 
807         if (dlFileEntryPersistence == null) {
808             dlFileEntryPersistence = DLFileEntryUtil.getPersistence();
809         }
810 
811         if (dlFileEntryFinder == null) {
812             dlFileEntryFinder = DLFileEntryFinderUtil.getFinder();
813         }
814 
815         if (journalArticleLocalService == null) {
816             journalArticleLocalService = JournalArticleLocalServiceFactory.getImpl();
817         }
818 
819         if (journalArticleService == null) {
820             journalArticleService = JournalArticleServiceFactory.getImpl();
821         }
822 
823         if (journalArticlePersistence == null) {
824             journalArticlePersistence = JournalArticleUtil.getPersistence();
825         }
826 
827         if (journalArticleFinder == null) {
828             journalArticleFinder = JournalArticleFinderUtil.getFinder();
829         }
830 
831         if (journalArticleResourceLocalService == null) {
832             journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory.getImpl();
833         }
834 
835         if (journalArticleResourcePersistence == null) {
836             journalArticleResourcePersistence = JournalArticleResourceUtil.getPersistence();
837         }
838 
839         if (mbMessageLocalService == null) {
840             mbMessageLocalService = MBMessageLocalServiceFactory.getImpl();
841         }
842 
843         if (mbMessageService == null) {
844             mbMessageService = MBMessageServiceFactory.getImpl();
845         }
846 
847         if (mbMessagePersistence == null) {
848             mbMessagePersistence = MBMessageUtil.getPersistence();
849         }
850 
851         if (mbMessageFinder == null) {
852             mbMessageFinder = MBMessageFinderUtil.getFinder();
853         }
854 
855         if (wikiPageLocalService == null) {
856             wikiPageLocalService = WikiPageLocalServiceFactory.getImpl();
857         }
858 
859         if (wikiPageService == null) {
860             wikiPageService = WikiPageServiceFactory.getImpl();
861         }
862 
863         if (wikiPagePersistence == null) {
864             wikiPagePersistence = WikiPageUtil.getPersistence();
865         }
866 
867         if (wikiPageFinder == null) {
868             wikiPageFinder = WikiPageFinderUtil.getFinder();
869         }
870 
871         if (wikiPageResourceLocalService == null) {
872             wikiPageResourceLocalService = WikiPageResourceLocalServiceFactory.getImpl();
873         }
874 
875         if (wikiPageResourcePersistence == null) {
876             wikiPageResourcePersistence = WikiPageResourceUtil.getPersistence();
877         }
878     }
879 
880     protected TagsAssetPersistence tagsAssetPersistence;
881     protected TagsAssetFinder tagsAssetFinder;
882     protected TagsEntryLocalService tagsEntryLocalService;
883     protected TagsEntryService tagsEntryService;
884     protected TagsEntryPersistence tagsEntryPersistence;
885     protected TagsEntryFinder tagsEntryFinder;
886     protected TagsPropertyLocalService tagsPropertyLocalService;
887     protected TagsPropertyService tagsPropertyService;
888     protected TagsPropertyPersistence tagsPropertyPersistence;
889     protected TagsPropertyFinder tagsPropertyFinder;
890     protected TagsPropertyKeyFinder tagsPropertyKeyFinder;
891     protected TagsSourceLocalService tagsSourceLocalService;
892     protected TagsSourceService tagsSourceService;
893     protected TagsSourcePersistence tagsSourcePersistence;
894     protected CounterLocalService counterLocalService;
895     protected CounterService counterService;
896     protected CompanyLocalService companyLocalService;
897     protected CompanyService companyService;
898     protected CompanyPersistence companyPersistence;
899     protected GroupLocalService groupLocalService;
900     protected GroupService groupService;
901     protected GroupPersistence groupPersistence;
902     protected GroupFinder groupFinder;
903     protected UserLocalService userLocalService;
904     protected UserService userService;
905     protected UserPersistence userPersistence;
906     protected UserFinder userFinder;
907     protected BlogsEntryLocalService blogsEntryLocalService;
908     protected BlogsEntryService blogsEntryService;
909     protected BlogsEntryPersistence blogsEntryPersistence;
910     protected BlogsEntryFinder blogsEntryFinder;
911     protected BookmarksEntryLocalService bookmarksEntryLocalService;
912     protected BookmarksEntryService bookmarksEntryService;
913     protected BookmarksEntryPersistence bookmarksEntryPersistence;
914     protected BookmarksEntryFinder bookmarksEntryFinder;
915     protected DLFileEntryLocalService dlFileEntryLocalService;
916     protected DLFileEntryService dlFileEntryService;
917     protected DLFileEntryPersistence dlFileEntryPersistence;
918     protected DLFileEntryFinder dlFileEntryFinder;
919     protected JournalArticleLocalService journalArticleLocalService;
920     protected JournalArticleService journalArticleService;
921     protected JournalArticlePersistence journalArticlePersistence;
922     protected JournalArticleFinder journalArticleFinder;
923     protected JournalArticleResourceLocalService journalArticleResourceLocalService;
924     protected JournalArticleResourcePersistence journalArticleResourcePersistence;
925     protected MBMessageLocalService mbMessageLocalService;
926     protected MBMessageService mbMessageService;
927     protected MBMessagePersistence mbMessagePersistence;
928     protected MBMessageFinder mbMessageFinder;
929     protected WikiPageLocalService wikiPageLocalService;
930     protected WikiPageService wikiPageService;
931     protected WikiPagePersistence wikiPagePersistence;
932     protected WikiPageFinder wikiPageFinder;
933     protected WikiPageResourceLocalService wikiPageResourceLocalService;
934     protected WikiPageResourcePersistence wikiPageResourcePersistence;
935 }