1
22
23 package com.liferay.portlet.wiki.service.persistence;
24
25
31 public class WikiNodeUtil {
32 public static void cacheResult(
33 com.liferay.portlet.wiki.model.WikiNode wikiNode) {
34 getPersistence().cacheResult(wikiNode);
35 }
36
37 public static void cacheResult(
38 java.util.List<com.liferay.portlet.wiki.model.WikiNode> wikiNodes) {
39 getPersistence().cacheResult(wikiNodes);
40 }
41
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46 public static com.liferay.portlet.wiki.model.WikiNode create(long nodeId) {
47 return getPersistence().create(nodeId);
48 }
49
50 public static com.liferay.portlet.wiki.model.WikiNode remove(long nodeId)
51 throws com.liferay.portal.SystemException,
52 com.liferay.portlet.wiki.NoSuchNodeException {
53 return getPersistence().remove(nodeId);
54 }
55
56 public static com.liferay.portlet.wiki.model.WikiNode remove(
57 com.liferay.portlet.wiki.model.WikiNode wikiNode)
58 throws com.liferay.portal.SystemException {
59 return getPersistence().remove(wikiNode);
60 }
61
62
65 public static com.liferay.portlet.wiki.model.WikiNode update(
66 com.liferay.portlet.wiki.model.WikiNode wikiNode)
67 throws com.liferay.portal.SystemException {
68 return getPersistence().update(wikiNode);
69 }
70
71
84 public static com.liferay.portlet.wiki.model.WikiNode update(
85 com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
86 throws com.liferay.portal.SystemException {
87 return getPersistence().update(wikiNode, merge);
88 }
89
90 public static com.liferay.portlet.wiki.model.WikiNode updateImpl(
91 com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
92 throws com.liferay.portal.SystemException {
93 return getPersistence().updateImpl(wikiNode, merge);
94 }
95
96 public static com.liferay.portlet.wiki.model.WikiNode findByPrimaryKey(
97 long nodeId)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portlet.wiki.NoSuchNodeException {
100 return getPersistence().findByPrimaryKey(nodeId);
101 }
102
103 public static com.liferay.portlet.wiki.model.WikiNode fetchByPrimaryKey(
104 long nodeId) throws com.liferay.portal.SystemException {
105 return getPersistence().fetchByPrimaryKey(nodeId);
106 }
107
108 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
109 java.lang.String uuid) throws com.liferay.portal.SystemException {
110 return getPersistence().findByUuid(uuid);
111 }
112
113 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
114 java.lang.String uuid, int start, int end)
115 throws com.liferay.portal.SystemException {
116 return getPersistence().findByUuid(uuid, start, end);
117 }
118
119 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
120 java.lang.String uuid, int start, int end,
121 com.liferay.portal.kernel.util.OrderByComparator obc)
122 throws com.liferay.portal.SystemException {
123 return getPersistence().findByUuid(uuid, start, end, obc);
124 }
125
126 public static com.liferay.portlet.wiki.model.WikiNode findByUuid_First(
127 java.lang.String uuid,
128 com.liferay.portal.kernel.util.OrderByComparator obc)
129 throws com.liferay.portal.SystemException,
130 com.liferay.portlet.wiki.NoSuchNodeException {
131 return getPersistence().findByUuid_First(uuid, obc);
132 }
133
134 public static com.liferay.portlet.wiki.model.WikiNode findByUuid_Last(
135 java.lang.String uuid,
136 com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.SystemException,
138 com.liferay.portlet.wiki.NoSuchNodeException {
139 return getPersistence().findByUuid_Last(uuid, obc);
140 }
141
142 public static com.liferay.portlet.wiki.model.WikiNode[] findByUuid_PrevAndNext(
143 long nodeId, java.lang.String uuid,
144 com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.SystemException,
146 com.liferay.portlet.wiki.NoSuchNodeException {
147 return getPersistence().findByUuid_PrevAndNext(nodeId, uuid, obc);
148 }
149
150 public static com.liferay.portlet.wiki.model.WikiNode findByUUID_G(
151 java.lang.String uuid, long groupId)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portlet.wiki.NoSuchNodeException {
154 return getPersistence().findByUUID_G(uuid, groupId);
155 }
156
157 public static com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(
158 java.lang.String uuid, long groupId)
159 throws com.liferay.portal.SystemException {
160 return getPersistence().fetchByUUID_G(uuid, groupId);
161 }
162
163 public static com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(
164 java.lang.String uuid, long groupId, boolean retrieveFromCache)
165 throws com.liferay.portal.SystemException {
166 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
167 }
168
169 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
170 long groupId) throws com.liferay.portal.SystemException {
171 return getPersistence().findByGroupId(groupId);
172 }
173
174 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
175 long groupId, int start, int end)
176 throws com.liferay.portal.SystemException {
177 return getPersistence().findByGroupId(groupId, start, end);
178 }
179
180 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
181 long groupId, int start, int end,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.SystemException {
184 return getPersistence().findByGroupId(groupId, start, end, obc);
185 }
186
187 public static com.liferay.portlet.wiki.model.WikiNode findByGroupId_First(
188 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
189 throws com.liferay.portal.SystemException,
190 com.liferay.portlet.wiki.NoSuchNodeException {
191 return getPersistence().findByGroupId_First(groupId, obc);
192 }
193
194 public static com.liferay.portlet.wiki.model.WikiNode findByGroupId_Last(
195 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
196 throws com.liferay.portal.SystemException,
197 com.liferay.portlet.wiki.NoSuchNodeException {
198 return getPersistence().findByGroupId_Last(groupId, obc);
199 }
200
201 public static com.liferay.portlet.wiki.model.WikiNode[] findByGroupId_PrevAndNext(
202 long nodeId, long groupId,
203 com.liferay.portal.kernel.util.OrderByComparator obc)
204 throws com.liferay.portal.SystemException,
205 com.liferay.portlet.wiki.NoSuchNodeException {
206 return getPersistence().findByGroupId_PrevAndNext(nodeId, groupId, obc);
207 }
208
209 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
210 long companyId) throws com.liferay.portal.SystemException {
211 return getPersistence().findByCompanyId(companyId);
212 }
213
214 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
215 long companyId, int start, int end)
216 throws com.liferay.portal.SystemException {
217 return getPersistence().findByCompanyId(companyId, start, end);
218 }
219
220 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
221 long companyId, int start, int end,
222 com.liferay.portal.kernel.util.OrderByComparator obc)
223 throws com.liferay.portal.SystemException {
224 return getPersistence().findByCompanyId(companyId, start, end, obc);
225 }
226
227 public static com.liferay.portlet.wiki.model.WikiNode findByCompanyId_First(
228 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
229 throws com.liferay.portal.SystemException,
230 com.liferay.portlet.wiki.NoSuchNodeException {
231 return getPersistence().findByCompanyId_First(companyId, obc);
232 }
233
234 public static com.liferay.portlet.wiki.model.WikiNode findByCompanyId_Last(
235 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
236 throws com.liferay.portal.SystemException,
237 com.liferay.portlet.wiki.NoSuchNodeException {
238 return getPersistence().findByCompanyId_Last(companyId, obc);
239 }
240
241 public static com.liferay.portlet.wiki.model.WikiNode[] findByCompanyId_PrevAndNext(
242 long nodeId, long companyId,
243 com.liferay.portal.kernel.util.OrderByComparator obc)
244 throws com.liferay.portal.SystemException,
245 com.liferay.portlet.wiki.NoSuchNodeException {
246 return getPersistence()
247 .findByCompanyId_PrevAndNext(nodeId, companyId, obc);
248 }
249
250 public static com.liferay.portlet.wiki.model.WikiNode findByG_N(
251 long groupId, java.lang.String name)
252 throws com.liferay.portal.SystemException,
253 com.liferay.portlet.wiki.NoSuchNodeException {
254 return getPersistence().findByG_N(groupId, name);
255 }
256
257 public static com.liferay.portlet.wiki.model.WikiNode fetchByG_N(
258 long groupId, java.lang.String name)
259 throws com.liferay.portal.SystemException {
260 return getPersistence().fetchByG_N(groupId, name);
261 }
262
263 public static com.liferay.portlet.wiki.model.WikiNode fetchByG_N(
264 long groupId, java.lang.String name, boolean retrieveFromCache)
265 throws com.liferay.portal.SystemException {
266 return getPersistence().fetchByG_N(groupId, name, retrieveFromCache);
267 }
268
269 public static java.util.List<Object> findWithDynamicQuery(
270 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
271 throws com.liferay.portal.SystemException {
272 return getPersistence().findWithDynamicQuery(dynamicQuery);
273 }
274
275 public static java.util.List<Object> findWithDynamicQuery(
276 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
277 int end) throws com.liferay.portal.SystemException {
278 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
279 }
280
281 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll()
282 throws com.liferay.portal.SystemException {
283 return getPersistence().findAll();
284 }
285
286 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(
287 int start, int end) throws com.liferay.portal.SystemException {
288 return getPersistence().findAll(start, end);
289 }
290
291 public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(
292 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
293 throws com.liferay.portal.SystemException {
294 return getPersistence().findAll(start, end, obc);
295 }
296
297 public static void removeByUuid(java.lang.String uuid)
298 throws com.liferay.portal.SystemException {
299 getPersistence().removeByUuid(uuid);
300 }
301
302 public static void removeByUUID_G(java.lang.String uuid, long groupId)
303 throws com.liferay.portal.SystemException,
304 com.liferay.portlet.wiki.NoSuchNodeException {
305 getPersistence().removeByUUID_G(uuid, groupId);
306 }
307
308 public static void removeByGroupId(long groupId)
309 throws com.liferay.portal.SystemException {
310 getPersistence().removeByGroupId(groupId);
311 }
312
313 public static void removeByCompanyId(long companyId)
314 throws com.liferay.portal.SystemException {
315 getPersistence().removeByCompanyId(companyId);
316 }
317
318 public static void removeByG_N(long groupId, java.lang.String name)
319 throws com.liferay.portal.SystemException,
320 com.liferay.portlet.wiki.NoSuchNodeException {
321 getPersistence().removeByG_N(groupId, name);
322 }
323
324 public static void removeAll() throws com.liferay.portal.SystemException {
325 getPersistence().removeAll();
326 }
327
328 public static int countByUuid(java.lang.String uuid)
329 throws com.liferay.portal.SystemException {
330 return getPersistence().countByUuid(uuid);
331 }
332
333 public static int countByUUID_G(java.lang.String uuid, long groupId)
334 throws com.liferay.portal.SystemException {
335 return getPersistence().countByUUID_G(uuid, groupId);
336 }
337
338 public static int countByGroupId(long groupId)
339 throws com.liferay.portal.SystemException {
340 return getPersistence().countByGroupId(groupId);
341 }
342
343 public static int countByCompanyId(long companyId)
344 throws com.liferay.portal.SystemException {
345 return getPersistence().countByCompanyId(companyId);
346 }
347
348 public static int countByG_N(long groupId, java.lang.String name)
349 throws com.liferay.portal.SystemException {
350 return getPersistence().countByG_N(groupId, name);
351 }
352
353 public static int countAll() throws com.liferay.portal.SystemException {
354 return getPersistence().countAll();
355 }
356
357 public static WikiNodePersistence getPersistence() {
358 return _persistence;
359 }
360
361 public void setPersistence(WikiNodePersistence persistence) {
362 _persistence = persistence;
363 }
364
365 private static WikiNodePersistence _persistence;
366 }