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