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.lock.service.LockService;
034: import com.liferay.lock.service.LockServiceFactory;
035:
036: import com.liferay.portal.SystemException;
037: import com.liferay.portal.kernel.dao.DynamicQueryInitializer;
038: import com.liferay.portal.service.ResourceLocalService;
039: import com.liferay.portal.service.ResourceLocalServiceFactory;
040: import com.liferay.portal.service.ResourceService;
041: import com.liferay.portal.service.ResourceServiceFactory;
042: import com.liferay.portal.service.UserLocalService;
043: import com.liferay.portal.service.UserLocalServiceFactory;
044: import com.liferay.portal.service.UserService;
045: import com.liferay.portal.service.UserServiceFactory;
046: import com.liferay.portal.service.WebDAVPropsLocalService;
047: import com.liferay.portal.service.WebDAVPropsLocalServiceFactory;
048: import com.liferay.portal.service.persistence.ResourceFinder;
049: import com.liferay.portal.service.persistence.ResourceFinderUtil;
050: import com.liferay.portal.service.persistence.ResourcePersistence;
051: import com.liferay.portal.service.persistence.ResourceUtil;
052: import com.liferay.portal.service.persistence.UserFinder;
053: import com.liferay.portal.service.persistence.UserFinderUtil;
054: import com.liferay.portal.service.persistence.UserPersistence;
055: import com.liferay.portal.service.persistence.UserUtil;
056: import com.liferay.portal.service.persistence.WebDAVPropsPersistence;
057: import com.liferay.portal.service.persistence.WebDAVPropsUtil;
058:
059: import com.liferay.portlet.documentlibrary.model.DLFileEntry;
060: import com.liferay.portlet.documentlibrary.model.impl.DLFileEntryImpl;
061: import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
062: import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
063: import com.liferay.portlet.documentlibrary.service.DLFileRankLocalServiceFactory;
064: import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
065: import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalServiceFactory;
066: import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
067: import com.liferay.portlet.documentlibrary.service.DLFileShortcutServiceFactory;
068: import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
069: import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalServiceFactory;
070: import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
071: import com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceFactory;
072: import com.liferay.portlet.documentlibrary.service.DLFolderService;
073: import com.liferay.portlet.documentlibrary.service.DLFolderServiceFactory;
074: import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryAndShortcutFinder;
075: import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryAndShortcutFinderUtil;
076: import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
077: import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinderUtil;
078: import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
079: import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryUtil;
080: import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
081: import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinderUtil;
082: import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
083: import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankUtil;
084: import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutFinder;
085: import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutFinderUtil;
086: import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
087: import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutUtil;
088: import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
089: import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionUtil;
090: import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
091: import com.liferay.portlet.documentlibrary.service.persistence.DLFolderUtil;
092: import com.liferay.portlet.messageboards.service.MBMessageLocalService;
093: import com.liferay.portlet.messageboards.service.MBMessageLocalServiceFactory;
094: import com.liferay.portlet.messageboards.service.MBMessageService;
095: import com.liferay.portlet.messageboards.service.MBMessageServiceFactory;
096: import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
097: import com.liferay.portlet.messageboards.service.persistence.MBMessageFinderUtil;
098: import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
099: import com.liferay.portlet.messageboards.service.persistence.MBMessageUtil;
100: import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
101: import com.liferay.portlet.ratings.service.RatingsStatsLocalServiceFactory;
102: import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
103: import com.liferay.portlet.ratings.service.persistence.RatingsStatsUtil;
104: import com.liferay.portlet.tags.service.TagsAssetLocalService;
105: import com.liferay.portlet.tags.service.TagsAssetLocalServiceFactory;
106: import com.liferay.portlet.tags.service.TagsAssetService;
107: import com.liferay.portlet.tags.service.TagsAssetServiceFactory;
108: import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
109: import com.liferay.portlet.tags.service.persistence.TagsAssetFinderUtil;
110: import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
111: import com.liferay.portlet.tags.service.persistence.TagsAssetUtil;
112:
113: import org.springframework.beans.factory.InitializingBean;
114:
115: import java.util.List;
116:
117: /**
118: * <a href="DLFileEntryLocalServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
119: *
120: * @author Brian Wing Shun Chan
121: *
122: */
123: public abstract class DLFileEntryLocalServiceBaseImpl implements
124: DLFileEntryLocalService, InitializingBean {
125: public DLFileEntry addDLFileEntry(DLFileEntry model)
126: throws SystemException {
127: DLFileEntry dlFileEntry = new DLFileEntryImpl();
128:
129: dlFileEntry.setNew(true);
130:
131: dlFileEntry.setUuid(model.getUuid());
132: dlFileEntry.setFileEntryId(model.getFileEntryId());
133: dlFileEntry.setCompanyId(model.getCompanyId());
134: dlFileEntry.setUserId(model.getUserId());
135: dlFileEntry.setUserName(model.getUserName());
136: dlFileEntry.setVersionUserId(model.getVersionUserId());
137: dlFileEntry.setVersionUserName(model.getVersionUserName());
138: dlFileEntry.setCreateDate(model.getCreateDate());
139: dlFileEntry.setModifiedDate(model.getModifiedDate());
140: dlFileEntry.setFolderId(model.getFolderId());
141: dlFileEntry.setName(model.getName());
142: dlFileEntry.setTitle(model.getTitle());
143: dlFileEntry.setDescription(model.getDescription());
144: dlFileEntry.setVersion(model.getVersion());
145: dlFileEntry.setSize(model.getSize());
146: dlFileEntry.setReadCount(model.getReadCount());
147: dlFileEntry.setExtraSettings(model.getExtraSettings());
148:
149: return dlFileEntryPersistence.update(dlFileEntry);
150: }
151:
152: public List dynamicQuery(DynamicQueryInitializer queryInitializer)
153: throws SystemException {
154: return dlFileEntryPersistence
155: .findWithDynamicQuery(queryInitializer);
156: }
157:
158: public List dynamicQuery(DynamicQueryInitializer queryInitializer,
159: int begin, int end) throws SystemException {
160: return dlFileEntryPersistence.findWithDynamicQuery(
161: queryInitializer, begin, end);
162: }
163:
164: public DLFileEntry updateDLFileEntry(DLFileEntry model)
165: throws SystemException {
166: return dlFileEntryPersistence.update(model, true);
167: }
168:
169: public DLFileEntryPersistence getDLFileEntryPersistence() {
170: return dlFileEntryPersistence;
171: }
172:
173: public void setDLFileEntryPersistence(
174: DLFileEntryPersistence dlFileEntryPersistence) {
175: this .dlFileEntryPersistence = dlFileEntryPersistence;
176: }
177:
178: public DLFileEntryFinder getDLFileEntryFinder() {
179: return dlFileEntryFinder;
180: }
181:
182: public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
183: this .dlFileEntryFinder = dlFileEntryFinder;
184: }
185:
186: public DLFileEntryAndShortcutFinder getDLFileEntryAndShortcutFinder() {
187: return dlFileEntryAndShortcutFinder;
188: }
189:
190: public void setDLFileEntryAndShortcutFinder(
191: DLFileEntryAndShortcutFinder dlFileEntryAndShortcutFinder) {
192: this .dlFileEntryAndShortcutFinder = dlFileEntryAndShortcutFinder;
193: }
194:
195: public DLFileRankLocalService getDLFileRankLocalService() {
196: return dlFileRankLocalService;
197: }
198:
199: public void setDLFileRankLocalService(
200: DLFileRankLocalService dlFileRankLocalService) {
201: this .dlFileRankLocalService = dlFileRankLocalService;
202: }
203:
204: public DLFileRankPersistence getDLFileRankPersistence() {
205: return dlFileRankPersistence;
206: }
207:
208: public void setDLFileRankPersistence(
209: DLFileRankPersistence dlFileRankPersistence) {
210: this .dlFileRankPersistence = dlFileRankPersistence;
211: }
212:
213: public DLFileRankFinder getDLFileRankFinder() {
214: return dlFileRankFinder;
215: }
216:
217: public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
218: this .dlFileRankFinder = dlFileRankFinder;
219: }
220:
221: public DLFileShortcutLocalService getDLFileShortcutLocalService() {
222: return dlFileShortcutLocalService;
223: }
224:
225: public void setDLFileShortcutLocalService(
226: DLFileShortcutLocalService dlFileShortcutLocalService) {
227: this .dlFileShortcutLocalService = dlFileShortcutLocalService;
228: }
229:
230: public DLFileShortcutService getDLFileShortcutService() {
231: return dlFileShortcutService;
232: }
233:
234: public void setDLFileShortcutService(
235: DLFileShortcutService dlFileShortcutService) {
236: this .dlFileShortcutService = dlFileShortcutService;
237: }
238:
239: public DLFileShortcutPersistence getDLFileShortcutPersistence() {
240: return dlFileShortcutPersistence;
241: }
242:
243: public void setDLFileShortcutPersistence(
244: DLFileShortcutPersistence dlFileShortcutPersistence) {
245: this .dlFileShortcutPersistence = dlFileShortcutPersistence;
246: }
247:
248: public DLFileShortcutFinder getDLFileShortcutFinder() {
249: return dlFileShortcutFinder;
250: }
251:
252: public void setDLFileShortcutFinder(
253: DLFileShortcutFinder dlFileShortcutFinder) {
254: this .dlFileShortcutFinder = dlFileShortcutFinder;
255: }
256:
257: public DLFileVersionLocalService getDLFileVersionLocalService() {
258: return dlFileVersionLocalService;
259: }
260:
261: public void setDLFileVersionLocalService(
262: DLFileVersionLocalService dlFileVersionLocalService) {
263: this .dlFileVersionLocalService = dlFileVersionLocalService;
264: }
265:
266: public DLFileVersionPersistence getDLFileVersionPersistence() {
267: return dlFileVersionPersistence;
268: }
269:
270: public void setDLFileVersionPersistence(
271: DLFileVersionPersistence dlFileVersionPersistence) {
272: this .dlFileVersionPersistence = dlFileVersionPersistence;
273: }
274:
275: public DLFolderLocalService getDLFolderLocalService() {
276: return dlFolderLocalService;
277: }
278:
279: public void setDLFolderLocalService(
280: DLFolderLocalService dlFolderLocalService) {
281: this .dlFolderLocalService = dlFolderLocalService;
282: }
283:
284: public DLFolderService getDLFolderService() {
285: return dlFolderService;
286: }
287:
288: public void setDLFolderService(DLFolderService dlFolderService) {
289: this .dlFolderService = dlFolderService;
290: }
291:
292: public DLFolderPersistence getDLFolderPersistence() {
293: return dlFolderPersistence;
294: }
295:
296: public void setDLFolderPersistence(
297: DLFolderPersistence dlFolderPersistence) {
298: this .dlFolderPersistence = dlFolderPersistence;
299: }
300:
301: public CounterLocalService getCounterLocalService() {
302: return counterLocalService;
303: }
304:
305: public void setCounterLocalService(
306: CounterLocalService counterLocalService) {
307: this .counterLocalService = counterLocalService;
308: }
309:
310: public CounterService getCounterService() {
311: return counterService;
312: }
313:
314: public void setCounterService(CounterService counterService) {
315: this .counterService = counterService;
316: }
317:
318: public DLLocalService getDLLocalService() {
319: return dlLocalService;
320: }
321:
322: public void setDLLocalService(DLLocalService dlLocalService) {
323: this .dlLocalService = dlLocalService;
324: }
325:
326: public DLService getDLService() {
327: return dlService;
328: }
329:
330: public void setDLService(DLService dlService) {
331: this .dlService = dlService;
332: }
333:
334: public LockService getLockService() {
335: return lockService;
336: }
337:
338: public void setLockService(LockService lockService) {
339: this .lockService = lockService;
340: }
341:
342: public ResourceLocalService getResourceLocalService() {
343: return resourceLocalService;
344: }
345:
346: public void setResourceLocalService(
347: ResourceLocalService resourceLocalService) {
348: this .resourceLocalService = resourceLocalService;
349: }
350:
351: public ResourceService getResourceService() {
352: return resourceService;
353: }
354:
355: public void setResourceService(ResourceService resourceService) {
356: this .resourceService = resourceService;
357: }
358:
359: public ResourcePersistence getResourcePersistence() {
360: return resourcePersistence;
361: }
362:
363: public void setResourcePersistence(
364: ResourcePersistence resourcePersistence) {
365: this .resourcePersistence = resourcePersistence;
366: }
367:
368: public ResourceFinder getResourceFinder() {
369: return resourceFinder;
370: }
371:
372: public void setResourceFinder(ResourceFinder resourceFinder) {
373: this .resourceFinder = resourceFinder;
374: }
375:
376: public UserLocalService getUserLocalService() {
377: return userLocalService;
378: }
379:
380: public void setUserLocalService(UserLocalService userLocalService) {
381: this .userLocalService = userLocalService;
382: }
383:
384: public UserService getUserService() {
385: return userService;
386: }
387:
388: public void setUserService(UserService userService) {
389: this .userService = userService;
390: }
391:
392: public UserPersistence getUserPersistence() {
393: return userPersistence;
394: }
395:
396: public void setUserPersistence(UserPersistence userPersistence) {
397: this .userPersistence = userPersistence;
398: }
399:
400: public UserFinder getUserFinder() {
401: return userFinder;
402: }
403:
404: public void setUserFinder(UserFinder userFinder) {
405: this .userFinder = userFinder;
406: }
407:
408: public WebDAVPropsLocalService getWebDAVPropsLocalService() {
409: return webDAVPropsLocalService;
410: }
411:
412: public void setWebDAVPropsLocalService(
413: WebDAVPropsLocalService webDAVPropsLocalService) {
414: this .webDAVPropsLocalService = webDAVPropsLocalService;
415: }
416:
417: public WebDAVPropsPersistence getWebDAVPropsPersistence() {
418: return webDAVPropsPersistence;
419: }
420:
421: public void setWebDAVPropsPersistence(
422: WebDAVPropsPersistence webDAVPropsPersistence) {
423: this .webDAVPropsPersistence = webDAVPropsPersistence;
424: }
425:
426: public MBMessageLocalService getMBMessageLocalService() {
427: return mbMessageLocalService;
428: }
429:
430: public void setMBMessageLocalService(
431: MBMessageLocalService mbMessageLocalService) {
432: this .mbMessageLocalService = mbMessageLocalService;
433: }
434:
435: public MBMessageService getMBMessageService() {
436: return mbMessageService;
437: }
438:
439: public void setMBMessageService(MBMessageService mbMessageService) {
440: this .mbMessageService = mbMessageService;
441: }
442:
443: public MBMessagePersistence getMBMessagePersistence() {
444: return mbMessagePersistence;
445: }
446:
447: public void setMBMessagePersistence(
448: MBMessagePersistence mbMessagePersistence) {
449: this .mbMessagePersistence = mbMessagePersistence;
450: }
451:
452: public MBMessageFinder getMBMessageFinder() {
453: return mbMessageFinder;
454: }
455:
456: public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
457: this .mbMessageFinder = mbMessageFinder;
458: }
459:
460: public RatingsStatsLocalService getRatingsStatsLocalService() {
461: return ratingsStatsLocalService;
462: }
463:
464: public void setRatingsStatsLocalService(
465: RatingsStatsLocalService ratingsStatsLocalService) {
466: this .ratingsStatsLocalService = ratingsStatsLocalService;
467: }
468:
469: public RatingsStatsPersistence getRatingsStatsPersistence() {
470: return ratingsStatsPersistence;
471: }
472:
473: public void setRatingsStatsPersistence(
474: RatingsStatsPersistence ratingsStatsPersistence) {
475: this .ratingsStatsPersistence = ratingsStatsPersistence;
476: }
477:
478: public TagsAssetLocalService getTagsAssetLocalService() {
479: return tagsAssetLocalService;
480: }
481:
482: public void setTagsAssetLocalService(
483: TagsAssetLocalService tagsAssetLocalService) {
484: this .tagsAssetLocalService = tagsAssetLocalService;
485: }
486:
487: public TagsAssetService getTagsAssetService() {
488: return tagsAssetService;
489: }
490:
491: public void setTagsAssetService(TagsAssetService tagsAssetService) {
492: this .tagsAssetService = tagsAssetService;
493: }
494:
495: public TagsAssetPersistence getTagsAssetPersistence() {
496: return tagsAssetPersistence;
497: }
498:
499: public void setTagsAssetPersistence(
500: TagsAssetPersistence tagsAssetPersistence) {
501: this .tagsAssetPersistence = tagsAssetPersistence;
502: }
503:
504: public TagsAssetFinder getTagsAssetFinder() {
505: return tagsAssetFinder;
506: }
507:
508: public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
509: this .tagsAssetFinder = tagsAssetFinder;
510: }
511:
512: public void afterPropertiesSet() {
513: if (dlFileEntryPersistence == null) {
514: dlFileEntryPersistence = DLFileEntryUtil.getPersistence();
515: }
516:
517: if (dlFileEntryFinder == null) {
518: dlFileEntryFinder = DLFileEntryFinderUtil.getFinder();
519: }
520:
521: if (dlFileEntryAndShortcutFinder == null) {
522: dlFileEntryAndShortcutFinder = DLFileEntryAndShortcutFinderUtil
523: .getFinder();
524: }
525:
526: if (dlFileRankLocalService == null) {
527: dlFileRankLocalService = DLFileRankLocalServiceFactory
528: .getImpl();
529: }
530:
531: if (dlFileRankPersistence == null) {
532: dlFileRankPersistence = DLFileRankUtil.getPersistence();
533: }
534:
535: if (dlFileRankFinder == null) {
536: dlFileRankFinder = DLFileRankFinderUtil.getFinder();
537: }
538:
539: if (dlFileShortcutLocalService == null) {
540: dlFileShortcutLocalService = DLFileShortcutLocalServiceFactory
541: .getImpl();
542: }
543:
544: if (dlFileShortcutService == null) {
545: dlFileShortcutService = DLFileShortcutServiceFactory
546: .getImpl();
547: }
548:
549: if (dlFileShortcutPersistence == null) {
550: dlFileShortcutPersistence = DLFileShortcutUtil
551: .getPersistence();
552: }
553:
554: if (dlFileShortcutFinder == null) {
555: dlFileShortcutFinder = DLFileShortcutFinderUtil.getFinder();
556: }
557:
558: if (dlFileVersionLocalService == null) {
559: dlFileVersionLocalService = DLFileVersionLocalServiceFactory
560: .getImpl();
561: }
562:
563: if (dlFileVersionPersistence == null) {
564: dlFileVersionPersistence = DLFileVersionUtil
565: .getPersistence();
566: }
567:
568: if (dlFolderLocalService == null) {
569: dlFolderLocalService = DLFolderLocalServiceFactory
570: .getImpl();
571: }
572:
573: if (dlFolderService == null) {
574: dlFolderService = DLFolderServiceFactory.getImpl();
575: }
576:
577: if (dlFolderPersistence == null) {
578: dlFolderPersistence = DLFolderUtil.getPersistence();
579: }
580:
581: if (counterLocalService == null) {
582: counterLocalService = CounterLocalServiceFactory.getImpl();
583: }
584:
585: if (counterService == null) {
586: counterService = CounterServiceFactory.getImpl();
587: }
588:
589: if (dlLocalService == null) {
590: dlLocalService = DLLocalServiceFactory.getImpl();
591: }
592:
593: if (dlService == null) {
594: dlService = DLServiceFactory.getImpl();
595: }
596:
597: if (lockService == null) {
598: lockService = LockServiceFactory.getImpl();
599: }
600:
601: if (resourceLocalService == null) {
602: resourceLocalService = ResourceLocalServiceFactory
603: .getImpl();
604: }
605:
606: if (resourceService == null) {
607: resourceService = ResourceServiceFactory.getImpl();
608: }
609:
610: if (resourcePersistence == null) {
611: resourcePersistence = ResourceUtil.getPersistence();
612: }
613:
614: if (resourceFinder == null) {
615: resourceFinder = ResourceFinderUtil.getFinder();
616: }
617:
618: if (userLocalService == null) {
619: userLocalService = UserLocalServiceFactory.getImpl();
620: }
621:
622: if (userService == null) {
623: userService = UserServiceFactory.getImpl();
624: }
625:
626: if (userPersistence == null) {
627: userPersistence = UserUtil.getPersistence();
628: }
629:
630: if (userFinder == null) {
631: userFinder = UserFinderUtil.getFinder();
632: }
633:
634: if (webDAVPropsLocalService == null) {
635: webDAVPropsLocalService = WebDAVPropsLocalServiceFactory
636: .getImpl();
637: }
638:
639: if (webDAVPropsPersistence == null) {
640: webDAVPropsPersistence = WebDAVPropsUtil.getPersistence();
641: }
642:
643: if (mbMessageLocalService == null) {
644: mbMessageLocalService = MBMessageLocalServiceFactory
645: .getImpl();
646: }
647:
648: if (mbMessageService == null) {
649: mbMessageService = MBMessageServiceFactory.getImpl();
650: }
651:
652: if (mbMessagePersistence == null) {
653: mbMessagePersistence = MBMessageUtil.getPersistence();
654: }
655:
656: if (mbMessageFinder == null) {
657: mbMessageFinder = MBMessageFinderUtil.getFinder();
658: }
659:
660: if (ratingsStatsLocalService == null) {
661: ratingsStatsLocalService = RatingsStatsLocalServiceFactory
662: .getImpl();
663: }
664:
665: if (ratingsStatsPersistence == null) {
666: ratingsStatsPersistence = RatingsStatsUtil.getPersistence();
667: }
668:
669: if (tagsAssetLocalService == null) {
670: tagsAssetLocalService = TagsAssetLocalServiceFactory
671: .getImpl();
672: }
673:
674: if (tagsAssetService == null) {
675: tagsAssetService = TagsAssetServiceFactory.getImpl();
676: }
677:
678: if (tagsAssetPersistence == null) {
679: tagsAssetPersistence = TagsAssetUtil.getPersistence();
680: }
681:
682: if (tagsAssetFinder == null) {
683: tagsAssetFinder = TagsAssetFinderUtil.getFinder();
684: }
685: }
686:
687: protected DLFileEntryPersistence dlFileEntryPersistence;
688: protected DLFileEntryFinder dlFileEntryFinder;
689: protected DLFileEntryAndShortcutFinder dlFileEntryAndShortcutFinder;
690: protected DLFileRankLocalService dlFileRankLocalService;
691: protected DLFileRankPersistence dlFileRankPersistence;
692: protected DLFileRankFinder dlFileRankFinder;
693: protected DLFileShortcutLocalService dlFileShortcutLocalService;
694: protected DLFileShortcutService dlFileShortcutService;
695: protected DLFileShortcutPersistence dlFileShortcutPersistence;
696: protected DLFileShortcutFinder dlFileShortcutFinder;
697: protected DLFileVersionLocalService dlFileVersionLocalService;
698: protected DLFileVersionPersistence dlFileVersionPersistence;
699: protected DLFolderLocalService dlFolderLocalService;
700: protected DLFolderService dlFolderService;
701: protected DLFolderPersistence dlFolderPersistence;
702: protected CounterLocalService counterLocalService;
703: protected CounterService counterService;
704: protected DLLocalService dlLocalService;
705: protected DLService dlService;
706: protected LockService lockService;
707: protected ResourceLocalService resourceLocalService;
708: protected ResourceService resourceService;
709: protected ResourcePersistence resourcePersistence;
710: protected ResourceFinder resourceFinder;
711: protected UserLocalService userLocalService;
712: protected UserService userService;
713: protected UserPersistence userPersistence;
714: protected UserFinder userFinder;
715: protected WebDAVPropsLocalService webDAVPropsLocalService;
716: protected WebDAVPropsPersistence webDAVPropsPersistence;
717: protected MBMessageLocalService mbMessageLocalService;
718: protected MBMessageService mbMessageService;
719: protected MBMessagePersistence mbMessagePersistence;
720: protected MBMessageFinder mbMessageFinder;
721: protected RatingsStatsLocalService ratingsStatsLocalService;
722: protected RatingsStatsPersistence ratingsStatsPersistence;
723: protected TagsAssetLocalService tagsAssetLocalService;
724: protected TagsAssetService tagsAssetService;
725: protected TagsAssetPersistence tagsAssetPersistence;
726: protected TagsAssetFinder tagsAssetFinder;
727: }
|