Source Code Cross Referenced for JournalArticleResourceLocalServiceBaseImpl.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portlet » journal » 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.journal.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.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.SystemException;
029:        import com.liferay.portal.kernel.dao.DynamicQueryInitializer;
030:
031:        import com.liferay.portlet.journal.model.JournalArticleResource;
032:        import com.liferay.portlet.journal.model.impl.JournalArticleResourceImpl;
033:        import com.liferay.portlet.journal.service.JournalArticleImageLocalService;
034:        import com.liferay.portlet.journal.service.JournalArticleImageLocalServiceFactory;
035:        import com.liferay.portlet.journal.service.JournalArticleLocalService;
036:        import com.liferay.portlet.journal.service.JournalArticleLocalServiceFactory;
037:        import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
038:        import com.liferay.portlet.journal.service.JournalArticleService;
039:        import com.liferay.portlet.journal.service.JournalArticleServiceFactory;
040:        import com.liferay.portlet.journal.service.JournalContentSearchLocalService;
041:        import com.liferay.portlet.journal.service.JournalContentSearchLocalServiceFactory;
042:        import com.liferay.portlet.journal.service.JournalFeedLocalService;
043:        import com.liferay.portlet.journal.service.JournalFeedLocalServiceFactory;
044:        import com.liferay.portlet.journal.service.JournalFeedService;
045:        import com.liferay.portlet.journal.service.JournalFeedServiceFactory;
046:        import com.liferay.portlet.journal.service.JournalStructureLocalService;
047:        import com.liferay.portlet.journal.service.JournalStructureLocalServiceFactory;
048:        import com.liferay.portlet.journal.service.JournalStructureService;
049:        import com.liferay.portlet.journal.service.JournalStructureServiceFactory;
050:        import com.liferay.portlet.journal.service.JournalTemplateLocalService;
051:        import com.liferay.portlet.journal.service.JournalTemplateLocalServiceFactory;
052:        import com.liferay.portlet.journal.service.JournalTemplateService;
053:        import com.liferay.portlet.journal.service.JournalTemplateServiceFactory;
054:        import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
055:        import com.liferay.portlet.journal.service.persistence.JournalArticleFinderUtil;
056:        import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
057:        import com.liferay.portlet.journal.service.persistence.JournalArticleImageUtil;
058:        import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
059:        import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
060:        import com.liferay.portlet.journal.service.persistence.JournalArticleResourceUtil;
061:        import com.liferay.portlet.journal.service.persistence.JournalArticleUtil;
062:        import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
063:        import com.liferay.portlet.journal.service.persistence.JournalContentSearchUtil;
064:        import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
065:        import com.liferay.portlet.journal.service.persistence.JournalFeedFinderUtil;
066:        import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
067:        import com.liferay.portlet.journal.service.persistence.JournalFeedUtil;
068:        import com.liferay.portlet.journal.service.persistence.JournalStructureFinder;
069:        import com.liferay.portlet.journal.service.persistence.JournalStructureFinderUtil;
070:        import com.liferay.portlet.journal.service.persistence.JournalStructurePersistence;
071:        import com.liferay.portlet.journal.service.persistence.JournalStructureUtil;
072:        import com.liferay.portlet.journal.service.persistence.JournalTemplateFinder;
073:        import com.liferay.portlet.journal.service.persistence.JournalTemplateFinderUtil;
074:        import com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence;
075:        import com.liferay.portlet.journal.service.persistence.JournalTemplateUtil;
076:
077:        import org.springframework.beans.factory.InitializingBean;
078:
079:        import java.util.List;
080:
081:        /**
082:         * <a href="JournalArticleResourceLocalServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
083:         *
084:         * @author Brian Wing Shun Chan
085:         *
086:         */
087:        public abstract class JournalArticleResourceLocalServiceBaseImpl
088:                implements  JournalArticleResourceLocalService, InitializingBean {
089:            public JournalArticleResource addJournalArticleResource(
090:                    JournalArticleResource model) throws SystemException {
091:                JournalArticleResource journalArticleResource = new JournalArticleResourceImpl();
092:
093:                journalArticleResource.setNew(true);
094:
095:                journalArticleResource.setResourcePrimKey(model
096:                        .getResourcePrimKey());
097:                journalArticleResource.setGroupId(model.getGroupId());
098:                journalArticleResource.setArticleId(model.getArticleId());
099:
100:                return journalArticleResourcePersistence
101:                        .update(journalArticleResource);
102:            }
103:
104:            public List dynamicQuery(DynamicQueryInitializer queryInitializer)
105:                    throws SystemException {
106:                return journalArticleResourcePersistence
107:                        .findWithDynamicQuery(queryInitializer);
108:            }
109:
110:            public List dynamicQuery(DynamicQueryInitializer queryInitializer,
111:                    int begin, int end) throws SystemException {
112:                return journalArticleResourcePersistence.findWithDynamicQuery(
113:                        queryInitializer, begin, end);
114:            }
115:
116:            public JournalArticleResource updateJournalArticleResource(
117:                    JournalArticleResource model) throws SystemException {
118:                return journalArticleResourcePersistence.update(model, true);
119:            }
120:
121:            public JournalArticleLocalService getJournalArticleLocalService() {
122:                return journalArticleLocalService;
123:            }
124:
125:            public void setJournalArticleLocalService(
126:                    JournalArticleLocalService journalArticleLocalService) {
127:                this .journalArticleLocalService = journalArticleLocalService;
128:            }
129:
130:            public JournalArticleService getJournalArticleService() {
131:                return journalArticleService;
132:            }
133:
134:            public void setJournalArticleService(
135:                    JournalArticleService journalArticleService) {
136:                this .journalArticleService = journalArticleService;
137:            }
138:
139:            public JournalArticlePersistence getJournalArticlePersistence() {
140:                return journalArticlePersistence;
141:            }
142:
143:            public void setJournalArticlePersistence(
144:                    JournalArticlePersistence journalArticlePersistence) {
145:                this .journalArticlePersistence = journalArticlePersistence;
146:            }
147:
148:            public JournalArticleFinder getJournalArticleFinder() {
149:                return journalArticleFinder;
150:            }
151:
152:            public void setJournalArticleFinder(
153:                    JournalArticleFinder journalArticleFinder) {
154:                this .journalArticleFinder = journalArticleFinder;
155:            }
156:
157:            public JournalArticleImageLocalService getJournalArticleImageLocalService() {
158:                return journalArticleImageLocalService;
159:            }
160:
161:            public void setJournalArticleImageLocalService(
162:                    JournalArticleImageLocalService journalArticleImageLocalService) {
163:                this .journalArticleImageLocalService = journalArticleImageLocalService;
164:            }
165:
166:            public JournalArticleImagePersistence getJournalArticleImagePersistence() {
167:                return journalArticleImagePersistence;
168:            }
169:
170:            public void setJournalArticleImagePersistence(
171:                    JournalArticleImagePersistence journalArticleImagePersistence) {
172:                this .journalArticleImagePersistence = journalArticleImagePersistence;
173:            }
174:
175:            public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
176:                return journalArticleResourcePersistence;
177:            }
178:
179:            public void setJournalArticleResourcePersistence(
180:                    JournalArticleResourcePersistence journalArticleResourcePersistence) {
181:                this .journalArticleResourcePersistence = journalArticleResourcePersistence;
182:            }
183:
184:            public JournalContentSearchLocalService getJournalContentSearchLocalService() {
185:                return journalContentSearchLocalService;
186:            }
187:
188:            public void setJournalContentSearchLocalService(
189:                    JournalContentSearchLocalService journalContentSearchLocalService) {
190:                this .journalContentSearchLocalService = journalContentSearchLocalService;
191:            }
192:
193:            public JournalContentSearchPersistence getJournalContentSearchPersistence() {
194:                return journalContentSearchPersistence;
195:            }
196:
197:            public void setJournalContentSearchPersistence(
198:                    JournalContentSearchPersistence journalContentSearchPersistence) {
199:                this .journalContentSearchPersistence = journalContentSearchPersistence;
200:            }
201:
202:            public JournalFeedLocalService getJournalFeedLocalService() {
203:                return journalFeedLocalService;
204:            }
205:
206:            public void setJournalFeedLocalService(
207:                    JournalFeedLocalService journalFeedLocalService) {
208:                this .journalFeedLocalService = journalFeedLocalService;
209:            }
210:
211:            public JournalFeedService getJournalFeedService() {
212:                return journalFeedService;
213:            }
214:
215:            public void setJournalFeedService(
216:                    JournalFeedService journalFeedService) {
217:                this .journalFeedService = journalFeedService;
218:            }
219:
220:            public JournalFeedPersistence getJournalFeedPersistence() {
221:                return journalFeedPersistence;
222:            }
223:
224:            public void setJournalFeedPersistence(
225:                    JournalFeedPersistence journalFeedPersistence) {
226:                this .journalFeedPersistence = journalFeedPersistence;
227:            }
228:
229:            public JournalFeedFinder getJournalFeedFinder() {
230:                return journalFeedFinder;
231:            }
232:
233:            public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder) {
234:                this .journalFeedFinder = journalFeedFinder;
235:            }
236:
237:            public JournalStructureLocalService getJournalStructureLocalService() {
238:                return journalStructureLocalService;
239:            }
240:
241:            public void setJournalStructureLocalService(
242:                    JournalStructureLocalService journalStructureLocalService) {
243:                this .journalStructureLocalService = journalStructureLocalService;
244:            }
245:
246:            public JournalStructureService getJournalStructureService() {
247:                return journalStructureService;
248:            }
249:
250:            public void setJournalStructureService(
251:                    JournalStructureService journalStructureService) {
252:                this .journalStructureService = journalStructureService;
253:            }
254:
255:            public JournalStructurePersistence getJournalStructurePersistence() {
256:                return journalStructurePersistence;
257:            }
258:
259:            public void setJournalStructurePersistence(
260:                    JournalStructurePersistence journalStructurePersistence) {
261:                this .journalStructurePersistence = journalStructurePersistence;
262:            }
263:
264:            public JournalStructureFinder getJournalStructureFinder() {
265:                return journalStructureFinder;
266:            }
267:
268:            public void setJournalStructureFinder(
269:                    JournalStructureFinder journalStructureFinder) {
270:                this .journalStructureFinder = journalStructureFinder;
271:            }
272:
273:            public JournalTemplateLocalService getJournalTemplateLocalService() {
274:                return journalTemplateLocalService;
275:            }
276:
277:            public void setJournalTemplateLocalService(
278:                    JournalTemplateLocalService journalTemplateLocalService) {
279:                this .journalTemplateLocalService = journalTemplateLocalService;
280:            }
281:
282:            public JournalTemplateService getJournalTemplateService() {
283:                return journalTemplateService;
284:            }
285:
286:            public void setJournalTemplateService(
287:                    JournalTemplateService journalTemplateService) {
288:                this .journalTemplateService = journalTemplateService;
289:            }
290:
291:            public JournalTemplatePersistence getJournalTemplatePersistence() {
292:                return journalTemplatePersistence;
293:            }
294:
295:            public void setJournalTemplatePersistence(
296:                    JournalTemplatePersistence journalTemplatePersistence) {
297:                this .journalTemplatePersistence = journalTemplatePersistence;
298:            }
299:
300:            public JournalTemplateFinder getJournalTemplateFinder() {
301:                return journalTemplateFinder;
302:            }
303:
304:            public void setJournalTemplateFinder(
305:                    JournalTemplateFinder journalTemplateFinder) {
306:                this .journalTemplateFinder = journalTemplateFinder;
307:            }
308:
309:            public CounterLocalService getCounterLocalService() {
310:                return counterLocalService;
311:            }
312:
313:            public void setCounterLocalService(
314:                    CounterLocalService counterLocalService) {
315:                this .counterLocalService = counterLocalService;
316:            }
317:
318:            public CounterService getCounterService() {
319:                return counterService;
320:            }
321:
322:            public void setCounterService(CounterService counterService) {
323:                this .counterService = counterService;
324:            }
325:
326:            public void afterPropertiesSet() {
327:                if (journalArticleLocalService == null) {
328:                    journalArticleLocalService = JournalArticleLocalServiceFactory
329:                            .getImpl();
330:                }
331:
332:                if (journalArticleService == null) {
333:                    journalArticleService = JournalArticleServiceFactory
334:                            .getImpl();
335:                }
336:
337:                if (journalArticlePersistence == null) {
338:                    journalArticlePersistence = JournalArticleUtil
339:                            .getPersistence();
340:                }
341:
342:                if (journalArticleFinder == null) {
343:                    journalArticleFinder = JournalArticleFinderUtil.getFinder();
344:                }
345:
346:                if (journalArticleImageLocalService == null) {
347:                    journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
348:                            .getImpl();
349:                }
350:
351:                if (journalArticleImagePersistence == null) {
352:                    journalArticleImagePersistence = JournalArticleImageUtil
353:                            .getPersistence();
354:                }
355:
356:                if (journalArticleResourcePersistence == null) {
357:                    journalArticleResourcePersistence = JournalArticleResourceUtil
358:                            .getPersistence();
359:                }
360:
361:                if (journalContentSearchLocalService == null) {
362:                    journalContentSearchLocalService = JournalContentSearchLocalServiceFactory
363:                            .getImpl();
364:                }
365:
366:                if (journalContentSearchPersistence == null) {
367:                    journalContentSearchPersistence = JournalContentSearchUtil
368:                            .getPersistence();
369:                }
370:
371:                if (journalFeedLocalService == null) {
372:                    journalFeedLocalService = JournalFeedLocalServiceFactory
373:                            .getImpl();
374:                }
375:
376:                if (journalFeedService == null) {
377:                    journalFeedService = JournalFeedServiceFactory.getImpl();
378:                }
379:
380:                if (journalFeedPersistence == null) {
381:                    journalFeedPersistence = JournalFeedUtil.getPersistence();
382:                }
383:
384:                if (journalFeedFinder == null) {
385:                    journalFeedFinder = JournalFeedFinderUtil.getFinder();
386:                }
387:
388:                if (journalStructureLocalService == null) {
389:                    journalStructureLocalService = JournalStructureLocalServiceFactory
390:                            .getImpl();
391:                }
392:
393:                if (journalStructureService == null) {
394:                    journalStructureService = JournalStructureServiceFactory
395:                            .getImpl();
396:                }
397:
398:                if (journalStructurePersistence == null) {
399:                    journalStructurePersistence = JournalStructureUtil
400:                            .getPersistence();
401:                }
402:
403:                if (journalStructureFinder == null) {
404:                    journalStructureFinder = JournalStructureFinderUtil
405:                            .getFinder();
406:                }
407:
408:                if (journalTemplateLocalService == null) {
409:                    journalTemplateLocalService = JournalTemplateLocalServiceFactory
410:                            .getImpl();
411:                }
412:
413:                if (journalTemplateService == null) {
414:                    journalTemplateService = JournalTemplateServiceFactory
415:                            .getImpl();
416:                }
417:
418:                if (journalTemplatePersistence == null) {
419:                    journalTemplatePersistence = JournalTemplateUtil
420:                            .getPersistence();
421:                }
422:
423:                if (journalTemplateFinder == null) {
424:                    journalTemplateFinder = JournalTemplateFinderUtil
425:                            .getFinder();
426:                }
427:
428:                if (counterLocalService == null) {
429:                    counterLocalService = CounterLocalServiceFactory.getImpl();
430:                }
431:
432:                if (counterService == null) {
433:                    counterService = CounterServiceFactory.getImpl();
434:                }
435:            }
436:
437:            protected JournalArticleLocalService journalArticleLocalService;
438:            protected JournalArticleService journalArticleService;
439:            protected JournalArticlePersistence journalArticlePersistence;
440:            protected JournalArticleFinder journalArticleFinder;
441:            protected JournalArticleImageLocalService journalArticleImageLocalService;
442:            protected JournalArticleImagePersistence journalArticleImagePersistence;
443:            protected JournalArticleResourcePersistence journalArticleResourcePersistence;
444:            protected JournalContentSearchLocalService journalContentSearchLocalService;
445:            protected JournalContentSearchPersistence journalContentSearchPersistence;
446:            protected JournalFeedLocalService journalFeedLocalService;
447:            protected JournalFeedService journalFeedService;
448:            protected JournalFeedPersistence journalFeedPersistence;
449:            protected JournalFeedFinder journalFeedFinder;
450:            protected JournalStructureLocalService journalStructureLocalService;
451:            protected JournalStructureService journalStructureService;
452:            protected JournalStructurePersistence journalStructurePersistence;
453:            protected JournalStructureFinder journalStructureFinder;
454:            protected JournalTemplateLocalService journalTemplateLocalService;
455:            protected JournalTemplateService journalTemplateService;
456:            protected JournalTemplatePersistence journalTemplatePersistence;
457:            protected JournalTemplateFinder journalTemplateFinder;
458:            protected CounterLocalService counterLocalService;
459:            protected CounterService counterService;
460:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.