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 orderByComparator)
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 orderByComparator)
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 orderByComparator)
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 orderByComparator)
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 orderByComparator)
117         throws com.liferay.portal.SystemException;
118 
119     public com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(
120         long nodeId,
121         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
122         throws com.liferay.portal.SystemException,
123             com.liferay.portlet.wiki.NoSuchPageException;
124 
125     public com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(
126         long nodeId,
127         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
128         throws com.liferay.portal.SystemException,
129             com.liferay.portlet.wiki.NoSuchPageException;
130 
131     public com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(
132         long pageId, long nodeId,
133         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134         throws com.liferay.portal.SystemException,
135             com.liferay.portlet.wiki.NoSuchPageException;
136 
137     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
138         java.lang.String format) throws com.liferay.portal.SystemException;
139 
140     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
141         java.lang.String format, int start, int end)
142         throws com.liferay.portal.SystemException;
143 
144     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
145         java.lang.String format, int start, int end,
146         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
147         throws com.liferay.portal.SystemException;
148 
149     public com.liferay.portlet.wiki.model.WikiPage findByFormat_First(
150         java.lang.String format,
151         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
152         throws com.liferay.portal.SystemException,
153             com.liferay.portlet.wiki.NoSuchPageException;
154 
155     public com.liferay.portlet.wiki.model.WikiPage findByFormat_Last(
156         java.lang.String format,
157         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
158         throws com.liferay.portal.SystemException,
159             com.liferay.portlet.wiki.NoSuchPageException;
160 
161     public com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext(
162         long pageId, java.lang.String format,
163         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
164         throws com.liferay.portal.SystemException,
165             com.liferay.portlet.wiki.NoSuchPageException;
166 
167     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
168         long nodeId, java.lang.String title)
169         throws com.liferay.portal.SystemException;
170 
171     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
172         long nodeId, java.lang.String title, int start, int end)
173         throws com.liferay.portal.SystemException;
174 
175     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
176         long nodeId, java.lang.String title, int start, int end,
177         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
178         throws com.liferay.portal.SystemException;
179 
180     public com.liferay.portlet.wiki.model.WikiPage findByN_T_First(
181         long nodeId, java.lang.String title,
182         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
183         throws com.liferay.portal.SystemException,
184             com.liferay.portlet.wiki.NoSuchPageException;
185 
186     public com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(long nodeId,
187         java.lang.String title,
188         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
189         throws com.liferay.portal.SystemException,
190             com.liferay.portlet.wiki.NoSuchPageException;
191 
192     public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(
193         long pageId, long nodeId, java.lang.String title,
194         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
195         throws com.liferay.portal.SystemException,
196             com.liferay.portlet.wiki.NoSuchPageException;
197 
198     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
199         long nodeId, boolean head) throws com.liferay.portal.SystemException;
200 
201     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
202         long nodeId, boolean head, int start, int end)
203         throws com.liferay.portal.SystemException;
204 
205     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
206         long nodeId, boolean head, int start, int end,
207         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
208         throws com.liferay.portal.SystemException;
209 
210     public com.liferay.portlet.wiki.model.WikiPage findByN_H_First(
211         long nodeId, boolean head,
212         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
213         throws com.liferay.portal.SystemException,
214             com.liferay.portlet.wiki.NoSuchPageException;
215 
216     public com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(long nodeId,
217         boolean head,
218         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
219         throws com.liferay.portal.SystemException,
220             com.liferay.portlet.wiki.NoSuchPageException;
221 
222     public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(
223         long pageId, long nodeId, boolean head,
224         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
225         throws com.liferay.portal.SystemException,
226             com.liferay.portlet.wiki.NoSuchPageException;
227 
228     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
229         long nodeId, java.lang.String parentTitle)
230         throws com.liferay.portal.SystemException;
231 
232     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
233         long nodeId, java.lang.String parentTitle, int start, int end)
234         throws com.liferay.portal.SystemException;
235 
236     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
237         long nodeId, java.lang.String parentTitle, int start, int end,
238         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
239         throws com.liferay.portal.SystemException;
240 
241     public com.liferay.portlet.wiki.model.WikiPage findByN_P_First(
242         long nodeId, java.lang.String parentTitle,
243         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
244         throws com.liferay.portal.SystemException,
245             com.liferay.portlet.wiki.NoSuchPageException;
246 
247     public com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(long nodeId,
248         java.lang.String parentTitle,
249         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
250         throws com.liferay.portal.SystemException,
251             com.liferay.portlet.wiki.NoSuchPageException;
252 
253     public com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext(
254         long pageId, long nodeId, java.lang.String parentTitle,
255         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
256         throws com.liferay.portal.SystemException,
257             com.liferay.portlet.wiki.NoSuchPageException;
258 
259     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
260         long nodeId, java.lang.String redirectTitle)
261         throws com.liferay.portal.SystemException;
262 
263     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
264         long nodeId, java.lang.String redirectTitle, int start, int end)
265         throws com.liferay.portal.SystemException;
266 
267     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
268         long nodeId, java.lang.String redirectTitle, int start, int end,
269         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
270         throws com.liferay.portal.SystemException;
271 
272     public com.liferay.portlet.wiki.model.WikiPage findByN_R_First(
273         long nodeId, java.lang.String redirectTitle,
274         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
275         throws com.liferay.portal.SystemException,
276             com.liferay.portlet.wiki.NoSuchPageException;
277 
278     public com.liferay.portlet.wiki.model.WikiPage findByN_R_Last(long nodeId,
279         java.lang.String redirectTitle,
280         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
281         throws com.liferay.portal.SystemException,
282             com.liferay.portlet.wiki.NoSuchPageException;
283 
284     public com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext(
285         long pageId, long nodeId, java.lang.String redirectTitle,
286         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
287         throws com.liferay.portal.SystemException,
288             com.liferay.portlet.wiki.NoSuchPageException;
289 
290     public com.liferay.portlet.wiki.model.WikiPage findByN_T_V(long nodeId,
291         java.lang.String title, double version)
292         throws com.liferay.portal.SystemException,
293             com.liferay.portlet.wiki.NoSuchPageException;
294 
295     public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
296         java.lang.String title, double version)
297         throws com.liferay.portal.SystemException;
298 
299     public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
300         java.lang.String title, double version, boolean retrieveFromCache)
301         throws com.liferay.portal.SystemException;
302 
303     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
304         long nodeId, java.lang.String title, boolean head)
305         throws com.liferay.portal.SystemException;
306 
307     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
308         long nodeId, java.lang.String title, boolean head, int start, int end)
309         throws com.liferay.portal.SystemException;
310 
311     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
312         long nodeId, java.lang.String title, boolean head, int start, int end,
313         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
314         throws com.liferay.portal.SystemException;
315 
316     public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(
317         long nodeId, java.lang.String title, boolean head,
318         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
319         throws com.liferay.portal.SystemException,
320             com.liferay.portlet.wiki.NoSuchPageException;
321 
322     public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(
323         long nodeId, java.lang.String title, boolean head,
324         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
325         throws com.liferay.portal.SystemException,
326             com.liferay.portlet.wiki.NoSuchPageException;
327 
328     public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(
329         long pageId, long nodeId, java.lang.String title, boolean head,
330         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
331         throws com.liferay.portal.SystemException,
332             com.liferay.portlet.wiki.NoSuchPageException;
333 
334     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
335         long nodeId, boolean head, java.lang.String parentTitle)
336         throws com.liferay.portal.SystemException;
337 
338     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
339         long nodeId, boolean head, java.lang.String parentTitle, int start,
340         int end) throws com.liferay.portal.SystemException;
341 
342     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
343         long nodeId, boolean head, java.lang.String parentTitle, int start,
344         int end,
345         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
346         throws com.liferay.portal.SystemException;
347 
348     public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First(
349         long nodeId, boolean head, java.lang.String parentTitle,
350         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
351         throws com.liferay.portal.SystemException,
352             com.liferay.portlet.wiki.NoSuchPageException;
353 
354     public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last(
355         long nodeId, boolean head, java.lang.String parentTitle,
356         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
357         throws com.liferay.portal.SystemException,
358             com.liferay.portlet.wiki.NoSuchPageException;
359 
360     public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext(
361         long pageId, long nodeId, boolean head, java.lang.String parentTitle,
362         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
363         throws com.liferay.portal.SystemException,
364             com.liferay.portlet.wiki.NoSuchPageException;
365 
366     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll()
367         throws com.liferay.portal.SystemException;
368 
369     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
370         int start, int end) throws com.liferay.portal.SystemException;
371 
372     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
373         int start, int end,
374         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
375         throws com.liferay.portal.SystemException;
376 
377     public void removeByUuid(java.lang.String uuid)
378         throws com.liferay.portal.SystemException;
379 
380     public void removeByUUID_G(java.lang.String uuid, long groupId)
381         throws com.liferay.portal.SystemException,
382             com.liferay.portlet.wiki.NoSuchPageException;
383 
384     public void removeByNodeId(long nodeId)
385         throws com.liferay.portal.SystemException;
386 
387     public void removeByFormat(java.lang.String format)
388         throws com.liferay.portal.SystemException;
389 
390     public void removeByN_T(long nodeId, java.lang.String title)
391         throws com.liferay.portal.SystemException;
392 
393     public void removeByN_H(long nodeId, boolean head)
394         throws com.liferay.portal.SystemException;
395 
396     public void removeByN_P(long nodeId, java.lang.String parentTitle)
397         throws com.liferay.portal.SystemException;
398 
399     public void removeByN_R(long nodeId, java.lang.String redirectTitle)
400         throws com.liferay.portal.SystemException;
401 
402     public void removeByN_T_V(long nodeId, java.lang.String title,
403         double version)
404         throws com.liferay.portal.SystemException,
405             com.liferay.portlet.wiki.NoSuchPageException;
406 
407     public void removeByN_T_H(long nodeId, java.lang.String title, boolean head)
408         throws com.liferay.portal.SystemException;
409 
410     public void removeByN_H_P(long nodeId, boolean head,
411         java.lang.String parentTitle) throws com.liferay.portal.SystemException;
412 
413     public void removeAll() throws com.liferay.portal.SystemException;
414 
415     public int countByUuid(java.lang.String uuid)
416         throws com.liferay.portal.SystemException;
417 
418     public int countByUUID_G(java.lang.String uuid, long groupId)
419         throws com.liferay.portal.SystemException;
420 
421     public int countByNodeId(long nodeId)
422         throws com.liferay.portal.SystemException;
423 
424     public int countByFormat(java.lang.String format)
425         throws com.liferay.portal.SystemException;
426 
427     public int countByN_T(long nodeId, java.lang.String title)
428         throws com.liferay.portal.SystemException;
429 
430     public int countByN_H(long nodeId, boolean head)
431         throws com.liferay.portal.SystemException;
432 
433     public int countByN_P(long nodeId, java.lang.String parentTitle)
434         throws com.liferay.portal.SystemException;
435 
436     public int countByN_R(long nodeId, java.lang.String redirectTitle)
437         throws com.liferay.portal.SystemException;
438 
439     public int countByN_T_V(long nodeId, java.lang.String title, double version)
440         throws com.liferay.portal.SystemException;
441 
442     public int countByN_T_H(long nodeId, java.lang.String title, boolean head)
443         throws com.liferay.portal.SystemException;
444 
445     public int countByN_H_P(long nodeId, boolean head,
446         java.lang.String parentTitle) throws com.liferay.portal.SystemException;
447 
448     public int countAll() throws com.liferay.portal.SystemException;
449 }