1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.wiki.service.persistence;
16  
17  import com.liferay.portal.service.persistence.BasePersistence;
18  
19  import com.liferay.portlet.wiki.model.WikiPage;
20  
21  /**
22   * <a href="WikiPagePersistence.java.html"><b><i>View Source</i></b></a>
23   *
24   * <p>
25   * ServiceBuilder generated this class. Modifications in this class will be
26   * overwritten the next time is generated.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       WikiPagePersistenceImpl
31   * @see       WikiPageUtil
32   * @generated
33   */
34  public interface WikiPagePersistence extends BasePersistence<WikiPage> {
35      public void cacheResult(com.liferay.portlet.wiki.model.WikiPage wikiPage);
36  
37      public void cacheResult(
38          java.util.List<com.liferay.portlet.wiki.model.WikiPage> wikiPages);
39  
40      public com.liferay.portlet.wiki.model.WikiPage create(long pageId);
41  
42      public com.liferay.portlet.wiki.model.WikiPage remove(long pageId)
43          throws com.liferay.portal.kernel.exception.SystemException,
44              com.liferay.portlet.wiki.NoSuchPageException;
45  
46      public com.liferay.portlet.wiki.model.WikiPage updateImpl(
47          com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
48          throws com.liferay.portal.kernel.exception.SystemException;
49  
50      public com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(long pageId)
51          throws com.liferay.portal.kernel.exception.SystemException,
52              com.liferay.portlet.wiki.NoSuchPageException;
53  
54      public com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(
55          long pageId) throws com.liferay.portal.kernel.exception.SystemException;
56  
57      public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
58          java.lang.String uuid)
59          throws com.liferay.portal.kernel.exception.SystemException;
60  
61      public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
62          java.lang.String uuid, int start, int end)
63          throws com.liferay.portal.kernel.exception.SystemException;
64  
65      public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
66          java.lang.String uuid, int start, int end,
67          com.liferay.portal.kernel.util.OrderByComparator obc)
68          throws com.liferay.portal.kernel.exception.SystemException;
69  
70      public com.liferay.portlet.wiki.model.WikiPage findByUuid_First(
71          java.lang.String uuid,
72          com.liferay.portal.kernel.util.OrderByComparator obc)
73          throws com.liferay.portal.kernel.exception.SystemException,
74              com.liferay.portlet.wiki.NoSuchPageException;
75  
76      public com.liferay.portlet.wiki.model.WikiPage findByUuid_Last(
77          java.lang.String uuid,
78          com.liferay.portal.kernel.util.OrderByComparator obc)
79          throws com.liferay.portal.kernel.exception.SystemException,
80              com.liferay.portlet.wiki.NoSuchPageException;
81  
82      public com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext(
83          long pageId, java.lang.String uuid,
84          com.liferay.portal.kernel.util.OrderByComparator obc)
85          throws com.liferay.portal.kernel.exception.SystemException,
86              com.liferay.portlet.wiki.NoSuchPageException;
87  
88      public com.liferay.portlet.wiki.model.WikiPage findByUUID_G(
89          java.lang.String uuid, long groupId)
90          throws com.liferay.portal.kernel.exception.SystemException,
91              com.liferay.portlet.wiki.NoSuchPageException;
92  
93      public com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
94          java.lang.String uuid, long groupId)
95          throws com.liferay.portal.kernel.exception.SystemException;
96  
97      public com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
98          java.lang.String uuid, long groupId, boolean retrieveFromCache)
99          throws com.liferay.portal.kernel.exception.SystemException;
100 
101     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
102         long nodeId) throws com.liferay.portal.kernel.exception.SystemException;
103 
104     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
105         long nodeId, int start, int end)
106         throws com.liferay.portal.kernel.exception.SystemException;
107 
108     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
109         long nodeId, int start, int end,
110         com.liferay.portal.kernel.util.OrderByComparator obc)
111         throws com.liferay.portal.kernel.exception.SystemException;
112 
113     public com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(
114         long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
115         throws com.liferay.portal.kernel.exception.SystemException,
116             com.liferay.portlet.wiki.NoSuchPageException;
117 
118     public com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(
119         long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
120         throws com.liferay.portal.kernel.exception.SystemException,
121             com.liferay.portlet.wiki.NoSuchPageException;
122 
123     public com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(
124         long pageId, long nodeId,
125         com.liferay.portal.kernel.util.OrderByComparator obc)
126         throws com.liferay.portal.kernel.exception.SystemException,
127             com.liferay.portlet.wiki.NoSuchPageException;
128 
129     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
130         java.lang.String format)
131         throws com.liferay.portal.kernel.exception.SystemException;
132 
133     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
134         java.lang.String format, int start, int end)
135         throws com.liferay.portal.kernel.exception.SystemException;
136 
137     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
138         java.lang.String format, int start, int end,
139         com.liferay.portal.kernel.util.OrderByComparator obc)
140         throws com.liferay.portal.kernel.exception.SystemException;
141 
142     public com.liferay.portlet.wiki.model.WikiPage findByFormat_First(
143         java.lang.String format,
144         com.liferay.portal.kernel.util.OrderByComparator obc)
145         throws com.liferay.portal.kernel.exception.SystemException,
146             com.liferay.portlet.wiki.NoSuchPageException;
147 
148     public com.liferay.portlet.wiki.model.WikiPage findByFormat_Last(
149         java.lang.String format,
150         com.liferay.portal.kernel.util.OrderByComparator obc)
151         throws com.liferay.portal.kernel.exception.SystemException,
152             com.liferay.portlet.wiki.NoSuchPageException;
153 
154     public com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext(
155         long pageId, java.lang.String format,
156         com.liferay.portal.kernel.util.OrderByComparator obc)
157         throws com.liferay.portal.kernel.exception.SystemException,
158             com.liferay.portlet.wiki.NoSuchPageException;
159 
160     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
161         long nodeId, java.lang.String title)
162         throws com.liferay.portal.kernel.exception.SystemException;
163 
164     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
165         long nodeId, java.lang.String title, int start, int end)
166         throws com.liferay.portal.kernel.exception.SystemException;
167 
168     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
169         long nodeId, java.lang.String title, int start, int end,
170         com.liferay.portal.kernel.util.OrderByComparator obc)
171         throws com.liferay.portal.kernel.exception.SystemException;
172 
173     public com.liferay.portlet.wiki.model.WikiPage findByN_T_First(
174         long nodeId, java.lang.String title,
175         com.liferay.portal.kernel.util.OrderByComparator obc)
176         throws com.liferay.portal.kernel.exception.SystemException,
177             com.liferay.portlet.wiki.NoSuchPageException;
178 
179     public com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(long nodeId,
180         java.lang.String title,
181         com.liferay.portal.kernel.util.OrderByComparator obc)
182         throws com.liferay.portal.kernel.exception.SystemException,
183             com.liferay.portlet.wiki.NoSuchPageException;
184 
185     public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(
186         long pageId, long nodeId, java.lang.String title,
187         com.liferay.portal.kernel.util.OrderByComparator obc)
188         throws com.liferay.portal.kernel.exception.SystemException,
189             com.liferay.portlet.wiki.NoSuchPageException;
190 
191     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
192         long nodeId, boolean head)
193         throws com.liferay.portal.kernel.exception.SystemException;
194 
195     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
196         long nodeId, boolean head, int start, int end)
197         throws com.liferay.portal.kernel.exception.SystemException;
198 
199     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
200         long nodeId, boolean head, int start, int end,
201         com.liferay.portal.kernel.util.OrderByComparator obc)
202         throws com.liferay.portal.kernel.exception.SystemException;
203 
204     public com.liferay.portlet.wiki.model.WikiPage findByN_H_First(
205         long nodeId, boolean head,
206         com.liferay.portal.kernel.util.OrderByComparator obc)
207         throws com.liferay.portal.kernel.exception.SystemException,
208             com.liferay.portlet.wiki.NoSuchPageException;
209 
210     public com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(long nodeId,
211         boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
212         throws com.liferay.portal.kernel.exception.SystemException,
213             com.liferay.portlet.wiki.NoSuchPageException;
214 
215     public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(
216         long pageId, long nodeId, boolean head,
217         com.liferay.portal.kernel.util.OrderByComparator obc)
218         throws com.liferay.portal.kernel.exception.SystemException,
219             com.liferay.portlet.wiki.NoSuchPageException;
220 
221     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
222         long nodeId, java.lang.String parentTitle)
223         throws com.liferay.portal.kernel.exception.SystemException;
224 
225     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
226         long nodeId, java.lang.String parentTitle, int start, int end)
227         throws com.liferay.portal.kernel.exception.SystemException;
228 
229     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
230         long nodeId, java.lang.String parentTitle, int start, int end,
231         com.liferay.portal.kernel.util.OrderByComparator obc)
232         throws com.liferay.portal.kernel.exception.SystemException;
233 
234     public com.liferay.portlet.wiki.model.WikiPage findByN_P_First(
235         long nodeId, java.lang.String parentTitle,
236         com.liferay.portal.kernel.util.OrderByComparator obc)
237         throws com.liferay.portal.kernel.exception.SystemException,
238             com.liferay.portlet.wiki.NoSuchPageException;
239 
240     public com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(long nodeId,
241         java.lang.String parentTitle,
242         com.liferay.portal.kernel.util.OrderByComparator obc)
243         throws com.liferay.portal.kernel.exception.SystemException,
244             com.liferay.portlet.wiki.NoSuchPageException;
245 
246     public com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext(
247         long pageId, long nodeId, java.lang.String parentTitle,
248         com.liferay.portal.kernel.util.OrderByComparator obc)
249         throws com.liferay.portal.kernel.exception.SystemException,
250             com.liferay.portlet.wiki.NoSuchPageException;
251 
252     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
253         long nodeId, java.lang.String redirectTitle)
254         throws com.liferay.portal.kernel.exception.SystemException;
255 
256     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
257         long nodeId, java.lang.String redirectTitle, int start, int end)
258         throws com.liferay.portal.kernel.exception.SystemException;
259 
260     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
261         long nodeId, java.lang.String redirectTitle, int start, int end,
262         com.liferay.portal.kernel.util.OrderByComparator obc)
263         throws com.liferay.portal.kernel.exception.SystemException;
264 
265     public com.liferay.portlet.wiki.model.WikiPage findByN_R_First(
266         long nodeId, java.lang.String redirectTitle,
267         com.liferay.portal.kernel.util.OrderByComparator obc)
268         throws com.liferay.portal.kernel.exception.SystemException,
269             com.liferay.portlet.wiki.NoSuchPageException;
270 
271     public com.liferay.portlet.wiki.model.WikiPage findByN_R_Last(long nodeId,
272         java.lang.String redirectTitle,
273         com.liferay.portal.kernel.util.OrderByComparator obc)
274         throws com.liferay.portal.kernel.exception.SystemException,
275             com.liferay.portlet.wiki.NoSuchPageException;
276 
277     public com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext(
278         long pageId, long nodeId, java.lang.String redirectTitle,
279         com.liferay.portal.kernel.util.OrderByComparator obc)
280         throws com.liferay.portal.kernel.exception.SystemException,
281             com.liferay.portlet.wiki.NoSuchPageException;
282 
283     public com.liferay.portlet.wiki.model.WikiPage findByN_T_V(long nodeId,
284         java.lang.String title, double version)
285         throws com.liferay.portal.kernel.exception.SystemException,
286             com.liferay.portlet.wiki.NoSuchPageException;
287 
288     public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
289         java.lang.String title, double version)
290         throws com.liferay.portal.kernel.exception.SystemException;
291 
292     public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
293         java.lang.String title, double version, boolean retrieveFromCache)
294         throws com.liferay.portal.kernel.exception.SystemException;
295 
296     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
297         long nodeId, java.lang.String title, boolean head)
298         throws com.liferay.portal.kernel.exception.SystemException;
299 
300     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
301         long nodeId, java.lang.String title, boolean head, int start, int end)
302         throws com.liferay.portal.kernel.exception.SystemException;
303 
304     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
305         long nodeId, java.lang.String title, boolean head, int start, int end,
306         com.liferay.portal.kernel.util.OrderByComparator obc)
307         throws com.liferay.portal.kernel.exception.SystemException;
308 
309     public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(
310         long nodeId, java.lang.String title, boolean head,
311         com.liferay.portal.kernel.util.OrderByComparator obc)
312         throws com.liferay.portal.kernel.exception.SystemException,
313             com.liferay.portlet.wiki.NoSuchPageException;
314 
315     public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(
316         long nodeId, java.lang.String title, boolean head,
317         com.liferay.portal.kernel.util.OrderByComparator obc)
318         throws com.liferay.portal.kernel.exception.SystemException,
319             com.liferay.portlet.wiki.NoSuchPageException;
320 
321     public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(
322         long pageId, long nodeId, java.lang.String title, boolean head,
323         com.liferay.portal.kernel.util.OrderByComparator obc)
324         throws com.liferay.portal.kernel.exception.SystemException,
325             com.liferay.portlet.wiki.NoSuchPageException;
326 
327     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
328         long nodeId, boolean head, java.lang.String parentTitle)
329         throws com.liferay.portal.kernel.exception.SystemException;
330 
331     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
332         long nodeId, boolean head, java.lang.String parentTitle, int start,
333         int end) throws com.liferay.portal.kernel.exception.SystemException;
334 
335     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
336         long nodeId, boolean head, java.lang.String parentTitle, int start,
337         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
338         throws com.liferay.portal.kernel.exception.SystemException;
339 
340     public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First(
341         long nodeId, boolean head, java.lang.String parentTitle,
342         com.liferay.portal.kernel.util.OrderByComparator obc)
343         throws com.liferay.portal.kernel.exception.SystemException,
344             com.liferay.portlet.wiki.NoSuchPageException;
345 
346     public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last(
347         long nodeId, boolean head, java.lang.String parentTitle,
348         com.liferay.portal.kernel.util.OrderByComparator obc)
349         throws com.liferay.portal.kernel.exception.SystemException,
350             com.liferay.portlet.wiki.NoSuchPageException;
351 
352     public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext(
353         long pageId, long nodeId, boolean head, java.lang.String parentTitle,
354         com.liferay.portal.kernel.util.OrderByComparator obc)
355         throws com.liferay.portal.kernel.exception.SystemException,
356             com.liferay.portlet.wiki.NoSuchPageException;
357 
358     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll()
359         throws com.liferay.portal.kernel.exception.SystemException;
360 
361     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
362         int start, int end)
363         throws com.liferay.portal.kernel.exception.SystemException;
364 
365     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
366         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
367         throws com.liferay.portal.kernel.exception.SystemException;
368 
369     public void removeByUuid(java.lang.String uuid)
370         throws com.liferay.portal.kernel.exception.SystemException;
371 
372     public void removeByUUID_G(java.lang.String uuid, long groupId)
373         throws com.liferay.portal.kernel.exception.SystemException,
374             com.liferay.portlet.wiki.NoSuchPageException;
375 
376     public void removeByNodeId(long nodeId)
377         throws com.liferay.portal.kernel.exception.SystemException;
378 
379     public void removeByFormat(java.lang.String format)
380         throws com.liferay.portal.kernel.exception.SystemException;
381 
382     public void removeByN_T(long nodeId, java.lang.String title)
383         throws com.liferay.portal.kernel.exception.SystemException;
384 
385     public void removeByN_H(long nodeId, boolean head)
386         throws com.liferay.portal.kernel.exception.SystemException;
387 
388     public void removeByN_P(long nodeId, java.lang.String parentTitle)
389         throws com.liferay.portal.kernel.exception.SystemException;
390 
391     public void removeByN_R(long nodeId, java.lang.String redirectTitle)
392         throws com.liferay.portal.kernel.exception.SystemException;
393 
394     public void removeByN_T_V(long nodeId, java.lang.String title,
395         double version)
396         throws com.liferay.portal.kernel.exception.SystemException,
397             com.liferay.portlet.wiki.NoSuchPageException;
398 
399     public void removeByN_T_H(long nodeId, java.lang.String title, boolean head)
400         throws com.liferay.portal.kernel.exception.SystemException;
401 
402     public void removeByN_H_P(long nodeId, boolean head,
403         java.lang.String parentTitle)
404         throws com.liferay.portal.kernel.exception.SystemException;
405 
406     public void removeAll()
407         throws com.liferay.portal.kernel.exception.SystemException;
408 
409     public int countByUuid(java.lang.String uuid)
410         throws com.liferay.portal.kernel.exception.SystemException;
411 
412     public int countByUUID_G(java.lang.String uuid, long groupId)
413         throws com.liferay.portal.kernel.exception.SystemException;
414 
415     public int countByNodeId(long nodeId)
416         throws com.liferay.portal.kernel.exception.SystemException;
417 
418     public int countByFormat(java.lang.String format)
419         throws com.liferay.portal.kernel.exception.SystemException;
420 
421     public int countByN_T(long nodeId, java.lang.String title)
422         throws com.liferay.portal.kernel.exception.SystemException;
423 
424     public int countByN_H(long nodeId, boolean head)
425         throws com.liferay.portal.kernel.exception.SystemException;
426 
427     public int countByN_P(long nodeId, java.lang.String parentTitle)
428         throws com.liferay.portal.kernel.exception.SystemException;
429 
430     public int countByN_R(long nodeId, java.lang.String redirectTitle)
431         throws com.liferay.portal.kernel.exception.SystemException;
432 
433     public int countByN_T_V(long nodeId, java.lang.String title, double version)
434         throws com.liferay.portal.kernel.exception.SystemException;
435 
436     public int countByN_T_H(long nodeId, java.lang.String title, boolean head)
437         throws com.liferay.portal.kernel.exception.SystemException;
438 
439     public int countByN_H_P(long nodeId, boolean head,
440         java.lang.String parentTitle)
441         throws com.liferay.portal.kernel.exception.SystemException;
442 
443     public int countAll()
444         throws com.liferay.portal.kernel.exception.SystemException;
445 }