1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
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.SystemException,
44              com.liferay.portlet.wiki.NoSuchPageException;
45  
46      /**
47       * @deprecated Use {@link BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)}.
48       */
49      public com.liferay.portlet.wiki.model.WikiPage update(
50          com.liferay.portlet.wiki.model.WikiPage wikiPage)
51          throws com.liferay.portal.SystemException;
52  
53      public com.liferay.portlet.wiki.model.WikiPage updateImpl(
54          com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
55          throws com.liferay.portal.SystemException;
56  
57      public com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(long pageId)
58          throws com.liferay.portal.SystemException,
59              com.liferay.portlet.wiki.NoSuchPageException;
60  
61      public com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(
62          long pageId) throws com.liferay.portal.SystemException;
63  
64      public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
65          java.lang.String uuid) throws com.liferay.portal.SystemException;
66  
67      public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
68          java.lang.String uuid, int start, int end)
69          throws com.liferay.portal.SystemException;
70  
71      public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
72          java.lang.String uuid, int start, int end,
73          com.liferay.portal.kernel.util.OrderByComparator obc)
74          throws com.liferay.portal.SystemException;
75  
76      public com.liferay.portlet.wiki.model.WikiPage findByUuid_First(
77          java.lang.String uuid,
78          com.liferay.portal.kernel.util.OrderByComparator obc)
79          throws com.liferay.portal.SystemException,
80              com.liferay.portlet.wiki.NoSuchPageException;
81  
82      public com.liferay.portlet.wiki.model.WikiPage findByUuid_Last(
83          java.lang.String uuid,
84          com.liferay.portal.kernel.util.OrderByComparator obc)
85          throws com.liferay.portal.SystemException,
86              com.liferay.portlet.wiki.NoSuchPageException;
87  
88      public com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext(
89          long pageId, java.lang.String uuid,
90          com.liferay.portal.kernel.util.OrderByComparator obc)
91          throws com.liferay.portal.SystemException,
92              com.liferay.portlet.wiki.NoSuchPageException;
93  
94      public com.liferay.portlet.wiki.model.WikiPage findByUUID_G(
95          java.lang.String uuid, long groupId)
96          throws com.liferay.portal.SystemException,
97              com.liferay.portlet.wiki.NoSuchPageException;
98  
99      public com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
100         java.lang.String uuid, long groupId)
101         throws com.liferay.portal.SystemException;
102 
103     public com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
104         java.lang.String uuid, long groupId, boolean retrieveFromCache)
105         throws com.liferay.portal.SystemException;
106 
107     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
108         long nodeId) throws com.liferay.portal.SystemException;
109 
110     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
111         long nodeId, int start, int end)
112         throws com.liferay.portal.SystemException;
113 
114     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
115         long nodeId, int start, int end,
116         com.liferay.portal.kernel.util.OrderByComparator obc)
117         throws com.liferay.portal.SystemException;
118 
119     public com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(
120         long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
121         throws com.liferay.portal.SystemException,
122             com.liferay.portlet.wiki.NoSuchPageException;
123 
124     public com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(
125         long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
126         throws com.liferay.portal.SystemException,
127             com.liferay.portlet.wiki.NoSuchPageException;
128 
129     public com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(
130         long pageId, long nodeId,
131         com.liferay.portal.kernel.util.OrderByComparator obc)
132         throws com.liferay.portal.SystemException,
133             com.liferay.portlet.wiki.NoSuchPageException;
134 
135     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
136         java.lang.String format) throws com.liferay.portal.SystemException;
137 
138     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
139         java.lang.String format, int start, int end)
140         throws com.liferay.portal.SystemException;
141 
142     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
143         java.lang.String format, int start, int end,
144         com.liferay.portal.kernel.util.OrderByComparator obc)
145         throws com.liferay.portal.SystemException;
146 
147     public com.liferay.portlet.wiki.model.WikiPage findByFormat_First(
148         java.lang.String format,
149         com.liferay.portal.kernel.util.OrderByComparator obc)
150         throws com.liferay.portal.SystemException,
151             com.liferay.portlet.wiki.NoSuchPageException;
152 
153     public com.liferay.portlet.wiki.model.WikiPage findByFormat_Last(
154         java.lang.String format,
155         com.liferay.portal.kernel.util.OrderByComparator obc)
156         throws com.liferay.portal.SystemException,
157             com.liferay.portlet.wiki.NoSuchPageException;
158 
159     public com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext(
160         long pageId, java.lang.String format,
161         com.liferay.portal.kernel.util.OrderByComparator obc)
162         throws com.liferay.portal.SystemException,
163             com.liferay.portlet.wiki.NoSuchPageException;
164 
165     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
166         long nodeId, java.lang.String title)
167         throws com.liferay.portal.SystemException;
168 
169     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
170         long nodeId, java.lang.String title, int start, int end)
171         throws com.liferay.portal.SystemException;
172 
173     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
174         long nodeId, java.lang.String title, int start, int end,
175         com.liferay.portal.kernel.util.OrderByComparator obc)
176         throws com.liferay.portal.SystemException;
177 
178     public com.liferay.portlet.wiki.model.WikiPage findByN_T_First(
179         long nodeId, java.lang.String title,
180         com.liferay.portal.kernel.util.OrderByComparator obc)
181         throws com.liferay.portal.SystemException,
182             com.liferay.portlet.wiki.NoSuchPageException;
183 
184     public com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(long nodeId,
185         java.lang.String title,
186         com.liferay.portal.kernel.util.OrderByComparator obc)
187         throws com.liferay.portal.SystemException,
188             com.liferay.portlet.wiki.NoSuchPageException;
189 
190     public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(
191         long pageId, long nodeId, java.lang.String title,
192         com.liferay.portal.kernel.util.OrderByComparator obc)
193         throws com.liferay.portal.SystemException,
194             com.liferay.portlet.wiki.NoSuchPageException;
195 
196     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
197         long nodeId, boolean head) throws com.liferay.portal.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         throws com.liferay.portal.SystemException;
202 
203     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
204         long nodeId, boolean head, int start, int end,
205         com.liferay.portal.kernel.util.OrderByComparator obc)
206         throws com.liferay.portal.SystemException;
207 
208     public com.liferay.portlet.wiki.model.WikiPage findByN_H_First(
209         long nodeId, boolean head,
210         com.liferay.portal.kernel.util.OrderByComparator obc)
211         throws com.liferay.portal.SystemException,
212             com.liferay.portlet.wiki.NoSuchPageException;
213 
214     public com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(long nodeId,
215         boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
216         throws com.liferay.portal.SystemException,
217             com.liferay.portlet.wiki.NoSuchPageException;
218 
219     public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(
220         long pageId, long nodeId, boolean head,
221         com.liferay.portal.kernel.util.OrderByComparator obc)
222         throws com.liferay.portal.SystemException,
223             com.liferay.portlet.wiki.NoSuchPageException;
224 
225     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
226         long nodeId, java.lang.String parentTitle)
227         throws com.liferay.portal.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         throws com.liferay.portal.SystemException;
232 
233     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
234         long nodeId, java.lang.String parentTitle, int start, int end,
235         com.liferay.portal.kernel.util.OrderByComparator obc)
236         throws com.liferay.portal.SystemException;
237 
238     public com.liferay.portlet.wiki.model.WikiPage findByN_P_First(
239         long nodeId, java.lang.String parentTitle,
240         com.liferay.portal.kernel.util.OrderByComparator obc)
241         throws com.liferay.portal.SystemException,
242             com.liferay.portlet.wiki.NoSuchPageException;
243 
244     public com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(long nodeId,
245         java.lang.String parentTitle,
246         com.liferay.portal.kernel.util.OrderByComparator obc)
247         throws com.liferay.portal.SystemException,
248             com.liferay.portlet.wiki.NoSuchPageException;
249 
250     public com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext(
251         long pageId, long nodeId, java.lang.String parentTitle,
252         com.liferay.portal.kernel.util.OrderByComparator obc)
253         throws com.liferay.portal.SystemException,
254             com.liferay.portlet.wiki.NoSuchPageException;
255 
256     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
257         long nodeId, java.lang.String redirectTitle)
258         throws com.liferay.portal.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         throws com.liferay.portal.SystemException;
263 
264     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
265         long nodeId, java.lang.String redirectTitle, int start, int end,
266         com.liferay.portal.kernel.util.OrderByComparator obc)
267         throws com.liferay.portal.SystemException;
268 
269     public com.liferay.portlet.wiki.model.WikiPage findByN_R_First(
270         long nodeId, java.lang.String redirectTitle,
271         com.liferay.portal.kernel.util.OrderByComparator obc)
272         throws com.liferay.portal.SystemException,
273             com.liferay.portlet.wiki.NoSuchPageException;
274 
275     public com.liferay.portlet.wiki.model.WikiPage findByN_R_Last(long nodeId,
276         java.lang.String redirectTitle,
277         com.liferay.portal.kernel.util.OrderByComparator obc)
278         throws com.liferay.portal.SystemException,
279             com.liferay.portlet.wiki.NoSuchPageException;
280 
281     public com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext(
282         long pageId, long nodeId, java.lang.String redirectTitle,
283         com.liferay.portal.kernel.util.OrderByComparator obc)
284         throws com.liferay.portal.SystemException,
285             com.liferay.portlet.wiki.NoSuchPageException;
286 
287     public com.liferay.portlet.wiki.model.WikiPage findByN_T_V(long nodeId,
288         java.lang.String title, double version)
289         throws com.liferay.portal.SystemException,
290             com.liferay.portlet.wiki.NoSuchPageException;
291 
292     public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
293         java.lang.String title, double version)
294         throws com.liferay.portal.SystemException;
295 
296     public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
297         java.lang.String title, double version, boolean retrieveFromCache)
298         throws com.liferay.portal.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)
302         throws com.liferay.portal.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         throws com.liferay.portal.SystemException;
307 
308     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
309         long nodeId, java.lang.String title, boolean head, int start, int end,
310         com.liferay.portal.kernel.util.OrderByComparator obc)
311         throws com.liferay.portal.SystemException;
312 
313     public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(
314         long nodeId, java.lang.String title, boolean head,
315         com.liferay.portal.kernel.util.OrderByComparator obc)
316         throws com.liferay.portal.SystemException,
317             com.liferay.portlet.wiki.NoSuchPageException;
318 
319     public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(
320         long nodeId, java.lang.String title, boolean head,
321         com.liferay.portal.kernel.util.OrderByComparator obc)
322         throws com.liferay.portal.SystemException,
323             com.liferay.portlet.wiki.NoSuchPageException;
324 
325     public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(
326         long pageId, long nodeId, java.lang.String title, boolean head,
327         com.liferay.portal.kernel.util.OrderByComparator obc)
328         throws com.liferay.portal.SystemException,
329             com.liferay.portlet.wiki.NoSuchPageException;
330 
331     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
332         long nodeId, boolean head, java.lang.String parentTitle)
333         throws com.liferay.portal.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) throws com.liferay.portal.SystemException;
338 
339     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
340         long nodeId, boolean head, java.lang.String parentTitle, int start,
341         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
342         throws com.liferay.portal.SystemException;
343 
344     public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First(
345         long nodeId, boolean head, java.lang.String parentTitle,
346         com.liferay.portal.kernel.util.OrderByComparator obc)
347         throws com.liferay.portal.SystemException,
348             com.liferay.portlet.wiki.NoSuchPageException;
349 
350     public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last(
351         long nodeId, boolean head, java.lang.String parentTitle,
352         com.liferay.portal.kernel.util.OrderByComparator obc)
353         throws com.liferay.portal.SystemException,
354             com.liferay.portlet.wiki.NoSuchPageException;
355 
356     public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext(
357         long pageId, long nodeId, boolean head, java.lang.String parentTitle,
358         com.liferay.portal.kernel.util.OrderByComparator obc)
359         throws com.liferay.portal.SystemException,
360             com.liferay.portlet.wiki.NoSuchPageException;
361 
362     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll()
363         throws com.liferay.portal.SystemException;
364 
365     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
366         int start, int end) throws com.liferay.portal.SystemException;
367 
368     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
369         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
370         throws com.liferay.portal.SystemException;
371 
372     public void removeByUuid(java.lang.String uuid)
373         throws com.liferay.portal.SystemException;
374 
375     public void removeByUUID_G(java.lang.String uuid, long groupId)
376         throws com.liferay.portal.SystemException,
377             com.liferay.portlet.wiki.NoSuchPageException;
378 
379     public void removeByNodeId(long nodeId)
380         throws com.liferay.portal.SystemException;
381 
382     public void removeByFormat(java.lang.String format)
383         throws com.liferay.portal.SystemException;
384 
385     public void removeByN_T(long nodeId, java.lang.String title)
386         throws com.liferay.portal.SystemException;
387 
388     public void removeByN_H(long nodeId, boolean head)
389         throws com.liferay.portal.SystemException;
390 
391     public void removeByN_P(long nodeId, java.lang.String parentTitle)
392         throws com.liferay.portal.SystemException;
393 
394     public void removeByN_R(long nodeId, java.lang.String redirectTitle)
395         throws com.liferay.portal.SystemException;
396 
397     public void removeByN_T_V(long nodeId, java.lang.String title,
398         double version)
399         throws com.liferay.portal.SystemException,
400             com.liferay.portlet.wiki.NoSuchPageException;
401 
402     public void removeByN_T_H(long nodeId, java.lang.String title, boolean head)
403         throws com.liferay.portal.SystemException;
404 
405     public void removeByN_H_P(long nodeId, boolean head,
406         java.lang.String parentTitle) throws com.liferay.portal.SystemException;
407 
408     public void removeAll() throws com.liferay.portal.SystemException;
409 
410     public int countByUuid(java.lang.String uuid)
411         throws com.liferay.portal.SystemException;
412 
413     public int countByUUID_G(java.lang.String uuid, long groupId)
414         throws com.liferay.portal.SystemException;
415 
416     public int countByNodeId(long nodeId)
417         throws com.liferay.portal.SystemException;
418 
419     public int countByFormat(java.lang.String format)
420         throws com.liferay.portal.SystemException;
421 
422     public int countByN_T(long nodeId, java.lang.String title)
423         throws com.liferay.portal.SystemException;
424 
425     public int countByN_H(long nodeId, boolean head)
426         throws com.liferay.portal.SystemException;
427 
428     public int countByN_P(long nodeId, java.lang.String parentTitle)
429         throws com.liferay.portal.SystemException;
430 
431     public int countByN_R(long nodeId, java.lang.String redirectTitle)
432         throws com.liferay.portal.SystemException;
433 
434     public int countByN_T_V(long nodeId, java.lang.String title, double version)
435         throws com.liferay.portal.SystemException;
436 
437     public int countByN_T_H(long nodeId, java.lang.String title, boolean head)
438         throws com.liferay.portal.SystemException;
439 
440     public int countByN_H_P(long nodeId, boolean head,
441         java.lang.String parentTitle) throws com.liferay.portal.SystemException;
442 
443     public int countAll() throws com.liferay.portal.SystemException;
444 }