Source Code Cross Referenced for JournalArticleImageLocalServiceUtil.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="JournalArticleImageLocalServiceUtil.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.JournalArticleImageLocalService</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.JournalArticleImageLocalServiceFactory</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.JournalArticleImageLocalService
047:         * @see com.liferay.portlet.journal.service.JournalArticleImageLocalServiceFactory
048:         *
049:         */
050:        public class JournalArticleImageLocalServiceUtil {
051:            public static com.liferay.portlet.journal.model.JournalArticleImage addJournalArticleImage(
052:                    com.liferay.portlet.journal.model.JournalArticleImage model)
053:                    throws com.liferay.portal.SystemException {
054:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
055:                        .getService();
056:
057:                return journalArticleImageLocalService
058:                        .addJournalArticleImage(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:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
065:                        .getService();
066:
067:                return journalArticleImageLocalService
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:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
076:                        .getService();
077:
078:                return journalArticleImageLocalService.dynamicQuery(
079:                        queryInitializer, begin, end);
080:            }
081:
082:            public static com.liferay.portlet.journal.model.JournalArticleImage updateJournalArticleImage(
083:                    com.liferay.portlet.journal.model.JournalArticleImage model)
084:                    throws com.liferay.portal.SystemException {
085:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
086:                        .getService();
087:
088:                return journalArticleImageLocalService
089:                        .updateJournalArticleImage(model);
090:            }
091:
092:            public static com.liferay.portlet.journal.service.persistence.JournalArticlePersistence getJournalArticlePersistence() {
093:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
094:                        .getService();
095:
096:                return journalArticleImageLocalService
097:                        .getJournalArticlePersistence();
098:            }
099:
100:            public static void setJournalArticlePersistence(
101:                    com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence) {
102:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
103:                        .getService();
104:
105:                journalArticleImageLocalService
106:                        .setJournalArticlePersistence(journalArticlePersistence);
107:            }
108:
109:            public static com.liferay.portlet.journal.service.persistence.JournalArticleFinder getJournalArticleFinder() {
110:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
111:                        .getService();
112:
113:                return journalArticleImageLocalService
114:                        .getJournalArticleFinder();
115:            }
116:
117:            public static void setJournalArticleFinder(
118:                    com.liferay.portlet.journal.service.persistence.JournalArticleFinder journalArticleFinder) {
119:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
120:                        .getService();
121:
122:                journalArticleImageLocalService
123:                        .setJournalArticleFinder(journalArticleFinder);
124:            }
125:
126:            public static com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence getJournalArticleImagePersistence() {
127:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
128:                        .getService();
129:
130:                return journalArticleImageLocalService
131:                        .getJournalArticleImagePersistence();
132:            }
133:
134:            public static void setJournalArticleImagePersistence(
135:                    com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence journalArticleImagePersistence) {
136:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
137:                        .getService();
138:
139:                journalArticleImageLocalService
140:                        .setJournalArticleImagePersistence(journalArticleImagePersistence);
141:            }
142:
143:            public static com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
144:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
145:                        .getService();
146:
147:                return journalArticleImageLocalService
148:                        .getJournalArticleResourcePersistence();
149:            }
150:
151:            public static void setJournalArticleResourcePersistence(
152:                    com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence) {
153:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
154:                        .getService();
155:
156:                journalArticleImageLocalService
157:                        .setJournalArticleResourcePersistence(journalArticleResourcePersistence);
158:            }
159:
160:            public static com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence getJournalContentSearchPersistence() {
161:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
162:                        .getService();
163:
164:                return journalArticleImageLocalService
165:                        .getJournalContentSearchPersistence();
166:            }
167:
168:            public static void setJournalContentSearchPersistence(
169:                    com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence) {
170:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
171:                        .getService();
172:
173:                journalArticleImageLocalService
174:                        .setJournalContentSearchPersistence(journalContentSearchPersistence);
175:            }
176:
177:            public static com.liferay.portlet.journal.service.persistence.JournalFeedPersistence getJournalFeedPersistence() {
178:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
179:                        .getService();
180:
181:                return journalArticleImageLocalService
182:                        .getJournalFeedPersistence();
183:            }
184:
185:            public static void setJournalFeedPersistence(
186:                    com.liferay.portlet.journal.service.persistence.JournalFeedPersistence journalFeedPersistence) {
187:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
188:                        .getService();
189:
190:                journalArticleImageLocalService
191:                        .setJournalFeedPersistence(journalFeedPersistence);
192:            }
193:
194:            public static com.liferay.portlet.journal.service.persistence.JournalFeedFinder getJournalFeedFinder() {
195:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
196:                        .getService();
197:
198:                return journalArticleImageLocalService.getJournalFeedFinder();
199:            }
200:
201:            public static void setJournalFeedFinder(
202:                    com.liferay.portlet.journal.service.persistence.JournalFeedFinder journalFeedFinder) {
203:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
204:                        .getService();
205:
206:                journalArticleImageLocalService
207:                        .setJournalFeedFinder(journalFeedFinder);
208:            }
209:
210:            public static com.liferay.portlet.journal.service.persistence.JournalStructurePersistence getJournalStructurePersistence() {
211:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
212:                        .getService();
213:
214:                return journalArticleImageLocalService
215:                        .getJournalStructurePersistence();
216:            }
217:
218:            public static void setJournalStructurePersistence(
219:                    com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence) {
220:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
221:                        .getService();
222:
223:                journalArticleImageLocalService
224:                        .setJournalStructurePersistence(journalStructurePersistence);
225:            }
226:
227:            public static com.liferay.portlet.journal.service.persistence.JournalStructureFinder getJournalStructureFinder() {
228:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
229:                        .getService();
230:
231:                return journalArticleImageLocalService
232:                        .getJournalStructureFinder();
233:            }
234:
235:            public static void setJournalStructureFinder(
236:                    com.liferay.portlet.journal.service.persistence.JournalStructureFinder journalStructureFinder) {
237:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
238:                        .getService();
239:
240:                journalArticleImageLocalService
241:                        .setJournalStructureFinder(journalStructureFinder);
242:            }
243:
244:            public static com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence getJournalTemplatePersistence() {
245:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
246:                        .getService();
247:
248:                return journalArticleImageLocalService
249:                        .getJournalTemplatePersistence();
250:            }
251:
252:            public static void setJournalTemplatePersistence(
253:                    com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence) {
254:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
255:                        .getService();
256:
257:                journalArticleImageLocalService
258:                        .setJournalTemplatePersistence(journalTemplatePersistence);
259:            }
260:
261:            public static com.liferay.portlet.journal.service.persistence.JournalTemplateFinder getJournalTemplateFinder() {
262:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
263:                        .getService();
264:
265:                return journalArticleImageLocalService
266:                        .getJournalTemplateFinder();
267:            }
268:
269:            public static void setJournalTemplateFinder(
270:                    com.liferay.portlet.journal.service.persistence.JournalTemplateFinder journalTemplateFinder) {
271:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
272:                        .getService();
273:
274:                journalArticleImageLocalService
275:                        .setJournalTemplateFinder(journalTemplateFinder);
276:            }
277:
278:            public static void afterPropertiesSet() {
279:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
280:                        .getService();
281:
282:                journalArticleImageLocalService.afterPropertiesSet();
283:            }
284:
285:            public static void addArticleImageId(long articleImageId,
286:                    long groupId, java.lang.String articleId, double version,
287:                    java.lang.String elName, java.lang.String languageId)
288:                    throws com.liferay.portal.PortalException,
289:                    com.liferay.portal.SystemException {
290:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
291:                        .getService();
292:
293:                journalArticleImageLocalService.addArticleImageId(
294:                        articleImageId, groupId, articleId, version, elName,
295:                        languageId);
296:            }
297:
298:            public static void deleteArticleImage(long articleImageId)
299:                    throws com.liferay.portal.SystemException {
300:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
301:                        .getService();
302:
303:                journalArticleImageLocalService
304:                        .deleteArticleImage(articleImageId);
305:            }
306:
307:            public static void deleteArticleImage(long groupId,
308:                    java.lang.String articleId, double version,
309:                    java.lang.String elName, java.lang.String languageId)
310:                    throws com.liferay.portal.SystemException {
311:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
312:                        .getService();
313:
314:                journalArticleImageLocalService.deleteArticleImage(groupId,
315:                        articleId, version, elName, languageId);
316:            }
317:
318:            public static void deleteImages(long groupId,
319:                    java.lang.String articleId, double version)
320:                    throws com.liferay.portal.SystemException {
321:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
322:                        .getService();
323:
324:                journalArticleImageLocalService.deleteImages(groupId,
325:                        articleId, version);
326:            }
327:
328:            public static com.liferay.portlet.journal.model.JournalArticleImage getArticleImage(
329:                    long articleImageId)
330:                    throws com.liferay.portal.PortalException,
331:                    com.liferay.portal.SystemException {
332:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
333:                        .getService();
334:
335:                return journalArticleImageLocalService
336:                        .getArticleImage(articleImageId);
337:            }
338:
339:            public static long getArticleImageId(long groupId,
340:                    java.lang.String articleId, double version,
341:                    java.lang.String elName, java.lang.String languageId)
342:                    throws com.liferay.portal.SystemException {
343:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
344:                        .getService();
345:
346:                return journalArticleImageLocalService.getArticleImageId(
347:                        groupId, articleId, version, elName, languageId);
348:            }
349:
350:            public static long getArticleImageId(long groupId,
351:                    java.lang.String articleId, double version,
352:                    java.lang.String elName, java.lang.String languageId,
353:                    boolean tempImage)
354:                    throws com.liferay.portal.SystemException {
355:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
356:                        .getService();
357:
358:                return journalArticleImageLocalService.getArticleImageId(
359:                        groupId, articleId, version, elName, languageId,
360:                        tempImage);
361:            }
362:
363:            public static java.util.List getArticleImages(long groupId)
364:                    throws com.liferay.portal.SystemException {
365:                JournalArticleImageLocalService journalArticleImageLocalService = JournalArticleImageLocalServiceFactory
366:                        .getService();
367:
368:                return journalArticleImageLocalService
369:                        .getArticleImages(groupId);
370:            }
371:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.