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.journal.service.persistence;
16  
17  import com.liferay.portal.service.persistence.BasePersistence;
18  
19  import com.liferay.portlet.journal.model.JournalContentSearch;
20  
21  /**
22   * <a href="JournalContentSearchPersistence.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       JournalContentSearchPersistenceImpl
31   * @see       JournalContentSearchUtil
32   * @generated
33   */
34  public interface JournalContentSearchPersistence extends BasePersistence<JournalContentSearch> {
35      public void cacheResult(
36          com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch);
37  
38      public void cacheResult(
39          java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> journalContentSearchs);
40  
41      public com.liferay.portlet.journal.model.JournalContentSearch create(
42          long contentSearchId);
43  
44      public com.liferay.portlet.journal.model.JournalContentSearch remove(
45          long contentSearchId)
46          throws com.liferay.portal.kernel.exception.SystemException,
47              com.liferay.portlet.journal.NoSuchContentSearchException;
48  
49      public com.liferay.portlet.journal.model.JournalContentSearch updateImpl(
50          com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
51          boolean merge)
52          throws com.liferay.portal.kernel.exception.SystemException;
53  
54      public com.liferay.portlet.journal.model.JournalContentSearch findByPrimaryKey(
55          long contentSearchId)
56          throws com.liferay.portal.kernel.exception.SystemException,
57              com.liferay.portlet.journal.NoSuchContentSearchException;
58  
59      public com.liferay.portlet.journal.model.JournalContentSearch fetchByPrimaryKey(
60          long contentSearchId)
61          throws com.liferay.portal.kernel.exception.SystemException;
62  
63      public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
64          java.lang.String articleId)
65          throws com.liferay.portal.kernel.exception.SystemException;
66  
67      public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
68          java.lang.String articleId, int start, int end)
69          throws com.liferay.portal.kernel.exception.SystemException;
70  
71      public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
72          java.lang.String articleId, int start, int end,
73          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
74          throws com.liferay.portal.kernel.exception.SystemException;
75  
76      public com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_First(
77          java.lang.String articleId,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.kernel.exception.SystemException,
80              com.liferay.portlet.journal.NoSuchContentSearchException;
81  
82      public com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_Last(
83          java.lang.String articleId,
84          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85          throws com.liferay.portal.kernel.exception.SystemException,
86              com.liferay.portlet.journal.NoSuchContentSearchException;
87  
88      public com.liferay.portlet.journal.model.JournalContentSearch[] findByArticleId_PrevAndNext(
89          long contentSearchId, java.lang.String articleId,
90          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
91          throws com.liferay.portal.kernel.exception.SystemException,
92              com.liferay.portlet.journal.NoSuchContentSearchException;
93  
94      public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
95          long groupId, boolean privateLayout)
96          throws com.liferay.portal.kernel.exception.SystemException;
97  
98      public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
99          long groupId, boolean privateLayout, int start, int end)
100         throws com.liferay.portal.kernel.exception.SystemException;
101 
102     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
103         long groupId, boolean privateLayout, int start, int end,
104         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
105         throws com.liferay.portal.kernel.exception.SystemException;
106 
107     public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_First(
108         long groupId, boolean privateLayout,
109         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
110         throws com.liferay.portal.kernel.exception.SystemException,
111             com.liferay.portlet.journal.NoSuchContentSearchException;
112 
113     public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_Last(
114         long groupId, boolean privateLayout,
115         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
116         throws com.liferay.portal.kernel.exception.SystemException,
117             com.liferay.portlet.journal.NoSuchContentSearchException;
118 
119     public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_PrevAndNext(
120         long contentSearchId, long groupId, boolean privateLayout,
121         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
122         throws com.liferay.portal.kernel.exception.SystemException,
123             com.liferay.portlet.journal.NoSuchContentSearchException;
124 
125     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
126         long groupId, java.lang.String articleId)
127         throws com.liferay.portal.kernel.exception.SystemException;
128 
129     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
130         long groupId, java.lang.String articleId, int start, int end)
131         throws com.liferay.portal.kernel.exception.SystemException;
132 
133     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
134         long groupId, java.lang.String articleId, int start, int end,
135         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
136         throws com.liferay.portal.kernel.exception.SystemException;
137 
138     public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_First(
139         long groupId, java.lang.String articleId,
140         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141         throws com.liferay.portal.kernel.exception.SystemException,
142             com.liferay.portlet.journal.NoSuchContentSearchException;
143 
144     public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_Last(
145         long groupId, java.lang.String articleId,
146         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
147         throws com.liferay.portal.kernel.exception.SystemException,
148             com.liferay.portlet.journal.NoSuchContentSearchException;
149 
150     public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_A_PrevAndNext(
151         long contentSearchId, long groupId, java.lang.String articleId,
152         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153         throws com.liferay.portal.kernel.exception.SystemException,
154             com.liferay.portlet.journal.NoSuchContentSearchException;
155 
156     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
157         long groupId, boolean privateLayout, long layoutId)
158         throws com.liferay.portal.kernel.exception.SystemException;
159 
160     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
161         long groupId, boolean privateLayout, long layoutId, int start, int end)
162         throws com.liferay.portal.kernel.exception.SystemException;
163 
164     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
165         long groupId, boolean privateLayout, long layoutId, int start, int end,
166         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
167         throws com.liferay.portal.kernel.exception.SystemException;
168 
169     public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_First(
170         long groupId, boolean privateLayout, long layoutId,
171         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
172         throws com.liferay.portal.kernel.exception.SystemException,
173             com.liferay.portlet.journal.NoSuchContentSearchException;
174 
175     public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_Last(
176         long groupId, boolean privateLayout, long layoutId,
177         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
178         throws com.liferay.portal.kernel.exception.SystemException,
179             com.liferay.portlet.journal.NoSuchContentSearchException;
180 
181     public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_PrevAndNext(
182         long contentSearchId, long groupId, boolean privateLayout,
183         long layoutId,
184         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
185         throws com.liferay.portal.kernel.exception.SystemException,
186             com.liferay.portlet.journal.NoSuchContentSearchException;
187 
188     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
189         long groupId, boolean privateLayout, java.lang.String articleId)
190         throws com.liferay.portal.kernel.exception.SystemException;
191 
192     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
193         long groupId, boolean privateLayout, java.lang.String articleId,
194         int start, int end)
195         throws com.liferay.portal.kernel.exception.SystemException;
196 
197     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
198         long groupId, boolean privateLayout, java.lang.String articleId,
199         int start, int end,
200         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
201         throws com.liferay.portal.kernel.exception.SystemException;
202 
203     public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_First(
204         long groupId, boolean privateLayout, java.lang.String articleId,
205         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
206         throws com.liferay.portal.kernel.exception.SystemException,
207             com.liferay.portlet.journal.NoSuchContentSearchException;
208 
209     public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_Last(
210         long groupId, boolean privateLayout, java.lang.String articleId,
211         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
212         throws com.liferay.portal.kernel.exception.SystemException,
213             com.liferay.portlet.journal.NoSuchContentSearchException;
214 
215     public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_A_PrevAndNext(
216         long contentSearchId, long groupId, boolean privateLayout,
217         java.lang.String articleId,
218         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
219         throws com.liferay.portal.kernel.exception.SystemException,
220             com.liferay.portlet.journal.NoSuchContentSearchException;
221 
222     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
223         long groupId, boolean privateLayout, long layoutId,
224         java.lang.String portletId)
225         throws com.liferay.portal.kernel.exception.SystemException;
226 
227     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
228         long groupId, boolean privateLayout, long layoutId,
229         java.lang.String portletId, int start, int end)
230         throws com.liferay.portal.kernel.exception.SystemException;
231 
232     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
233         long groupId, boolean privateLayout, long layoutId,
234         java.lang.String portletId, int start, int end,
235         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
236         throws com.liferay.portal.kernel.exception.SystemException;
237 
238     public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_First(
239         long groupId, boolean privateLayout, long layoutId,
240         java.lang.String portletId,
241         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
242         throws com.liferay.portal.kernel.exception.SystemException,
243             com.liferay.portlet.journal.NoSuchContentSearchException;
244 
245     public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_Last(
246         long groupId, boolean privateLayout, long layoutId,
247         java.lang.String portletId,
248         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
249         throws com.liferay.portal.kernel.exception.SystemException,
250             com.liferay.portlet.journal.NoSuchContentSearchException;
251 
252     public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_P_PrevAndNext(
253         long contentSearchId, long groupId, boolean privateLayout,
254         long layoutId, java.lang.String portletId,
255         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
256         throws com.liferay.portal.kernel.exception.SystemException,
257             com.liferay.portlet.journal.NoSuchContentSearchException;
258 
259     public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_A(
260         long groupId, boolean privateLayout, long layoutId,
261         java.lang.String portletId, java.lang.String articleId)
262         throws com.liferay.portal.kernel.exception.SystemException,
263             com.liferay.portlet.journal.NoSuchContentSearchException;
264 
265     public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
266         long groupId, boolean privateLayout, long layoutId,
267         java.lang.String portletId, java.lang.String articleId)
268         throws com.liferay.portal.kernel.exception.SystemException;
269 
270     public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
271         long groupId, boolean privateLayout, long layoutId,
272         java.lang.String portletId, java.lang.String articleId,
273         boolean retrieveFromCache)
274         throws com.liferay.portal.kernel.exception.SystemException;
275 
276     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll()
277         throws com.liferay.portal.kernel.exception.SystemException;
278 
279     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
280         int start, int end)
281         throws com.liferay.portal.kernel.exception.SystemException;
282 
283     public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
284         int start, int end,
285         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
286         throws com.liferay.portal.kernel.exception.SystemException;
287 
288     public void removeByArticleId(java.lang.String articleId)
289         throws com.liferay.portal.kernel.exception.SystemException;
290 
291     public void removeByG_P(long groupId, boolean privateLayout)
292         throws com.liferay.portal.kernel.exception.SystemException;
293 
294     public void removeByG_A(long groupId, java.lang.String articleId)
295         throws com.liferay.portal.kernel.exception.SystemException;
296 
297     public void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
298         throws com.liferay.portal.kernel.exception.SystemException;
299 
300     public void removeByG_P_A(long groupId, boolean privateLayout,
301         java.lang.String articleId)
302         throws com.liferay.portal.kernel.exception.SystemException;
303 
304     public void removeByG_P_L_P(long groupId, boolean privateLayout,
305         long layoutId, java.lang.String portletId)
306         throws com.liferay.portal.kernel.exception.SystemException;
307 
308     public void removeByG_P_L_P_A(long groupId, boolean privateLayout,
309         long layoutId, java.lang.String portletId, java.lang.String articleId)
310         throws com.liferay.portal.kernel.exception.SystemException,
311             com.liferay.portlet.journal.NoSuchContentSearchException;
312 
313     public void removeAll()
314         throws com.liferay.portal.kernel.exception.SystemException;
315 
316     public int countByArticleId(java.lang.String articleId)
317         throws com.liferay.portal.kernel.exception.SystemException;
318 
319     public int countByG_P(long groupId, boolean privateLayout)
320         throws com.liferay.portal.kernel.exception.SystemException;
321 
322     public int countByG_A(long groupId, java.lang.String articleId)
323         throws com.liferay.portal.kernel.exception.SystemException;
324 
325     public int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
326         throws com.liferay.portal.kernel.exception.SystemException;
327 
328     public int countByG_P_A(long groupId, boolean privateLayout,
329         java.lang.String articleId)
330         throws com.liferay.portal.kernel.exception.SystemException;
331 
332     public int countByG_P_L_P(long groupId, boolean privateLayout,
333         long layoutId, java.lang.String portletId)
334         throws com.liferay.portal.kernel.exception.SystemException;
335 
336     public int countByG_P_L_P_A(long groupId, boolean privateLayout,
337         long layoutId, java.lang.String portletId, java.lang.String articleId)
338         throws com.liferay.portal.kernel.exception.SystemException;
339 
340     public int countAll()
341         throws com.liferay.portal.kernel.exception.SystemException;
342 }