Source Code Cross Referenced for MBThreadLocalServiceBaseImpl.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portlet » messageboards » service » base » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » liferay portal 4.4.2 » com.liferay.portlet.messageboards.service.base 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


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.messageboards.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.SystemException;
034:        import com.liferay.portal.kernel.dao.DynamicQueryInitializer;
035:        import com.liferay.portal.service.ActivityTrackerLocalService;
036:        import com.liferay.portal.service.ActivityTrackerLocalServiceFactory;
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.persistence.ActivityTrackerFinder;
046:        import com.liferay.portal.service.persistence.ActivityTrackerFinderUtil;
047:        import com.liferay.portal.service.persistence.ActivityTrackerPersistence;
048:        import com.liferay.portal.service.persistence.ActivityTrackerUtil;
049:        import com.liferay.portal.service.persistence.ResourceFinder;
050:        import com.liferay.portal.service.persistence.ResourceFinderUtil;
051:        import com.liferay.portal.service.persistence.ResourcePersistence;
052:        import com.liferay.portal.service.persistence.ResourceUtil;
053:        import com.liferay.portal.service.persistence.UserFinder;
054:        import com.liferay.portal.service.persistence.UserFinderUtil;
055:        import com.liferay.portal.service.persistence.UserPersistence;
056:        import com.liferay.portal.service.persistence.UserUtil;
057:
058:        import com.liferay.portlet.messageboards.model.MBThread;
059:        import com.liferay.portlet.messageboards.model.impl.MBThreadImpl;
060:        import com.liferay.portlet.messageboards.service.MBBanLocalService;
061:        import com.liferay.portlet.messageboards.service.MBBanLocalServiceFactory;
062:        import com.liferay.portlet.messageboards.service.MBBanService;
063:        import com.liferay.portlet.messageboards.service.MBBanServiceFactory;
064:        import com.liferay.portlet.messageboards.service.MBCategoryLocalService;
065:        import com.liferay.portlet.messageboards.service.MBCategoryLocalServiceFactory;
066:        import com.liferay.portlet.messageboards.service.MBCategoryService;
067:        import com.liferay.portlet.messageboards.service.MBCategoryServiceFactory;
068:        import com.liferay.portlet.messageboards.service.MBMessageFlagLocalService;
069:        import com.liferay.portlet.messageboards.service.MBMessageFlagLocalServiceFactory;
070:        import com.liferay.portlet.messageboards.service.MBMessageLocalService;
071:        import com.liferay.portlet.messageboards.service.MBMessageLocalServiceFactory;
072:        import com.liferay.portlet.messageboards.service.MBMessageService;
073:        import com.liferay.portlet.messageboards.service.MBMessageServiceFactory;
074:        import com.liferay.portlet.messageboards.service.MBStatsUserLocalService;
075:        import com.liferay.portlet.messageboards.service.MBStatsUserLocalServiceFactory;
076:        import com.liferay.portlet.messageboards.service.MBThreadLocalService;
077:        import com.liferay.portlet.messageboards.service.persistence.MBBanPersistence;
078:        import com.liferay.portlet.messageboards.service.persistence.MBBanUtil;
079:        import com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder;
080:        import com.liferay.portlet.messageboards.service.persistence.MBCategoryFinderUtil;
081:        import com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence;
082:        import com.liferay.portlet.messageboards.service.persistence.MBCategoryUtil;
083:        import com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence;
084:        import com.liferay.portlet.messageboards.service.persistence.MBDiscussionUtil;
085:        import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
086:        import com.liferay.portlet.messageboards.service.persistence.MBMessageFinderUtil;
087:        import com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder;
088:        import com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinderUtil;
089:        import com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence;
090:        import com.liferay.portlet.messageboards.service.persistence.MBMessageFlagUtil;
091:        import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
092:        import com.liferay.portlet.messageboards.service.persistence.MBMessageUtil;
093:        import com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence;
094:        import com.liferay.portlet.messageboards.service.persistence.MBStatsUserUtil;
095:        import com.liferay.portlet.messageboards.service.persistence.MBThreadFinder;
096:        import com.liferay.portlet.messageboards.service.persistence.MBThreadFinderUtil;
097:        import com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence;
098:        import com.liferay.portlet.messageboards.service.persistence.MBThreadUtil;
099:        import com.liferay.portlet.tags.service.TagsAssetLocalService;
100:        import com.liferay.portlet.tags.service.TagsAssetLocalServiceFactory;
101:        import com.liferay.portlet.tags.service.TagsAssetService;
102:        import com.liferay.portlet.tags.service.TagsAssetServiceFactory;
103:        import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
104:        import com.liferay.portlet.tags.service.persistence.TagsAssetFinderUtil;
105:        import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
106:        import com.liferay.portlet.tags.service.persistence.TagsAssetUtil;
107:
108:        import org.springframework.beans.factory.InitializingBean;
109:
110:        import java.util.List;
111:
112:        /**
113:         * <a href="MBThreadLocalServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
114:         *
115:         * @author Brian Wing Shun Chan
116:         *
117:         */
118:        public abstract class MBThreadLocalServiceBaseImpl implements 
119:                MBThreadLocalService, InitializingBean {
120:            public MBThread addMBThread(MBThread model) throws SystemException {
121:                MBThread mbThread = new MBThreadImpl();
122:
123:                mbThread.setNew(true);
124:
125:                mbThread.setThreadId(model.getThreadId());
126:                mbThread.setCategoryId(model.getCategoryId());
127:                mbThread.setRootMessageId(model.getRootMessageId());
128:                mbThread.setMessageCount(model.getMessageCount());
129:                mbThread.setViewCount(model.getViewCount());
130:                mbThread.setLastPostByUserId(model.getLastPostByUserId());
131:                mbThread.setLastPostDate(model.getLastPostDate());
132:                mbThread.setPriority(model.getPriority());
133:
134:                return mbThreadPersistence.update(mbThread);
135:            }
136:
137:            public List dynamicQuery(DynamicQueryInitializer queryInitializer)
138:                    throws SystemException {
139:                return mbThreadPersistence
140:                        .findWithDynamicQuery(queryInitializer);
141:            }
142:
143:            public List dynamicQuery(DynamicQueryInitializer queryInitializer,
144:                    int begin, int end) throws SystemException {
145:                return mbThreadPersistence.findWithDynamicQuery(
146:                        queryInitializer, begin, end);
147:            }
148:
149:            public MBThread updateMBThread(MBThread model)
150:                    throws SystemException {
151:                return mbThreadPersistence.update(model, true);
152:            }
153:
154:            public MBBanLocalService getMBBanLocalService() {
155:                return mbBanLocalService;
156:            }
157:
158:            public void setMBBanLocalService(MBBanLocalService mbBanLocalService) {
159:                this .mbBanLocalService = mbBanLocalService;
160:            }
161:
162:            public MBBanService getMBBanService() {
163:                return mbBanService;
164:            }
165:
166:            public void setMBBanService(MBBanService mbBanService) {
167:                this .mbBanService = mbBanService;
168:            }
169:
170:            public MBBanPersistence getMBBanPersistence() {
171:                return mbBanPersistence;
172:            }
173:
174:            public void setMBBanPersistence(MBBanPersistence mbBanPersistence) {
175:                this .mbBanPersistence = mbBanPersistence;
176:            }
177:
178:            public MBCategoryLocalService getMBCategoryLocalService() {
179:                return mbCategoryLocalService;
180:            }
181:
182:            public void setMBCategoryLocalService(
183:                    MBCategoryLocalService mbCategoryLocalService) {
184:                this .mbCategoryLocalService = mbCategoryLocalService;
185:            }
186:
187:            public MBCategoryService getMBCategoryService() {
188:                return mbCategoryService;
189:            }
190:
191:            public void setMBCategoryService(MBCategoryService mbCategoryService) {
192:                this .mbCategoryService = mbCategoryService;
193:            }
194:
195:            public MBCategoryPersistence getMBCategoryPersistence() {
196:                return mbCategoryPersistence;
197:            }
198:
199:            public void setMBCategoryPersistence(
200:                    MBCategoryPersistence mbCategoryPersistence) {
201:                this .mbCategoryPersistence = mbCategoryPersistence;
202:            }
203:
204:            public MBCategoryFinder getMBCategoryFinder() {
205:                return mbCategoryFinder;
206:            }
207:
208:            public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder) {
209:                this .mbCategoryFinder = mbCategoryFinder;
210:            }
211:
212:            public MBDiscussionPersistence getMBDiscussionPersistence() {
213:                return mbDiscussionPersistence;
214:            }
215:
216:            public void setMBDiscussionPersistence(
217:                    MBDiscussionPersistence mbDiscussionPersistence) {
218:                this .mbDiscussionPersistence = mbDiscussionPersistence;
219:            }
220:
221:            public MBMessageLocalService getMBMessageLocalService() {
222:                return mbMessageLocalService;
223:            }
224:
225:            public void setMBMessageLocalService(
226:                    MBMessageLocalService mbMessageLocalService) {
227:                this .mbMessageLocalService = mbMessageLocalService;
228:            }
229:
230:            public MBMessageService getMBMessageService() {
231:                return mbMessageService;
232:            }
233:
234:            public void setMBMessageService(MBMessageService mbMessageService) {
235:                this .mbMessageService = mbMessageService;
236:            }
237:
238:            public MBMessagePersistence getMBMessagePersistence() {
239:                return mbMessagePersistence;
240:            }
241:
242:            public void setMBMessagePersistence(
243:                    MBMessagePersistence mbMessagePersistence) {
244:                this .mbMessagePersistence = mbMessagePersistence;
245:            }
246:
247:            public MBMessageFinder getMBMessageFinder() {
248:                return mbMessageFinder;
249:            }
250:
251:            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
252:                this .mbMessageFinder = mbMessageFinder;
253:            }
254:
255:            public MBMessageFlagLocalService getMBMessageFlagLocalService() {
256:                return mbMessageFlagLocalService;
257:            }
258:
259:            public void setMBMessageFlagLocalService(
260:                    MBMessageFlagLocalService mbMessageFlagLocalService) {
261:                this .mbMessageFlagLocalService = mbMessageFlagLocalService;
262:            }
263:
264:            public MBMessageFlagPersistence getMBMessageFlagPersistence() {
265:                return mbMessageFlagPersistence;
266:            }
267:
268:            public void setMBMessageFlagPersistence(
269:                    MBMessageFlagPersistence mbMessageFlagPersistence) {
270:                this .mbMessageFlagPersistence = mbMessageFlagPersistence;
271:            }
272:
273:            public MBMessageFlagFinder getMBMessageFlagFinder() {
274:                return mbMessageFlagFinder;
275:            }
276:
277:            public void setMBMessageFlagFinder(
278:                    MBMessageFlagFinder mbMessageFlagFinder) {
279:                this .mbMessageFlagFinder = mbMessageFlagFinder;
280:            }
281:
282:            public MBStatsUserLocalService getMBStatsUserLocalService() {
283:                return mbStatsUserLocalService;
284:            }
285:
286:            public void setMBStatsUserLocalService(
287:                    MBStatsUserLocalService mbStatsUserLocalService) {
288:                this .mbStatsUserLocalService = mbStatsUserLocalService;
289:            }
290:
291:            public MBStatsUserPersistence getMBStatsUserPersistence() {
292:                return mbStatsUserPersistence;
293:            }
294:
295:            public void setMBStatsUserPersistence(
296:                    MBStatsUserPersistence mbStatsUserPersistence) {
297:                this .mbStatsUserPersistence = mbStatsUserPersistence;
298:            }
299:
300:            public MBThreadPersistence getMBThreadPersistence() {
301:                return mbThreadPersistence;
302:            }
303:
304:            public void setMBThreadPersistence(
305:                    MBThreadPersistence mbThreadPersistence) {
306:                this .mbThreadPersistence = mbThreadPersistence;
307:            }
308:
309:            public MBThreadFinder getMBThreadFinder() {
310:                return mbThreadFinder;
311:            }
312:
313:            public void setMBThreadFinder(MBThreadFinder mbThreadFinder) {
314:                this .mbThreadFinder = mbThreadFinder;
315:            }
316:
317:            public CounterLocalService getCounterLocalService() {
318:                return counterLocalService;
319:            }
320:
321:            public void setCounterLocalService(
322:                    CounterLocalService counterLocalService) {
323:                this .counterLocalService = counterLocalService;
324:            }
325:
326:            public CounterService getCounterService() {
327:                return counterService;
328:            }
329:
330:            public void setCounterService(CounterService counterService) {
331:                this .counterService = counterService;
332:            }
333:
334:            public DLLocalService getDLLocalService() {
335:                return dlLocalService;
336:            }
337:
338:            public void setDLLocalService(DLLocalService dlLocalService) {
339:                this .dlLocalService = dlLocalService;
340:            }
341:
342:            public DLService getDLService() {
343:                return dlService;
344:            }
345:
346:            public void setDLService(DLService dlService) {
347:                this .dlService = dlService;
348:            }
349:
350:            public ActivityTrackerLocalService getActivityTrackerLocalService() {
351:                return activityTrackerLocalService;
352:            }
353:
354:            public void setActivityTrackerLocalService(
355:                    ActivityTrackerLocalService activityTrackerLocalService) {
356:                this .activityTrackerLocalService = activityTrackerLocalService;
357:            }
358:
359:            public ActivityTrackerPersistence getActivityTrackerPersistence() {
360:                return activityTrackerPersistence;
361:            }
362:
363:            public void setActivityTrackerPersistence(
364:                    ActivityTrackerPersistence activityTrackerPersistence) {
365:                this .activityTrackerPersistence = activityTrackerPersistence;
366:            }
367:
368:            public ActivityTrackerFinder getActivityTrackerFinder() {
369:                return activityTrackerFinder;
370:            }
371:
372:            public void setActivityTrackerFinder(
373:                    ActivityTrackerFinder activityTrackerFinder) {
374:                this .activityTrackerFinder = activityTrackerFinder;
375:            }
376:
377:            public ResourceLocalService getResourceLocalService() {
378:                return resourceLocalService;
379:            }
380:
381:            public void setResourceLocalService(
382:                    ResourceLocalService resourceLocalService) {
383:                this .resourceLocalService = resourceLocalService;
384:            }
385:
386:            public ResourceService getResourceService() {
387:                return resourceService;
388:            }
389:
390:            public void setResourceService(ResourceService resourceService) {
391:                this .resourceService = resourceService;
392:            }
393:
394:            public ResourcePersistence getResourcePersistence() {
395:                return resourcePersistence;
396:            }
397:
398:            public void setResourcePersistence(
399:                    ResourcePersistence resourcePersistence) {
400:                this .resourcePersistence = resourcePersistence;
401:            }
402:
403:            public ResourceFinder getResourceFinder() {
404:                return resourceFinder;
405:            }
406:
407:            public void setResourceFinder(ResourceFinder resourceFinder) {
408:                this .resourceFinder = resourceFinder;
409:            }
410:
411:            public UserLocalService getUserLocalService() {
412:                return userLocalService;
413:            }
414:
415:            public void setUserLocalService(UserLocalService userLocalService) {
416:                this .userLocalService = userLocalService;
417:            }
418:
419:            public UserService getUserService() {
420:                return userService;
421:            }
422:
423:            public void setUserService(UserService userService) {
424:                this .userService = userService;
425:            }
426:
427:            public UserPersistence getUserPersistence() {
428:                return userPersistence;
429:            }
430:
431:            public void setUserPersistence(UserPersistence userPersistence) {
432:                this .userPersistence = userPersistence;
433:            }
434:
435:            public UserFinder getUserFinder() {
436:                return userFinder;
437:            }
438:
439:            public void setUserFinder(UserFinder userFinder) {
440:                this .userFinder = userFinder;
441:            }
442:
443:            public TagsAssetLocalService getTagsAssetLocalService() {
444:                return tagsAssetLocalService;
445:            }
446:
447:            public void setTagsAssetLocalService(
448:                    TagsAssetLocalService tagsAssetLocalService) {
449:                this .tagsAssetLocalService = tagsAssetLocalService;
450:            }
451:
452:            public TagsAssetService getTagsAssetService() {
453:                return tagsAssetService;
454:            }
455:
456:            public void setTagsAssetService(TagsAssetService tagsAssetService) {
457:                this .tagsAssetService = tagsAssetService;
458:            }
459:
460:            public TagsAssetPersistence getTagsAssetPersistence() {
461:                return tagsAssetPersistence;
462:            }
463:
464:            public void setTagsAssetPersistence(
465:                    TagsAssetPersistence tagsAssetPersistence) {
466:                this .tagsAssetPersistence = tagsAssetPersistence;
467:            }
468:
469:            public TagsAssetFinder getTagsAssetFinder() {
470:                return tagsAssetFinder;
471:            }
472:
473:            public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
474:                this .tagsAssetFinder = tagsAssetFinder;
475:            }
476:
477:            public void afterPropertiesSet() {
478:                if (mbBanLocalService == null) {
479:                    mbBanLocalService = MBBanLocalServiceFactory.getImpl();
480:                }
481:
482:                if (mbBanService == null) {
483:                    mbBanService = MBBanServiceFactory.getImpl();
484:                }
485:
486:                if (mbBanPersistence == null) {
487:                    mbBanPersistence = MBBanUtil.getPersistence();
488:                }
489:
490:                if (mbCategoryLocalService == null) {
491:                    mbCategoryLocalService = MBCategoryLocalServiceFactory
492:                            .getImpl();
493:                }
494:
495:                if (mbCategoryService == null) {
496:                    mbCategoryService = MBCategoryServiceFactory.getImpl();
497:                }
498:
499:                if (mbCategoryPersistence == null) {
500:                    mbCategoryPersistence = MBCategoryUtil.getPersistence();
501:                }
502:
503:                if (mbCategoryFinder == null) {
504:                    mbCategoryFinder = MBCategoryFinderUtil.getFinder();
505:                }
506:
507:                if (mbDiscussionPersistence == null) {
508:                    mbDiscussionPersistence = MBDiscussionUtil.getPersistence();
509:                }
510:
511:                if (mbMessageLocalService == null) {
512:                    mbMessageLocalService = MBMessageLocalServiceFactory
513:                            .getImpl();
514:                }
515:
516:                if (mbMessageService == null) {
517:                    mbMessageService = MBMessageServiceFactory.getImpl();
518:                }
519:
520:                if (mbMessagePersistence == null) {
521:                    mbMessagePersistence = MBMessageUtil.getPersistence();
522:                }
523:
524:                if (mbMessageFinder == null) {
525:                    mbMessageFinder = MBMessageFinderUtil.getFinder();
526:                }
527:
528:                if (mbMessageFlagLocalService == null) {
529:                    mbMessageFlagLocalService = MBMessageFlagLocalServiceFactory
530:                            .getImpl();
531:                }
532:
533:                if (mbMessageFlagPersistence == null) {
534:                    mbMessageFlagPersistence = MBMessageFlagUtil
535:                            .getPersistence();
536:                }
537:
538:                if (mbMessageFlagFinder == null) {
539:                    mbMessageFlagFinder = MBMessageFlagFinderUtil.getFinder();
540:                }
541:
542:                if (mbStatsUserLocalService == null) {
543:                    mbStatsUserLocalService = MBStatsUserLocalServiceFactory
544:                            .getImpl();
545:                }
546:
547:                if (mbStatsUserPersistence == null) {
548:                    mbStatsUserPersistence = MBStatsUserUtil.getPersistence();
549:                }
550:
551:                if (mbThreadPersistence == null) {
552:                    mbThreadPersistence = MBThreadUtil.getPersistence();
553:                }
554:
555:                if (mbThreadFinder == null) {
556:                    mbThreadFinder = MBThreadFinderUtil.getFinder();
557:                }
558:
559:                if (counterLocalService == null) {
560:                    counterLocalService = CounterLocalServiceFactory.getImpl();
561:                }
562:
563:                if (counterService == null) {
564:                    counterService = CounterServiceFactory.getImpl();
565:                }
566:
567:                if (dlLocalService == null) {
568:                    dlLocalService = DLLocalServiceFactory.getImpl();
569:                }
570:
571:                if (dlService == null) {
572:                    dlService = DLServiceFactory.getImpl();
573:                }
574:
575:                if (activityTrackerLocalService == null) {
576:                    activityTrackerLocalService = ActivityTrackerLocalServiceFactory
577:                            .getImpl();
578:                }
579:
580:                if (activityTrackerPersistence == null) {
581:                    activityTrackerPersistence = ActivityTrackerUtil
582:                            .getPersistence();
583:                }
584:
585:                if (activityTrackerFinder == null) {
586:                    activityTrackerFinder = ActivityTrackerFinderUtil
587:                            .getFinder();
588:                }
589:
590:                if (resourceLocalService == null) {
591:                    resourceLocalService = ResourceLocalServiceFactory
592:                            .getImpl();
593:                }
594:
595:                if (resourceService == null) {
596:                    resourceService = ResourceServiceFactory.getImpl();
597:                }
598:
599:                if (resourcePersistence == null) {
600:                    resourcePersistence = ResourceUtil.getPersistence();
601:                }
602:
603:                if (resourceFinder == null) {
604:                    resourceFinder = ResourceFinderUtil.getFinder();
605:                }
606:
607:                if (userLocalService == null) {
608:                    userLocalService = UserLocalServiceFactory.getImpl();
609:                }
610:
611:                if (userService == null) {
612:                    userService = UserServiceFactory.getImpl();
613:                }
614:
615:                if (userPersistence == null) {
616:                    userPersistence = UserUtil.getPersistence();
617:                }
618:
619:                if (userFinder == null) {
620:                    userFinder = UserFinderUtil.getFinder();
621:                }
622:
623:                if (tagsAssetLocalService == null) {
624:                    tagsAssetLocalService = TagsAssetLocalServiceFactory
625:                            .getImpl();
626:                }
627:
628:                if (tagsAssetService == null) {
629:                    tagsAssetService = TagsAssetServiceFactory.getImpl();
630:                }
631:
632:                if (tagsAssetPersistence == null) {
633:                    tagsAssetPersistence = TagsAssetUtil.getPersistence();
634:                }
635:
636:                if (tagsAssetFinder == null) {
637:                    tagsAssetFinder = TagsAssetFinderUtil.getFinder();
638:                }
639:            }
640:
641:            protected MBBanLocalService mbBanLocalService;
642:            protected MBBanService mbBanService;
643:            protected MBBanPersistence mbBanPersistence;
644:            protected MBCategoryLocalService mbCategoryLocalService;
645:            protected MBCategoryService mbCategoryService;
646:            protected MBCategoryPersistence mbCategoryPersistence;
647:            protected MBCategoryFinder mbCategoryFinder;
648:            protected MBDiscussionPersistence mbDiscussionPersistence;
649:            protected MBMessageLocalService mbMessageLocalService;
650:            protected MBMessageService mbMessageService;
651:            protected MBMessagePersistence mbMessagePersistence;
652:            protected MBMessageFinder mbMessageFinder;
653:            protected MBMessageFlagLocalService mbMessageFlagLocalService;
654:            protected MBMessageFlagPersistence mbMessageFlagPersistence;
655:            protected MBMessageFlagFinder mbMessageFlagFinder;
656:            protected MBStatsUserLocalService mbStatsUserLocalService;
657:            protected MBStatsUserPersistence mbStatsUserPersistence;
658:            protected MBThreadPersistence mbThreadPersistence;
659:            protected MBThreadFinder mbThreadFinder;
660:            protected CounterLocalService counterLocalService;
661:            protected CounterService counterService;
662:            protected DLLocalService dlLocalService;
663:            protected DLService dlService;
664:            protected ActivityTrackerLocalService activityTrackerLocalService;
665:            protected ActivityTrackerPersistence activityTrackerPersistence;
666:            protected ActivityTrackerFinder activityTrackerFinder;
667:            protected ResourceLocalService resourceLocalService;
668:            protected ResourceService resourceService;
669:            protected ResourcePersistence resourcePersistence;
670:            protected ResourceFinder resourceFinder;
671:            protected UserLocalService userLocalService;
672:            protected UserService userService;
673:            protected UserPersistence userPersistence;
674:            protected UserFinder userFinder;
675:            protected TagsAssetLocalService tagsAssetLocalService;
676:            protected TagsAssetService tagsAssetService;
677:            protected TagsAssetPersistence tagsAssetPersistence;
678:            protected TagsAssetFinder tagsAssetFinder;
679:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.