Source Code Cross Referenced for JournalArticleLocalServiceUtil.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) 


0001:        /**
0002:         * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
0003:         *
0004:         * Permission is hereby granted, free of charge, to any person obtaining a copy
0005:         * of this software and associated documentation files (the "Software"), to deal
0006:         * in the Software without restriction, including without limitation the rights
0007:         * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
0008:         * copies of the Software, and to permit persons to whom the Software is
0009:         * furnished to do so, subject to the following conditions:
0010:         *
0011:         * The above copyright notice and this permission notice shall be included in
0012:         * all copies or substantial portions of the Software.
0013:         *
0014:         * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015:         * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016:         * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
0017:         * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0018:         * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
0019:         * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
0020:         * SOFTWARE.
0021:         */package com.liferay.portlet.journal.service;
0022:
0023:        /**
0024:         * <a href="JournalArticleLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
0025:         *
0026:         * <p>
0027:         * ServiceBuilder generated this class. Modifications in this class will be
0028:         * overwritten the next time is generated.
0029:         * </p>
0030:         *
0031:         * <p>
0032:         * This class provides static methods for the
0033:         * <code>com.liferay.portlet.journal.service.JournalArticleLocalService</code>
0034:         * bean. The static methods of this class calls the same methods of the bean
0035:         * instance. It's convenient to be able to just write one line to call a method
0036:         * on a bean instead of writing a lookup call and a method call.
0037:         * </p>
0038:         *
0039:         * <p>
0040:         * <code>com.liferay.portlet.journal.service.JournalArticleLocalServiceFactory</code>
0041:         * is responsible for the lookup of the bean.
0042:         * </p>
0043:         *
0044:         * @author Brian Wing Shun Chan
0045:         *
0046:         * @see com.liferay.portlet.journal.service.JournalArticleLocalService
0047:         * @see com.liferay.portlet.journal.service.JournalArticleLocalServiceFactory
0048:         *
0049:         */
0050:        public class JournalArticleLocalServiceUtil {
0051:            public static com.liferay.portlet.journal.model.JournalArticle addJournalArticle(
0052:                    com.liferay.portlet.journal.model.JournalArticle model)
0053:                    throws com.liferay.portal.SystemException {
0054:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0055:                        .getService();
0056:
0057:                return journalArticleLocalService.addJournalArticle(model);
0058:            }
0059:
0060:            public static java.util.List dynamicQuery(
0061:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
0062:                    throws com.liferay.portal.SystemException {
0063:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0064:                        .getService();
0065:
0066:                return journalArticleLocalService
0067:                        .dynamicQuery(queryInitializer);
0068:            }
0069:
0070:            public static java.util.List dynamicQuery(
0071:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
0072:                    int begin, int end)
0073:                    throws com.liferay.portal.SystemException {
0074:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0075:                        .getService();
0076:
0077:                return journalArticleLocalService.dynamicQuery(
0078:                        queryInitializer, begin, end);
0079:            }
0080:
0081:            public static com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
0082:                    com.liferay.portlet.journal.model.JournalArticle model)
0083:                    throws com.liferay.portal.SystemException {
0084:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0085:                        .getService();
0086:
0087:                return journalArticleLocalService.updateJournalArticle(model);
0088:            }
0089:
0090:            public static com.liferay.portlet.journal.service.persistence.JournalArticlePersistence getJournalArticlePersistence() {
0091:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0092:                        .getService();
0093:
0094:                return journalArticleLocalService
0095:                        .getJournalArticlePersistence();
0096:            }
0097:
0098:            public static void setJournalArticlePersistence(
0099:                    com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence) {
0100:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0101:                        .getService();
0102:
0103:                journalArticleLocalService
0104:                        .setJournalArticlePersistence(journalArticlePersistence);
0105:            }
0106:
0107:            public static com.liferay.portlet.journal.service.persistence.JournalArticleFinder getJournalArticleFinder() {
0108:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0109:                        .getService();
0110:
0111:                return journalArticleLocalService.getJournalArticleFinder();
0112:            }
0113:
0114:            public static void setJournalArticleFinder(
0115:                    com.liferay.portlet.journal.service.persistence.JournalArticleFinder journalArticleFinder) {
0116:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0117:                        .getService();
0118:
0119:                journalArticleLocalService
0120:                        .setJournalArticleFinder(journalArticleFinder);
0121:            }
0122:
0123:            public static com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence getJournalArticleImagePersistence() {
0124:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0125:                        .getService();
0126:
0127:                return journalArticleLocalService
0128:                        .getJournalArticleImagePersistence();
0129:            }
0130:
0131:            public static void setJournalArticleImagePersistence(
0132:                    com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence journalArticleImagePersistence) {
0133:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0134:                        .getService();
0135:
0136:                journalArticleLocalService
0137:                        .setJournalArticleImagePersistence(journalArticleImagePersistence);
0138:            }
0139:
0140:            public static com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
0141:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0142:                        .getService();
0143:
0144:                return journalArticleLocalService
0145:                        .getJournalArticleResourcePersistence();
0146:            }
0147:
0148:            public static void setJournalArticleResourcePersistence(
0149:                    com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence) {
0150:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0151:                        .getService();
0152:
0153:                journalArticleLocalService
0154:                        .setJournalArticleResourcePersistence(journalArticleResourcePersistence);
0155:            }
0156:
0157:            public static com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence getJournalContentSearchPersistence() {
0158:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0159:                        .getService();
0160:
0161:                return journalArticleLocalService
0162:                        .getJournalContentSearchPersistence();
0163:            }
0164:
0165:            public static void setJournalContentSearchPersistence(
0166:                    com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence) {
0167:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0168:                        .getService();
0169:
0170:                journalArticleLocalService
0171:                        .setJournalContentSearchPersistence(journalContentSearchPersistence);
0172:            }
0173:
0174:            public static com.liferay.portlet.journal.service.persistence.JournalFeedPersistence getJournalFeedPersistence() {
0175:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0176:                        .getService();
0177:
0178:                return journalArticleLocalService.getJournalFeedPersistence();
0179:            }
0180:
0181:            public static void setJournalFeedPersistence(
0182:                    com.liferay.portlet.journal.service.persistence.JournalFeedPersistence journalFeedPersistence) {
0183:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0184:                        .getService();
0185:
0186:                journalArticleLocalService
0187:                        .setJournalFeedPersistence(journalFeedPersistence);
0188:            }
0189:
0190:            public static com.liferay.portlet.journal.service.persistence.JournalFeedFinder getJournalFeedFinder() {
0191:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0192:                        .getService();
0193:
0194:                return journalArticleLocalService.getJournalFeedFinder();
0195:            }
0196:
0197:            public static void setJournalFeedFinder(
0198:                    com.liferay.portlet.journal.service.persistence.JournalFeedFinder journalFeedFinder) {
0199:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0200:                        .getService();
0201:
0202:                journalArticleLocalService
0203:                        .setJournalFeedFinder(journalFeedFinder);
0204:            }
0205:
0206:            public static com.liferay.portlet.journal.service.persistence.JournalStructurePersistence getJournalStructurePersistence() {
0207:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0208:                        .getService();
0209:
0210:                return journalArticleLocalService
0211:                        .getJournalStructurePersistence();
0212:            }
0213:
0214:            public static void setJournalStructurePersistence(
0215:                    com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence) {
0216:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0217:                        .getService();
0218:
0219:                journalArticleLocalService
0220:                        .setJournalStructurePersistence(journalStructurePersistence);
0221:            }
0222:
0223:            public static com.liferay.portlet.journal.service.persistence.JournalStructureFinder getJournalStructureFinder() {
0224:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0225:                        .getService();
0226:
0227:                return journalArticleLocalService.getJournalStructureFinder();
0228:            }
0229:
0230:            public static void setJournalStructureFinder(
0231:                    com.liferay.portlet.journal.service.persistence.JournalStructureFinder journalStructureFinder) {
0232:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0233:                        .getService();
0234:
0235:                journalArticleLocalService
0236:                        .setJournalStructureFinder(journalStructureFinder);
0237:            }
0238:
0239:            public static com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence getJournalTemplatePersistence() {
0240:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0241:                        .getService();
0242:
0243:                return journalArticleLocalService
0244:                        .getJournalTemplatePersistence();
0245:            }
0246:
0247:            public static void setJournalTemplatePersistence(
0248:                    com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence) {
0249:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0250:                        .getService();
0251:
0252:                journalArticleLocalService
0253:                        .setJournalTemplatePersistence(journalTemplatePersistence);
0254:            }
0255:
0256:            public static com.liferay.portlet.journal.service.persistence.JournalTemplateFinder getJournalTemplateFinder() {
0257:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0258:                        .getService();
0259:
0260:                return journalArticleLocalService.getJournalTemplateFinder();
0261:            }
0262:
0263:            public static void setJournalTemplateFinder(
0264:                    com.liferay.portlet.journal.service.persistence.JournalTemplateFinder journalTemplateFinder) {
0265:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0266:                        .getService();
0267:
0268:                journalArticleLocalService
0269:                        .setJournalTemplateFinder(journalTemplateFinder);
0270:            }
0271:
0272:            public static com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence() {
0273:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0274:                        .getService();
0275:
0276:                return journalArticleLocalService.getCompanyPersistence();
0277:            }
0278:
0279:            public static void setCompanyPersistence(
0280:                    com.liferay.portal.service.persistence.CompanyPersistence companyPersistence) {
0281:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0282:                        .getService();
0283:
0284:                journalArticleLocalService
0285:                        .setCompanyPersistence(companyPersistence);
0286:            }
0287:
0288:            public static com.liferay.portal.service.persistence.PortletPreferencesPersistence getPortletPreferencesPersistence() {
0289:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0290:                        .getService();
0291:
0292:                return journalArticleLocalService
0293:                        .getPortletPreferencesPersistence();
0294:            }
0295:
0296:            public static void setPortletPreferencesPersistence(
0297:                    com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence) {
0298:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0299:                        .getService();
0300:
0301:                journalArticleLocalService
0302:                        .setPortletPreferencesPersistence(portletPreferencesPersistence);
0303:            }
0304:
0305:            public static com.liferay.portal.service.persistence.PortletPreferencesFinder getPortletPreferencesFinder() {
0306:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0307:                        .getService();
0308:
0309:                return journalArticleLocalService.getPortletPreferencesFinder();
0310:            }
0311:
0312:            public static void setPortletPreferencesFinder(
0313:                    com.liferay.portal.service.persistence.PortletPreferencesFinder portletPreferencesFinder) {
0314:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0315:                        .getService();
0316:
0317:                journalArticleLocalService
0318:                        .setPortletPreferencesFinder(portletPreferencesFinder);
0319:            }
0320:
0321:            public static com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence() {
0322:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0323:                        .getService();
0324:
0325:                return journalArticleLocalService.getResourcePersistence();
0326:            }
0327:
0328:            public static void setResourcePersistence(
0329:                    com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) {
0330:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0331:                        .getService();
0332:
0333:                journalArticleLocalService
0334:                        .setResourcePersistence(resourcePersistence);
0335:            }
0336:
0337:            public static com.liferay.portal.service.persistence.ResourceFinder getResourceFinder() {
0338:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0339:                        .getService();
0340:
0341:                return journalArticleLocalService.getResourceFinder();
0342:            }
0343:
0344:            public static void setResourceFinder(
0345:                    com.liferay.portal.service.persistence.ResourceFinder resourceFinder) {
0346:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0347:                        .getService();
0348:
0349:                journalArticleLocalService.setResourceFinder(resourceFinder);
0350:            }
0351:
0352:            public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
0353:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0354:                        .getService();
0355:
0356:                return journalArticleLocalService.getUserPersistence();
0357:            }
0358:
0359:            public static void setUserPersistence(
0360:                    com.liferay.portal.service.persistence.UserPersistence userPersistence) {
0361:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0362:                        .getService();
0363:
0364:                journalArticleLocalService.setUserPersistence(userPersistence);
0365:            }
0366:
0367:            public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
0368:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0369:                        .getService();
0370:
0371:                return journalArticleLocalService.getUserFinder();
0372:            }
0373:
0374:            public static void setUserFinder(
0375:                    com.liferay.portal.service.persistence.UserFinder userFinder) {
0376:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0377:                        .getService();
0378:
0379:                journalArticleLocalService.setUserFinder(userFinder);
0380:            }
0381:
0382:            public static com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence getMBMessagePersistence() {
0383:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0384:                        .getService();
0385:
0386:                return journalArticleLocalService.getMBMessagePersistence();
0387:            }
0388:
0389:            public static void setMBMessagePersistence(
0390:                    com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence) {
0391:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0392:                        .getService();
0393:
0394:                journalArticleLocalService
0395:                        .setMBMessagePersistence(mbMessagePersistence);
0396:            }
0397:
0398:            public static com.liferay.portlet.messageboards.service.persistence.MBMessageFinder getMBMessageFinder() {
0399:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0400:                        .getService();
0401:
0402:                return journalArticleLocalService.getMBMessageFinder();
0403:            }
0404:
0405:            public static void setMBMessageFinder(
0406:                    com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder) {
0407:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0408:                        .getService();
0409:
0410:                journalArticleLocalService.setMBMessageFinder(mbMessageFinder);
0411:            }
0412:
0413:            public static com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence getRatingsStatsPersistence() {
0414:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0415:                        .getService();
0416:
0417:                return journalArticleLocalService.getRatingsStatsPersistence();
0418:            }
0419:
0420:            public static void setRatingsStatsPersistence(
0421:                    com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence ratingsStatsPersistence) {
0422:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0423:                        .getService();
0424:
0425:                journalArticleLocalService
0426:                        .setRatingsStatsPersistence(ratingsStatsPersistence);
0427:            }
0428:
0429:            public static com.liferay.portlet.tags.service.persistence.TagsAssetPersistence getTagsAssetPersistence() {
0430:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0431:                        .getService();
0432:
0433:                return journalArticleLocalService.getTagsAssetPersistence();
0434:            }
0435:
0436:            public static void setTagsAssetPersistence(
0437:                    com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence) {
0438:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0439:                        .getService();
0440:
0441:                journalArticleLocalService
0442:                        .setTagsAssetPersistence(tagsAssetPersistence);
0443:            }
0444:
0445:            public static com.liferay.portlet.tags.service.persistence.TagsAssetFinder getTagsAssetFinder() {
0446:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0447:                        .getService();
0448:
0449:                return journalArticleLocalService.getTagsAssetFinder();
0450:            }
0451:
0452:            public static void setTagsAssetFinder(
0453:                    com.liferay.portlet.tags.service.persistence.TagsAssetFinder tagsAssetFinder) {
0454:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0455:                        .getService();
0456:
0457:                journalArticleLocalService.setTagsAssetFinder(tagsAssetFinder);
0458:            }
0459:
0460:            public static com.liferay.portlet.tags.service.persistence.TagsEntryPersistence getTagsEntryPersistence() {
0461:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0462:                        .getService();
0463:
0464:                return journalArticleLocalService.getTagsEntryPersistence();
0465:            }
0466:
0467:            public static void setTagsEntryPersistence(
0468:                    com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence) {
0469:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0470:                        .getService();
0471:
0472:                journalArticleLocalService
0473:                        .setTagsEntryPersistence(tagsEntryPersistence);
0474:            }
0475:
0476:            public static com.liferay.portlet.tags.service.persistence.TagsEntryFinder getTagsEntryFinder() {
0477:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0478:                        .getService();
0479:
0480:                return journalArticleLocalService.getTagsEntryFinder();
0481:            }
0482:
0483:            public static void setTagsEntryFinder(
0484:                    com.liferay.portlet.tags.service.persistence.TagsEntryFinder tagsEntryFinder) {
0485:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0486:                        .getService();
0487:
0488:                journalArticleLocalService.setTagsEntryFinder(tagsEntryFinder);
0489:            }
0490:
0491:            public static void afterPropertiesSet() {
0492:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0493:                        .getService();
0494:
0495:                journalArticleLocalService.afterPropertiesSet();
0496:            }
0497:
0498:            public static com.liferay.portlet.journal.model.JournalArticle addArticle(
0499:                    long userId, java.lang.String articleId,
0500:                    boolean autoArticleId, long plid, java.lang.String title,
0501:                    java.lang.String description, java.lang.String content,
0502:                    java.lang.String type, java.lang.String structureId,
0503:                    java.lang.String templateId, int displayDateMonth,
0504:                    int displayDateDay, int displayDateYear,
0505:                    int displayDateHour, int displayDateMinute,
0506:                    int expirationDateMonth, int expirationDateDay,
0507:                    int expirationDateYear, int expirationDateHour,
0508:                    int expirationDateMinute, boolean neverExpire,
0509:                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
0510:                    int reviewDateHour, int reviewDateMinute,
0511:                    boolean neverReview, boolean indexable, boolean smallImage,
0512:                    java.lang.String smallImageURL, java.io.File smallFile,
0513:                    java.util.Map images, java.lang.String articleURL,
0514:                    javax.portlet.PortletPreferences prefs,
0515:                    java.lang.String[] tagsEntries,
0516:                    boolean addCommunityPermissions, boolean addGuestPermissions)
0517:                    throws com.liferay.portal.PortalException,
0518:                    com.liferay.portal.SystemException {
0519:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0520:                        .getService();
0521:
0522:                return journalArticleLocalService.addArticle(userId, articleId,
0523:                        autoArticleId, plid, title, description, content, type,
0524:                        structureId, templateId, displayDateMonth,
0525:                        displayDateDay, displayDateYear, displayDateHour,
0526:                        displayDateMinute, expirationDateMonth,
0527:                        expirationDateDay, expirationDateYear,
0528:                        expirationDateHour, expirationDateMinute, neverExpire,
0529:                        reviewDateMonth, reviewDateDay, reviewDateYear,
0530:                        reviewDateHour, reviewDateMinute, neverReview,
0531:                        indexable, smallImage, smallImageURL, smallFile,
0532:                        images, articleURL, prefs, tagsEntries,
0533:                        addCommunityPermissions, addGuestPermissions);
0534:            }
0535:
0536:            public static com.liferay.portlet.journal.model.JournalArticle addArticle(
0537:                    java.lang.String uuid, long userId,
0538:                    java.lang.String articleId, boolean autoArticleId,
0539:                    long plid, java.lang.String title,
0540:                    java.lang.String description, java.lang.String content,
0541:                    java.lang.String type, java.lang.String structureId,
0542:                    java.lang.String templateId, int displayDateMonth,
0543:                    int displayDateDay, int displayDateYear,
0544:                    int displayDateHour, int displayDateMinute,
0545:                    int expirationDateMonth, int expirationDateDay,
0546:                    int expirationDateYear, int expirationDateHour,
0547:                    int expirationDateMinute, boolean neverExpire,
0548:                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
0549:                    int reviewDateHour, int reviewDateMinute,
0550:                    boolean neverReview, boolean indexable, boolean smallImage,
0551:                    java.lang.String smallImageURL, java.io.File smallFile,
0552:                    java.util.Map images, java.lang.String articleURL,
0553:                    javax.portlet.PortletPreferences prefs,
0554:                    java.lang.String[] tagsEntries,
0555:                    boolean addCommunityPermissions, boolean addGuestPermissions)
0556:                    throws com.liferay.portal.PortalException,
0557:                    com.liferay.portal.SystemException {
0558:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0559:                        .getService();
0560:
0561:                return journalArticleLocalService.addArticle(uuid, userId,
0562:                        articleId, autoArticleId, plid, title, description,
0563:                        content, type, structureId, templateId,
0564:                        displayDateMonth, displayDateDay, displayDateYear,
0565:                        displayDateHour, displayDateMinute,
0566:                        expirationDateMonth, expirationDateDay,
0567:                        expirationDateYear, expirationDateHour,
0568:                        expirationDateMinute, neverExpire, reviewDateMonth,
0569:                        reviewDateDay, reviewDateYear, reviewDateHour,
0570:                        reviewDateMinute, neverReview, indexable, smallImage,
0571:                        smallImageURL, smallFile, images, articleURL, prefs,
0572:                        tagsEntries, addCommunityPermissions,
0573:                        addGuestPermissions);
0574:            }
0575:
0576:            public static com.liferay.portlet.journal.model.JournalArticle addArticle(
0577:                    long userId, java.lang.String articleId,
0578:                    boolean autoArticleId, long plid, java.lang.String title,
0579:                    java.lang.String description, java.lang.String content,
0580:                    java.lang.String type, java.lang.String structureId,
0581:                    java.lang.String templateId, int displayDateMonth,
0582:                    int displayDateDay, int displayDateYear,
0583:                    int displayDateHour, int displayDateMinute,
0584:                    int expirationDateMonth, int expirationDateDay,
0585:                    int expirationDateYear, int expirationDateHour,
0586:                    int expirationDateMinute, boolean neverExpire,
0587:                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
0588:                    int reviewDateHour, int reviewDateMinute,
0589:                    boolean neverReview, boolean indexable, boolean smallImage,
0590:                    java.lang.String smallImageURL, java.io.File smallFile,
0591:                    java.util.Map images, java.lang.String articleURL,
0592:                    javax.portlet.PortletPreferences prefs,
0593:                    java.lang.String[] tagsEntries,
0594:                    java.lang.String[] communityPermissions,
0595:                    java.lang.String[] guestPermissions)
0596:                    throws com.liferay.portal.PortalException,
0597:                    com.liferay.portal.SystemException {
0598:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0599:                        .getService();
0600:
0601:                return journalArticleLocalService.addArticle(userId, articleId,
0602:                        autoArticleId, plid, title, description, content, type,
0603:                        structureId, templateId, displayDateMonth,
0604:                        displayDateDay, displayDateYear, displayDateHour,
0605:                        displayDateMinute, expirationDateMonth,
0606:                        expirationDateDay, expirationDateYear,
0607:                        expirationDateHour, expirationDateMinute, neverExpire,
0608:                        reviewDateMonth, reviewDateDay, reviewDateYear,
0609:                        reviewDateHour, reviewDateMinute, neverReview,
0610:                        indexable, smallImage, smallImageURL, smallFile,
0611:                        images, articleURL, prefs, tagsEntries,
0612:                        communityPermissions, guestPermissions);
0613:            }
0614:
0615:            public static com.liferay.portlet.journal.model.JournalArticle addArticle(
0616:                    java.lang.String uuid, long userId,
0617:                    java.lang.String articleId, boolean autoArticleId,
0618:                    long plid, java.lang.String title,
0619:                    java.lang.String description, java.lang.String content,
0620:                    java.lang.String type, java.lang.String structureId,
0621:                    java.lang.String templateId, int displayDateMonth,
0622:                    int displayDateDay, int displayDateYear,
0623:                    int displayDateHour, int displayDateMinute,
0624:                    int expirationDateMonth, int expirationDateDay,
0625:                    int expirationDateYear, int expirationDateHour,
0626:                    int expirationDateMinute, boolean neverExpire,
0627:                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
0628:                    int reviewDateHour, int reviewDateMinute,
0629:                    boolean neverReview, boolean indexable, boolean smallImage,
0630:                    java.lang.String smallImageURL, java.io.File smallFile,
0631:                    java.util.Map images, java.lang.String articleURL,
0632:                    javax.portlet.PortletPreferences prefs,
0633:                    java.lang.String[] tagsEntries,
0634:                    java.lang.Boolean addCommunityPermissions,
0635:                    java.lang.Boolean addGuestPermissions,
0636:                    java.lang.String[] communityPermissions,
0637:                    java.lang.String[] guestPermissions)
0638:                    throws com.liferay.portal.PortalException,
0639:                    com.liferay.portal.SystemException {
0640:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0641:                        .getService();
0642:
0643:                return journalArticleLocalService.addArticle(uuid, userId,
0644:                        articleId, autoArticleId, plid, title, description,
0645:                        content, type, structureId, templateId,
0646:                        displayDateMonth, displayDateDay, displayDateYear,
0647:                        displayDateHour, displayDateMinute,
0648:                        expirationDateMonth, expirationDateDay,
0649:                        expirationDateYear, expirationDateHour,
0650:                        expirationDateMinute, neverExpire, reviewDateMonth,
0651:                        reviewDateDay, reviewDateYear, reviewDateHour,
0652:                        reviewDateMinute, neverReview, indexable, smallImage,
0653:                        smallImageURL, smallFile, images, articleURL, prefs,
0654:                        tagsEntries, addCommunityPermissions,
0655:                        addGuestPermissions, communityPermissions,
0656:                        guestPermissions);
0657:            }
0658:
0659:            public static com.liferay.portlet.journal.model.JournalArticle addArticleToGroup(
0660:                    java.lang.String uuid, long userId,
0661:                    java.lang.String articleId, boolean autoArticleId,
0662:                    long groupId, java.lang.String title,
0663:                    java.lang.String description, java.lang.String content,
0664:                    java.lang.String type, java.lang.String structureId,
0665:                    java.lang.String templateId, int displayDateMonth,
0666:                    int displayDateDay, int displayDateYear,
0667:                    int displayDateHour, int displayDateMinute,
0668:                    int expirationDateMonth, int expirationDateDay,
0669:                    int expirationDateYear, int expirationDateHour,
0670:                    int expirationDateMinute, boolean neverExpire,
0671:                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
0672:                    int reviewDateHour, int reviewDateMinute,
0673:                    boolean neverReview, boolean indexable, boolean smallImage,
0674:                    java.lang.String smallImageURL, java.io.File smallFile,
0675:                    java.util.Map images, java.lang.String articleURL,
0676:                    javax.portlet.PortletPreferences prefs,
0677:                    java.lang.String[] tagsEntries,
0678:                    java.lang.Boolean addCommunityPermissions,
0679:                    java.lang.Boolean addGuestPermissions,
0680:                    java.lang.String[] communityPermissions,
0681:                    java.lang.String[] guestPermissions)
0682:                    throws com.liferay.portal.PortalException,
0683:                    com.liferay.portal.SystemException {
0684:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0685:                        .getService();
0686:
0687:                return journalArticleLocalService.addArticleToGroup(uuid,
0688:                        userId, articleId, autoArticleId, groupId, title,
0689:                        description, content, type, structureId, templateId,
0690:                        displayDateMonth, displayDateDay, displayDateYear,
0691:                        displayDateHour, displayDateMinute,
0692:                        expirationDateMonth, expirationDateDay,
0693:                        expirationDateYear, expirationDateHour,
0694:                        expirationDateMinute, neverExpire, reviewDateMonth,
0695:                        reviewDateDay, reviewDateYear, reviewDateHour,
0696:                        reviewDateMinute, neverReview, indexable, smallImage,
0697:                        smallImageURL, smallFile, images, articleURL, prefs,
0698:                        tagsEntries, addCommunityPermissions,
0699:                        addGuestPermissions, communityPermissions,
0700:                        guestPermissions);
0701:            }
0702:
0703:            public static void addArticleResources(long groupId,
0704:                    java.lang.String articleId,
0705:                    boolean addCommunityPermissions, boolean addGuestPermissions)
0706:                    throws com.liferay.portal.PortalException,
0707:                    com.liferay.portal.SystemException {
0708:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0709:                        .getService();
0710:
0711:                journalArticleLocalService
0712:                        .addArticleResources(groupId, articleId,
0713:                                addCommunityPermissions, addGuestPermissions);
0714:            }
0715:
0716:            public static void addArticleResources(
0717:                    com.liferay.portlet.journal.model.JournalArticle article,
0718:                    boolean addCommunityPermissions, boolean addGuestPermissions)
0719:                    throws com.liferay.portal.PortalException,
0720:                    com.liferay.portal.SystemException {
0721:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0722:                        .getService();
0723:
0724:                journalArticleLocalService.addArticleResources(article,
0725:                        addCommunityPermissions, addGuestPermissions);
0726:            }
0727:
0728:            public static void addArticleResources(long groupId,
0729:                    java.lang.String articleId,
0730:                    java.lang.String[] communityPermissions,
0731:                    java.lang.String[] guestPermissions)
0732:                    throws com.liferay.portal.PortalException,
0733:                    com.liferay.portal.SystemException {
0734:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0735:                        .getService();
0736:
0737:                journalArticleLocalService.addArticleResources(groupId,
0738:                        articleId, communityPermissions, guestPermissions);
0739:            }
0740:
0741:            public static void addArticleResources(
0742:                    com.liferay.portlet.journal.model.JournalArticle article,
0743:                    java.lang.String[] communityPermissions,
0744:                    java.lang.String[] guestPermissions)
0745:                    throws com.liferay.portal.PortalException,
0746:                    com.liferay.portal.SystemException {
0747:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0748:                        .getService();
0749:
0750:                journalArticleLocalService.addArticleResources(article,
0751:                        communityPermissions, guestPermissions);
0752:            }
0753:
0754:            public static com.liferay.portlet.journal.model.JournalArticle approveArticle(
0755:                    long userId, long groupId, java.lang.String articleId,
0756:                    double version, java.lang.String articleURL,
0757:                    javax.portlet.PortletPreferences prefs)
0758:                    throws com.liferay.portal.PortalException,
0759:                    com.liferay.portal.SystemException {
0760:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0761:                        .getService();
0762:
0763:                return journalArticleLocalService.approveArticle(userId,
0764:                        groupId, articleId, version, articleURL, prefs);
0765:            }
0766:
0767:            public static com.liferay.portlet.journal.model.JournalArticle checkArticleResourcePrimKey(
0768:                    long groupId, java.lang.String articleId, double version)
0769:                    throws com.liferay.portal.PortalException,
0770:                    com.liferay.portal.SystemException {
0771:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0772:                        .getService();
0773:
0774:                return journalArticleLocalService.checkArticleResourcePrimKey(
0775:                        groupId, articleId, version);
0776:            }
0777:
0778:            public static void checkArticles()
0779:                    throws com.liferay.portal.PortalException,
0780:                    com.liferay.portal.SystemException {
0781:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0782:                        .getService();
0783:
0784:                journalArticleLocalService.checkArticles();
0785:            }
0786:
0787:            public static void checkNewLine(long groupId,
0788:                    java.lang.String articleId, double version)
0789:                    throws com.liferay.portal.PortalException,
0790:                    com.liferay.portal.SystemException {
0791:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0792:                        .getService();
0793:
0794:                journalArticleLocalService.checkNewLine(groupId, articleId,
0795:                        version);
0796:            }
0797:
0798:            public static void checkStructure(long groupId,
0799:                    java.lang.String articleId, double version)
0800:                    throws com.liferay.portal.PortalException,
0801:                    com.liferay.portal.SystemException {
0802:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0803:                        .getService();
0804:
0805:                journalArticleLocalService.checkStructure(groupId, articleId,
0806:                        version);
0807:            }
0808:
0809:            public static void deleteArticle(long groupId,
0810:                    java.lang.String articleId, double version,
0811:                    java.lang.String articleURL,
0812:                    javax.portlet.PortletPreferences prefs)
0813:                    throws com.liferay.portal.PortalException,
0814:                    com.liferay.portal.SystemException {
0815:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0816:                        .getService();
0817:
0818:                journalArticleLocalService.deleteArticle(groupId, articleId,
0819:                        version, articleURL, prefs);
0820:            }
0821:
0822:            public static void deleteArticle(
0823:                    com.liferay.portlet.journal.model.JournalArticle article,
0824:                    java.lang.String articleURL,
0825:                    javax.portlet.PortletPreferences prefs)
0826:                    throws com.liferay.portal.PortalException,
0827:                    com.liferay.portal.SystemException {
0828:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0829:                        .getService();
0830:
0831:                journalArticleLocalService.deleteArticle(article, articleURL,
0832:                        prefs);
0833:            }
0834:
0835:            public static void deleteArticles(long groupId)
0836:                    throws com.liferay.portal.PortalException,
0837:                    com.liferay.portal.SystemException {
0838:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0839:                        .getService();
0840:
0841:                journalArticleLocalService.deleteArticles(groupId);
0842:            }
0843:
0844:            public static void expireArticle(long groupId,
0845:                    java.lang.String articleId, double version,
0846:                    java.lang.String articleURL,
0847:                    javax.portlet.PortletPreferences prefs)
0848:                    throws com.liferay.portal.PortalException,
0849:                    com.liferay.portal.SystemException {
0850:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0851:                        .getService();
0852:
0853:                journalArticleLocalService.expireArticle(groupId, articleId,
0854:                        version, articleURL, prefs);
0855:            }
0856:
0857:            public static void expireArticle(
0858:                    com.liferay.portlet.journal.model.JournalArticle article,
0859:                    java.lang.String articleURL,
0860:                    javax.portlet.PortletPreferences prefs)
0861:                    throws com.liferay.portal.PortalException,
0862:                    com.liferay.portal.SystemException {
0863:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0864:                        .getService();
0865:
0866:                journalArticleLocalService.expireArticle(article, articleURL,
0867:                        prefs);
0868:            }
0869:
0870:            public static com.liferay.portlet.journal.model.JournalArticle getArticle(
0871:                    long id) throws com.liferay.portal.PortalException,
0872:                    com.liferay.portal.SystemException {
0873:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0874:                        .getService();
0875:
0876:                return journalArticleLocalService.getArticle(id);
0877:            }
0878:
0879:            public static com.liferay.portlet.journal.model.JournalArticle getArticle(
0880:                    long groupId, java.lang.String articleId)
0881:                    throws com.liferay.portal.PortalException,
0882:                    com.liferay.portal.SystemException {
0883:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0884:                        .getService();
0885:
0886:                return journalArticleLocalService
0887:                        .getArticle(groupId, articleId);
0888:            }
0889:
0890:            public static com.liferay.portlet.journal.model.JournalArticle getArticle(
0891:                    long groupId, java.lang.String articleId, double version)
0892:                    throws com.liferay.portal.PortalException,
0893:                    com.liferay.portal.SystemException {
0894:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0895:                        .getService();
0896:
0897:                return journalArticleLocalService.getArticle(groupId,
0898:                        articleId, version);
0899:            }
0900:
0901:            public static java.lang.String getArticleContent(long groupId,
0902:                    java.lang.String articleId, java.lang.String languageId,
0903:                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
0904:                    throws com.liferay.portal.PortalException,
0905:                    com.liferay.portal.SystemException {
0906:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0907:                        .getService();
0908:
0909:                return journalArticleLocalService.getArticleContent(groupId,
0910:                        articleId, languageId, themeDisplay);
0911:            }
0912:
0913:            public static java.lang.String getArticleContent(long groupId,
0914:                    java.lang.String articleId, java.lang.String templateId,
0915:                    java.lang.String languageId,
0916:                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
0917:                    throws com.liferay.portal.PortalException,
0918:                    com.liferay.portal.SystemException {
0919:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0920:                        .getService();
0921:
0922:                return journalArticleLocalService.getArticleContent(groupId,
0923:                        articleId, templateId, languageId, themeDisplay);
0924:            }
0925:
0926:            public static java.lang.String getArticleContent(long groupId,
0927:                    java.lang.String articleId, double version,
0928:                    java.lang.String languageId,
0929:                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
0930:                    throws com.liferay.portal.PortalException,
0931:                    com.liferay.portal.SystemException {
0932:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0933:                        .getService();
0934:
0935:                return journalArticleLocalService.getArticleContent(groupId,
0936:                        articleId, version, languageId, themeDisplay);
0937:            }
0938:
0939:            public static java.lang.String getArticleContent(long groupId,
0940:                    java.lang.String articleId, double version,
0941:                    java.lang.String templateId, java.lang.String languageId,
0942:                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
0943:                    throws com.liferay.portal.PortalException,
0944:                    com.liferay.portal.SystemException {
0945:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0946:                        .getService();
0947:
0948:                return journalArticleLocalService.getArticleContent(groupId,
0949:                        articleId, version, templateId, languageId,
0950:                        themeDisplay);
0951:            }
0952:
0953:            public static com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
0954:                    long groupId, java.lang.String articleId,
0955:                    java.lang.String languageId,
0956:                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
0957:                    throws com.liferay.portal.PortalException,
0958:                    com.liferay.portal.SystemException {
0959:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0960:                        .getService();
0961:
0962:                return journalArticleLocalService.getArticleDisplay(groupId,
0963:                        articleId, languageId, themeDisplay);
0964:            }
0965:
0966:            public static com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
0967:                    long groupId, java.lang.String articleId,
0968:                    java.lang.String languageId, int page,
0969:                    java.lang.String xmlRequest,
0970:                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
0971:                    throws com.liferay.portal.PortalException,
0972:                    com.liferay.portal.SystemException {
0973:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0974:                        .getService();
0975:
0976:                return journalArticleLocalService.getArticleDisplay(groupId,
0977:                        articleId, languageId, page, xmlRequest, themeDisplay);
0978:            }
0979:
0980:            public static com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
0981:                    long groupId, java.lang.String articleId,
0982:                    java.lang.String templateId, java.lang.String languageId,
0983:                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
0984:                    throws com.liferay.portal.PortalException,
0985:                    com.liferay.portal.SystemException {
0986:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
0987:                        .getService();
0988:
0989:                return journalArticleLocalService.getArticleDisplay(groupId,
0990:                        articleId, templateId, languageId, themeDisplay);
0991:            }
0992:
0993:            public static com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
0994:                    long groupId, java.lang.String articleId,
0995:                    java.lang.String templateId, java.lang.String languageId,
0996:                    int page, java.lang.String xmlRequest,
0997:                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
0998:                    throws com.liferay.portal.PortalException,
0999:                    com.liferay.portal.SystemException {
1000:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1001:                        .getService();
1002:
1003:                return journalArticleLocalService.getArticleDisplay(groupId,
1004:                        articleId, templateId, languageId, page, xmlRequest,
1005:                        themeDisplay);
1006:            }
1007:
1008:            public static com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
1009:                    long groupId, java.lang.String articleId, double version,
1010:                    java.lang.String templateId, java.lang.String languageId,
1011:                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
1012:                    throws com.liferay.portal.PortalException,
1013:                    com.liferay.portal.SystemException {
1014:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1015:                        .getService();
1016:
1017:                return journalArticleLocalService.getArticleDisplay(groupId,
1018:                        articleId, version, templateId, languageId,
1019:                        themeDisplay);
1020:            }
1021:
1022:            public static com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
1023:                    long groupId, java.lang.String articleId, double version,
1024:                    java.lang.String templateId, java.lang.String languageId,
1025:                    int page, java.lang.String xmlRequest,
1026:                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
1027:                    throws com.liferay.portal.PortalException,
1028:                    com.liferay.portal.SystemException {
1029:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1030:                        .getService();
1031:
1032:                return journalArticleLocalService.getArticleDisplay(groupId,
1033:                        articleId, version, templateId, languageId, page,
1034:                        xmlRequest, themeDisplay);
1035:            }
1036:
1037:            public static java.util.List getArticles()
1038:                    throws com.liferay.portal.SystemException {
1039:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1040:                        .getService();
1041:
1042:                return journalArticleLocalService.getArticles();
1043:            }
1044:
1045:            public static java.util.List getArticles(long groupId)
1046:                    throws com.liferay.portal.SystemException {
1047:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1048:                        .getService();
1049:
1050:                return journalArticleLocalService.getArticles(groupId);
1051:            }
1052:
1053:            public static java.util.List getArticles(long groupId, int begin,
1054:                    int end) throws com.liferay.portal.SystemException {
1055:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1056:                        .getService();
1057:
1058:                return journalArticleLocalService.getArticles(groupId, begin,
1059:                        end);
1060:            }
1061:
1062:            public static java.util.List getArticles(long groupId, int begin,
1063:                    int end,
1064:                    com.liferay.portal.kernel.util.OrderByComparator obc)
1065:                    throws com.liferay.portal.SystemException {
1066:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1067:                        .getService();
1068:
1069:                return journalArticleLocalService.getArticles(groupId, begin,
1070:                        end, obc);
1071:            }
1072:
1073:            public static java.util.List getArticlesBySmallImageId(
1074:                    long smallImageId)
1075:                    throws com.liferay.portal.SystemException {
1076:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1077:                        .getService();
1078:
1079:                return journalArticleLocalService
1080:                        .getArticlesBySmallImageId(smallImageId);
1081:            }
1082:
1083:            public static int getArticlesCount(long groupId)
1084:                    throws com.liferay.portal.SystemException {
1085:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1086:                        .getService();
1087:
1088:                return journalArticleLocalService.getArticlesCount(groupId);
1089:            }
1090:
1091:            public static com.liferay.portlet.journal.model.JournalArticle getDisplayArticle(
1092:                    long groupId, java.lang.String articleId)
1093:                    throws com.liferay.portal.PortalException,
1094:                    com.liferay.portal.SystemException {
1095:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1096:                        .getService();
1097:
1098:                return journalArticleLocalService.getDisplayArticle(groupId,
1099:                        articleId);
1100:            }
1101:
1102:            public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
1103:                    long groupId, java.lang.String articleId)
1104:                    throws com.liferay.portal.PortalException,
1105:                    com.liferay.portal.SystemException {
1106:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1107:                        .getService();
1108:
1109:                return journalArticleLocalService.getLatestArticle(groupId,
1110:                        articleId);
1111:            }
1112:
1113:            public static com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
1114:                    long groupId, java.lang.String articleId,
1115:                    java.lang.Boolean approved)
1116:                    throws com.liferay.portal.PortalException,
1117:                    com.liferay.portal.SystemException {
1118:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1119:                        .getService();
1120:
1121:                return journalArticleLocalService.getLatestArticle(groupId,
1122:                        articleId, approved);
1123:            }
1124:
1125:            public static double getLatestVersion(long groupId,
1126:                    java.lang.String articleId)
1127:                    throws com.liferay.portal.PortalException,
1128:                    com.liferay.portal.SystemException {
1129:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1130:                        .getService();
1131:
1132:                return journalArticleLocalService.getLatestVersion(groupId,
1133:                        articleId);
1134:            }
1135:
1136:            public static double getLatestVersion(long groupId,
1137:                    java.lang.String articleId, java.lang.Boolean approved)
1138:                    throws com.liferay.portal.PortalException,
1139:                    com.liferay.portal.SystemException {
1140:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1141:                        .getService();
1142:
1143:                return journalArticleLocalService.getLatestVersion(groupId,
1144:                        articleId, approved);
1145:            }
1146:
1147:            public static java.util.List getStructureArticles(long groupId,
1148:                    java.lang.String structureId)
1149:                    throws com.liferay.portal.SystemException {
1150:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1151:                        .getService();
1152:
1153:                return journalArticleLocalService.getStructureArticles(groupId,
1154:                        structureId);
1155:            }
1156:
1157:            public static java.util.List getStructureArticles(long groupId,
1158:                    java.lang.String structureId, int begin, int end,
1159:                    com.liferay.portal.kernel.util.OrderByComparator obc)
1160:                    throws com.liferay.portal.SystemException {
1161:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1162:                        .getService();
1163:
1164:                return journalArticleLocalService.getStructureArticles(groupId,
1165:                        structureId, begin, end, obc);
1166:            }
1167:
1168:            public static int getStructureArticlesCount(long groupId,
1169:                    java.lang.String structureId)
1170:                    throws com.liferay.portal.SystemException {
1171:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1172:                        .getService();
1173:
1174:                return journalArticleLocalService.getStructureArticlesCount(
1175:                        groupId, structureId);
1176:            }
1177:
1178:            public static java.util.List getTemplateArticles(long groupId,
1179:                    java.lang.String templateId)
1180:                    throws com.liferay.portal.SystemException {
1181:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1182:                        .getService();
1183:
1184:                return journalArticleLocalService.getTemplateArticles(groupId,
1185:                        templateId);
1186:            }
1187:
1188:            public static java.util.List getTemplateArticles(long groupId,
1189:                    java.lang.String templateId, int begin, int end,
1190:                    com.liferay.portal.kernel.util.OrderByComparator obc)
1191:                    throws com.liferay.portal.SystemException {
1192:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1193:                        .getService();
1194:
1195:                return journalArticleLocalService.getTemplateArticles(groupId,
1196:                        templateId, begin, end, obc);
1197:            }
1198:
1199:            public static int getTemplateArticlesCount(long groupId,
1200:                    java.lang.String templateId)
1201:                    throws com.liferay.portal.SystemException {
1202:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1203:                        .getService();
1204:
1205:                return journalArticleLocalService.getTemplateArticlesCount(
1206:                        groupId, templateId);
1207:            }
1208:
1209:            public static boolean hasArticle(long groupId,
1210:                    java.lang.String articleId)
1211:                    throws com.liferay.portal.SystemException {
1212:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1213:                        .getService();
1214:
1215:                return journalArticleLocalService
1216:                        .hasArticle(groupId, articleId);
1217:            }
1218:
1219:            public static boolean isLatestVersion(long groupId,
1220:                    java.lang.String articleId, double version)
1221:                    throws com.liferay.portal.PortalException,
1222:                    com.liferay.portal.SystemException {
1223:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1224:                        .getService();
1225:
1226:                return journalArticleLocalService.isLatestVersion(groupId,
1227:                        articleId, version);
1228:            }
1229:
1230:            public static boolean isLatestVersion(long groupId,
1231:                    java.lang.String articleId, double version,
1232:                    java.lang.Boolean active)
1233:                    throws com.liferay.portal.PortalException,
1234:                    com.liferay.portal.SystemException {
1235:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1236:                        .getService();
1237:
1238:                return journalArticleLocalService.isLatestVersion(groupId,
1239:                        articleId, version, active);
1240:            }
1241:
1242:            public static void reIndex(java.lang.String[] ids)
1243:                    throws com.liferay.portal.SystemException {
1244:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1245:                        .getService();
1246:
1247:                journalArticleLocalService.reIndex(ids);
1248:            }
1249:
1250:            public static com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
1251:                    long groupId, java.lang.String articleId, double version,
1252:                    java.lang.String languageId)
1253:                    throws com.liferay.portal.PortalException,
1254:                    com.liferay.portal.SystemException {
1255:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1256:                        .getService();
1257:
1258:                return journalArticleLocalService.removeArticleLocale(groupId,
1259:                        articleId, version, languageId);
1260:            }
1261:
1262:            public static com.liferay.portal.kernel.search.Hits search(
1263:                    long companyId, long groupId, java.lang.String keywords)
1264:                    throws com.liferay.portal.SystemException {
1265:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1266:                        .getService();
1267:
1268:                return journalArticleLocalService.search(companyId, groupId,
1269:                        keywords);
1270:            }
1271:
1272:            public static com.liferay.portal.kernel.search.Hits search(
1273:                    long companyId, long groupId, java.lang.String keywords,
1274:                    java.lang.String sortField)
1275:                    throws com.liferay.portal.SystemException {
1276:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1277:                        .getService();
1278:
1279:                return journalArticleLocalService.search(companyId, groupId,
1280:                        keywords, sortField);
1281:            }
1282:
1283:            public static java.util.List search(long companyId, long groupId,
1284:                    java.lang.String keywords, java.lang.Double version,
1285:                    java.lang.String type, java.lang.String structureId,
1286:                    java.lang.String templateId, java.util.Date displayDateGT,
1287:                    java.util.Date displayDateLT, java.lang.Boolean approved,
1288:                    java.lang.Boolean expired, java.util.Date reviewDate,
1289:                    int begin, int end,
1290:                    com.liferay.portal.kernel.util.OrderByComparator obc)
1291:                    throws com.liferay.portal.SystemException {
1292:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1293:                        .getService();
1294:
1295:                return journalArticleLocalService.search(companyId, groupId,
1296:                        keywords, version, type, structureId, templateId,
1297:                        displayDateGT, displayDateLT, approved, expired,
1298:                        reviewDate, begin, end, obc);
1299:            }
1300:
1301:            public static java.util.List search(long companyId, long groupId,
1302:                    java.lang.String articleId, java.lang.Double version,
1303:                    java.lang.String title, java.lang.String description,
1304:                    java.lang.String content, java.lang.String type,
1305:                    java.lang.String structureId, java.lang.String templateId,
1306:                    java.util.Date displayDateGT, java.util.Date displayDateLT,
1307:                    java.lang.Boolean approved, java.lang.Boolean expired,
1308:                    java.util.Date reviewDate, boolean andOperator, int begin,
1309:                    int end,
1310:                    com.liferay.portal.kernel.util.OrderByComparator obc)
1311:                    throws com.liferay.portal.SystemException {
1312:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1313:                        .getService();
1314:
1315:                return journalArticleLocalService.search(companyId, groupId,
1316:                        articleId, version, title, description, content, type,
1317:                        structureId, templateId, displayDateGT, displayDateLT,
1318:                        approved, expired, reviewDate, andOperator, begin, end,
1319:                        obc);
1320:            }
1321:
1322:            public static java.util.List search(long companyId, long groupId,
1323:                    java.lang.String articleId, java.lang.Double version,
1324:                    java.lang.String title, java.lang.String description,
1325:                    java.lang.String content, java.lang.String type,
1326:                    java.lang.String[] structureIds,
1327:                    java.lang.String[] templateIds,
1328:                    java.util.Date displayDateGT, java.util.Date displayDateLT,
1329:                    java.lang.Boolean approved, java.lang.Boolean expired,
1330:                    java.util.Date reviewDate, boolean andOperator, int begin,
1331:                    int end,
1332:                    com.liferay.portal.kernel.util.OrderByComparator obc)
1333:                    throws com.liferay.portal.SystemException {
1334:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1335:                        .getService();
1336:
1337:                return journalArticleLocalService.search(companyId, groupId,
1338:                        articleId, version, title, description, content, type,
1339:                        structureIds, templateIds, displayDateGT,
1340:                        displayDateLT, approved, expired, reviewDate,
1341:                        andOperator, begin, end, obc);
1342:            }
1343:
1344:            public static int searchCount(long companyId, long groupId,
1345:                    java.lang.String keywords, java.lang.Double version,
1346:                    java.lang.String type, java.lang.String structureId,
1347:                    java.lang.String templateId, java.util.Date displayDateGT,
1348:                    java.util.Date displayDateLT, java.lang.Boolean approved,
1349:                    java.lang.Boolean expired, java.util.Date reviewDate)
1350:                    throws com.liferay.portal.SystemException {
1351:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1352:                        .getService();
1353:
1354:                return journalArticleLocalService.searchCount(companyId,
1355:                        groupId, keywords, version, type, structureId,
1356:                        templateId, displayDateGT, displayDateLT, approved,
1357:                        expired, reviewDate);
1358:            }
1359:
1360:            public static int searchCount(long companyId, long groupId,
1361:                    java.lang.String articleId, java.lang.Double version,
1362:                    java.lang.String title, java.lang.String description,
1363:                    java.lang.String content, java.lang.String type,
1364:                    java.lang.String structureId, java.lang.String templateId,
1365:                    java.util.Date displayDateGT, java.util.Date displayDateLT,
1366:                    java.lang.Boolean approved, java.lang.Boolean expired,
1367:                    java.util.Date reviewDate, boolean andOperator)
1368:                    throws com.liferay.portal.SystemException {
1369:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1370:                        .getService();
1371:
1372:                return journalArticleLocalService.searchCount(companyId,
1373:                        groupId, articleId, version, title, description,
1374:                        content, type, structureId, templateId, displayDateGT,
1375:                        displayDateLT, approved, expired, reviewDate,
1376:                        andOperator);
1377:            }
1378:
1379:            public static int searchCount(long companyId, long groupId,
1380:                    java.lang.String articleId, java.lang.Double version,
1381:                    java.lang.String title, java.lang.String description,
1382:                    java.lang.String content, java.lang.String type,
1383:                    java.lang.String[] structureIds,
1384:                    java.lang.String[] templateIds,
1385:                    java.util.Date displayDateGT, java.util.Date displayDateLT,
1386:                    java.lang.Boolean approved, java.lang.Boolean expired,
1387:                    java.util.Date reviewDate, boolean andOperator)
1388:                    throws com.liferay.portal.SystemException {
1389:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1390:                        .getService();
1391:
1392:                return journalArticleLocalService.searchCount(companyId,
1393:                        groupId, articleId, version, title, description,
1394:                        content, type, structureIds, templateIds,
1395:                        displayDateGT, displayDateLT, approved, expired,
1396:                        reviewDate, andOperator);
1397:            }
1398:
1399:            public static com.liferay.portlet.journal.model.JournalArticle updateArticle(
1400:                    long userId, long groupId, java.lang.String articleId,
1401:                    double version, boolean incrementVersion,
1402:                    java.lang.String title, java.lang.String description,
1403:                    java.lang.String content, java.lang.String type,
1404:                    java.lang.String structureId, java.lang.String templateId,
1405:                    int displayDateMonth, int displayDateDay,
1406:                    int displayDateYear, int displayDateHour,
1407:                    int displayDateMinute, int expirationDateMonth,
1408:                    int expirationDateDay, int expirationDateYear,
1409:                    int expirationDateHour, int expirationDateMinute,
1410:                    boolean neverExpire, int reviewDateMonth,
1411:                    int reviewDateDay, int reviewDateYear, int reviewDateHour,
1412:                    int reviewDateMinute, boolean neverReview,
1413:                    boolean indexable, boolean smallImage,
1414:                    java.lang.String smallImageURL, java.io.File smallFile,
1415:                    java.util.Map images, java.lang.String articleURL,
1416:                    javax.portlet.PortletPreferences prefs,
1417:                    java.lang.String[] tagsEntries)
1418:                    throws com.liferay.portal.PortalException,
1419:                    com.liferay.portal.SystemException {
1420:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1421:                        .getService();
1422:
1423:                return journalArticleLocalService.updateArticle(userId,
1424:                        groupId, articleId, version, incrementVersion, title,
1425:                        description, content, type, structureId, templateId,
1426:                        displayDateMonth, displayDateDay, displayDateYear,
1427:                        displayDateHour, displayDateMinute,
1428:                        expirationDateMonth, expirationDateDay,
1429:                        expirationDateYear, expirationDateHour,
1430:                        expirationDateMinute, neverExpire, reviewDateMonth,
1431:                        reviewDateDay, reviewDateYear, reviewDateHour,
1432:                        reviewDateMinute, neverReview, indexable, smallImage,
1433:                        smallImageURL, smallFile, images, articleURL, prefs,
1434:                        tagsEntries);
1435:            }
1436:
1437:            public static com.liferay.portlet.journal.model.JournalArticle updateContent(
1438:                    long groupId, java.lang.String articleId, double version,
1439:                    java.lang.String content)
1440:                    throws com.liferay.portal.PortalException,
1441:                    com.liferay.portal.SystemException {
1442:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1443:                        .getService();
1444:
1445:                return journalArticleLocalService.updateContent(groupId,
1446:                        articleId, version, content);
1447:            }
1448:
1449:            public static void updateTagsAsset(long userId,
1450:                    com.liferay.portlet.journal.model.JournalArticle article,
1451:                    java.lang.String[] tagsEntries)
1452:                    throws com.liferay.portal.PortalException,
1453:                    com.liferay.portal.SystemException {
1454:                JournalArticleLocalService journalArticleLocalService = JournalArticleLocalServiceFactory
1455:                        .getService();
1456:
1457:                journalArticleLocalService.updateTagsAsset(userId, article,
1458:                        tagsEntries);
1459:            }
1460:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.