1
22
23 package com.liferay.portlet.wiki.service;
24
25
26
47 public class WikiNodeServiceUtil {
48 public static com.liferay.portlet.wiki.model.WikiNode addNode(long plid,
49 java.lang.String name, java.lang.String description,
50 boolean addCommunityPermissions, boolean addGuestPermissions)
51 throws com.liferay.portal.PortalException,
52 com.liferay.portal.SystemException, java.rmi.RemoteException {
53 return _service.addNode(plid, name, description,
54 addCommunityPermissions, addGuestPermissions);
55 }
56
57 public static com.liferay.portlet.wiki.model.WikiNode addNode(long plid,
58 java.lang.String name, java.lang.String description,
59 java.lang.String[] communityPermissions,
60 java.lang.String[] guestPermissions)
61 throws com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException, java.rmi.RemoteException {
63 return _service.addNode(plid, name, description, communityPermissions,
64 guestPermissions);
65 }
66
67 public static void deleteNode(long nodeId)
68 throws com.liferay.portal.PortalException,
69 com.liferay.portal.SystemException, java.rmi.RemoteException {
70 _service.deleteNode(nodeId);
71 }
72
73 public static com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
74 throws com.liferay.portal.PortalException,
75 com.liferay.portal.SystemException, java.rmi.RemoteException {
76 return _service.getNode(nodeId);
77 }
78
79 public static com.liferay.portlet.wiki.model.WikiNode getNode(
80 long groupId, java.lang.String name)
81 throws com.liferay.portal.PortalException,
82 com.liferay.portal.SystemException, java.rmi.RemoteException {
83 return _service.getNode(groupId, name);
84 }
85
86 public static void importPages(long nodeId, java.lang.String importer,
87 java.io.File[] files, java.util.Map<String, String[]> options)
88 throws com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException, java.rmi.RemoteException {
90 _service.importPages(nodeId, importer, files, options);
91 }
92
93 public static void subscribeNode(long nodeId)
94 throws com.liferay.portal.PortalException,
95 com.liferay.portal.SystemException, java.rmi.RemoteException {
96 _service.subscribeNode(nodeId);
97 }
98
99 public static void unsubscribeNode(long nodeId)
100 throws com.liferay.portal.PortalException,
101 com.liferay.portal.SystemException, java.rmi.RemoteException {
102 _service.unsubscribeNode(nodeId);
103 }
104
105 public static com.liferay.portlet.wiki.model.WikiNode updateNode(
106 long nodeId, java.lang.String name, java.lang.String description)
107 throws com.liferay.portal.PortalException,
108 com.liferay.portal.SystemException, java.rmi.RemoteException {
109 return _service.updateNode(nodeId, name, description);
110 }
111
112 public static WikiNodeService getService() {
113 return _service;
114 }
115
116 public void setService(WikiNodeService service) {
117 _service = service;
118 }
119
120 private static WikiNodeService _service;
121 }