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