Source Code Cross Referenced for JournalArticleResourceLocalServiceUtil.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portlet » journal » service » 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 
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;
022:
023:        /**
024:         * <a href="JournalArticleResourceLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
025:         *
026:         * <p>
027:         * ServiceBuilder generated this class. Modifications in this class will be
028:         * overwritten the next time is generated.
029:         * </p>
030:         *
031:         * <p>
032:         * This class provides static methods for the
033:         * <code>com.liferay.portlet.journal.service.JournalArticleResourceLocalService</code>
034:         * bean. The static methods of this class calls the same methods of the bean
035:         * instance. It's convenient to be able to just write one line to call a method
036:         * on a bean instead of writing a lookup call and a method call.
037:         * </p>
038:         *
039:         * <p>
040:         * <code>com.liferay.portlet.journal.service.JournalArticleResourceLocalServiceFactory</code>
041:         * is responsible for the lookup of the bean.
042:         * </p>
043:         *
044:         * @author Brian Wing Shun Chan
045:         *
046:         * @see com.liferay.portlet.journal.service.JournalArticleResourceLocalService
047:         * @see com.liferay.portlet.journal.service.JournalArticleResourceLocalServiceFactory
048:         *
049:         */
050:        public class JournalArticleResourceLocalServiceUtil {
051:            public static com.liferay.portlet.journal.model.JournalArticleResource addJournalArticleResource(
052:                    com.liferay.portlet.journal.model.JournalArticleResource model)
053:                    throws com.liferay.portal.SystemException {
054:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
055:                        .getService();
056:
057:                return journalArticleResourceLocalService
058:                        .addJournalArticleResource(model);
059:            }
060:
061:            public static java.util.List dynamicQuery(
062:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
063:                    throws com.liferay.portal.SystemException {
064:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
065:                        .getService();
066:
067:                return journalArticleResourceLocalService
068:                        .dynamicQuery(queryInitializer);
069:            }
070:
071:            public static java.util.List dynamicQuery(
072:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
073:                    int begin, int end)
074:                    throws com.liferay.portal.SystemException {
075:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
076:                        .getService();
077:
078:                return journalArticleResourceLocalService.dynamicQuery(
079:                        queryInitializer, begin, end);
080:            }
081:
082:            public static com.liferay.portlet.journal.model.JournalArticleResource updateJournalArticleResource(
083:                    com.liferay.portlet.journal.model.JournalArticleResource model)
084:                    throws com.liferay.portal.SystemException {
085:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
086:                        .getService();
087:
088:                return journalArticleResourceLocalService
089:                        .updateJournalArticleResource(model);
090:            }
091:
092:            public static com.liferay.portlet.journal.service.persistence.JournalArticlePersistence getJournalArticlePersistence() {
093:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
094:                        .getService();
095:
096:                return journalArticleResourceLocalService
097:                        .getJournalArticlePersistence();
098:            }
099:
100:            public static void setJournalArticlePersistence(
101:                    com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence) {
102:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
103:                        .getService();
104:
105:                journalArticleResourceLocalService
106:                        .setJournalArticlePersistence(journalArticlePersistence);
107:            }
108:
109:            public static com.liferay.portlet.journal.service.persistence.JournalArticleFinder getJournalArticleFinder() {
110:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
111:                        .getService();
112:
113:                return journalArticleResourceLocalService
114:                        .getJournalArticleFinder();
115:            }
116:
117:            public static void setJournalArticleFinder(
118:                    com.liferay.portlet.journal.service.persistence.JournalArticleFinder journalArticleFinder) {
119:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
120:                        .getService();
121:
122:                journalArticleResourceLocalService
123:                        .setJournalArticleFinder(journalArticleFinder);
124:            }
125:
126:            public static com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence getJournalArticleImagePersistence() {
127:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
128:                        .getService();
129:
130:                return journalArticleResourceLocalService
131:                        .getJournalArticleImagePersistence();
132:            }
133:
134:            public static void setJournalArticleImagePersistence(
135:                    com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence journalArticleImagePersistence) {
136:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
137:                        .getService();
138:
139:                journalArticleResourceLocalService
140:                        .setJournalArticleImagePersistence(journalArticleImagePersistence);
141:            }
142:
143:            public static com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
144:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
145:                        .getService();
146:
147:                return journalArticleResourceLocalService
148:                        .getJournalArticleResourcePersistence();
149:            }
150:
151:            public static void setJournalArticleResourcePersistence(
152:                    com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence) {
153:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
154:                        .getService();
155:
156:                journalArticleResourceLocalService
157:                        .setJournalArticleResourcePersistence(journalArticleResourcePersistence);
158:            }
159:
160:            public static com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence getJournalContentSearchPersistence() {
161:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
162:                        .getService();
163:
164:                return journalArticleResourceLocalService
165:                        .getJournalContentSearchPersistence();
166:            }
167:
168:            public static void setJournalContentSearchPersistence(
169:                    com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence) {
170:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
171:                        .getService();
172:
173:                journalArticleResourceLocalService
174:                        .setJournalContentSearchPersistence(journalContentSearchPersistence);
175:            }
176:
177:            public static com.liferay.portlet.journal.service.persistence.JournalFeedPersistence getJournalFeedPersistence() {
178:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
179:                        .getService();
180:
181:                return journalArticleResourceLocalService
182:                        .getJournalFeedPersistence();
183:            }
184:
185:            public static void setJournalFeedPersistence(
186:                    com.liferay.portlet.journal.service.persistence.JournalFeedPersistence journalFeedPersistence) {
187:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
188:                        .getService();
189:
190:                journalArticleResourceLocalService
191:                        .setJournalFeedPersistence(journalFeedPersistence);
192:            }
193:
194:            public static com.liferay.portlet.journal.service.persistence.JournalFeedFinder getJournalFeedFinder() {
195:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
196:                        .getService();
197:
198:                return journalArticleResourceLocalService
199:                        .getJournalFeedFinder();
200:            }
201:
202:            public static void setJournalFeedFinder(
203:                    com.liferay.portlet.journal.service.persistence.JournalFeedFinder journalFeedFinder) {
204:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
205:                        .getService();
206:
207:                journalArticleResourceLocalService
208:                        .setJournalFeedFinder(journalFeedFinder);
209:            }
210:
211:            public static com.liferay.portlet.journal.service.persistence.JournalStructurePersistence getJournalStructurePersistence() {
212:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
213:                        .getService();
214:
215:                return journalArticleResourceLocalService
216:                        .getJournalStructurePersistence();
217:            }
218:
219:            public static void setJournalStructurePersistence(
220:                    com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence) {
221:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
222:                        .getService();
223:
224:                journalArticleResourceLocalService
225:                        .setJournalStructurePersistence(journalStructurePersistence);
226:            }
227:
228:            public static com.liferay.portlet.journal.service.persistence.JournalStructureFinder getJournalStructureFinder() {
229:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
230:                        .getService();
231:
232:                return journalArticleResourceLocalService
233:                        .getJournalStructureFinder();
234:            }
235:
236:            public static void setJournalStructureFinder(
237:                    com.liferay.portlet.journal.service.persistence.JournalStructureFinder journalStructureFinder) {
238:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
239:                        .getService();
240:
241:                journalArticleResourceLocalService
242:                        .setJournalStructureFinder(journalStructureFinder);
243:            }
244:
245:            public static com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence getJournalTemplatePersistence() {
246:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
247:                        .getService();
248:
249:                return journalArticleResourceLocalService
250:                        .getJournalTemplatePersistence();
251:            }
252:
253:            public static void setJournalTemplatePersistence(
254:                    com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence) {
255:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
256:                        .getService();
257:
258:                journalArticleResourceLocalService
259:                        .setJournalTemplatePersistence(journalTemplatePersistence);
260:            }
261:
262:            public static com.liferay.portlet.journal.service.persistence.JournalTemplateFinder getJournalTemplateFinder() {
263:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
264:                        .getService();
265:
266:                return journalArticleResourceLocalService
267:                        .getJournalTemplateFinder();
268:            }
269:
270:            public static void setJournalTemplateFinder(
271:                    com.liferay.portlet.journal.service.persistence.JournalTemplateFinder journalTemplateFinder) {
272:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
273:                        .getService();
274:
275:                journalArticleResourceLocalService
276:                        .setJournalTemplateFinder(journalTemplateFinder);
277:            }
278:
279:            public static void afterPropertiesSet() {
280:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
281:                        .getService();
282:
283:                journalArticleResourceLocalService.afterPropertiesSet();
284:            }
285:
286:            public static void deleteArticleResource(long groupId,
287:                    java.lang.String articleId)
288:                    throws com.liferay.portal.PortalException,
289:                    com.liferay.portal.SystemException {
290:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
291:                        .getService();
292:
293:                journalArticleResourceLocalService.deleteArticleResource(
294:                        groupId, articleId);
295:            }
296:
297:            public static com.liferay.portlet.journal.model.JournalArticleResource getArticleResource(
298:                    long articleResourceId)
299:                    throws com.liferay.portal.PortalException,
300:                    com.liferay.portal.SystemException {
301:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
302:                        .getService();
303:
304:                return journalArticleResourceLocalService
305:                        .getArticleResource(articleResourceId);
306:            }
307:
308:            public static long getArticleResourcePrimKey(long groupId,
309:                    java.lang.String articleId)
310:                    throws com.liferay.portal.PortalException,
311:                    com.liferay.portal.SystemException {
312:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
313:                        .getService();
314:
315:                return journalArticleResourceLocalService
316:                        .getArticleResourcePrimKey(groupId, articleId);
317:            }
318:
319:            public static java.util.List getArticleResources(long groupId)
320:                    throws com.liferay.portal.SystemException {
321:                JournalArticleResourceLocalService journalArticleResourceLocalService = JournalArticleResourceLocalServiceFactory
322:                        .getService();
323:
324:                return journalArticleResourceLocalService
325:                        .getArticleResources(groupId);
326:            }
327:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.