Source Code Cross Referenced for WikiNodeLocalServiceUtil.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portlet » wiki » 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.wiki.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.wiki.service;
022:
023:        /**
024:         * <a href="WikiNodeLocalServiceUtil.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.wiki.service.WikiNodeLocalService</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.wiki.service.WikiNodeLocalServiceFactory</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.wiki.service.WikiNodeLocalService
047:         * @see com.liferay.portlet.wiki.service.WikiNodeLocalServiceFactory
048:         *
049:         */
050:        public class WikiNodeLocalServiceUtil {
051:            public static com.liferay.portlet.wiki.model.WikiNode addWikiNode(
052:                    com.liferay.portlet.wiki.model.WikiNode model)
053:                    throws com.liferay.portal.SystemException {
054:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
055:                        .getService();
056:
057:                return wikiNodeLocalService.addWikiNode(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:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
064:                        .getService();
065:
066:                return wikiNodeLocalService.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:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
074:                        .getService();
075:
076:                return wikiNodeLocalService.dynamicQuery(queryInitializer,
077:                        begin, end);
078:            }
079:
080:            public static com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
081:                    com.liferay.portlet.wiki.model.WikiNode model)
082:                    throws com.liferay.portal.SystemException {
083:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
084:                        .getService();
085:
086:                return wikiNodeLocalService.updateWikiNode(model);
087:            }
088:
089:            public static com.liferay.portlet.wiki.service.persistence.WikiNodePersistence getWikiNodePersistence() {
090:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
091:                        .getService();
092:
093:                return wikiNodeLocalService.getWikiNodePersistence();
094:            }
095:
096:            public static void setWikiNodePersistence(
097:                    com.liferay.portlet.wiki.service.persistence.WikiNodePersistence wikiNodePersistence) {
098:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
099:                        .getService();
100:
101:                wikiNodeLocalService
102:                        .setWikiNodePersistence(wikiNodePersistence);
103:            }
104:
105:            public static com.liferay.portlet.wiki.service.persistence.WikiPagePersistence getWikiPagePersistence() {
106:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
107:                        .getService();
108:
109:                return wikiNodeLocalService.getWikiPagePersistence();
110:            }
111:
112:            public static void setWikiPagePersistence(
113:                    com.liferay.portlet.wiki.service.persistence.WikiPagePersistence wikiPagePersistence) {
114:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
115:                        .getService();
116:
117:                wikiNodeLocalService
118:                        .setWikiPagePersistence(wikiPagePersistence);
119:            }
120:
121:            public static com.liferay.portlet.wiki.service.persistence.WikiPageFinder getWikiPageFinder() {
122:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
123:                        .getService();
124:
125:                return wikiNodeLocalService.getWikiPageFinder();
126:            }
127:
128:            public static void setWikiPageFinder(
129:                    com.liferay.portlet.wiki.service.persistence.WikiPageFinder wikiPageFinder) {
130:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
131:                        .getService();
132:
133:                wikiNodeLocalService.setWikiPageFinder(wikiPageFinder);
134:            }
135:
136:            public static com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence getWikiPageResourcePersistence() {
137:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
138:                        .getService();
139:
140:                return wikiNodeLocalService.getWikiPageResourcePersistence();
141:            }
142:
143:            public static void setWikiPageResourcePersistence(
144:                    com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence wikiPageResourcePersistence) {
145:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
146:                        .getService();
147:
148:                wikiNodeLocalService
149:                        .setWikiPageResourcePersistence(wikiPageResourcePersistence);
150:            }
151:
152:            public static com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence() {
153:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
154:                        .getService();
155:
156:                return wikiNodeLocalService.getResourcePersistence();
157:            }
158:
159:            public static void setResourcePersistence(
160:                    com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) {
161:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
162:                        .getService();
163:
164:                wikiNodeLocalService
165:                        .setResourcePersistence(resourcePersistence);
166:            }
167:
168:            public static com.liferay.portal.service.persistence.ResourceFinder getResourceFinder() {
169:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
170:                        .getService();
171:
172:                return wikiNodeLocalService.getResourceFinder();
173:            }
174:
175:            public static void setResourceFinder(
176:                    com.liferay.portal.service.persistence.ResourceFinder resourceFinder) {
177:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
178:                        .getService();
179:
180:                wikiNodeLocalService.setResourceFinder(resourceFinder);
181:            }
182:
183:            public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
184:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
185:                        .getService();
186:
187:                return wikiNodeLocalService.getUserPersistence();
188:            }
189:
190:            public static void setUserPersistence(
191:                    com.liferay.portal.service.persistence.UserPersistence userPersistence) {
192:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
193:                        .getService();
194:
195:                wikiNodeLocalService.setUserPersistence(userPersistence);
196:            }
197:
198:            public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
199:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
200:                        .getService();
201:
202:                return wikiNodeLocalService.getUserFinder();
203:            }
204:
205:            public static void setUserFinder(
206:                    com.liferay.portal.service.persistence.UserFinder userFinder) {
207:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
208:                        .getService();
209:
210:                wikiNodeLocalService.setUserFinder(userFinder);
211:            }
212:
213:            public static com.liferay.portlet.tags.service.persistence.TagsEntryPersistence getTagsEntryPersistence() {
214:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
215:                        .getService();
216:
217:                return wikiNodeLocalService.getTagsEntryPersistence();
218:            }
219:
220:            public static void setTagsEntryPersistence(
221:                    com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence) {
222:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
223:                        .getService();
224:
225:                wikiNodeLocalService
226:                        .setTagsEntryPersistence(tagsEntryPersistence);
227:            }
228:
229:            public static com.liferay.portlet.tags.service.persistence.TagsEntryFinder getTagsEntryFinder() {
230:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
231:                        .getService();
232:
233:                return wikiNodeLocalService.getTagsEntryFinder();
234:            }
235:
236:            public static void setTagsEntryFinder(
237:                    com.liferay.portlet.tags.service.persistence.TagsEntryFinder tagsEntryFinder) {
238:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
239:                        .getService();
240:
241:                wikiNodeLocalService.setTagsEntryFinder(tagsEntryFinder);
242:            }
243:
244:            public static void afterPropertiesSet() {
245:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
246:                        .getService();
247:
248:                wikiNodeLocalService.afterPropertiesSet();
249:            }
250:
251:            public static com.liferay.portlet.wiki.model.WikiNode addNode(
252:                    long userId, long plid, java.lang.String name,
253:                    java.lang.String description,
254:                    boolean addCommunityPermissions, boolean addGuestPermissions)
255:                    throws com.liferay.portal.PortalException,
256:                    com.liferay.portal.SystemException {
257:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
258:                        .getService();
259:
260:                return wikiNodeLocalService.addNode(userId, plid, name,
261:                        description, addCommunityPermissions,
262:                        addGuestPermissions);
263:            }
264:
265:            public static com.liferay.portlet.wiki.model.WikiNode addNode(
266:                    java.lang.String uuid, long userId, long plid,
267:                    java.lang.String name, java.lang.String description,
268:                    boolean addCommunityPermissions, boolean addGuestPermissions)
269:                    throws com.liferay.portal.PortalException,
270:                    com.liferay.portal.SystemException {
271:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
272:                        .getService();
273:
274:                return wikiNodeLocalService.addNode(uuid, userId, plid, name,
275:                        description, addCommunityPermissions,
276:                        addGuestPermissions);
277:            }
278:
279:            public static com.liferay.portlet.wiki.model.WikiNode addNode(
280:                    long userId, long plid, java.lang.String name,
281:                    java.lang.String description,
282:                    java.lang.String[] communityPermissions,
283:                    java.lang.String[] guestPermissions)
284:                    throws com.liferay.portal.PortalException,
285:                    com.liferay.portal.SystemException {
286:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
287:                        .getService();
288:
289:                return wikiNodeLocalService.addNode(userId, plid, name,
290:                        description, communityPermissions, guestPermissions);
291:            }
292:
293:            public static com.liferay.portlet.wiki.model.WikiNode addNode(
294:                    java.lang.String uuid, long userId, long plid,
295:                    java.lang.String name, java.lang.String description,
296:                    java.lang.Boolean addCommunityPermissions,
297:                    java.lang.Boolean addGuestPermissions,
298:                    java.lang.String[] communityPermissions,
299:                    java.lang.String[] guestPermissions)
300:                    throws com.liferay.portal.PortalException,
301:                    com.liferay.portal.SystemException {
302:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
303:                        .getService();
304:
305:                return wikiNodeLocalService.addNode(uuid, userId, plid, name,
306:                        description, addCommunityPermissions,
307:                        addGuestPermissions, communityPermissions,
308:                        guestPermissions);
309:            }
310:
311:            public static void addNodeResources(long nodeId,
312:                    boolean addCommunityPermissions, boolean addGuestPermissions)
313:                    throws com.liferay.portal.PortalException,
314:                    com.liferay.portal.SystemException {
315:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
316:                        .getService();
317:
318:                wikiNodeLocalService.addNodeResources(nodeId,
319:                        addCommunityPermissions, addGuestPermissions);
320:            }
321:
322:            public static void addNodeResources(
323:                    com.liferay.portlet.wiki.model.WikiNode node,
324:                    boolean addCommunityPermissions, boolean addGuestPermissions)
325:                    throws com.liferay.portal.PortalException,
326:                    com.liferay.portal.SystemException {
327:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
328:                        .getService();
329:
330:                wikiNodeLocalService.addNodeResources(node,
331:                        addCommunityPermissions, addGuestPermissions);
332:            }
333:
334:            public static void addNodeResources(long nodeId,
335:                    java.lang.String[] communityPermissions,
336:                    java.lang.String[] guestPermissions)
337:                    throws com.liferay.portal.PortalException,
338:                    com.liferay.portal.SystemException {
339:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
340:                        .getService();
341:
342:                wikiNodeLocalService.addNodeResources(nodeId,
343:                        communityPermissions, guestPermissions);
344:            }
345:
346:            public static void addNodeResources(
347:                    com.liferay.portlet.wiki.model.WikiNode node,
348:                    java.lang.String[] communityPermissions,
349:                    java.lang.String[] guestPermissions)
350:                    throws com.liferay.portal.PortalException,
351:                    com.liferay.portal.SystemException {
352:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
353:                        .getService();
354:
355:                wikiNodeLocalService.addNodeResources(node,
356:                        communityPermissions, guestPermissions);
357:            }
358:
359:            public static void deleteNode(long nodeId)
360:                    throws com.liferay.portal.PortalException,
361:                    com.liferay.portal.SystemException {
362:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
363:                        .getService();
364:
365:                wikiNodeLocalService.deleteNode(nodeId);
366:            }
367:
368:            public static void deleteNode(
369:                    com.liferay.portlet.wiki.model.WikiNode node)
370:                    throws com.liferay.portal.PortalException,
371:                    com.liferay.portal.SystemException {
372:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
373:                        .getService();
374:
375:                wikiNodeLocalService.deleteNode(node);
376:            }
377:
378:            public static void deleteNodes(long groupId)
379:                    throws com.liferay.portal.PortalException,
380:                    com.liferay.portal.SystemException {
381:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
382:                        .getService();
383:
384:                wikiNodeLocalService.deleteNodes(groupId);
385:            }
386:
387:            public static com.liferay.portlet.wiki.model.WikiNode getNode(
388:                    long nodeId) throws com.liferay.portal.PortalException,
389:                    com.liferay.portal.SystemException {
390:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
391:                        .getService();
392:
393:                return wikiNodeLocalService.getNode(nodeId);
394:            }
395:
396:            public static java.util.List getNodes(long groupId)
397:                    throws com.liferay.portal.SystemException {
398:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
399:                        .getService();
400:
401:                return wikiNodeLocalService.getNodes(groupId);
402:            }
403:
404:            public static java.util.List getNodes(long groupId, int begin,
405:                    int end) throws com.liferay.portal.SystemException {
406:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
407:                        .getService();
408:
409:                return wikiNodeLocalService.getNodes(groupId, begin, end);
410:            }
411:
412:            public static int getNodesCount(long groupId)
413:                    throws com.liferay.portal.SystemException {
414:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
415:                        .getService();
416:
417:                return wikiNodeLocalService.getNodesCount(groupId);
418:            }
419:
420:            public static void reIndex(java.lang.String[] ids)
421:                    throws com.liferay.portal.SystemException {
422:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
423:                        .getService();
424:
425:                wikiNodeLocalService.reIndex(ids);
426:            }
427:
428:            public static com.liferay.portal.kernel.search.Hits search(
429:                    long companyId, long groupId, long[] nodeIds,
430:                    java.lang.String keywords)
431:                    throws com.liferay.portal.SystemException {
432:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
433:                        .getService();
434:
435:                return wikiNodeLocalService.search(companyId, groupId, nodeIds,
436:                        keywords);
437:            }
438:
439:            public static com.liferay.portlet.wiki.model.WikiNode updateNode(
440:                    long nodeId, java.lang.String name,
441:                    java.lang.String description)
442:                    throws com.liferay.portal.PortalException,
443:                    com.liferay.portal.SystemException {
444:                WikiNodeLocalService wikiNodeLocalService = WikiNodeLocalServiceFactory
445:                        .getService();
446:
447:                return wikiNodeLocalService.updateNode(nodeId, name,
448:                        description);
449:            }
450:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.