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.portal.service.ResourceLocalService;
029: import com.liferay.portal.service.ResourceLocalServiceFactory;
030: import com.liferay.portal.service.ResourceService;
031: import com.liferay.portal.service.ResourceServiceFactory;
032: import com.liferay.portal.service.UserLocalService;
033: import com.liferay.portal.service.UserLocalServiceFactory;
034: import com.liferay.portal.service.UserService;
035: import com.liferay.portal.service.UserServiceFactory;
036: import com.liferay.portal.service.impl.PrincipalBean;
037: import com.liferay.portal.service.persistence.ResourceFinder;
038: import com.liferay.portal.service.persistence.ResourceFinderUtil;
039: import com.liferay.portal.service.persistence.ResourcePersistence;
040: import com.liferay.portal.service.persistence.ResourceUtil;
041: import com.liferay.portal.service.persistence.UserFinder;
042: import com.liferay.portal.service.persistence.UserFinderUtil;
043: import com.liferay.portal.service.persistence.UserPersistence;
044: import com.liferay.portal.service.persistence.UserUtil;
045:
046: import com.liferay.portlet.journal.service.JournalArticleImageLocalService;
047: import com.liferay.portlet.journal.service.JournalArticleImageLocalServiceFactory;
048: import com.liferay.portlet.journal.service.JournalArticleLocalService;
049: import com.liferay.portlet.journal.service.JournalArticleLocalServiceFactory;
050: import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
051: import com.liferay.portlet.journal.service.JournalArticleResourceLocalServiceFactory;
052: import com.liferay.portlet.journal.service.JournalArticleService;
053: import com.liferay.portlet.journal.service.JournalArticleServiceFactory;
054: import com.liferay.portlet.journal.service.JournalContentSearchLocalService;
055: import com.liferay.portlet.journal.service.JournalContentSearchLocalServiceFactory;
056: import com.liferay.portlet.journal.service.JournalFeedLocalService;
057: import com.liferay.portlet.journal.service.JournalFeedLocalServiceFactory;
058: import com.liferay.portlet.journal.service.JournalFeedService;
059: import com.liferay.portlet.journal.service.JournalStructureLocalService;
060: import com.liferay.portlet.journal.service.JournalStructureLocalServiceFactory;
061: import com.liferay.portlet.journal.service.JournalStructureService;
062: import com.liferay.portlet.journal.service.JournalStructureServiceFactory;
063: import com.liferay.portlet.journal.service.JournalTemplateLocalService;
064: import com.liferay.portlet.journal.service.JournalTemplateLocalServiceFactory;
065: import com.liferay.portlet.journal.service.JournalTemplateService;
066: import com.liferay.portlet.journal.service.JournalTemplateServiceFactory;
067: import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
068: import com.liferay.portlet.journal.service.persistence.JournalArticleFinderUtil;
069: import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
070: import com.liferay.portlet.journal.service.persistence.JournalArticleImageUtil;
071: import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
072: import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
073: import com.liferay.portlet.journal.service.persistence.JournalArticleResourceUtil;
074: import com.liferay.portlet.journal.service.persistence.JournalArticleUtil;
075: import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
076: import com.liferay.portlet.journal.service.persistence.JournalContentSearchUtil;
077: import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
078: import com.liferay.portlet.journal.service.persistence.JournalFeedFinderUtil;
079: import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
080: import com.liferay.portlet.journal.service.persistence.JournalFeedUtil;
081: import com.liferay.portlet.journal.service.persistence.JournalStructureFinder;
082: import com.liferay.portlet.journal.service.persistence.JournalStructureFinderUtil;
083: import com.liferay.portlet.journal.service.persistence.JournalStructurePersistence;
084: import com.liferay.portlet.journal.service.persistence.JournalStructureUtil;
085: import com.liferay.portlet.journal.service.persistence.JournalTemplateFinder;
086: import com.liferay.portlet.journal.service.persistence.JournalTemplateFinderUtil;
087: import com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence;
088: import com.liferay.portlet.journal.service.persistence.JournalTemplateUtil;
089:
090: import org.springframework.beans.factory.InitializingBean;
091:
092: /**
093: * <a href="JournalFeedServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
094: *
095: * @author Brian Wing Shun Chan
096: *
097: */
098: public abstract class JournalFeedServiceBaseImpl extends PrincipalBean
099: implements JournalFeedService, InitializingBean {
100: public JournalArticleLocalService getJournalArticleLocalService() {
101: return journalArticleLocalService;
102: }
103:
104: public void setJournalArticleLocalService(
105: JournalArticleLocalService journalArticleLocalService) {
106: this .journalArticleLocalService = journalArticleLocalService;
107: }
108:
109: public JournalArticleService getJournalArticleService() {
110: return journalArticleService;
111: }
112:
113: public void setJournalArticleService(
114: JournalArticleService journalArticleService) {
115: this .journalArticleService = journalArticleService;
116: }
117:
118: public JournalArticlePersistence getJournalArticlePersistence() {
119: return journalArticlePersistence;
120: }
121:
122: public void setJournalArticlePersistence(
123: JournalArticlePersistence journalArticlePersistence) {
124: this .journalArticlePersistence = journalArticlePersistence;
125: }
126:
127: public JournalArticleFinder getJournalArticleFinder() {
128: return journalArticleFinder;
129: }
130:
131: public void setJournalArticleFinder(
132: JournalArticleFinder journalArticleFinder) {
133: this .journalArticleFinder = journalArticleFinder;
134: }
135:
136: public JournalArticleImageLocalService getJournalArticleImageLocalService() {
137: return journalArticleImageLocalService;
138: }
139:
140: public void setJournalArticleImageLocalService(
141: JournalArticleImageLocalService journalArticleImageLocalService) {
142: this .journalArticleImageLocalService = journalArticleImageLocalService;
143: }
144:
145: public JournalArticleImagePersistence getJournalArticleImagePersistence() {
146: return journalArticleImagePersistence;
147: }
148:
149: public void setJournalArticleImagePersistence(
150: JournalArticleImagePersistence journalArticleImagePersistence) {
151: this .journalArticleImagePersistence = journalArticleImagePersistence;
152: }
153:
154: public JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
155: return journalArticleResourceLocalService;
156: }
157:
158: public void setJournalArticleResourceLocalService(
159: JournalArticleResourceLocalService journalArticleResourceLocalService) {
160: this .journalArticleResourceLocalService = journalArticleResourceLocalService;
161: }
162:
163: public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
164: return journalArticleResourcePersistence;
165: }
166:
167: public void setJournalArticleResourcePersistence(
168: JournalArticleResourcePersistence journalArticleResourcePersistence) {
169: this .journalArticleResourcePersistence = journalArticleResourcePersistence;
170: }
171:
172: public JournalContentSearchLocalService getJournalContentSearchLocalService() {
173: return journalContentSearchLocalService;
174: }
175:
176: public void setJournalContentSearchLocalService(
177: JournalContentSearchLocalService journalContentSearchLocalService) {
178: this .journalContentSearchLocalService = journalContentSearchLocalService;
179: }
180:
181: public JournalContentSearchPersistence getJournalContentSearchPersistence() {
182: return journalContentSearchPersistence;
183: }
184:
185: public void setJournalContentSearchPersistence(
186: JournalContentSearchPersistence journalContentSearchPersistence) {
187: this .journalContentSearchPersistence = journalContentSearchPersistence;
188: }
189:
190: public JournalFeedLocalService getJournalFeedLocalService() {
191: return journalFeedLocalService;
192: }
193:
194: public void setJournalFeedLocalService(
195: JournalFeedLocalService journalFeedLocalService) {
196: this .journalFeedLocalService = journalFeedLocalService;
197: }
198:
199: public JournalFeedPersistence getJournalFeedPersistence() {
200: return journalFeedPersistence;
201: }
202:
203: public void setJournalFeedPersistence(
204: JournalFeedPersistence journalFeedPersistence) {
205: this .journalFeedPersistence = journalFeedPersistence;
206: }
207:
208: public JournalFeedFinder getJournalFeedFinder() {
209: return journalFeedFinder;
210: }
211:
212: public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder) {
213: this .journalFeedFinder = journalFeedFinder;
214: }
215:
216: public JournalStructureLocalService getJournalStructureLocalService() {
217: return journalStructureLocalService;
218: }
219:
220: public void setJournalStructureLocalService(
221: JournalStructureLocalService journalStructureLocalService) {
222: this .journalStructureLocalService = journalStructureLocalService;
223: }
224:
225: public JournalStructureService getJournalStructureService() {
226: return journalStructureService;
227: }
228:
229: public void setJournalStructureService(
230: JournalStructureService journalStructureService) {
231: this .journalStructureService = journalStructureService;
232: }
233:
234: public JournalStructurePersistence getJournalStructurePersistence() {
235: return journalStructurePersistence;
236: }
237:
238: public void setJournalStructurePersistence(
239: JournalStructurePersistence journalStructurePersistence) {
240: this .journalStructurePersistence = journalStructurePersistence;
241: }
242:
243: public JournalStructureFinder getJournalStructureFinder() {
244: return journalStructureFinder;
245: }
246:
247: public void setJournalStructureFinder(
248: JournalStructureFinder journalStructureFinder) {
249: this .journalStructureFinder = journalStructureFinder;
250: }
251:
252: public JournalTemplateLocalService getJournalTemplateLocalService() {
253: return journalTemplateLocalService;
254: }
255:
256: public void setJournalTemplateLocalService(
257: JournalTemplateLocalService journalTemplateLocalService) {
258: this .journalTemplateLocalService = journalTemplateLocalService;
259: }
260:
261: public JournalTemplateService getJournalTemplateService() {
262: return journalTemplateService;
263: }
264:
265: public void setJournalTemplateService(
266: JournalTemplateService journalTemplateService) {
267: this .journalTemplateService = journalTemplateService;
268: }
269:
270: public JournalTemplatePersistence getJournalTemplatePersistence() {
271: return journalTemplatePersistence;
272: }
273:
274: public void setJournalTemplatePersistence(
275: JournalTemplatePersistence journalTemplatePersistence) {
276: this .journalTemplatePersistence = journalTemplatePersistence;
277: }
278:
279: public JournalTemplateFinder getJournalTemplateFinder() {
280: return journalTemplateFinder;
281: }
282:
283: public void setJournalTemplateFinder(
284: JournalTemplateFinder journalTemplateFinder) {
285: this .journalTemplateFinder = journalTemplateFinder;
286: }
287:
288: public CounterLocalService getCounterLocalService() {
289: return counterLocalService;
290: }
291:
292: public void setCounterLocalService(
293: CounterLocalService counterLocalService) {
294: this .counterLocalService = counterLocalService;
295: }
296:
297: public CounterService getCounterService() {
298: return counterService;
299: }
300:
301: public void setCounterService(CounterService counterService) {
302: this .counterService = counterService;
303: }
304:
305: public ResourceLocalService getResourceLocalService() {
306: return resourceLocalService;
307: }
308:
309: public void setResourceLocalService(
310: ResourceLocalService resourceLocalService) {
311: this .resourceLocalService = resourceLocalService;
312: }
313:
314: public ResourceService getResourceService() {
315: return resourceService;
316: }
317:
318: public void setResourceService(ResourceService resourceService) {
319: this .resourceService = resourceService;
320: }
321:
322: public ResourcePersistence getResourcePersistence() {
323: return resourcePersistence;
324: }
325:
326: public void setResourcePersistence(
327: ResourcePersistence resourcePersistence) {
328: this .resourcePersistence = resourcePersistence;
329: }
330:
331: public ResourceFinder getResourceFinder() {
332: return resourceFinder;
333: }
334:
335: public void setResourceFinder(ResourceFinder resourceFinder) {
336: this .resourceFinder = resourceFinder;
337: }
338:
339: public UserLocalService getUserLocalService() {
340: return userLocalService;
341: }
342:
343: public void setUserLocalService(UserLocalService userLocalService) {
344: this .userLocalService = userLocalService;
345: }
346:
347: public UserService getUserService() {
348: return userService;
349: }
350:
351: public void setUserService(UserService userService) {
352: this .userService = userService;
353: }
354:
355: public UserPersistence getUserPersistence() {
356: return userPersistence;
357: }
358:
359: public void setUserPersistence(UserPersistence userPersistence) {
360: this .userPersistence = userPersistence;
361: }
362:
363: public UserFinder getUserFinder() {
364: return userFinder;
365: }
366:
367: public void setUserFinder(UserFinder userFinder) {
368: this .userFinder = userFinder;
369: }
370:
371: public void afterPropertiesSet() {
372: if (journalArticleLocalService == null) {
373: journalArticleLocalService = JournalArticleLocalServiceFactory
374: .getImpl();
375: }
376:
377: if (journalArticleService == null) {
378: journalArticleService = JournalArticleServiceFactory
379: .getImpl();
380: }
381:
382: if (journalArticlePersistence == null) {
383: journalArticlePersistence = JournalArticleUtil
384: .getPersistence();
385: }
386:
387: if (journalArticleFinder == null) {
388: journalArticleFinder = JournalArticleFinderUtil.getFinder();
389: }
390:
391: if (journalArticleImageLocalService == null) {
392: journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
393: .getImpl();
394: }
395:
396: if (journalArticleImagePersistence == null) {
397: journalArticleImagePersistence = JournalArticleImageUtil
398: .getPersistence();
399: }
400:
401: if (journalArticleResourceLocalService == null) {
402: journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
403: .getImpl();
404: }
405:
406: if (journalArticleResourcePersistence == null) {
407: journalArticleResourcePersistence = JournalArticleResourceUtil
408: .getPersistence();
409: }
410:
411: if (journalContentSearchLocalService == null) {
412: journalContentSearchLocalService = JournalContentSearchLocalServiceFactory
413: .getImpl();
414: }
415:
416: if (journalContentSearchPersistence == null) {
417: journalContentSearchPersistence = JournalContentSearchUtil
418: .getPersistence();
419: }
420:
421: if (journalFeedLocalService == null) {
422: journalFeedLocalService = JournalFeedLocalServiceFactory
423: .getImpl();
424: }
425:
426: if (journalFeedPersistence == null) {
427: journalFeedPersistence = JournalFeedUtil.getPersistence();
428: }
429:
430: if (journalFeedFinder == null) {
431: journalFeedFinder = JournalFeedFinderUtil.getFinder();
432: }
433:
434: if (journalStructureLocalService == null) {
435: journalStructureLocalService = JournalStructureLocalServiceFactory
436: .getImpl();
437: }
438:
439: if (journalStructureService == null) {
440: journalStructureService = JournalStructureServiceFactory
441: .getImpl();
442: }
443:
444: if (journalStructurePersistence == null) {
445: journalStructurePersistence = JournalStructureUtil
446: .getPersistence();
447: }
448:
449: if (journalStructureFinder == null) {
450: journalStructureFinder = JournalStructureFinderUtil
451: .getFinder();
452: }
453:
454: if (journalTemplateLocalService == null) {
455: journalTemplateLocalService = JournalTemplateLocalServiceFactory
456: .getImpl();
457: }
458:
459: if (journalTemplateService == null) {
460: journalTemplateService = JournalTemplateServiceFactory
461: .getImpl();
462: }
463:
464: if (journalTemplatePersistence == null) {
465: journalTemplatePersistence = JournalTemplateUtil
466: .getPersistence();
467: }
468:
469: if (journalTemplateFinder == null) {
470: journalTemplateFinder = JournalTemplateFinderUtil
471: .getFinder();
472: }
473:
474: if (counterLocalService == null) {
475: counterLocalService = CounterLocalServiceFactory.getImpl();
476: }
477:
478: if (counterService == null) {
479: counterService = CounterServiceFactory.getImpl();
480: }
481:
482: if (resourceLocalService == null) {
483: resourceLocalService = ResourceLocalServiceFactory
484: .getImpl();
485: }
486:
487: if (resourceService == null) {
488: resourceService = ResourceServiceFactory.getImpl();
489: }
490:
491: if (resourcePersistence == null) {
492: resourcePersistence = ResourceUtil.getPersistence();
493: }
494:
495: if (resourceFinder == null) {
496: resourceFinder = ResourceFinderUtil.getFinder();
497: }
498:
499: if (userLocalService == null) {
500: userLocalService = UserLocalServiceFactory.getImpl();
501: }
502:
503: if (userService == null) {
504: userService = UserServiceFactory.getImpl();
505: }
506:
507: if (userPersistence == null) {
508: userPersistence = UserUtil.getPersistence();
509: }
510:
511: if (userFinder == null) {
512: userFinder = UserFinderUtil.getFinder();
513: }
514: }
515:
516: protected JournalArticleLocalService journalArticleLocalService;
517: protected JournalArticleService journalArticleService;
518: protected JournalArticlePersistence journalArticlePersistence;
519: protected JournalArticleFinder journalArticleFinder;
520: protected JournalArticleImageLocalService journalArticleImageLocalService;
521: protected JournalArticleImagePersistence journalArticleImagePersistence;
522: protected JournalArticleResourceLocalService journalArticleResourceLocalService;
523: protected JournalArticleResourcePersistence journalArticleResourcePersistence;
524: protected JournalContentSearchLocalService journalContentSearchLocalService;
525: protected JournalContentSearchPersistence journalContentSearchPersistence;
526: protected JournalFeedLocalService journalFeedLocalService;
527: protected JournalFeedPersistence journalFeedPersistence;
528: protected JournalFeedFinder journalFeedFinder;
529: protected JournalStructureLocalService journalStructureLocalService;
530: protected JournalStructureService journalStructureService;
531: protected JournalStructurePersistence journalStructurePersistence;
532: protected JournalStructureFinder journalStructureFinder;
533: protected JournalTemplateLocalService journalTemplateLocalService;
534: protected JournalTemplateService journalTemplateService;
535: protected JournalTemplatePersistence journalTemplatePersistence;
536: protected JournalTemplateFinder journalTemplateFinder;
537: protected CounterLocalService counterLocalService;
538: protected CounterService counterService;
539: protected ResourceLocalService resourceLocalService;
540: protected ResourceService resourceService;
541: protected ResourcePersistence resourcePersistence;
542: protected ResourceFinder resourceFinder;
543: protected UserLocalService userLocalService;
544: protected UserService userService;
545: protected UserPersistence userPersistence;
546: protected UserFinder userFinder;
547: }
|