1
22
23 package com.liferay.portlet.wiki.service;
24
25
26
47 public class WikiNodeLocalServiceUtil {
48 public static com.liferay.portlet.wiki.model.WikiNode addWikiNode(
49 com.liferay.portlet.wiki.model.WikiNode wikiNode)
50 throws com.liferay.portal.SystemException {
51 return _service.addWikiNode(wikiNode);
52 }
53
54 public static void deleteWikiNode(long nodeId)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException {
57 _service.deleteWikiNode(nodeId);
58 }
59
60 public static void deleteWikiNode(
61 com.liferay.portlet.wiki.model.WikiNode wikiNode)
62 throws com.liferay.portal.SystemException {
63 _service.deleteWikiNode(wikiNode);
64 }
65
66 public static java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException {
69 return _service.dynamicQuery(dynamicQuery);
70 }
71
72 public static java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end) throws com.liferay.portal.SystemException {
75 return _service.dynamicQuery(dynamicQuery, start, end);
76 }
77
78 public static com.liferay.portlet.wiki.model.WikiNode getWikiNode(
79 long nodeId)
80 throws com.liferay.portal.PortalException,
81 com.liferay.portal.SystemException {
82 return _service.getWikiNode(nodeId);
83 }
84
85 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> getWikiNodes(
86 int start, int end) throws com.liferay.portal.SystemException {
87 return _service.getWikiNodes(start, end);
88 }
89
90 public static int getWikiNodesCount()
91 throws com.liferay.portal.SystemException {
92 return _service.getWikiNodesCount();
93 }
94
95 public static com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
96 com.liferay.portlet.wiki.model.WikiNode wikiNode)
97 throws com.liferay.portal.SystemException {
98 return _service.updateWikiNode(wikiNode);
99 }
100
101 public static com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
102 long plid, java.lang.String name, java.lang.String description,
103 boolean addCommunityPermissions, boolean addGuestPermissions)
104 throws com.liferay.portal.PortalException,
105 com.liferay.portal.SystemException {
106 return _service.addNode(userId, plid, name, description,
107 addCommunityPermissions, addGuestPermissions);
108 }
109
110 public static com.liferay.portlet.wiki.model.WikiNode addNode(
111 java.lang.String uuid, long userId, long plid, java.lang.String name,
112 java.lang.String description, boolean addCommunityPermissions,
113 boolean addGuestPermissions)
114 throws com.liferay.portal.PortalException,
115 com.liferay.portal.SystemException {
116 return _service.addNode(uuid, userId, plid, name, description,
117 addCommunityPermissions, addGuestPermissions);
118 }
119
120 public static com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
121 long plid, java.lang.String name, java.lang.String description,
122 java.lang.String[] communityPermissions,
123 java.lang.String[] guestPermissions)
124 throws com.liferay.portal.PortalException,
125 com.liferay.portal.SystemException {
126 return _service.addNode(userId, plid, name, description,
127 communityPermissions, guestPermissions);
128 }
129
130 public static com.liferay.portlet.wiki.model.WikiNode addNode(
131 java.lang.String uuid, long userId, long plid, java.lang.String name,
132 java.lang.String description,
133 java.lang.Boolean addCommunityPermissions,
134 java.lang.Boolean addGuestPermissions,
135 java.lang.String[] communityPermissions,
136 java.lang.String[] guestPermissions)
137 throws com.liferay.portal.PortalException,
138 com.liferay.portal.SystemException {
139 return _service.addNode(uuid, userId, plid, name, description,
140 addCommunityPermissions, addGuestPermissions, communityPermissions,
141 guestPermissions);
142 }
143
144 public static void addNodeResources(long nodeId,
145 boolean addCommunityPermissions, boolean addGuestPermissions)
146 throws com.liferay.portal.PortalException,
147 com.liferay.portal.SystemException {
148 _service.addNodeResources(nodeId, addCommunityPermissions,
149 addGuestPermissions);
150 }
151
152 public static void addNodeResources(
153 com.liferay.portlet.wiki.model.WikiNode node,
154 boolean addCommunityPermissions, boolean addGuestPermissions)
155 throws com.liferay.portal.PortalException,
156 com.liferay.portal.SystemException {
157 _service.addNodeResources(node, addCommunityPermissions,
158 addGuestPermissions);
159 }
160
161 public static void addNodeResources(long nodeId,
162 java.lang.String[] communityPermissions,
163 java.lang.String[] guestPermissions)
164 throws com.liferay.portal.PortalException,
165 com.liferay.portal.SystemException {
166 _service.addNodeResources(nodeId, communityPermissions, guestPermissions);
167 }
168
169 public static void addNodeResources(
170 com.liferay.portlet.wiki.model.WikiNode node,
171 java.lang.String[] communityPermissions,
172 java.lang.String[] guestPermissions)
173 throws com.liferay.portal.PortalException,
174 com.liferay.portal.SystemException {
175 _service.addNodeResources(node, communityPermissions, guestPermissions);
176 }
177
178 public static void deleteNode(long nodeId)
179 throws com.liferay.portal.PortalException,
180 com.liferay.portal.SystemException {
181 _service.deleteNode(nodeId);
182 }
183
184 public static void deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
185 throws com.liferay.portal.PortalException,
186 com.liferay.portal.SystemException {
187 _service.deleteNode(node);
188 }
189
190 public static void deleteNodes(long groupId)
191 throws com.liferay.portal.PortalException,
192 com.liferay.portal.SystemException {
193 _service.deleteNodes(groupId);
194 }
195
196 public static com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
197 throws com.liferay.portal.PortalException,
198 com.liferay.portal.SystemException {
199 return _service.getNode(nodeId);
200 }
201
202 public static com.liferay.portlet.wiki.model.WikiNode getNode(
203 long groupId, java.lang.String nodeName)
204 throws com.liferay.portal.PortalException,
205 com.liferay.portal.SystemException {
206 return _service.getNode(groupId, nodeName);
207 }
208
209 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
210 long groupId) throws com.liferay.portal.SystemException {
211 return _service.getNodes(groupId);
212 }
213
214 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
215 long groupId, int start, int end)
216 throws com.liferay.portal.SystemException {
217 return _service.getNodes(groupId, start, end);
218 }
219
220 public static int getNodesCount(long groupId)
221 throws com.liferay.portal.SystemException {
222 return _service.getNodesCount(groupId);
223 }
224
225 public static void importPages(long userId, long nodeId,
226 java.lang.String importer, java.io.File[] files,
227 java.util.Map<String, String[]> options)
228 throws com.liferay.portal.PortalException,
229 com.liferay.portal.SystemException {
230 _service.importPages(userId, nodeId, importer, files, options);
231 }
232
233 public static void reIndex(java.lang.String[] ids)
234 throws com.liferay.portal.SystemException {
235 _service.reIndex(ids);
236 }
237
238 public static com.liferay.portal.kernel.search.Hits search(long companyId,
239 long groupId, long[] nodeIds, java.lang.String keywords, int start,
240 int end) throws com.liferay.portal.SystemException {
241 return _service.search(companyId, groupId, nodeIds, keywords, start, end);
242 }
243
244 public static void subscribeNode(long userId, long nodeId)
245 throws com.liferay.portal.PortalException,
246 com.liferay.portal.SystemException {
247 _service.subscribeNode(userId, nodeId);
248 }
249
250 public static void unsubscribeNode(long userId, long nodeId)
251 throws com.liferay.portal.PortalException,
252 com.liferay.portal.SystemException {
253 _service.unsubscribeNode(userId, nodeId);
254 }
255
256 public static com.liferay.portlet.wiki.model.WikiNode updateNode(
257 long nodeId, java.lang.String name, java.lang.String description)
258 throws com.liferay.portal.PortalException,
259 com.liferay.portal.SystemException {
260 return _service.updateNode(nodeId, name, description);
261 }
262
263 public static WikiNodeLocalService getService() {
264 return _service;
265 }
266
267 public void setService(WikiNodeLocalService service) {
268 _service = service;
269 }
270
271 private static WikiNodeLocalService _service;
272 }