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.documentlibrary.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.documentlibrary.service.DLLocalService;
029: import com.liferay.documentlibrary.service.DLLocalServiceFactory;
030: import com.liferay.documentlibrary.service.DLService;
031: import com.liferay.documentlibrary.service.DLServiceFactory;
032:
033: import com.liferay.portal.service.LayoutLocalService;
034: import com.liferay.portal.service.LayoutLocalServiceFactory;
035: import com.liferay.portal.service.LayoutService;
036: import com.liferay.portal.service.LayoutServiceFactory;
037: import com.liferay.portal.service.ResourceLocalService;
038: import com.liferay.portal.service.ResourceLocalServiceFactory;
039: import com.liferay.portal.service.ResourceService;
040: import com.liferay.portal.service.ResourceServiceFactory;
041: import com.liferay.portal.service.UserLocalService;
042: import com.liferay.portal.service.UserLocalServiceFactory;
043: import com.liferay.portal.service.UserService;
044: import com.liferay.portal.service.UserServiceFactory;
045: import com.liferay.portal.service.WebDAVPropsLocalService;
046: import com.liferay.portal.service.WebDAVPropsLocalServiceFactory;
047: import com.liferay.portal.service.impl.PrincipalBean;
048: import com.liferay.portal.service.persistence.LayoutFinder;
049: import com.liferay.portal.service.persistence.LayoutFinderUtil;
050: import com.liferay.portal.service.persistence.LayoutPersistence;
051: import com.liferay.portal.service.persistence.LayoutUtil;
052: import com.liferay.portal.service.persistence.ResourceFinder;
053: import com.liferay.portal.service.persistence.ResourceFinderUtil;
054: import com.liferay.portal.service.persistence.ResourcePersistence;
055: import com.liferay.portal.service.persistence.ResourceUtil;
056: import com.liferay.portal.service.persistence.UserFinder;
057: import com.liferay.portal.service.persistence.UserFinderUtil;
058: import com.liferay.portal.service.persistence.UserPersistence;
059: import com.liferay.portal.service.persistence.UserUtil;
060: import com.liferay.portal.service.persistence.WebDAVPropsPersistence;
061: import com.liferay.portal.service.persistence.WebDAVPropsUtil;
062:
063: import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
064: import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceFactory;
065: import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
066: import com.liferay.portlet.documentlibrary.service.DLFileEntryServiceFactory;
067: import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
068: import com.liferay.portlet.documentlibrary.service.DLFileRankLocalServiceFactory;
069: import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
070: import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalServiceFactory;
071: import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
072: import com.liferay.portlet.documentlibrary.service.DLFileShortcutServiceFactory;
073: import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
074: import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalServiceFactory;
075: import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
076: import com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceFactory;
077: import com.liferay.portlet.documentlibrary.service.DLFolderService;
078: import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryAndShortcutFinder;
079: import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryAndShortcutFinderUtil;
080: import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
081: import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinderUtil;
082: import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
083: import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryUtil;
084: import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
085: import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinderUtil;
086: import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
087: import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankUtil;
088: import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutFinder;
089: import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutFinderUtil;
090: import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
091: import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutUtil;
092: import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
093: import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionUtil;
094: import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
095: import com.liferay.portlet.documentlibrary.service.persistence.DLFolderUtil;
096:
097: import org.springframework.beans.factory.InitializingBean;
098:
099: /**
100: * <a href="DLFolderServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
101: *
102: * @author Brian Wing Shun Chan
103: *
104: */
105: public abstract class DLFolderServiceBaseImpl extends PrincipalBean
106: implements DLFolderService, InitializingBean {
107: public DLFileEntryLocalService getDLFileEntryLocalService() {
108: return dlFileEntryLocalService;
109: }
110:
111: public void setDLFileEntryLocalService(
112: DLFileEntryLocalService dlFileEntryLocalService) {
113: this .dlFileEntryLocalService = dlFileEntryLocalService;
114: }
115:
116: public DLFileEntryService getDLFileEntryService() {
117: return dlFileEntryService;
118: }
119:
120: public void setDLFileEntryService(
121: DLFileEntryService dlFileEntryService) {
122: this .dlFileEntryService = dlFileEntryService;
123: }
124:
125: public DLFileEntryPersistence getDLFileEntryPersistence() {
126: return dlFileEntryPersistence;
127: }
128:
129: public void setDLFileEntryPersistence(
130: DLFileEntryPersistence dlFileEntryPersistence) {
131: this .dlFileEntryPersistence = dlFileEntryPersistence;
132: }
133:
134: public DLFileEntryFinder getDLFileEntryFinder() {
135: return dlFileEntryFinder;
136: }
137:
138: public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
139: this .dlFileEntryFinder = dlFileEntryFinder;
140: }
141:
142: public DLFileEntryAndShortcutFinder getDLFileEntryAndShortcutFinder() {
143: return dlFileEntryAndShortcutFinder;
144: }
145:
146: public void setDLFileEntryAndShortcutFinder(
147: DLFileEntryAndShortcutFinder dlFileEntryAndShortcutFinder) {
148: this .dlFileEntryAndShortcutFinder = dlFileEntryAndShortcutFinder;
149: }
150:
151: public DLFileRankLocalService getDLFileRankLocalService() {
152: return dlFileRankLocalService;
153: }
154:
155: public void setDLFileRankLocalService(
156: DLFileRankLocalService dlFileRankLocalService) {
157: this .dlFileRankLocalService = dlFileRankLocalService;
158: }
159:
160: public DLFileRankPersistence getDLFileRankPersistence() {
161: return dlFileRankPersistence;
162: }
163:
164: public void setDLFileRankPersistence(
165: DLFileRankPersistence dlFileRankPersistence) {
166: this .dlFileRankPersistence = dlFileRankPersistence;
167: }
168:
169: public DLFileRankFinder getDLFileRankFinder() {
170: return dlFileRankFinder;
171: }
172:
173: public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
174: this .dlFileRankFinder = dlFileRankFinder;
175: }
176:
177: public DLFileShortcutLocalService getDLFileShortcutLocalService() {
178: return dlFileShortcutLocalService;
179: }
180:
181: public void setDLFileShortcutLocalService(
182: DLFileShortcutLocalService dlFileShortcutLocalService) {
183: this .dlFileShortcutLocalService = dlFileShortcutLocalService;
184: }
185:
186: public DLFileShortcutService getDLFileShortcutService() {
187: return dlFileShortcutService;
188: }
189:
190: public void setDLFileShortcutService(
191: DLFileShortcutService dlFileShortcutService) {
192: this .dlFileShortcutService = dlFileShortcutService;
193: }
194:
195: public DLFileShortcutPersistence getDLFileShortcutPersistence() {
196: return dlFileShortcutPersistence;
197: }
198:
199: public void setDLFileShortcutPersistence(
200: DLFileShortcutPersistence dlFileShortcutPersistence) {
201: this .dlFileShortcutPersistence = dlFileShortcutPersistence;
202: }
203:
204: public DLFileShortcutFinder getDLFileShortcutFinder() {
205: return dlFileShortcutFinder;
206: }
207:
208: public void setDLFileShortcutFinder(
209: DLFileShortcutFinder dlFileShortcutFinder) {
210: this .dlFileShortcutFinder = dlFileShortcutFinder;
211: }
212:
213: public DLFileVersionLocalService getDLFileVersionLocalService() {
214: return dlFileVersionLocalService;
215: }
216:
217: public void setDLFileVersionLocalService(
218: DLFileVersionLocalService dlFileVersionLocalService) {
219: this .dlFileVersionLocalService = dlFileVersionLocalService;
220: }
221:
222: public DLFileVersionPersistence getDLFileVersionPersistence() {
223: return dlFileVersionPersistence;
224: }
225:
226: public void setDLFileVersionPersistence(
227: DLFileVersionPersistence dlFileVersionPersistence) {
228: this .dlFileVersionPersistence = dlFileVersionPersistence;
229: }
230:
231: public DLFolderLocalService getDLFolderLocalService() {
232: return dlFolderLocalService;
233: }
234:
235: public void setDLFolderLocalService(
236: DLFolderLocalService dlFolderLocalService) {
237: this .dlFolderLocalService = dlFolderLocalService;
238: }
239:
240: public DLFolderPersistence getDLFolderPersistence() {
241: return dlFolderPersistence;
242: }
243:
244: public void setDLFolderPersistence(
245: DLFolderPersistence dlFolderPersistence) {
246: this .dlFolderPersistence = dlFolderPersistence;
247: }
248:
249: public CounterLocalService getCounterLocalService() {
250: return counterLocalService;
251: }
252:
253: public void setCounterLocalService(
254: CounterLocalService counterLocalService) {
255: this .counterLocalService = counterLocalService;
256: }
257:
258: public CounterService getCounterService() {
259: return counterService;
260: }
261:
262: public void setCounterService(CounterService counterService) {
263: this .counterService = counterService;
264: }
265:
266: public DLLocalService getDLLocalService() {
267: return dlLocalService;
268: }
269:
270: public void setDLLocalService(DLLocalService dlLocalService) {
271: this .dlLocalService = dlLocalService;
272: }
273:
274: public DLService getDLService() {
275: return dlService;
276: }
277:
278: public void setDLService(DLService dlService) {
279: this .dlService = dlService;
280: }
281:
282: public LayoutLocalService getLayoutLocalService() {
283: return layoutLocalService;
284: }
285:
286: public void setLayoutLocalService(
287: LayoutLocalService layoutLocalService) {
288: this .layoutLocalService = layoutLocalService;
289: }
290:
291: public LayoutService getLayoutService() {
292: return layoutService;
293: }
294:
295: public void setLayoutService(LayoutService layoutService) {
296: this .layoutService = layoutService;
297: }
298:
299: public LayoutPersistence getLayoutPersistence() {
300: return layoutPersistence;
301: }
302:
303: public void setLayoutPersistence(LayoutPersistence layoutPersistence) {
304: this .layoutPersistence = layoutPersistence;
305: }
306:
307: public LayoutFinder getLayoutFinder() {
308: return layoutFinder;
309: }
310:
311: public void setLayoutFinder(LayoutFinder layoutFinder) {
312: this .layoutFinder = layoutFinder;
313: }
314:
315: public ResourceLocalService getResourceLocalService() {
316: return resourceLocalService;
317: }
318:
319: public void setResourceLocalService(
320: ResourceLocalService resourceLocalService) {
321: this .resourceLocalService = resourceLocalService;
322: }
323:
324: public ResourceService getResourceService() {
325: return resourceService;
326: }
327:
328: public void setResourceService(ResourceService resourceService) {
329: this .resourceService = resourceService;
330: }
331:
332: public ResourcePersistence getResourcePersistence() {
333: return resourcePersistence;
334: }
335:
336: public void setResourcePersistence(
337: ResourcePersistence resourcePersistence) {
338: this .resourcePersistence = resourcePersistence;
339: }
340:
341: public ResourceFinder getResourceFinder() {
342: return resourceFinder;
343: }
344:
345: public void setResourceFinder(ResourceFinder resourceFinder) {
346: this .resourceFinder = resourceFinder;
347: }
348:
349: public UserLocalService getUserLocalService() {
350: return userLocalService;
351: }
352:
353: public void setUserLocalService(UserLocalService userLocalService) {
354: this .userLocalService = userLocalService;
355: }
356:
357: public UserService getUserService() {
358: return userService;
359: }
360:
361: public void setUserService(UserService userService) {
362: this .userService = userService;
363: }
364:
365: public UserPersistence getUserPersistence() {
366: return userPersistence;
367: }
368:
369: public void setUserPersistence(UserPersistence userPersistence) {
370: this .userPersistence = userPersistence;
371: }
372:
373: public UserFinder getUserFinder() {
374: return userFinder;
375: }
376:
377: public void setUserFinder(UserFinder userFinder) {
378: this .userFinder = userFinder;
379: }
380:
381: public WebDAVPropsLocalService getWebDAVPropsLocalService() {
382: return webDAVPropsLocalService;
383: }
384:
385: public void setWebDAVPropsLocalService(
386: WebDAVPropsLocalService webDAVPropsLocalService) {
387: this .webDAVPropsLocalService = webDAVPropsLocalService;
388: }
389:
390: public WebDAVPropsPersistence getWebDAVPropsPersistence() {
391: return webDAVPropsPersistence;
392: }
393:
394: public void setWebDAVPropsPersistence(
395: WebDAVPropsPersistence webDAVPropsPersistence) {
396: this .webDAVPropsPersistence = webDAVPropsPersistence;
397: }
398:
399: public void afterPropertiesSet() {
400: if (dlFileEntryLocalService == null) {
401: dlFileEntryLocalService = DLFileEntryLocalServiceFactory
402: .getImpl();
403: }
404:
405: if (dlFileEntryService == null) {
406: dlFileEntryService = DLFileEntryServiceFactory.getImpl();
407: }
408:
409: if (dlFileEntryPersistence == null) {
410: dlFileEntryPersistence = DLFileEntryUtil.getPersistence();
411: }
412:
413: if (dlFileEntryFinder == null) {
414: dlFileEntryFinder = DLFileEntryFinderUtil.getFinder();
415: }
416:
417: if (dlFileEntryAndShortcutFinder == null) {
418: dlFileEntryAndShortcutFinder = DLFileEntryAndShortcutFinderUtil
419: .getFinder();
420: }
421:
422: if (dlFileRankLocalService == null) {
423: dlFileRankLocalService = DLFileRankLocalServiceFactory
424: .getImpl();
425: }
426:
427: if (dlFileRankPersistence == null) {
428: dlFileRankPersistence = DLFileRankUtil.getPersistence();
429: }
430:
431: if (dlFileRankFinder == null) {
432: dlFileRankFinder = DLFileRankFinderUtil.getFinder();
433: }
434:
435: if (dlFileShortcutLocalService == null) {
436: dlFileShortcutLocalService = DLFileShortcutLocalServiceFactory
437: .getImpl();
438: }
439:
440: if (dlFileShortcutService == null) {
441: dlFileShortcutService = DLFileShortcutServiceFactory
442: .getImpl();
443: }
444:
445: if (dlFileShortcutPersistence == null) {
446: dlFileShortcutPersistence = DLFileShortcutUtil
447: .getPersistence();
448: }
449:
450: if (dlFileShortcutFinder == null) {
451: dlFileShortcutFinder = DLFileShortcutFinderUtil.getFinder();
452: }
453:
454: if (dlFileVersionLocalService == null) {
455: dlFileVersionLocalService = DLFileVersionLocalServiceFactory
456: .getImpl();
457: }
458:
459: if (dlFileVersionPersistence == null) {
460: dlFileVersionPersistence = DLFileVersionUtil
461: .getPersistence();
462: }
463:
464: if (dlFolderLocalService == null) {
465: dlFolderLocalService = DLFolderLocalServiceFactory
466: .getImpl();
467: }
468:
469: if (dlFolderPersistence == null) {
470: dlFolderPersistence = DLFolderUtil.getPersistence();
471: }
472:
473: if (counterLocalService == null) {
474: counterLocalService = CounterLocalServiceFactory.getImpl();
475: }
476:
477: if (counterService == null) {
478: counterService = CounterServiceFactory.getImpl();
479: }
480:
481: if (dlLocalService == null) {
482: dlLocalService = DLLocalServiceFactory.getImpl();
483: }
484:
485: if (dlService == null) {
486: dlService = DLServiceFactory.getImpl();
487: }
488:
489: if (layoutLocalService == null) {
490: layoutLocalService = LayoutLocalServiceFactory.getImpl();
491: }
492:
493: if (layoutService == null) {
494: layoutService = LayoutServiceFactory.getImpl();
495: }
496:
497: if (layoutPersistence == null) {
498: layoutPersistence = LayoutUtil.getPersistence();
499: }
500:
501: if (layoutFinder == null) {
502: layoutFinder = LayoutFinderUtil.getFinder();
503: }
504:
505: if (resourceLocalService == null) {
506: resourceLocalService = ResourceLocalServiceFactory
507: .getImpl();
508: }
509:
510: if (resourceService == null) {
511: resourceService = ResourceServiceFactory.getImpl();
512: }
513:
514: if (resourcePersistence == null) {
515: resourcePersistence = ResourceUtil.getPersistence();
516: }
517:
518: if (resourceFinder == null) {
519: resourceFinder = ResourceFinderUtil.getFinder();
520: }
521:
522: if (userLocalService == null) {
523: userLocalService = UserLocalServiceFactory.getImpl();
524: }
525:
526: if (userService == null) {
527: userService = UserServiceFactory.getImpl();
528: }
529:
530: if (userPersistence == null) {
531: userPersistence = UserUtil.getPersistence();
532: }
533:
534: if (userFinder == null) {
535: userFinder = UserFinderUtil.getFinder();
536: }
537:
538: if (webDAVPropsLocalService == null) {
539: webDAVPropsLocalService = WebDAVPropsLocalServiceFactory
540: .getImpl();
541: }
542:
543: if (webDAVPropsPersistence == null) {
544: webDAVPropsPersistence = WebDAVPropsUtil.getPersistence();
545: }
546: }
547:
548: protected DLFileEntryLocalService dlFileEntryLocalService;
549: protected DLFileEntryService dlFileEntryService;
550: protected DLFileEntryPersistence dlFileEntryPersistence;
551: protected DLFileEntryFinder dlFileEntryFinder;
552: protected DLFileEntryAndShortcutFinder dlFileEntryAndShortcutFinder;
553: protected DLFileRankLocalService dlFileRankLocalService;
554: protected DLFileRankPersistence dlFileRankPersistence;
555: protected DLFileRankFinder dlFileRankFinder;
556: protected DLFileShortcutLocalService dlFileShortcutLocalService;
557: protected DLFileShortcutService dlFileShortcutService;
558: protected DLFileShortcutPersistence dlFileShortcutPersistence;
559: protected DLFileShortcutFinder dlFileShortcutFinder;
560: protected DLFileVersionLocalService dlFileVersionLocalService;
561: protected DLFileVersionPersistence dlFileVersionPersistence;
562: protected DLFolderLocalService dlFolderLocalService;
563: protected DLFolderPersistence dlFolderPersistence;
564: protected CounterLocalService counterLocalService;
565: protected CounterService counterService;
566: protected DLLocalService dlLocalService;
567: protected DLService dlService;
568: protected LayoutLocalService layoutLocalService;
569: protected LayoutService layoutService;
570: protected LayoutPersistence layoutPersistence;
571: protected LayoutFinder layoutFinder;
572: protected ResourceLocalService resourceLocalService;
573: protected ResourceService resourceService;
574: protected ResourcePersistence resourcePersistence;
575: protected ResourceFinder resourceFinder;
576: protected UserLocalService userLocalService;
577: protected UserService userService;
578: protected UserPersistence userPersistence;
579: protected UserFinder userFinder;
580: protected WebDAVPropsLocalService webDAVPropsLocalService;
581: protected WebDAVPropsPersistence webDAVPropsPersistence;
582: }
|