Source Code Cross Referenced for JournalFeedLocalServiceUtil.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="JournalFeedLocalServiceUtil.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.JournalFeedLocalService</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.JournalFeedLocalServiceFactory</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.JournalFeedLocalService
047:         * @see com.liferay.portlet.journal.service.JournalFeedLocalServiceFactory
048:         *
049:         */
050:        public class JournalFeedLocalServiceUtil {
051:            public static com.liferay.portlet.journal.model.JournalFeed addJournalFeed(
052:                    com.liferay.portlet.journal.model.JournalFeed model)
053:                    throws com.liferay.portal.SystemException {
054:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
055:                        .getService();
056:
057:                return journalFeedLocalService.addJournalFeed(model);
058:            }
059:
060:            public static java.util.List dynamicQuery(
061:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
062:                    throws com.liferay.portal.SystemException {
063:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
064:                        .getService();
065:
066:                return journalFeedLocalService.dynamicQuery(queryInitializer);
067:            }
068:
069:            public static java.util.List dynamicQuery(
070:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
071:                    int begin, int end)
072:                    throws com.liferay.portal.SystemException {
073:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
074:                        .getService();
075:
076:                return journalFeedLocalService.dynamicQuery(queryInitializer,
077:                        begin, end);
078:            }
079:
080:            public static com.liferay.portlet.journal.model.JournalFeed updateJournalFeed(
081:                    com.liferay.portlet.journal.model.JournalFeed model)
082:                    throws com.liferay.portal.SystemException {
083:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
084:                        .getService();
085:
086:                return journalFeedLocalService.updateJournalFeed(model);
087:            }
088:
089:            public static com.liferay.portlet.journal.service.persistence.JournalArticlePersistence getJournalArticlePersistence() {
090:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
091:                        .getService();
092:
093:                return journalFeedLocalService.getJournalArticlePersistence();
094:            }
095:
096:            public static void setJournalArticlePersistence(
097:                    com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence) {
098:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
099:                        .getService();
100:
101:                journalFeedLocalService
102:                        .setJournalArticlePersistence(journalArticlePersistence);
103:            }
104:
105:            public static com.liferay.portlet.journal.service.persistence.JournalArticleFinder getJournalArticleFinder() {
106:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
107:                        .getService();
108:
109:                return journalFeedLocalService.getJournalArticleFinder();
110:            }
111:
112:            public static void setJournalArticleFinder(
113:                    com.liferay.portlet.journal.service.persistence.JournalArticleFinder journalArticleFinder) {
114:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
115:                        .getService();
116:
117:                journalFeedLocalService
118:                        .setJournalArticleFinder(journalArticleFinder);
119:            }
120:
121:            public static com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence getJournalArticleImagePersistence() {
122:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
123:                        .getService();
124:
125:                return journalFeedLocalService
126:                        .getJournalArticleImagePersistence();
127:            }
128:
129:            public static void setJournalArticleImagePersistence(
130:                    com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence journalArticleImagePersistence) {
131:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
132:                        .getService();
133:
134:                journalFeedLocalService
135:                        .setJournalArticleImagePersistence(journalArticleImagePersistence);
136:            }
137:
138:            public static com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
139:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
140:                        .getService();
141:
142:                return journalFeedLocalService
143:                        .getJournalArticleResourcePersistence();
144:            }
145:
146:            public static void setJournalArticleResourcePersistence(
147:                    com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence) {
148:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
149:                        .getService();
150:
151:                journalFeedLocalService
152:                        .setJournalArticleResourcePersistence(journalArticleResourcePersistence);
153:            }
154:
155:            public static com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence getJournalContentSearchPersistence() {
156:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
157:                        .getService();
158:
159:                return journalFeedLocalService
160:                        .getJournalContentSearchPersistence();
161:            }
162:
163:            public static void setJournalContentSearchPersistence(
164:                    com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence) {
165:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
166:                        .getService();
167:
168:                journalFeedLocalService
169:                        .setJournalContentSearchPersistence(journalContentSearchPersistence);
170:            }
171:
172:            public static com.liferay.portlet.journal.service.persistence.JournalFeedPersistence getJournalFeedPersistence() {
173:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
174:                        .getService();
175:
176:                return journalFeedLocalService.getJournalFeedPersistence();
177:            }
178:
179:            public static void setJournalFeedPersistence(
180:                    com.liferay.portlet.journal.service.persistence.JournalFeedPersistence journalFeedPersistence) {
181:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
182:                        .getService();
183:
184:                journalFeedLocalService
185:                        .setJournalFeedPersistence(journalFeedPersistence);
186:            }
187:
188:            public static com.liferay.portlet.journal.service.persistence.JournalFeedFinder getJournalFeedFinder() {
189:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
190:                        .getService();
191:
192:                return journalFeedLocalService.getJournalFeedFinder();
193:            }
194:
195:            public static void setJournalFeedFinder(
196:                    com.liferay.portlet.journal.service.persistence.JournalFeedFinder journalFeedFinder) {
197:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
198:                        .getService();
199:
200:                journalFeedLocalService.setJournalFeedFinder(journalFeedFinder);
201:            }
202:
203:            public static com.liferay.portlet.journal.service.persistence.JournalStructurePersistence getJournalStructurePersistence() {
204:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
205:                        .getService();
206:
207:                return journalFeedLocalService.getJournalStructurePersistence();
208:            }
209:
210:            public static void setJournalStructurePersistence(
211:                    com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence) {
212:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
213:                        .getService();
214:
215:                journalFeedLocalService
216:                        .setJournalStructurePersistence(journalStructurePersistence);
217:            }
218:
219:            public static com.liferay.portlet.journal.service.persistence.JournalStructureFinder getJournalStructureFinder() {
220:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
221:                        .getService();
222:
223:                return journalFeedLocalService.getJournalStructureFinder();
224:            }
225:
226:            public static void setJournalStructureFinder(
227:                    com.liferay.portlet.journal.service.persistence.JournalStructureFinder journalStructureFinder) {
228:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
229:                        .getService();
230:
231:                journalFeedLocalService
232:                        .setJournalStructureFinder(journalStructureFinder);
233:            }
234:
235:            public static com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence getJournalTemplatePersistence() {
236:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
237:                        .getService();
238:
239:                return journalFeedLocalService.getJournalTemplatePersistence();
240:            }
241:
242:            public static void setJournalTemplatePersistence(
243:                    com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence) {
244:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
245:                        .getService();
246:
247:                journalFeedLocalService
248:                        .setJournalTemplatePersistence(journalTemplatePersistence);
249:            }
250:
251:            public static com.liferay.portlet.journal.service.persistence.JournalTemplateFinder getJournalTemplateFinder() {
252:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
253:                        .getService();
254:
255:                return journalFeedLocalService.getJournalTemplateFinder();
256:            }
257:
258:            public static void setJournalTemplateFinder(
259:                    com.liferay.portlet.journal.service.persistence.JournalTemplateFinder journalTemplateFinder) {
260:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
261:                        .getService();
262:
263:                journalFeedLocalService
264:                        .setJournalTemplateFinder(journalTemplateFinder);
265:            }
266:
267:            public static com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence() {
268:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
269:                        .getService();
270:
271:                return journalFeedLocalService.getResourcePersistence();
272:            }
273:
274:            public static void setResourcePersistence(
275:                    com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) {
276:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
277:                        .getService();
278:
279:                journalFeedLocalService
280:                        .setResourcePersistence(resourcePersistence);
281:            }
282:
283:            public static com.liferay.portal.service.persistence.ResourceFinder getResourceFinder() {
284:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
285:                        .getService();
286:
287:                return journalFeedLocalService.getResourceFinder();
288:            }
289:
290:            public static void setResourceFinder(
291:                    com.liferay.portal.service.persistence.ResourceFinder resourceFinder) {
292:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
293:                        .getService();
294:
295:                journalFeedLocalService.setResourceFinder(resourceFinder);
296:            }
297:
298:            public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
299:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
300:                        .getService();
301:
302:                return journalFeedLocalService.getUserPersistence();
303:            }
304:
305:            public static void setUserPersistence(
306:                    com.liferay.portal.service.persistence.UserPersistence userPersistence) {
307:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
308:                        .getService();
309:
310:                journalFeedLocalService.setUserPersistence(userPersistence);
311:            }
312:
313:            public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
314:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
315:                        .getService();
316:
317:                return journalFeedLocalService.getUserFinder();
318:            }
319:
320:            public static void setUserFinder(
321:                    com.liferay.portal.service.persistence.UserFinder userFinder) {
322:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
323:                        .getService();
324:
325:                journalFeedLocalService.setUserFinder(userFinder);
326:            }
327:
328:            public static void afterPropertiesSet() {
329:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
330:                        .getService();
331:
332:                journalFeedLocalService.afterPropertiesSet();
333:            }
334:
335:            public static com.liferay.portlet.journal.model.JournalFeed addFeed(
336:                    long userId, long plid, java.lang.String feedId,
337:                    boolean autoFeedId, java.lang.String name,
338:                    java.lang.String description, java.lang.String type,
339:                    java.lang.String structureId, java.lang.String templateId,
340:                    java.lang.String rendererTemplateId, int delta,
341:                    java.lang.String orderByCol, java.lang.String orderByType,
342:                    java.lang.String targetLayoutFriendlyUrl,
343:                    java.lang.String targetPortletId,
344:                    java.lang.String contentField, java.lang.String feedType,
345:                    double feedVersion, boolean addCommunityPermissions,
346:                    boolean addGuestPermissions)
347:                    throws com.liferay.portal.PortalException,
348:                    com.liferay.portal.SystemException {
349:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
350:                        .getService();
351:
352:                return journalFeedLocalService.addFeed(userId, plid, feedId,
353:                        autoFeedId, name, description, type, structureId,
354:                        templateId, rendererTemplateId, delta, orderByCol,
355:                        orderByType, targetLayoutFriendlyUrl, targetPortletId,
356:                        contentField, feedType, feedVersion,
357:                        addCommunityPermissions, addGuestPermissions);
358:            }
359:
360:            public static com.liferay.portlet.journal.model.JournalFeed addFeed(
361:                    long userId, long plid, java.lang.String feedId,
362:                    boolean autoFeedId, java.lang.String name,
363:                    java.lang.String description, java.lang.String type,
364:                    java.lang.String structureId, java.lang.String templateId,
365:                    java.lang.String rendererTemplateId, int delta,
366:                    java.lang.String orderByCol, java.lang.String orderByType,
367:                    java.lang.String targetLayoutFriendlyUrl,
368:                    java.lang.String targetPortletId,
369:                    java.lang.String contentField, java.lang.String feedType,
370:                    double feedVersion,
371:                    java.lang.String[] communityPermissions,
372:                    java.lang.String[] guestPermissions)
373:                    throws com.liferay.portal.PortalException,
374:                    com.liferay.portal.SystemException {
375:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
376:                        .getService();
377:
378:                return journalFeedLocalService.addFeed(userId, plid, feedId,
379:                        autoFeedId, name, description, type, structureId,
380:                        templateId, rendererTemplateId, delta, orderByCol,
381:                        orderByType, targetLayoutFriendlyUrl, targetPortletId,
382:                        contentField, feedType, feedVersion,
383:                        communityPermissions, guestPermissions);
384:            }
385:
386:            public static com.liferay.portlet.journal.model.JournalFeed addFeed(
387:                    java.lang.String uuid, long userId, long plid,
388:                    java.lang.String feedId, boolean autoFeedId,
389:                    java.lang.String name, java.lang.String description,
390:                    java.lang.String type, java.lang.String structureId,
391:                    java.lang.String templateId,
392:                    java.lang.String rendererTemplateId, int delta,
393:                    java.lang.String orderByCol, java.lang.String orderByType,
394:                    java.lang.String targetLayoutFriendlyUrl,
395:                    java.lang.String targetPortletId,
396:                    java.lang.String contentField, java.lang.String feedType,
397:                    double feedVersion, boolean addCommunityPermissions,
398:                    boolean addGuestPermissions)
399:                    throws com.liferay.portal.PortalException,
400:                    com.liferay.portal.SystemException {
401:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
402:                        .getService();
403:
404:                return journalFeedLocalService.addFeed(uuid, userId, plid,
405:                        feedId, autoFeedId, name, description, type,
406:                        structureId, templateId, rendererTemplateId, delta,
407:                        orderByCol, orderByType, targetLayoutFriendlyUrl,
408:                        targetPortletId, contentField, feedType, feedVersion,
409:                        addCommunityPermissions, addGuestPermissions);
410:            }
411:
412:            public static com.liferay.portlet.journal.model.JournalFeed addFeed(
413:                    java.lang.String uuid, long userId, long plid,
414:                    java.lang.String feedId, boolean autoFeedId,
415:                    java.lang.String name, java.lang.String description,
416:                    java.lang.String type, java.lang.String structureId,
417:                    java.lang.String templateId,
418:                    java.lang.String rendererTemplateId, int delta,
419:                    java.lang.String orderByCol, java.lang.String orderByType,
420:                    java.lang.String targetLayoutFriendlyUrl,
421:                    java.lang.String targetPortletId,
422:                    java.lang.String contentField, java.lang.String feedType,
423:                    double feedVersion,
424:                    java.lang.String[] communityPermissions,
425:                    java.lang.String[] guestPermissions)
426:                    throws com.liferay.portal.PortalException,
427:                    com.liferay.portal.SystemException {
428:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
429:                        .getService();
430:
431:                return journalFeedLocalService.addFeed(uuid, userId, plid,
432:                        feedId, autoFeedId, name, description, type,
433:                        structureId, templateId, rendererTemplateId, delta,
434:                        orderByCol, orderByType, targetLayoutFriendlyUrl,
435:                        targetPortletId, contentField, feedType, feedVersion,
436:                        communityPermissions, guestPermissions);
437:            }
438:
439:            public static com.liferay.portlet.journal.model.JournalFeed addFeed(
440:                    java.lang.String uuid, long userId, long plid,
441:                    java.lang.String feedId, boolean autoFeedId,
442:                    java.lang.String name, java.lang.String description,
443:                    java.lang.String type, java.lang.String structureId,
444:                    java.lang.String templateId,
445:                    java.lang.String rendererTemplateId, int delta,
446:                    java.lang.String orderByCol, java.lang.String orderByType,
447:                    java.lang.String targetLayoutFriendlyUrl,
448:                    java.lang.String targetPortletId,
449:                    java.lang.String contentField, java.lang.String feedType,
450:                    double feedVersion,
451:                    java.lang.Boolean addCommunityPermissions,
452:                    java.lang.Boolean addGuestPermissions,
453:                    java.lang.String[] communityPermissions,
454:                    java.lang.String[] guestPermissions)
455:                    throws com.liferay.portal.PortalException,
456:                    com.liferay.portal.SystemException {
457:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
458:                        .getService();
459:
460:                return journalFeedLocalService.addFeed(uuid, userId, plid,
461:                        feedId, autoFeedId, name, description, type,
462:                        structureId, templateId, rendererTemplateId, delta,
463:                        orderByCol, orderByType, targetLayoutFriendlyUrl,
464:                        targetPortletId, contentField, feedType, feedVersion,
465:                        addCommunityPermissions, addGuestPermissions,
466:                        communityPermissions, guestPermissions);
467:            }
468:
469:            public static com.liferay.portlet.journal.model.JournalFeed addFeedToGroup(
470:                    java.lang.String uuid, long userId, long groupId,
471:                    java.lang.String feedId, boolean autoFeedId,
472:                    java.lang.String name, java.lang.String description,
473:                    java.lang.String type, java.lang.String structureId,
474:                    java.lang.String templateId,
475:                    java.lang.String rendererTemplateId, int delta,
476:                    java.lang.String orderByCol, java.lang.String orderByType,
477:                    java.lang.String targetLayoutFriendlyUrl,
478:                    java.lang.String targetPortletId,
479:                    java.lang.String contentField, java.lang.String feedType,
480:                    double feedVersion,
481:                    java.lang.Boolean addCommunityPermissions,
482:                    java.lang.Boolean addGuestPermissions,
483:                    java.lang.String[] communityPermissions,
484:                    java.lang.String[] guestPermissions)
485:                    throws com.liferay.portal.PortalException,
486:                    com.liferay.portal.SystemException {
487:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
488:                        .getService();
489:
490:                return journalFeedLocalService.addFeedToGroup(uuid, userId,
491:                        groupId, feedId, autoFeedId, name, description, type,
492:                        structureId, templateId, rendererTemplateId, delta,
493:                        orderByCol, orderByType, targetLayoutFriendlyUrl,
494:                        targetPortletId, contentField, feedType, feedVersion,
495:                        addCommunityPermissions, addGuestPermissions,
496:                        communityPermissions, guestPermissions);
497:            }
498:
499:            public static void addFeedResources(long feedId,
500:                    boolean addCommunityPermissions, boolean addGuestPermissions)
501:                    throws com.liferay.portal.PortalException,
502:                    com.liferay.portal.SystemException {
503:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
504:                        .getService();
505:
506:                journalFeedLocalService.addFeedResources(feedId,
507:                        addCommunityPermissions, addGuestPermissions);
508:            }
509:
510:            public static void addFeedResources(
511:                    com.liferay.portlet.journal.model.JournalFeed feed,
512:                    boolean addCommunityPermissions, boolean addGuestPermissions)
513:                    throws com.liferay.portal.PortalException,
514:                    com.liferay.portal.SystemException {
515:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
516:                        .getService();
517:
518:                journalFeedLocalService.addFeedResources(feed,
519:                        addCommunityPermissions, addGuestPermissions);
520:            }
521:
522:            public static void addFeedResources(long feedId,
523:                    java.lang.String[] communityPermissions,
524:                    java.lang.String[] guestPermissions)
525:                    throws com.liferay.portal.PortalException,
526:                    com.liferay.portal.SystemException {
527:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
528:                        .getService();
529:
530:                journalFeedLocalService.addFeedResources(feedId,
531:                        communityPermissions, guestPermissions);
532:            }
533:
534:            public static void addFeedResources(
535:                    com.liferay.portlet.journal.model.JournalFeed feed,
536:                    java.lang.String[] communityPermissions,
537:                    java.lang.String[] guestPermissions)
538:                    throws com.liferay.portal.PortalException,
539:                    com.liferay.portal.SystemException {
540:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
541:                        .getService();
542:
543:                journalFeedLocalService.addFeedResources(feed,
544:                        communityPermissions, guestPermissions);
545:            }
546:
547:            public static void deleteFeed(long feedId)
548:                    throws com.liferay.portal.PortalException,
549:                    com.liferay.portal.SystemException {
550:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
551:                        .getService();
552:
553:                journalFeedLocalService.deleteFeed(feedId);
554:            }
555:
556:            public static void deleteFeed(long groupId, java.lang.String feedId)
557:                    throws com.liferay.portal.PortalException,
558:                    com.liferay.portal.SystemException {
559:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
560:                        .getService();
561:
562:                journalFeedLocalService.deleteFeed(groupId, feedId);
563:            }
564:
565:            public static void deleteFeed(
566:                    com.liferay.portlet.journal.model.JournalFeed feed)
567:                    throws com.liferay.portal.PortalException,
568:                    com.liferay.portal.SystemException {
569:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
570:                        .getService();
571:
572:                journalFeedLocalService.deleteFeed(feed);
573:            }
574:
575:            public static com.liferay.portlet.journal.model.JournalFeed getFeed(
576:                    long feedId) throws com.liferay.portal.PortalException,
577:                    com.liferay.portal.SystemException {
578:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
579:                        .getService();
580:
581:                return journalFeedLocalService.getFeed(feedId);
582:            }
583:
584:            public static com.liferay.portlet.journal.model.JournalFeed getFeed(
585:                    long groupId, java.lang.String feedId)
586:                    throws com.liferay.portal.PortalException,
587:                    com.liferay.portal.SystemException {
588:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
589:                        .getService();
590:
591:                return journalFeedLocalService.getFeed(groupId, feedId);
592:            }
593:
594:            public static java.util.List getFeeds()
595:                    throws com.liferay.portal.SystemException {
596:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
597:                        .getService();
598:
599:                return journalFeedLocalService.getFeeds();
600:            }
601:
602:            public static java.util.List getFeeds(long groupId)
603:                    throws com.liferay.portal.SystemException {
604:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
605:                        .getService();
606:
607:                return journalFeedLocalService.getFeeds(groupId);
608:            }
609:
610:            public static java.util.List getFeeds(long groupId, int begin,
611:                    int end) throws com.liferay.portal.SystemException {
612:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
613:                        .getService();
614:
615:                return journalFeedLocalService.getFeeds(groupId, begin, end);
616:            }
617:
618:            public static int getFeedsCount(long groupId)
619:                    throws com.liferay.portal.SystemException {
620:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
621:                        .getService();
622:
623:                return journalFeedLocalService.getFeedsCount(groupId);
624:            }
625:
626:            public static java.util.List search(long companyId, long groupId,
627:                    java.lang.String keywords, int begin, int end,
628:                    com.liferay.portal.kernel.util.OrderByComparator obc)
629:                    throws com.liferay.portal.SystemException {
630:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
631:                        .getService();
632:
633:                return journalFeedLocalService.search(companyId, groupId,
634:                        keywords, begin, end, obc);
635:            }
636:
637:            public static java.util.List search(long companyId, long groupId,
638:                    java.lang.String feedId, java.lang.String name,
639:                    java.lang.String description, boolean andOperator,
640:                    int begin, int end,
641:                    com.liferay.portal.kernel.util.OrderByComparator obc)
642:                    throws com.liferay.portal.SystemException {
643:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
644:                        .getService();
645:
646:                return journalFeedLocalService
647:                        .search(companyId, groupId, feedId, name, description,
648:                                andOperator, begin, end, obc);
649:            }
650:
651:            public static int searchCount(long companyId, long groupId,
652:                    java.lang.String keywords)
653:                    throws com.liferay.portal.SystemException {
654:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
655:                        .getService();
656:
657:                return journalFeedLocalService.searchCount(companyId, groupId,
658:                        keywords);
659:            }
660:
661:            public static int searchCount(long companyId, long groupId,
662:                    java.lang.String feedId, java.lang.String name,
663:                    java.lang.String description, boolean andOperator)
664:                    throws com.liferay.portal.SystemException {
665:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
666:                        .getService();
667:
668:                return journalFeedLocalService.searchCount(companyId, groupId,
669:                        feedId, name, description, andOperator);
670:            }
671:
672:            public static com.liferay.portlet.journal.model.JournalFeed updateFeed(
673:                    long groupId, java.lang.String feedId,
674:                    java.lang.String name, java.lang.String description,
675:                    java.lang.String type, java.lang.String structureId,
676:                    java.lang.String templateId,
677:                    java.lang.String rendererTemplateId, int delta,
678:                    java.lang.String orderByCol, java.lang.String orderByType,
679:                    java.lang.String targetLayoutFriendlyUrl,
680:                    java.lang.String targetPortletId,
681:                    java.lang.String contentField, java.lang.String feedType,
682:                    double feedVersion)
683:                    throws com.liferay.portal.PortalException,
684:                    com.liferay.portal.SystemException {
685:                JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory
686:                        .getService();
687:
688:                return journalFeedLocalService.updateFeed(groupId, feedId,
689:                        name, description, type, structureId, templateId,
690:                        rendererTemplateId, delta, orderByCol, orderByType,
691:                        targetLayoutFriendlyUrl, targetPortletId, contentField,
692:                        feedType, feedVersion);
693:            }
694:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.