1   /**
2    * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.wiki.service.persistence;
24  
25  import com.liferay.portal.PortalException;
26  import com.liferay.portal.SystemException;
27  import com.liferay.portal.kernel.annotation.Propagation;
28  import com.liferay.portal.kernel.annotation.Transactional;
29  
30  /**
31   * <a href="WikiPagePersistence.java.html"><b><i>View Source</i></b></a>
32   *
33   * @author Brian Wing Shun Chan
34   *
35   */
36  @Transactional(rollbackFor =  {
37      PortalException.class, SystemException.class})
38  public interface WikiPagePersistence {
39      public com.liferay.portlet.wiki.model.WikiPage create(long pageId);
40  
41      public com.liferay.portlet.wiki.model.WikiPage remove(long pageId)
42          throws com.liferay.portal.SystemException,
43              com.liferay.portlet.wiki.NoSuchPageException;
44  
45      public com.liferay.portlet.wiki.model.WikiPage remove(
46          com.liferay.portlet.wiki.model.WikiPage wikiPage)
47          throws com.liferay.portal.SystemException;
48  
49      /**
50       * @deprecated Use <code>update(WikiPage wikiPage, boolean merge)</code>.
51       */
52      public com.liferay.portlet.wiki.model.WikiPage update(
53          com.liferay.portlet.wiki.model.WikiPage wikiPage)
54          throws com.liferay.portal.SystemException;
55  
56      /**
57       * Add, update, or merge, the entity. This method also calls the model
58       * listeners to trigger the proper events associated with adding, deleting,
59       * or updating an entity.
60       *
61       * @param        wikiPage the entity to add, update, or merge
62       * @param        merge boolean value for whether to merge the entity. The
63       *                default value is false. Setting merge to true is more
64       *                expensive and should only be true when wikiPage is
65       *                transient. See LEP-5473 for a detailed discussion of this
66       *                method.
67       * @return        true if the portlet can be displayed via Ajax
68       */
69      public com.liferay.portlet.wiki.model.WikiPage update(
70          com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
71          throws com.liferay.portal.SystemException;
72  
73      public com.liferay.portlet.wiki.model.WikiPage updateImpl(
74          com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
75          throws com.liferay.portal.SystemException;
76  
77      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
78      public com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(long pageId)
79          throws com.liferay.portal.SystemException,
80              com.liferay.portlet.wiki.NoSuchPageException;
81  
82      public com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(
83          long pageId) throws com.liferay.portal.SystemException;
84  
85      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
86      public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
87          java.lang.String uuid) throws com.liferay.portal.SystemException;
88  
89      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
90      public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
91          java.lang.String uuid, int start, int end)
92          throws com.liferay.portal.SystemException;
93  
94      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
95      public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
96          java.lang.String uuid, int start, int end,
97          com.liferay.portal.kernel.util.OrderByComparator obc)
98          throws com.liferay.portal.SystemException;
99  
100     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
101     public com.liferay.portlet.wiki.model.WikiPage findByUuid_First(
102         java.lang.String uuid,
103         com.liferay.portal.kernel.util.OrderByComparator obc)
104         throws com.liferay.portal.SystemException,
105             com.liferay.portlet.wiki.NoSuchPageException;
106 
107     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
108     public com.liferay.portlet.wiki.model.WikiPage findByUuid_Last(
109         java.lang.String uuid,
110         com.liferay.portal.kernel.util.OrderByComparator obc)
111         throws com.liferay.portal.SystemException,
112             com.liferay.portlet.wiki.NoSuchPageException;
113 
114     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
115     public com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext(
116         long pageId, java.lang.String uuid,
117         com.liferay.portal.kernel.util.OrderByComparator obc)
118         throws com.liferay.portal.SystemException,
119             com.liferay.portlet.wiki.NoSuchPageException;
120 
121     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
122     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
123         long nodeId) throws com.liferay.portal.SystemException;
124 
125     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
126     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
127         long nodeId, int start, int end)
128         throws com.liferay.portal.SystemException;
129 
130     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
131     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
132         long nodeId, int start, int end,
133         com.liferay.portal.kernel.util.OrderByComparator obc)
134         throws com.liferay.portal.SystemException;
135 
136     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
137     public com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(
138         long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
139         throws com.liferay.portal.SystemException,
140             com.liferay.portlet.wiki.NoSuchPageException;
141 
142     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
143     public com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(
144         long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
145         throws com.liferay.portal.SystemException,
146             com.liferay.portlet.wiki.NoSuchPageException;
147 
148     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
149     public com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(
150         long pageId, long nodeId,
151         com.liferay.portal.kernel.util.OrderByComparator obc)
152         throws com.liferay.portal.SystemException,
153             com.liferay.portlet.wiki.NoSuchPageException;
154 
155     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
156     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
157         java.lang.String format) throws com.liferay.portal.SystemException;
158 
159     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
160     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
161         java.lang.String format, int start, int end)
162         throws com.liferay.portal.SystemException;
163 
164     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
165     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
166         java.lang.String format, int start, int end,
167         com.liferay.portal.kernel.util.OrderByComparator obc)
168         throws com.liferay.portal.SystemException;
169 
170     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
171     public com.liferay.portlet.wiki.model.WikiPage findByFormat_First(
172         java.lang.String format,
173         com.liferay.portal.kernel.util.OrderByComparator obc)
174         throws com.liferay.portal.SystemException,
175             com.liferay.portlet.wiki.NoSuchPageException;
176 
177     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
178     public com.liferay.portlet.wiki.model.WikiPage findByFormat_Last(
179         java.lang.String format,
180         com.liferay.portal.kernel.util.OrderByComparator obc)
181         throws com.liferay.portal.SystemException,
182             com.liferay.portlet.wiki.NoSuchPageException;
183 
184     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
185     public com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext(
186         long pageId, java.lang.String format,
187         com.liferay.portal.kernel.util.OrderByComparator obc)
188         throws com.liferay.portal.SystemException,
189             com.liferay.portlet.wiki.NoSuchPageException;
190 
191     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
192     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
193         long nodeId, java.lang.String title)
194         throws com.liferay.portal.SystemException;
195 
196     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
197     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
198         long nodeId, java.lang.String title, int start, int end)
199         throws com.liferay.portal.SystemException;
200 
201     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
202     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
203         long nodeId, java.lang.String title, int start, int end,
204         com.liferay.portal.kernel.util.OrderByComparator obc)
205         throws com.liferay.portal.SystemException;
206 
207     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
208     public com.liferay.portlet.wiki.model.WikiPage findByN_T_First(
209         long nodeId, java.lang.String title,
210         com.liferay.portal.kernel.util.OrderByComparator obc)
211         throws com.liferay.portal.SystemException,
212             com.liferay.portlet.wiki.NoSuchPageException;
213 
214     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
215     public com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(long nodeId,
216         java.lang.String title,
217         com.liferay.portal.kernel.util.OrderByComparator obc)
218         throws com.liferay.portal.SystemException,
219             com.liferay.portlet.wiki.NoSuchPageException;
220 
221     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
222     public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(
223         long pageId, long nodeId, java.lang.String title,
224         com.liferay.portal.kernel.util.OrderByComparator obc)
225         throws com.liferay.portal.SystemException,
226             com.liferay.portlet.wiki.NoSuchPageException;
227 
228     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
229     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
230         long nodeId, boolean head) throws com.liferay.portal.SystemException;
231 
232     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
233     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
234         long nodeId, boolean head, int start, int end)
235         throws com.liferay.portal.SystemException;
236 
237     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
238     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
239         long nodeId, boolean head, int start, int end,
240         com.liferay.portal.kernel.util.OrderByComparator obc)
241         throws com.liferay.portal.SystemException;
242 
243     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
244     public com.liferay.portlet.wiki.model.WikiPage findByN_H_First(
245         long nodeId, boolean head,
246         com.liferay.portal.kernel.util.OrderByComparator obc)
247         throws com.liferay.portal.SystemException,
248             com.liferay.portlet.wiki.NoSuchPageException;
249 
250     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
251     public com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(long nodeId,
252         boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
253         throws com.liferay.portal.SystemException,
254             com.liferay.portlet.wiki.NoSuchPageException;
255 
256     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
257     public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(
258         long pageId, long nodeId, boolean head,
259         com.liferay.portal.kernel.util.OrderByComparator obc)
260         throws com.liferay.portal.SystemException,
261             com.liferay.portlet.wiki.NoSuchPageException;
262 
263     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
264     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
265         long nodeId, java.lang.String parentTitle)
266         throws com.liferay.portal.SystemException;
267 
268     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
269     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
270         long nodeId, java.lang.String parentTitle, int start, int end)
271         throws com.liferay.portal.SystemException;
272 
273     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
274     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
275         long nodeId, java.lang.String parentTitle, int start, int end,
276         com.liferay.portal.kernel.util.OrderByComparator obc)
277         throws com.liferay.portal.SystemException;
278 
279     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
280     public com.liferay.portlet.wiki.model.WikiPage findByN_P_First(
281         long nodeId, java.lang.String parentTitle,
282         com.liferay.portal.kernel.util.OrderByComparator obc)
283         throws com.liferay.portal.SystemException,
284             com.liferay.portlet.wiki.NoSuchPageException;
285 
286     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
287     public com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(long nodeId,
288         java.lang.String parentTitle,
289         com.liferay.portal.kernel.util.OrderByComparator obc)
290         throws com.liferay.portal.SystemException,
291             com.liferay.portlet.wiki.NoSuchPageException;
292 
293     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
294     public com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext(
295         long pageId, long nodeId, java.lang.String parentTitle,
296         com.liferay.portal.kernel.util.OrderByComparator obc)
297         throws com.liferay.portal.SystemException,
298             com.liferay.portlet.wiki.NoSuchPageException;
299 
300     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
301     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
302         long nodeId, java.lang.String redirectTitle)
303         throws com.liferay.portal.SystemException;
304 
305     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
306     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
307         long nodeId, java.lang.String redirectTitle, int start, int end)
308         throws com.liferay.portal.SystemException;
309 
310     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
311     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
312         long nodeId, java.lang.String redirectTitle, int start, int end,
313         com.liferay.portal.kernel.util.OrderByComparator obc)
314         throws com.liferay.portal.SystemException;
315 
316     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
317     public com.liferay.portlet.wiki.model.WikiPage findByN_R_First(
318         long nodeId, java.lang.String redirectTitle,
319         com.liferay.portal.kernel.util.OrderByComparator obc)
320         throws com.liferay.portal.SystemException,
321             com.liferay.portlet.wiki.NoSuchPageException;
322 
323     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
324     public com.liferay.portlet.wiki.model.WikiPage findByN_R_Last(long nodeId,
325         java.lang.String redirectTitle,
326         com.liferay.portal.kernel.util.OrderByComparator obc)
327         throws com.liferay.portal.SystemException,
328             com.liferay.portlet.wiki.NoSuchPageException;
329 
330     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
331     public com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext(
332         long pageId, long nodeId, java.lang.String redirectTitle,
333         com.liferay.portal.kernel.util.OrderByComparator obc)
334         throws com.liferay.portal.SystemException,
335             com.liferay.portlet.wiki.NoSuchPageException;
336 
337     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
338     public com.liferay.portlet.wiki.model.WikiPage findByN_T_V(long nodeId,
339         java.lang.String title, double version)
340         throws com.liferay.portal.SystemException,
341             com.liferay.portlet.wiki.NoSuchPageException;
342 
343     public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
344         java.lang.String title, double version)
345         throws com.liferay.portal.SystemException;
346 
347     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
348     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
349         long nodeId, java.lang.String title, boolean head)
350         throws com.liferay.portal.SystemException;
351 
352     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
353     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
354         long nodeId, java.lang.String title, boolean head, int start, int end)
355         throws com.liferay.portal.SystemException;
356 
357     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
358     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
359         long nodeId, java.lang.String title, boolean head, int start, int end,
360         com.liferay.portal.kernel.util.OrderByComparator obc)
361         throws com.liferay.portal.SystemException;
362 
363     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
364     public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(
365         long nodeId, java.lang.String title, boolean head,
366         com.liferay.portal.kernel.util.OrderByComparator obc)
367         throws com.liferay.portal.SystemException,
368             com.liferay.portlet.wiki.NoSuchPageException;
369 
370     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
371     public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(
372         long nodeId, java.lang.String title, boolean head,
373         com.liferay.portal.kernel.util.OrderByComparator obc)
374         throws com.liferay.portal.SystemException,
375             com.liferay.portlet.wiki.NoSuchPageException;
376 
377     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
378     public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(
379         long pageId, long nodeId, java.lang.String title, boolean head,
380         com.liferay.portal.kernel.util.OrderByComparator obc)
381         throws com.liferay.portal.SystemException,
382             com.liferay.portlet.wiki.NoSuchPageException;
383 
384     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
385     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
386         long nodeId, boolean head, java.lang.String parentTitle)
387         throws com.liferay.portal.SystemException;
388 
389     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
390     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
391         long nodeId, boolean head, java.lang.String parentTitle, int start,
392         int end) throws com.liferay.portal.SystemException;
393 
394     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
395     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
396         long nodeId, boolean head, java.lang.String parentTitle, int start,
397         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
398         throws com.liferay.portal.SystemException;
399 
400     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
401     public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First(
402         long nodeId, boolean head, java.lang.String parentTitle,
403         com.liferay.portal.kernel.util.OrderByComparator obc)
404         throws com.liferay.portal.SystemException,
405             com.liferay.portlet.wiki.NoSuchPageException;
406 
407     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
408     public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last(
409         long nodeId, boolean head, java.lang.String parentTitle,
410         com.liferay.portal.kernel.util.OrderByComparator obc)
411         throws com.liferay.portal.SystemException,
412             com.liferay.portlet.wiki.NoSuchPageException;
413 
414     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
415     public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext(
416         long pageId, long nodeId, boolean head, java.lang.String parentTitle,
417         com.liferay.portal.kernel.util.OrderByComparator obc)
418         throws com.liferay.portal.SystemException,
419             com.liferay.portlet.wiki.NoSuchPageException;
420 
421     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
422     public java.util.List<Object> findWithDynamicQuery(
423         com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
424         throws com.liferay.portal.SystemException;
425 
426     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
427     public java.util.List<Object> findWithDynamicQuery(
428         com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
429         int end) throws com.liferay.portal.SystemException;
430 
431     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
432     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll()
433         throws com.liferay.portal.SystemException;
434 
435     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
436     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
437         int start, int end) throws com.liferay.portal.SystemException;
438 
439     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
440     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
441         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
442         throws com.liferay.portal.SystemException;
443 
444     public void removeByUuid(java.lang.String uuid)
445         throws com.liferay.portal.SystemException;
446 
447     public void removeByNodeId(long nodeId)
448         throws com.liferay.portal.SystemException;
449 
450     public void removeByFormat(java.lang.String format)
451         throws com.liferay.portal.SystemException;
452 
453     public void removeByN_T(long nodeId, java.lang.String title)
454         throws com.liferay.portal.SystemException;
455 
456     public void removeByN_H(long nodeId, boolean head)
457         throws com.liferay.portal.SystemException;
458 
459     public void removeByN_P(long nodeId, java.lang.String parentTitle)
460         throws com.liferay.portal.SystemException;
461 
462     public void removeByN_R(long nodeId, java.lang.String redirectTitle)
463         throws com.liferay.portal.SystemException;
464 
465     public void removeByN_T_V(long nodeId, java.lang.String title,
466         double version)
467         throws com.liferay.portal.SystemException,
468             com.liferay.portlet.wiki.NoSuchPageException;
469 
470     public void removeByN_T_H(long nodeId, java.lang.String title, boolean head)
471         throws com.liferay.portal.SystemException;
472 
473     public void removeByN_H_P(long nodeId, boolean head,
474         java.lang.String parentTitle) throws com.liferay.portal.SystemException;
475 
476     public void removeAll() throws com.liferay.portal.SystemException;
477 
478     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
479     public int countByUuid(java.lang.String uuid)
480         throws com.liferay.portal.SystemException;
481 
482     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
483     public int countByNodeId(long nodeId)
484         throws com.liferay.portal.SystemException;
485 
486     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
487     public int countByFormat(java.lang.String format)
488         throws com.liferay.portal.SystemException;
489 
490     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
491     public int countByN_T(long nodeId, java.lang.String title)
492         throws com.liferay.portal.SystemException;
493 
494     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
495     public int countByN_H(long nodeId, boolean head)
496         throws com.liferay.portal.SystemException;
497 
498     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
499     public int countByN_P(long nodeId, java.lang.String parentTitle)
500         throws com.liferay.portal.SystemException;
501 
502     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
503     public int countByN_R(long nodeId, java.lang.String redirectTitle)
504         throws com.liferay.portal.SystemException;
505 
506     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
507     public int countByN_T_V(long nodeId, java.lang.String title, double version)
508         throws com.liferay.portal.SystemException;
509 
510     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
511     public int countByN_T_H(long nodeId, java.lang.String title, boolean head)
512         throws com.liferay.portal.SystemException;
513 
514     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
515     public int countByN_H_P(long nodeId, boolean head,
516         java.lang.String parentTitle) throws com.liferay.portal.SystemException;
517 
518     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
519     public int countAll() throws com.liferay.portal.SystemException;
520 
521     public void registerListener(
522         com.liferay.portal.model.ModelListener listener);
523 
524     public void unregisterListener(
525         com.liferay.portal.model.ModelListener listener);
526 }