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