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