001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portlet.journal.service.base;
022:
023: import com.liferay.counter.service.CounterLocalService;
024: import com.liferay.counter.service.CounterLocalServiceFactory;
025: import com.liferay.counter.service.CounterService;
026: import com.liferay.counter.service.CounterServiceFactory;
027:
028: import com.liferay.mail.service.MailService;
029: import com.liferay.mail.service.MailServiceFactory;
030:
031: import com.liferay.portal.SystemException;
032: import com.liferay.portal.kernel.dao.DynamicQueryInitializer;
033: import com.liferay.portal.service.CompanyLocalService;
034: import com.liferay.portal.service.CompanyLocalServiceFactory;
035: import com.liferay.portal.service.CompanyService;
036: import com.liferay.portal.service.CompanyServiceFactory;
037: import com.liferay.portal.service.PortletPreferencesLocalService;
038: import com.liferay.portal.service.PortletPreferencesLocalServiceFactory;
039: import com.liferay.portal.service.ResourceLocalService;
040: import com.liferay.portal.service.ResourceLocalServiceFactory;
041: import com.liferay.portal.service.ResourceService;
042: import com.liferay.portal.service.ResourceServiceFactory;
043: import com.liferay.portal.service.UserLocalService;
044: import com.liferay.portal.service.UserLocalServiceFactory;
045: import com.liferay.portal.service.UserService;
046: import com.liferay.portal.service.UserServiceFactory;
047: import com.liferay.portal.service.persistence.CompanyPersistence;
048: import com.liferay.portal.service.persistence.CompanyUtil;
049: import com.liferay.portal.service.persistence.PortletPreferencesFinder;
050: import com.liferay.portal.service.persistence.PortletPreferencesFinderUtil;
051: import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
052: import com.liferay.portal.service.persistence.PortletPreferencesUtil;
053: import com.liferay.portal.service.persistence.ResourceFinder;
054: import com.liferay.portal.service.persistence.ResourceFinderUtil;
055: import com.liferay.portal.service.persistence.ResourcePersistence;
056: import com.liferay.portal.service.persistence.ResourceUtil;
057: import com.liferay.portal.service.persistence.UserFinder;
058: import com.liferay.portal.service.persistence.UserFinderUtil;
059: import com.liferay.portal.service.persistence.UserPersistence;
060: import com.liferay.portal.service.persistence.UserUtil;
061:
062: import com.liferay.portlet.journal.model.JournalArticle;
063: import com.liferay.portlet.journal.model.impl.JournalArticleImpl;
064: import com.liferay.portlet.journal.service.JournalArticleImageLocalService;
065: import com.liferay.portlet.journal.service.JournalArticleImageLocalServiceFactory;
066: import com.liferay.portlet.journal.service.JournalArticleLocalService;
067: import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
068: import com.liferay.portlet.journal.service.JournalArticleResourceLocalServiceFactory;
069: import com.liferay.portlet.journal.service.JournalContentSearchLocalService;
070: import com.liferay.portlet.journal.service.JournalContentSearchLocalServiceFactory;
071: import com.liferay.portlet.journal.service.JournalFeedLocalService;
072: import com.liferay.portlet.journal.service.JournalFeedLocalServiceFactory;
073: import com.liferay.portlet.journal.service.JournalFeedService;
074: import com.liferay.portlet.journal.service.JournalFeedServiceFactory;
075: import com.liferay.portlet.journal.service.JournalStructureLocalService;
076: import com.liferay.portlet.journal.service.JournalStructureLocalServiceFactory;
077: import com.liferay.portlet.journal.service.JournalStructureService;
078: import com.liferay.portlet.journal.service.JournalStructureServiceFactory;
079: import com.liferay.portlet.journal.service.JournalTemplateLocalService;
080: import com.liferay.portlet.journal.service.JournalTemplateLocalServiceFactory;
081: import com.liferay.portlet.journal.service.JournalTemplateService;
082: import com.liferay.portlet.journal.service.JournalTemplateServiceFactory;
083: import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
084: import com.liferay.portlet.journal.service.persistence.JournalArticleFinderUtil;
085: import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
086: import com.liferay.portlet.journal.service.persistence.JournalArticleImageUtil;
087: import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
088: import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
089: import com.liferay.portlet.journal.service.persistence.JournalArticleResourceUtil;
090: import com.liferay.portlet.journal.service.persistence.JournalArticleUtil;
091: import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
092: import com.liferay.portlet.journal.service.persistence.JournalContentSearchUtil;
093: import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
094: import com.liferay.portlet.journal.service.persistence.JournalFeedFinderUtil;
095: import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
096: import com.liferay.portlet.journal.service.persistence.JournalFeedUtil;
097: import com.liferay.portlet.journal.service.persistence.JournalStructureFinder;
098: import com.liferay.portlet.journal.service.persistence.JournalStructureFinderUtil;
099: import com.liferay.portlet.journal.service.persistence.JournalStructurePersistence;
100: import com.liferay.portlet.journal.service.persistence.JournalStructureUtil;
101: import com.liferay.portlet.journal.service.persistence.JournalTemplateFinder;
102: import com.liferay.portlet.journal.service.persistence.JournalTemplateFinderUtil;
103: import com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence;
104: import com.liferay.portlet.journal.service.persistence.JournalTemplateUtil;
105: import com.liferay.portlet.messageboards.service.MBMessageLocalService;
106: import com.liferay.portlet.messageboards.service.MBMessageLocalServiceFactory;
107: import com.liferay.portlet.messageboards.service.MBMessageService;
108: import com.liferay.portlet.messageboards.service.MBMessageServiceFactory;
109: import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
110: import com.liferay.portlet.messageboards.service.persistence.MBMessageFinderUtil;
111: import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
112: import com.liferay.portlet.messageboards.service.persistence.MBMessageUtil;
113: import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
114: import com.liferay.portlet.ratings.service.RatingsStatsLocalServiceFactory;
115: import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
116: import com.liferay.portlet.ratings.service.persistence.RatingsStatsUtil;
117: import com.liferay.portlet.tags.service.TagsAssetLocalService;
118: import com.liferay.portlet.tags.service.TagsAssetLocalServiceFactory;
119: import com.liferay.portlet.tags.service.TagsAssetService;
120: import com.liferay.portlet.tags.service.TagsAssetServiceFactory;
121: import com.liferay.portlet.tags.service.TagsEntryLocalService;
122: import com.liferay.portlet.tags.service.TagsEntryLocalServiceFactory;
123: import com.liferay.portlet.tags.service.TagsEntryService;
124: import com.liferay.portlet.tags.service.TagsEntryServiceFactory;
125: import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
126: import com.liferay.portlet.tags.service.persistence.TagsAssetFinderUtil;
127: import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
128: import com.liferay.portlet.tags.service.persistence.TagsAssetUtil;
129: import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
130: import com.liferay.portlet.tags.service.persistence.TagsEntryFinderUtil;
131: import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
132: import com.liferay.portlet.tags.service.persistence.TagsEntryUtil;
133:
134: import org.springframework.beans.factory.InitializingBean;
135:
136: import java.util.List;
137:
138: /**
139: * <a href="JournalArticleLocalServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
140: *
141: * @author Brian Wing Shun Chan
142: *
143: */
144: public abstract class JournalArticleLocalServiceBaseImpl implements
145: JournalArticleLocalService, InitializingBean {
146: public JournalArticle addJournalArticle(JournalArticle model)
147: throws SystemException {
148: JournalArticle journalArticle = new JournalArticleImpl();
149:
150: journalArticle.setNew(true);
151:
152: journalArticle.setUuid(model.getUuid());
153: journalArticle.setId(model.getId());
154: journalArticle.setResourcePrimKey(model.getResourcePrimKey());
155: journalArticle.setGroupId(model.getGroupId());
156: journalArticle.setCompanyId(model.getCompanyId());
157: journalArticle.setUserId(model.getUserId());
158: journalArticle.setUserName(model.getUserName());
159: journalArticle.setCreateDate(model.getCreateDate());
160: journalArticle.setModifiedDate(model.getModifiedDate());
161: journalArticle.setArticleId(model.getArticleId());
162: journalArticle.setVersion(model.getVersion());
163: journalArticle.setTitle(model.getTitle());
164: journalArticle.setDescription(model.getDescription());
165: journalArticle.setContent(model.getContent());
166: journalArticle.setType(model.getType());
167: journalArticle.setStructureId(model.getStructureId());
168: journalArticle.setTemplateId(model.getTemplateId());
169: journalArticle.setDisplayDate(model.getDisplayDate());
170: journalArticle.setApproved(model.getApproved());
171: journalArticle.setApprovedByUserId(model.getApprovedByUserId());
172: journalArticle.setApprovedByUserName(model
173: .getApprovedByUserName());
174: journalArticle.setApprovedDate(model.getApprovedDate());
175: journalArticle.setExpired(model.getExpired());
176: journalArticle.setExpirationDate(model.getExpirationDate());
177: journalArticle.setReviewDate(model.getReviewDate());
178: journalArticle.setIndexable(model.getIndexable());
179: journalArticle.setSmallImage(model.getSmallImage());
180: journalArticle.setSmallImageId(model.getSmallImageId());
181: journalArticle.setSmallImageURL(model.getSmallImageURL());
182:
183: return journalArticlePersistence.update(journalArticle);
184: }
185:
186: public List dynamicQuery(DynamicQueryInitializer queryInitializer)
187: throws SystemException {
188: return journalArticlePersistence
189: .findWithDynamicQuery(queryInitializer);
190: }
191:
192: public List dynamicQuery(DynamicQueryInitializer queryInitializer,
193: int begin, int end) throws SystemException {
194: return journalArticlePersistence.findWithDynamicQuery(
195: queryInitializer, begin, end);
196: }
197:
198: public JournalArticle updateJournalArticle(JournalArticle model)
199: throws SystemException {
200: return journalArticlePersistence.update(model, true);
201: }
202:
203: public JournalArticlePersistence getJournalArticlePersistence() {
204: return journalArticlePersistence;
205: }
206:
207: public void setJournalArticlePersistence(
208: JournalArticlePersistence journalArticlePersistence) {
209: this .journalArticlePersistence = journalArticlePersistence;
210: }
211:
212: public JournalArticleFinder getJournalArticleFinder() {
213: return journalArticleFinder;
214: }
215:
216: public void setJournalArticleFinder(
217: JournalArticleFinder journalArticleFinder) {
218: this .journalArticleFinder = journalArticleFinder;
219: }
220:
221: public JournalArticleImageLocalService getJournalArticleImageLocalService() {
222: return journalArticleImageLocalService;
223: }
224:
225: public void setJournalArticleImageLocalService(
226: JournalArticleImageLocalService journalArticleImageLocalService) {
227: this .journalArticleImageLocalService = journalArticleImageLocalService;
228: }
229:
230: public JournalArticleImagePersistence getJournalArticleImagePersistence() {
231: return journalArticleImagePersistence;
232: }
233:
234: public void setJournalArticleImagePersistence(
235: JournalArticleImagePersistence journalArticleImagePersistence) {
236: this .journalArticleImagePersistence = journalArticleImagePersistence;
237: }
238:
239: public JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
240: return journalArticleResourceLocalService;
241: }
242:
243: public void setJournalArticleResourceLocalService(
244: JournalArticleResourceLocalService journalArticleResourceLocalService) {
245: this .journalArticleResourceLocalService = journalArticleResourceLocalService;
246: }
247:
248: public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
249: return journalArticleResourcePersistence;
250: }
251:
252: public void setJournalArticleResourcePersistence(
253: JournalArticleResourcePersistence journalArticleResourcePersistence) {
254: this .journalArticleResourcePersistence = journalArticleResourcePersistence;
255: }
256:
257: public JournalContentSearchLocalService getJournalContentSearchLocalService() {
258: return journalContentSearchLocalService;
259: }
260:
261: public void setJournalContentSearchLocalService(
262: JournalContentSearchLocalService journalContentSearchLocalService) {
263: this .journalContentSearchLocalService = journalContentSearchLocalService;
264: }
265:
266: public JournalContentSearchPersistence getJournalContentSearchPersistence() {
267: return journalContentSearchPersistence;
268: }
269:
270: public void setJournalContentSearchPersistence(
271: JournalContentSearchPersistence journalContentSearchPersistence) {
272: this .journalContentSearchPersistence = journalContentSearchPersistence;
273: }
274:
275: public JournalFeedLocalService getJournalFeedLocalService() {
276: return journalFeedLocalService;
277: }
278:
279: public void setJournalFeedLocalService(
280: JournalFeedLocalService journalFeedLocalService) {
281: this .journalFeedLocalService = journalFeedLocalService;
282: }
283:
284: public JournalFeedService getJournalFeedService() {
285: return journalFeedService;
286: }
287:
288: public void setJournalFeedService(
289: JournalFeedService journalFeedService) {
290: this .journalFeedService = journalFeedService;
291: }
292:
293: public JournalFeedPersistence getJournalFeedPersistence() {
294: return journalFeedPersistence;
295: }
296:
297: public void setJournalFeedPersistence(
298: JournalFeedPersistence journalFeedPersistence) {
299: this .journalFeedPersistence = journalFeedPersistence;
300: }
301:
302: public JournalFeedFinder getJournalFeedFinder() {
303: return journalFeedFinder;
304: }
305:
306: public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder) {
307: this .journalFeedFinder = journalFeedFinder;
308: }
309:
310: public JournalStructureLocalService getJournalStructureLocalService() {
311: return journalStructureLocalService;
312: }
313:
314: public void setJournalStructureLocalService(
315: JournalStructureLocalService journalStructureLocalService) {
316: this .journalStructureLocalService = journalStructureLocalService;
317: }
318:
319: public JournalStructureService getJournalStructureService() {
320: return journalStructureService;
321: }
322:
323: public void setJournalStructureService(
324: JournalStructureService journalStructureService) {
325: this .journalStructureService = journalStructureService;
326: }
327:
328: public JournalStructurePersistence getJournalStructurePersistence() {
329: return journalStructurePersistence;
330: }
331:
332: public void setJournalStructurePersistence(
333: JournalStructurePersistence journalStructurePersistence) {
334: this .journalStructurePersistence = journalStructurePersistence;
335: }
336:
337: public JournalStructureFinder getJournalStructureFinder() {
338: return journalStructureFinder;
339: }
340:
341: public void setJournalStructureFinder(
342: JournalStructureFinder journalStructureFinder) {
343: this .journalStructureFinder = journalStructureFinder;
344: }
345:
346: public JournalTemplateLocalService getJournalTemplateLocalService() {
347: return journalTemplateLocalService;
348: }
349:
350: public void setJournalTemplateLocalService(
351: JournalTemplateLocalService journalTemplateLocalService) {
352: this .journalTemplateLocalService = journalTemplateLocalService;
353: }
354:
355: public JournalTemplateService getJournalTemplateService() {
356: return journalTemplateService;
357: }
358:
359: public void setJournalTemplateService(
360: JournalTemplateService journalTemplateService) {
361: this .journalTemplateService = journalTemplateService;
362: }
363:
364: public JournalTemplatePersistence getJournalTemplatePersistence() {
365: return journalTemplatePersistence;
366: }
367:
368: public void setJournalTemplatePersistence(
369: JournalTemplatePersistence journalTemplatePersistence) {
370: this .journalTemplatePersistence = journalTemplatePersistence;
371: }
372:
373: public JournalTemplateFinder getJournalTemplateFinder() {
374: return journalTemplateFinder;
375: }
376:
377: public void setJournalTemplateFinder(
378: JournalTemplateFinder journalTemplateFinder) {
379: this .journalTemplateFinder = journalTemplateFinder;
380: }
381:
382: public CounterLocalService getCounterLocalService() {
383: return counterLocalService;
384: }
385:
386: public void setCounterLocalService(
387: CounterLocalService counterLocalService) {
388: this .counterLocalService = counterLocalService;
389: }
390:
391: public CounterService getCounterService() {
392: return counterService;
393: }
394:
395: public void setCounterService(CounterService counterService) {
396: this .counterService = counterService;
397: }
398:
399: public MailService getMailService() {
400: return mailService;
401: }
402:
403: public void setMailService(MailService mailService) {
404: this .mailService = mailService;
405: }
406:
407: public CompanyLocalService getCompanyLocalService() {
408: return companyLocalService;
409: }
410:
411: public void setCompanyLocalService(
412: CompanyLocalService companyLocalService) {
413: this .companyLocalService = companyLocalService;
414: }
415:
416: public CompanyService getCompanyService() {
417: return companyService;
418: }
419:
420: public void setCompanyService(CompanyService companyService) {
421: this .companyService = companyService;
422: }
423:
424: public CompanyPersistence getCompanyPersistence() {
425: return companyPersistence;
426: }
427:
428: public void setCompanyPersistence(
429: CompanyPersistence companyPersistence) {
430: this .companyPersistence = companyPersistence;
431: }
432:
433: public PortletPreferencesLocalService getPortletPreferencesLocalService() {
434: return portletPreferencesLocalService;
435: }
436:
437: public void setPortletPreferencesLocalService(
438: PortletPreferencesLocalService portletPreferencesLocalService) {
439: this .portletPreferencesLocalService = portletPreferencesLocalService;
440: }
441:
442: public PortletPreferencesPersistence getPortletPreferencesPersistence() {
443: return portletPreferencesPersistence;
444: }
445:
446: public void setPortletPreferencesPersistence(
447: PortletPreferencesPersistence portletPreferencesPersistence) {
448: this .portletPreferencesPersistence = portletPreferencesPersistence;
449: }
450:
451: public PortletPreferencesFinder getPortletPreferencesFinder() {
452: return portletPreferencesFinder;
453: }
454:
455: public void setPortletPreferencesFinder(
456: PortletPreferencesFinder portletPreferencesFinder) {
457: this .portletPreferencesFinder = portletPreferencesFinder;
458: }
459:
460: public ResourceLocalService getResourceLocalService() {
461: return resourceLocalService;
462: }
463:
464: public void setResourceLocalService(
465: ResourceLocalService resourceLocalService) {
466: this .resourceLocalService = resourceLocalService;
467: }
468:
469: public ResourceService getResourceService() {
470: return resourceService;
471: }
472:
473: public void setResourceService(ResourceService resourceService) {
474: this .resourceService = resourceService;
475: }
476:
477: public ResourcePersistence getResourcePersistence() {
478: return resourcePersistence;
479: }
480:
481: public void setResourcePersistence(
482: ResourcePersistence resourcePersistence) {
483: this .resourcePersistence = resourcePersistence;
484: }
485:
486: public ResourceFinder getResourceFinder() {
487: return resourceFinder;
488: }
489:
490: public void setResourceFinder(ResourceFinder resourceFinder) {
491: this .resourceFinder = resourceFinder;
492: }
493:
494: public UserLocalService getUserLocalService() {
495: return userLocalService;
496: }
497:
498: public void setUserLocalService(UserLocalService userLocalService) {
499: this .userLocalService = userLocalService;
500: }
501:
502: public UserService getUserService() {
503: return userService;
504: }
505:
506: public void setUserService(UserService userService) {
507: this .userService = userService;
508: }
509:
510: public UserPersistence getUserPersistence() {
511: return userPersistence;
512: }
513:
514: public void setUserPersistence(UserPersistence userPersistence) {
515: this .userPersistence = userPersistence;
516: }
517:
518: public UserFinder getUserFinder() {
519: return userFinder;
520: }
521:
522: public void setUserFinder(UserFinder userFinder) {
523: this .userFinder = userFinder;
524: }
525:
526: public MBMessageLocalService getMBMessageLocalService() {
527: return mbMessageLocalService;
528: }
529:
530: public void setMBMessageLocalService(
531: MBMessageLocalService mbMessageLocalService) {
532: this .mbMessageLocalService = mbMessageLocalService;
533: }
534:
535: public MBMessageService getMBMessageService() {
536: return mbMessageService;
537: }
538:
539: public void setMBMessageService(MBMessageService mbMessageService) {
540: this .mbMessageService = mbMessageService;
541: }
542:
543: public MBMessagePersistence getMBMessagePersistence() {
544: return mbMessagePersistence;
545: }
546:
547: public void setMBMessagePersistence(
548: MBMessagePersistence mbMessagePersistence) {
549: this .mbMessagePersistence = mbMessagePersistence;
550: }
551:
552: public MBMessageFinder getMBMessageFinder() {
553: return mbMessageFinder;
554: }
555:
556: public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
557: this .mbMessageFinder = mbMessageFinder;
558: }
559:
560: public RatingsStatsLocalService getRatingsStatsLocalService() {
561: return ratingsStatsLocalService;
562: }
563:
564: public void setRatingsStatsLocalService(
565: RatingsStatsLocalService ratingsStatsLocalService) {
566: this .ratingsStatsLocalService = ratingsStatsLocalService;
567: }
568:
569: public RatingsStatsPersistence getRatingsStatsPersistence() {
570: return ratingsStatsPersistence;
571: }
572:
573: public void setRatingsStatsPersistence(
574: RatingsStatsPersistence ratingsStatsPersistence) {
575: this .ratingsStatsPersistence = ratingsStatsPersistence;
576: }
577:
578: public TagsAssetLocalService getTagsAssetLocalService() {
579: return tagsAssetLocalService;
580: }
581:
582: public void setTagsAssetLocalService(
583: TagsAssetLocalService tagsAssetLocalService) {
584: this .tagsAssetLocalService = tagsAssetLocalService;
585: }
586:
587: public TagsAssetService getTagsAssetService() {
588: return tagsAssetService;
589: }
590:
591: public void setTagsAssetService(TagsAssetService tagsAssetService) {
592: this .tagsAssetService = tagsAssetService;
593: }
594:
595: public TagsAssetPersistence getTagsAssetPersistence() {
596: return tagsAssetPersistence;
597: }
598:
599: public void setTagsAssetPersistence(
600: TagsAssetPersistence tagsAssetPersistence) {
601: this .tagsAssetPersistence = tagsAssetPersistence;
602: }
603:
604: public TagsAssetFinder getTagsAssetFinder() {
605: return tagsAssetFinder;
606: }
607:
608: public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
609: this .tagsAssetFinder = tagsAssetFinder;
610: }
611:
612: public TagsEntryLocalService getTagsEntryLocalService() {
613: return tagsEntryLocalService;
614: }
615:
616: public void setTagsEntryLocalService(
617: TagsEntryLocalService tagsEntryLocalService) {
618: this .tagsEntryLocalService = tagsEntryLocalService;
619: }
620:
621: public TagsEntryService getTagsEntryService() {
622: return tagsEntryService;
623: }
624:
625: public void setTagsEntryService(TagsEntryService tagsEntryService) {
626: this .tagsEntryService = tagsEntryService;
627: }
628:
629: public TagsEntryPersistence getTagsEntryPersistence() {
630: return tagsEntryPersistence;
631: }
632:
633: public void setTagsEntryPersistence(
634: TagsEntryPersistence tagsEntryPersistence) {
635: this .tagsEntryPersistence = tagsEntryPersistence;
636: }
637:
638: public TagsEntryFinder getTagsEntryFinder() {
639: return tagsEntryFinder;
640: }
641:
642: public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
643: this .tagsEntryFinder = tagsEntryFinder;
644: }
645:
646: public void afterPropertiesSet() {
647: if (journalArticlePersistence == null) {
648: journalArticlePersistence = JournalArticleUtil
649: .getPersistence();
650: }
651:
652: if (journalArticleFinder == null) {
653: journalArticleFinder = JournalArticleFinderUtil.getFinder();
654: }
655:
656: if (journalArticleImageLocalService == null) {
657: journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
658: .getImpl();
659: }
660:
661: if (journalArticleImagePersistence == null) {
662: journalArticleImagePersistence = JournalArticleImageUtil
663: .getPersistence();
664: }
665:
666: if (journalArticleResourceLocalService == null) {
667: journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
668: .getImpl();
669: }
670:
671: if (journalArticleResourcePersistence == null) {
672: journalArticleResourcePersistence = JournalArticleResourceUtil
673: .getPersistence();
674: }
675:
676: if (journalContentSearchLocalService == null) {
677: journalContentSearchLocalService = JournalContentSearchLocalServiceFactory
678: .getImpl();
679: }
680:
681: if (journalContentSearchPersistence == null) {
682: journalContentSearchPersistence = JournalContentSearchUtil
683: .getPersistence();
684: }
685:
686: if (journalFeedLocalService == null) {
687: journalFeedLocalService = JournalFeedLocalServiceFactory
688: .getImpl();
689: }
690:
691: if (journalFeedService == null) {
692: journalFeedService = JournalFeedServiceFactory.getImpl();
693: }
694:
695: if (journalFeedPersistence == null) {
696: journalFeedPersistence = JournalFeedUtil.getPersistence();
697: }
698:
699: if (journalFeedFinder == null) {
700: journalFeedFinder = JournalFeedFinderUtil.getFinder();
701: }
702:
703: if (journalStructureLocalService == null) {
704: journalStructureLocalService = JournalStructureLocalServiceFactory
705: .getImpl();
706: }
707:
708: if (journalStructureService == null) {
709: journalStructureService = JournalStructureServiceFactory
710: .getImpl();
711: }
712:
713: if (journalStructurePersistence == null) {
714: journalStructurePersistence = JournalStructureUtil
715: .getPersistence();
716: }
717:
718: if (journalStructureFinder == null) {
719: journalStructureFinder = JournalStructureFinderUtil
720: .getFinder();
721: }
722:
723: if (journalTemplateLocalService == null) {
724: journalTemplateLocalService = JournalTemplateLocalServiceFactory
725: .getImpl();
726: }
727:
728: if (journalTemplateService == null) {
729: journalTemplateService = JournalTemplateServiceFactory
730: .getImpl();
731: }
732:
733: if (journalTemplatePersistence == null) {
734: journalTemplatePersistence = JournalTemplateUtil
735: .getPersistence();
736: }
737:
738: if (journalTemplateFinder == null) {
739: journalTemplateFinder = JournalTemplateFinderUtil
740: .getFinder();
741: }
742:
743: if (counterLocalService == null) {
744: counterLocalService = CounterLocalServiceFactory.getImpl();
745: }
746:
747: if (counterService == null) {
748: counterService = CounterServiceFactory.getImpl();
749: }
750:
751: if (mailService == null) {
752: mailService = MailServiceFactory.getImpl();
753: }
754:
755: if (companyLocalService == null) {
756: companyLocalService = CompanyLocalServiceFactory.getImpl();
757: }
758:
759: if (companyService == null) {
760: companyService = CompanyServiceFactory.getImpl();
761: }
762:
763: if (companyPersistence == null) {
764: companyPersistence = CompanyUtil.getPersistence();
765: }
766:
767: if (portletPreferencesLocalService == null) {
768: portletPreferencesLocalService = PortletPreferencesLocalServiceFactory
769: .getImpl();
770: }
771:
772: if (portletPreferencesPersistence == null) {
773: portletPreferencesPersistence = PortletPreferencesUtil
774: .getPersistence();
775: }
776:
777: if (portletPreferencesFinder == null) {
778: portletPreferencesFinder = PortletPreferencesFinderUtil
779: .getFinder();
780: }
781:
782: if (resourceLocalService == null) {
783: resourceLocalService = ResourceLocalServiceFactory
784: .getImpl();
785: }
786:
787: if (resourceService == null) {
788: resourceService = ResourceServiceFactory.getImpl();
789: }
790:
791: if (resourcePersistence == null) {
792: resourcePersistence = ResourceUtil.getPersistence();
793: }
794:
795: if (resourceFinder == null) {
796: resourceFinder = ResourceFinderUtil.getFinder();
797: }
798:
799: if (userLocalService == null) {
800: userLocalService = UserLocalServiceFactory.getImpl();
801: }
802:
803: if (userService == null) {
804: userService = UserServiceFactory.getImpl();
805: }
806:
807: if (userPersistence == null) {
808: userPersistence = UserUtil.getPersistence();
809: }
810:
811: if (userFinder == null) {
812: userFinder = UserFinderUtil.getFinder();
813: }
814:
815: if (mbMessageLocalService == null) {
816: mbMessageLocalService = MBMessageLocalServiceFactory
817: .getImpl();
818: }
819:
820: if (mbMessageService == null) {
821: mbMessageService = MBMessageServiceFactory.getImpl();
822: }
823:
824: if (mbMessagePersistence == null) {
825: mbMessagePersistence = MBMessageUtil.getPersistence();
826: }
827:
828: if (mbMessageFinder == null) {
829: mbMessageFinder = MBMessageFinderUtil.getFinder();
830: }
831:
832: if (ratingsStatsLocalService == null) {
833: ratingsStatsLocalService = RatingsStatsLocalServiceFactory
834: .getImpl();
835: }
836:
837: if (ratingsStatsPersistence == null) {
838: ratingsStatsPersistence = RatingsStatsUtil.getPersistence();
839: }
840:
841: if (tagsAssetLocalService == null) {
842: tagsAssetLocalService = TagsAssetLocalServiceFactory
843: .getImpl();
844: }
845:
846: if (tagsAssetService == null) {
847: tagsAssetService = TagsAssetServiceFactory.getImpl();
848: }
849:
850: if (tagsAssetPersistence == null) {
851: tagsAssetPersistence = TagsAssetUtil.getPersistence();
852: }
853:
854: if (tagsAssetFinder == null) {
855: tagsAssetFinder = TagsAssetFinderUtil.getFinder();
856: }
857:
858: if (tagsEntryLocalService == null) {
859: tagsEntryLocalService = TagsEntryLocalServiceFactory
860: .getImpl();
861: }
862:
863: if (tagsEntryService == null) {
864: tagsEntryService = TagsEntryServiceFactory.getImpl();
865: }
866:
867: if (tagsEntryPersistence == null) {
868: tagsEntryPersistence = TagsEntryUtil.getPersistence();
869: }
870:
871: if (tagsEntryFinder == null) {
872: tagsEntryFinder = TagsEntryFinderUtil.getFinder();
873: }
874: }
875:
876: protected JournalArticlePersistence journalArticlePersistence;
877: protected JournalArticleFinder journalArticleFinder;
878: protected JournalArticleImageLocalService journalArticleImageLocalService;
879: protected JournalArticleImagePersistence journalArticleImagePersistence;
880: protected JournalArticleResourceLocalService journalArticleResourceLocalService;
881: protected JournalArticleResourcePersistence journalArticleResourcePersistence;
882: protected JournalContentSearchLocalService journalContentSearchLocalService;
883: protected JournalContentSearchPersistence journalContentSearchPersistence;
884: protected JournalFeedLocalService journalFeedLocalService;
885: protected JournalFeedService journalFeedService;
886: protected JournalFeedPersistence journalFeedPersistence;
887: protected JournalFeedFinder journalFeedFinder;
888: protected JournalStructureLocalService journalStructureLocalService;
889: protected JournalStructureService journalStructureService;
890: protected JournalStructurePersistence journalStructurePersistence;
891: protected JournalStructureFinder journalStructureFinder;
892: protected JournalTemplateLocalService journalTemplateLocalService;
893: protected JournalTemplateService journalTemplateService;
894: protected JournalTemplatePersistence journalTemplatePersistence;
895: protected JournalTemplateFinder journalTemplateFinder;
896: protected CounterLocalService counterLocalService;
897: protected CounterService counterService;
898: protected MailService mailService;
899: protected CompanyLocalService companyLocalService;
900: protected CompanyService companyService;
901: protected CompanyPersistence companyPersistence;
902: protected PortletPreferencesLocalService portletPreferencesLocalService;
903: protected PortletPreferencesPersistence portletPreferencesPersistence;
904: protected PortletPreferencesFinder portletPreferencesFinder;
905: protected ResourceLocalService resourceLocalService;
906: protected ResourceService resourceService;
907: protected ResourcePersistence resourcePersistence;
908: protected ResourceFinder resourceFinder;
909: protected UserLocalService userLocalService;
910: protected UserService userService;
911: protected UserPersistence userPersistence;
912: protected UserFinder userFinder;
913: protected MBMessageLocalService mbMessageLocalService;
914: protected MBMessageService mbMessageService;
915: protected MBMessagePersistence mbMessagePersistence;
916: protected MBMessageFinder mbMessageFinder;
917: protected RatingsStatsLocalService ratingsStatsLocalService;
918: protected RatingsStatsPersistence ratingsStatsPersistence;
919: protected TagsAssetLocalService tagsAssetLocalService;
920: protected TagsAssetService tagsAssetService;
921: protected TagsAssetPersistence tagsAssetPersistence;
922: protected TagsAssetFinder tagsAssetFinder;
923: protected TagsEntryLocalService tagsEntryLocalService;
924: protected TagsEntryService tagsEntryService;
925: protected TagsEntryPersistence tagsEntryPersistence;
926: protected TagsEntryFinder tagsEntryFinder;
927: }
|